apyhub
Back
▣ DATA VALIDATION

Aadhaar Number Validator

Hosted on ApyHub

What it does

Aadhaar Number Validator checks whether a supplied Aadhaar number is valid. Send a 12-digit aadhaar string in the request body, and get back a simple boolean result in data.

Use it when you need fast identity-format validation before saving user records, running onboarding flows, or accepting Indian government ID details in a form. The API is intentionally narrow: it validates the Aadhaar number format and returns only whether the value passes validation.

Because the response is just a boolean, it fits cleanly into signup checks, KYC pre-validation, fraud screening, and data-cleanup jobs where you only need a yes/no decision. Keep the input numeric and 12 digits long to match the schema.

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

QUICKSTART

GUIDE

Quickstart

Validate an Aadhaar number by sending it in a JSON request body.

curl -X POST "https://api.eu.apyverse.com/xyzrohitx/validate-aadhaar-number-hhbi" \
  -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 · 5 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.

About this endpoint

What it does

Validates an Aadhaar number sent in the request body and returns whether it is valid. The response is a JSON object with a single data boolean field.

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.