apyhub

Aadhaar Validator

What it does

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

Use Aadhaar Validator when you need a fast identity-format check before storing user records, submitting onboarding forms, or validating KYC inputs. It is useful anywhere you want to reject obviously invalid Aadhaar numbers early, without adding extra application logic.

The request schema is minimal: the body contains one field, aadhaar, as a string of digits only. The response is equally simple, returning data as a boolean so you can branch immediately on valid versus invalid input.

If your workflow collects Indian identity details, Aadhaar Validator fits as a lightweight validation step in signup, verification, and back-office data quality checks.

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

QUICKSTART

GUIDE

Quickstart

Validate a 12-digit Aadhaar number with a minimal JSON request.

curl -X POST "https://api.eu.apyverse.com/apyhub/validate-aadhaar" \
  -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.
body*
12-digit Aadhaar number (numeric digits only).

About this endpoint

What it does

Validates an Aadhaar number submitted in the request body. It 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, and false indicates it is not.

ParameterTypeMandatoryDescription
dataBooleanYesValidation result for the submitted Aadhaar number.

Body

Name
Type
Description
bodyREQUIRED
object
▣ 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.