recipes / identity
recipe · 2 fields

birth certificate
extraction api.

Issued by a municipal or panchayat registrar.

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
Full namefull_nameNameName of the child
Date of birthdate_of_birthDate—
the api

a birth 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_birth/extractions \
  -H "Authorization: Bearer $PATRAPI_KEY" \
  -F file=@birth-certificate.pdf
{ "status": "completed",
  "document_type": "birth_certificate",
  "fields": {
    "full_name": { "value": …, "status": "present", "page": 1 },
    "date_of_birth": { "value": …, "status": "present", "page": 1 }
  } }
more in identity