API Sathi docs

Developer Documentation

One API key, every product. Fund your prepaid wallet, send a request, and we route the call to the cheapest healthy vendor. Every product below ships an OpenAPI 3.1 reference, copy-paste code snippets and a sample response.

Getting started — read this first

  • Base URL: https://apisathi.in/gw/v1/<product-slug>/ — every call is POST, Content-Type: application/json.
  • Auth is one header only: X-API-Key: live_xxx. The tenant is resolved from the key — do not send an X-Tenant-ID header, it is not used.
  • Only integrate APIs that are actually live. The catalog lists some products not yet wired to a vendor. Fetch GET https://apisathi.in/api/v1/rates and use a product only when available: true. A not-live product returns 503 ROUTER_NO_VENDOR_AVAILABLE.
  • Test keys return SANDBOX MOCK data. A test_ key returns deterministic fake responses (e.g. a fixed sample identity for any input). Never treat a test-key response as real verification — validate every product on the live_ key before going live.
  • Prepaid wallet. Fund before use; an empty wallet returns 402 INSUFFICIENT_BALANCE. Failed vendor calls are auto-refunded (never charged).
  • Idempotency. Send Idempotency-Key: <uuid> per request for safe retries — same response for 24h, no double charge.
  • Set your HTTP client timeout to ≥ 15s — a few upstream lookups take 4–5s.

Response codes

  • 200 success · 400 invalid payload (send only documented fields — additionalProperties:false)
  • 401 missing/invalid key · 402 fund wallet · 429 rate-limited or duplicate — back off and retry
  • 5xx / 503 vendor error or product not live — not charged, safe to retry
$ curl -X POST https://apisathi.in/gw/v1/gstin-basic-v1/ -H "X-API-Key: live_xxx" -H "Content-Type: application/json"

KYC & Verification

Credit & Bureau

KYB & Company Validation

Employment & Income

Communication

Vehicle & Transport