recipes / identity
recipe · 4 fields

st / sc / obc caste certificate
extraction api.

Issued by a district or taluka authority certifying the holder's caste category.

use this recipeall recipesfrom ₹5 a document · 50 free credits
what it reads

the fields.

Rename any of them, drop the ones you don't need, or add the one your form asks for. Each comes back with the text it was read from.

fieldkeytypenotes
NamenameNameName of the certificate holder
CastcasteTextCaste and its category (ST, SC or OBC) as printed
Cast certificate no.certificate_numberText—
Certificate issue dateissue_dateDate—
the api

a st / sc / obc caste certificate in,
json back.

Publish the recipe as a workflow and send it files. Each field returns its value, a clean normalised version, its status, the page and the source text.

curl https://api.patrapi.com/v1/workflows/wf_caste/extractions \
  -H "Authorization: Bearer $PATRAPI_KEY" \
  -F file=@caste-certificate.pdf
{ "status": "completed",
  "document_type": "caste_certificate",
  "fields": {
    "name": { "value": …, "status": "present", "page": 1 },
    "caste": { "value": …, "status": "present", "page": 1 },
    "certificate_number": { "value": …, "status": "present", "page": 1 },
    "issue_date": { "value": …, "status": "present", "page": 1 }
  } }
more in identity