Official eRepublik API has been down for almost 2 months. Everybody knows about it. Unfortunately, Plato isn’t interesed of improving or even repairing API. I’m sure, that he received thousands of messages with petitions. It looks, that we have to manage ourselves with that annoying situation.
That is why I created unofficial eRepublik API. It has a few significant advantages in comparsion to official one. At first, it... works
😉I tried to obtain possibly highest reliability. Of course it’s a new project, so I don’t guarantee it’s bugs-free.
- following Representational State Transfer (REST) principles
- support for both XML and JSON responses
- reasonable caching of resources
- API keys, which are used to identify you and prevent overloading server by abusers
- completely independent from official API
- support for many wanted, but missing/broken resources
Get started with API!
At first, you have to open http://dev.erpk-api.com/ and obtain your own API key. Just follow instructions on this site.
Do you have a key? If so, let’s check check overview of resources.
Description: That feed includes among others: computed influence given without weapon, rank level/name/image, MU membership, “About me” section and much more.
- Military Unit
Description: That feed contains summary information about Military Unit.
Description: That feed includes among others: battle heroes, minibattles “crowns” score on both sides and information about battle timer.
- Active battles
Description: That feed is a list of active battles’ IDs numbers.
- Monetary market
Description: That feed is a list of monetary market offers.
Description: That feed is a list of market offers. Additionally includes direct link to offer.
- Job market
Description: That feed is a list of job market offers.
For detailed information check out the full documentation. There you should find everything what you need to know.
Still have questions? Ideas? Would like to report bug or just leave feedback?
Join #erpk-api on Rizon and ask me anything (I’m Lipvig, that one with “~” before nickname
If neccessary, you can contact with me also by e-mail firstname.lastname@example.org, but I prefer IRC.
What is this?You are reading an article written by a citizen of eRepublik, an immersive multiplayer strategy game based on real life countries. Create your own character and help your country achieve its glory while establishing yourself as a war hero, renowned publisher or finance guru.