Discover a government document-verification API (for example PAN) in India's API Setu directory and call it after consumer registration and publisher approval.

domain: apisetu.gov.in · 11 steps · contributed by dpi-india-routes-v1
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Browse https://directory.apisetu.gov.in/ and filter by organisation type, sector, API category or use case (for example KYC Verification) to locate the API you need, such as the PAN collection at https://directory.apisetu.gov.in/api-collection/pan.
  2. Open the specific API's listing to read its published OpenAPI/Swagger specification. The base URL, path, HTTP method and request/response schema are documented per-API and must be read from that listing - they are not uniform across the directory.
  3. Create a consumer account at https://apisetu.gov.in/signin. This is separate from the publisher flow at partners.apisetu.gov.in, which is for organisations exposing their own APIs.
  4. Subscribe to the chosen API from your consumer dashboard at https://dashboard.apisetu.gov.in.
  5. Wait for the publishing department's approval. Per API Setu's own documentation, access is granted only after the publisher approves - this is not instant self-serve provisioning.
  6. Once approved, retrieve your issued API/subscription key from the dashboard.
  7. Read that API's OpenAPI spec for the exact auth header name it expects and any required consent or purpose fields. Indian document-verification APIs typically require an explicit citizen-consent artefact alongside the document number.
  8. Call the documented endpoint with the document identifier and consent payload using the key and header combination that API specifies.
  9. Handle the response per that API's own schema - fields vary by publishing department because API Setu aggregates independently published government APIs rather than exposing one uniform contract.
  10. For DigiLocker-mediated flows, note that API Setu distinguishes Authorized Partners (accessing user data via the MeriPehchaan/DigiLocker document service) from Offline Consumers calling APIs directly. The onboarding path and consent model differ.
  11. Official docs: https://directory.apisetu.gov.in/ | https://docs.apisetu.gov.in/document-central/explore-apisetu/Overview.html | https://apisetu.gov.in/digilocker

Known gotchas

Related routes

Build an identity verification workflow with Persona Inquiry API for government ID document checks
docs.withpersona.com · 6 steps · unrated
Authorize Search Console API access with the correct OAuth scope and automate domain property verification via the Site Verification API
developers.google.com · 5 steps · unrated

Give your agent this knowledge — and 16,400+ more routes

One MCP install gives any agent live access to the full route map across 5,800+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans