Docs
Astrology and numerology API docs
The docs of API for Astrology (apiforastrology.com) cover two APIs. The Astrology API has 65 endpoints and the Numerology API has 16. One API key works for both. Each API has a quickstart, guides and a full reference. The shared guides explain API keys, rate limits and the errors both APIs send.
Updated
APIs
Each API has its own quickstart, guides and reference. One key works for both. Not sure which one you need? Compare the two APIs.
Astrology API
Vedic astrology, the traditional astrology of India, over HTTPS. Send birth details as JSON. You get back charts, dashas (planet periods), the panchang (the Hindu calendar for a day), matching scores and written readings. 65 endpoints in 12 groups, each with examples in curl, JavaScript, Python and PHP.
Overview · Quickstart · API reference · Conventions · Sections and IDs
Open the Astrology API docsYour first call: John Doe’s birth chart
# John Doe, born Aug 15, 1990, 10:30 AM, New York
curl -X POST "https://apiforastrology.com/api/astrology/v1/planets" \
-H "Authorization: Bearer $ASTROLOGY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"year":1990,"month":8,"day":15,"hour":10,"minute":30,"second":0,"latitude":40.7128,"longitude":-74.006,"timezone":"America/New_York"}'Numerology API
Indian and Western numerology over HTTPS. Send a name and a birth date as JSON. You get back the mulank (birth day number), the bhagyank (destiny number), the name number and the Lo Shu grid (a 3 by 3 number square). There are also name and number checks, compatibility and a full report. 16 endpoints in 7 groups, each with examples in curl, JavaScript, Python and PHP.
Overview · Quickstart · API reference · Conventions · Changelog
Open the Numerology API docsYour first call: John Doe’s core numbers
# John Doe, born Aug 15, 1990
curl -X POST "https://apiforastrology.com/api/numerology/v1/profile" \
-H "Authorization: Bearer $ASTROLOGY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"John Doe","birth_date":"1990-08-15"}'Postman and OpenAPI files
Every endpoint with the sample people filled in, so a test key answers each request.
Astrology API
65 endpoints. Import into Postman, Insomnia, Bruno or Hoppscotch, then set apiKey to your key.
https://apiforastrology.com/api/astrologyNumerology API
16 endpoints. Import into Postman, Insomnia, Bruno or Hoppscotch, then set apiKey to your key.
https://apiforastrology.com/api/numerologyGuides for every API
One key works for every API, so these pages apply to all of them.
- Authentication and rate limitsSend your key in a header. See how test and live keys differ, and how many calls each plan allows a minute and a month.
- ErrorsEvery error is JSON with a code, a message and sometimes a field. See what each status code means and which ones to retry.
- ChangelogWhat changed in the API, newest first. It lists new endpoints, changed fields and codes, and rule fixes that can change a result.
Languages
Readings in your users’ language
The Astrology API and the Numerology API answer in English and Hindi today. Names and reading text change with the language. Endpoint paths, codes and error messages stay in English.
Supported
2 languagesWorks today
- EnglishDefault
- हिन्दीHindilang=hi
Coming soon
2 languagesNext on the list
- 中文Chinese
- EspañolSpanish
Planned
9 languagesNot scheduled yet
- தமிழ்Tamil
- తెలుగుTelugu
- 日本語Japanese
- ಕನ್ನಡKannada
- FrançaisFrench
- മലയാളംMalayalam
- PortuguêsPortuguese
- РусскийRussian
- বাংলাBengali
Need a language sooner?Tell us which one. Requests help decide what comes next, and a language in progress gets a target quarter once its schedule is set.
Request a languageDeveloper tools
Pages you will use often.
- AI assistantsOffer the API to a chatbot as tools. AI tools can also read a map of the docs at /llms.txt or the full text at /llms-full.txt.
- StatusWhether the API is working right now, and any past incidents.