A public API with nothing to sell
What the Athar API offers today, how it stays free and fair without accounts, and what is still missing.
Every developer who builds something for Muslims ends up solving the same problems: prayer times for a city, the Hijri date, the Qibla. Most start from zero, or from a paid API with a free tier that changes its terms one day.
The Athar API is meant to be the boring alternative: free, documented, and with nothing to upsell.
What is there today
The first version is live at api.openathar.org: prayer times for a day, a date range or many places at once, the current and next prayer, and an iCalendar feed you can subscribe to in any calendar app. Next to them: calculation methods, the Qibla bearing, Hijri conversion and calendars, Islamic events, the moon phase and a place search.
Behind every prayer time is the same open-source core the website uses, so the API and openathar.org always give the same answer.
Fair without accounts
There is no sign-up. To keep the service fair for everyone, requests are counted per IP address in a one-minute window. If you need more, you can create an API key yourself. A key is a random value with an optional label, a creation time and a request counter. No name, no e-mail address.
What is not there yet
Qur'an and adhkar content is not in the API yet. We want a text source whose licence clearly allows free redistribution before we publish it, and we would rather wait than guess.
The developer portal on openathar.org lists every endpoint with examples and a playground. If something you need is missing, open an issue on GitHub. That is how the roadmap is decided.