Skip to content
96Astro API

Integrations

Fits into the stack you already use

Start with plain HTTP, the OpenAPI description, SDKs for ten languages, the Postman collection, the hosted MCP server or the WordPress plugin.

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

    Available

    Every docs example starts as a copy-and-paste cURL command.

  • JavaScript and TypeScript

    Available

    fetch from Node.js, Next.js route handlers, serverless functions.

  • Python

    Available

    httpx or requests from Django, FastAPI, Flask or scripts.

  • PHP

    Available

    Laravel 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

    Available

    Request schemas, examples and credit costs for every callable endpoint. Use it with code generators, or import it into Postman.

    Download the OpenAPI document
  • Postman collection

    Available

    Every endpoint grouped by family, with the documented example body and a saved example response. Bearer auth from an api_key variable and a fresh Idempotency-Key on each request; sandbox and live environments with no key saved are on the SDK page.

    Download the Postman collection
  • TypeScript SDK

    Available

    Typed methods for every endpoint, retries with backoff, automatic idempotency keys, PDF job polling and webhook verification. Zero dependencies, Node.js 18+. npm install @96astro/api

    Read the SDK guide
  • Python SDK

    Available

    Sync and async clients on httpx with the same safety features, typed request bodies and PDF job helpers. Python 3.9+. pip install astro96-api

    Read the SDK guide
  • PHP SDK

    Available

    Typed methods for every endpoint, retries with backoff, automatic idempotency keys, PDF job helpers and webhook verification. Includes a Laravel service provider and Astro96 facade, and works inside WordPress through the WordPress HTTP API. PHP 8.1+. composer require 96astro/api

    Read the SDK guide
  • Java, .NET, Ruby and Swift clients

    Available

    One 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 (com.96astroapi:astro96-api, for Java and Android), NuGet (Astro96.Api), RubyGems (astro96) and Swift Package Manager (github.com/96astro/astro96-swift).

    Read the SDK guide
  • Dart and Flutter SDK

    Available

    astro96_api on 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_api

    Read the SDK guide
  • Go and Rust SDKs

    Available

    One method for every endpoint, PDF and audio jobs, retries with the same idempotency key. Go: go get github.com/96astro/astro96-go. Rust: cargo add astro96-api.

    Read the SDK guide

Platforms

Ready-made pieces for the places astrology apps usually live.

  • WordPress plugin

    Available

    Panchang, 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

    Available

    Claude, ChatGPT, Cursor and other AI assistants search the catalogue and run calculations with your key, at https://api.96astroapi.com/mcp.

    Set it up
  • Embeddable widgets

    Available

    Panchang, 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

    Available

    Signed 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.

Send us feedback

What is it about?