Integrations
Fits into the stack you already use
Call it from any language
The API is plain HTTPS and JSON. If your stack can make an HTTP request, it can use 96Astro API today.
cURL
AvailableEvery docs example starts as a copy-and-paste cURL command.
JavaScript and TypeScript
Availablefetch from Node.js, Next.js route handlers, serverless functions.
Python
Availablehttpx or requests from Django, FastAPI, Flask or scripts.
PHP
AvailableLaravel HTTP client, Guzzle or cURL, or the official PHP SDK.
Official tooling
The SDKs and the Postman collection are generated from the OpenAPI description, so they cover every endpoint and match the API. Install them from npm (@96astro/api), PyPI (astro96-api), Packagist (96astro/api), NuGet (Astro96.Api), Maven Central (com.96astroapi:astro96-api), RubyGems (astro96), Swift Package Manager, pub.dev (astro96_api), the Go module proxy (github.com/96astro/astro96-go) or crates.io (astro96-api).
OpenAPI 3.1 description
AvailableRequest schemas, examples and credit costs for every callable endpoint. Use it with code generators, or import it into Postman.
Download the OpenAPI documentPostman collection
AvailableEvery endpoint grouped by family, with the documented example body and a saved example response. Bearer auth from an
Download the Postman collectionapi_keyvariable and a freshIdempotency-Keyon each request; sandbox and live environments with no key saved are on the SDK page.TypeScript SDK
AvailableTyped methods for every endpoint, retries with backoff, automatic idempotency keys, PDF job polling and webhook verification. Zero dependencies, Node.js 18+.
Read the SDK guidenpm install @96astro/apiPython SDK
AvailableSync and async clients on httpx with the same safety features, typed request bodies and PDF job helpers. Python 3.9+.
Read the SDK guidepip install astro96-apiPHP SDK
AvailableTyped methods for every endpoint, retries with backoff, automatic idempotency keys, PDF job helpers and webhook verification. Includes a Laravel service provider and
Read the SDK guideAstro96facade, and works inside WordPress through the WordPress HTTP API. PHP 8.1+.composer require 96astro/apiJava, .NET, Ruby and Swift clients
AvailableOne method for every endpoint, retries with the same idempotency key, and no dependencies. Requests and responses are JSON, so you parse them with what your app already uses. Each is compiled and run in our tests. Published on Maven Central (
Read the SDK guidecom.96astroapi:astro96-api, for Java and Android), NuGet (Astro96.Api), RubyGems (astro96) and Swift Package Manager (github.com/96astro/astro96-swift).Dart and Flutter SDK
Available
Read the SDK guideastro96_apion pub.dev, for Dart 3 on servers and every Flutter platform: one method for every endpoint, PDF and audio jobs, retries with the same idempotency key. Keep the key on your backend, never in the shipped app.dart pub add astro96_apiGo and Rust SDKs
AvailableOne method for every endpoint, PDF and audio jobs, retries with the same idempotency key. Go:
Read the SDK guidego get github.com/96astro/astro96-go. Rust:cargo add astro96-api.
Platforms
Ready-made pieces for the places astrology apps usually live.
WordPress plugin
AvailablePanchang, horoscope, kundli and kundli-matching blocks and shortcodes. Your key stays on your server, repeat requests are served from cache, and the kundli and matching forms are rate-limited per visitor. WordPress 6.3+, PHP 7.4+. Upload the .zip under Plugins. It has been submitted to the WordPress.org directory and is awaiting review.
Download the plugin (.zip)MCP server
AvailableClaude, ChatGPT, Cursor and other AI assistants search the catalogue and run calculations with your key, at https://api.96astroapi.com/mcp.
Set it upEmbeddable widgets
AvailablePanchang, daily horoscope, kundli, matching and an AI chat bubble for any website: one script and a publishable key.
See the widgets
Webhooks
Stop polling: get a signed HTTPS request when something happens in your account.
Webhooks
AvailableSigned events when PDF and audio jobs finish, when live credits run low and when a renewal payment fails. Live endpoints with Cosmos, the Plus and Max packages and Observatory; sandbox endpoints on every plan.
Read the webhooks guide
Building something we have not listed? Tell us.



