Skip to main content

EWS Certificate Verification

This document describes state-wise inputs required to verify EWS certificates via this service, and how to obtain captcha where applicable.

EWS Certificate Structure

KeyDescription
EWS NumberUnique EWS/Certificate/Application number
NameApplicant name (only for specific states)
Security CodeSecurity code printed on certificate (Kerala)
CaptchaCaptcha text solved for the verification
TokenAnti-forgery/request token (Delhi only), found in captcha response

State-wise requirements (serial)

The following states are currently supported:

StateCodeRequires NameRequires CaptchaRequires TokenRequires Security CodeNumber Format (masked)
Andhra PradeshAPNoNoNoNoCGCXXXXXXXXXXXX (15)
BiharBRYesNoNoNoEWSCO/XXXX/XXXXXX (17)
ChhattisgarhCTNoNoNoNoXXXXXXXXXXXXXXXX[X] (16–17)
DelhiDLYesYesYesNoXXXXXXXXXXXXXX (14)
HaryanaHRNoNoNoNoHAXXXXXXXXXX (12)
KeralaKLNoNoNoYesXXXXXXXX (8)
OdishaORNoNoNoNoXXXXXXXX (8)
PunjabPBNoNoNoNoESXXXXXXXX (10)
RajasthanRJNoNoNoNoXXXXXXXXXXXX (12)
Tamil NaduTNNoYesNoNoTN-XXXXXXXXXXXXXX (16)
TelanganaTGNoNoNoNoCNDXXXXXXXXXXXXXXX (15)

API Integration

  • Endpoint to get captcha (if required by state):

    • POST /ews-certificate/pre
  • Endpoint to verify and fetch certificate details (send captcha answer if required):

    • POST /ews-certificate

Captcha fetch (DL, TN)

Request:

{
"state": "DL"
}

Response:

{
"captcha": "<base64 image>",
"token": "<anti-forgery token if required>"
}

Verify request examples

  • Delhi (requires name + captcha + token):
{
"state": "DL",
"ewsNumber": "XXXXXXXXXXXXXX",
"name": "JOHN",
"captcha": "7h2joU",
"token": "<token-from-captcha-api>"
}
  • Bihar (requires name):
{
"state": "BR",
"ewsNumber": "EWSCO/XXXX/XXXXXX",
"name": "JOHN DOE"
}
  • Kerala (requires securityCode):
{
"state": "KL",
"ewsNumber": "XXXXXXXX",
"securityCode": "3RMPZ"
}
  • Tamil Nadu (requires captcha):
{
"state": "TN",
"ewsNumber": "TN-XXXXXXXXXXXXXX",
"captcha": "A1B2C3"
}
  • States with only number (examples: AP, CT, HR, OR, PB, RJ, TG):
{
"state": "AP",
"ewsNumber": "CGCXXXXXXXXXXXX"
}

Successful Response (example)

{
"code": 0,
"message": "Success",
"data": {
"certificateNumber": "XXXXXX",
"name": "RXXXX XXXXXA",
"fatherName": "JUXXXL XXXXR SXXXXA",
"motherName": "SXXXN XXXI",
"village": "XXXXXXX",
"mandal": "XXXXXXXXX",
"district": "JXXXXXXXXXX",
"cast": "BXXXXXXX",
"income": "1XXX",
"address": "XXXXX XXXXX XXXx",
"age": "XX",
"gramPanchayat": "XXXXXXXXX",
"pinCode": "XXXXXX",
"aadharId": "XXXXXXX"
}
}

Invalid/Not found Response (example)

{
"code": 0,
"message": "Success",
"data": {
"status": "INVALID",
"message": "Invalid EWS Certificate"
}
}