Programmatic access to eRepublik data. Build bots, dashboards, spreadsheets, or integrate game data into your own tools.
Base URL: https://api.peluka.info/erpk/v1
Authentication: API Key via X-API-Key header
Sign up for free to get your API key. Upgrade your plan for higher rate limits and access to premium endpoints.
| GET | /citizen/{id} | Get citizen profile |
| GET | /citizen/{id}/stats | Citizen statistics (MasterG) |
| GET | /citizen/{id}/unified | Merged profile from multiple sources |
| POST | /citizen/search | Search citizens by name |
| GET | /citizen/registered/total | Total registered citizens |
| GET | /military/unit/{id}/members | Military unit members with stats |
| GET | /military/campaigns | Active military campaigns |
| GET | /military/battle/{id} | Battle details |
| GET | /market/item/best-offers | Best item offers across countries |
| GET | /market/monetary/gold | Gold monetary market offers |
| GET | /market/monetary/currency | Currency monetary market offers |
| GET | /rankings/top-fighter | Top fighters ranking |
| GET | /rankings/top-aviator | Top aviators ranking |
| GET | /game/country/list | List of all countries |
| GET | /region/{regionId} | Region details |
| GET | /events/articles | Latest published articles |
| GET | /events/military | Military events feed |
Fetch a citizen profile:
Rate limits vary by subscription tier and API source. Response headers include:
| X-Rate-Limit-Limit | Maximum available calls per hour |
| X-Rate-Limit-Remaining | Remaining calls in current window |
| X-Rate-Limit-Reset | Timestamp when the limit resets |
Exceeding the limit returns 429 Too Many Requests with a Retry-After header.
Sign up for free or upgrade your plan for higher limits and premium endpoints.