apyhub
Back
▣ DATA VALIDATION

Aadhaar Number Validator

What it does

Aadhaar Number Validator checks whether a 12-digit Aadhaar number is valid. Send an aadhaar string in the request body, and it returns a boolean data value indicating the result.

Use it when you need a fast identity-format check before storing user records, accepting onboarding data, or triggering downstream verification steps. It is useful for signup flows, KYC intake screens, admin tools, and any system that needs to reject malformed Aadhaar numbers early.

The request schema is simple: a JSON body with one field, aadhaar, containing numeric digits only. The response is equally direct, so you can plug it into validation logic without parsing a large payload or handling extra metadata.

If your workflow only needs to know whether the number passes validation, Aadhaar Number Validator keeps the exchange minimal and predictable.

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

QUICKSTART

GUIDE

Quickstart

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

curl -X POST "https://api.eu.apyverse.com/devadvocate/validate-aadhaar-number" \
  -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 · 1000 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 a 12-digit Aadhaar number sent in the request body. The response returns a JSON object with a data boolean field indicating whether the Aadhaar number is valid.

Request Body

ParameterTypeMandatoryDescription
aadhaarStringYes12-digit Aadhaar number, numeric digits only.

Response

Returns a JSON object with a data boolean field. true indicates the Aadhaar number is valid; false indicates it is not.

ParameterTypeMandatoryDescription
dataBooleanYesValidation result for the 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.