apyhub
Back
▣ DATA VALIDATION

Validate Aadhaar Test API

What it does

Aadhaar Validator checks whether a 12-digit Aadhaar number is valid. Send the Aadhaar value in the request body and get a boolean response back in data.

Use Aadhaar Validator when you need a fast identity-format check before you save a user record, start an onboarding flow, or queue a downstream verification step. It accepts numeric digits only, so it fits cleanly into form validation and server-side checks.

The response is intentionally simple: data is true or false. That makes it easy to plug into existing logic without parsing extra metadata or region details.

If you are building KYC, account signup, or internal data-quality checks for Indian identity numbers, Aadhaar Validator gives you a direct yes-or-no result from a single field.

POST
Validate an Aadhaar number
https://api.eu.apyverse.com/provider-revenue/validate-aadhaar-api

QUICKSTART

GUIDE

Quickstart

Validate a 12-digit Aadhaar number by sending it in a JSON body.

curl -X POST "https://api.eu.apyverse.com/provider-revenue/validate-aadhaar-api" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"aadhaar":"568095088801"}'

What you'll get back

Returns a JSON object with a data boolean field — true when the Aadhaar number is valid, false otherwise.

{
  "data": true
}
TRY ITLIVE · 500 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*
12-digit Aadhaar number (numeric digits only).

About this endpoint

What it does

Validates an Aadhaar number submitted in the request body and returns a boolean result indicating whether it is valid.

Request Body

ParameterTypeMandatoryDescription
aadhaarStringYes12-digit Aadhaar number, numeric digits only.

Response

Returns a JSON object with a data boolean field — true when the Aadhaar number is valid, false otherwise.

ParameterTypeMandatoryDescription
dataBooleanYesValidation result for the submitted Aadhaar number.
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.