Skip to Content
API referenceBlank Forms API

Blank Forms API

Base path: /api/v1/pdf_handler/forms/. Python: client.pdf.forms. API-key scope: convert (scopes).

A catalog of public government blank forms hosted by indox, so you can read a form’s fields and fill it without uploading the PDF yourself.

MethodPathPythonPurpose
GET/forms.list(**filters)The catalog, filtered by source, topic and q, paged with limit and offset
GET/{slug}/forms.get(slug)One catalog entry; 404 if the slug is not catalogued
GET/{slug}/blank/forms.blank(slug)A time-limited download URL for the blank PDF
GET/{slug}/fields/forms.fields(slug)The fillable fields, in the same shape as POST /api/v1/pdf_handler/form-fields/
POST/{slug}/fill/forms.fill(slug, fields, output_path, flatten=False)The filled PDF

source is one of irs, uscis, va, cms, courts, gsa, ed or state. q matches the slug, title and description, ignoring case. The blank, fields and fill routes work on forms in the hosted IRS and USCIS corpus.

fill takes a JSON body of field name to value. With flatten=True the values are burned into the page and can no longer be edited. The Python method writes the returned PDF to output_path:

from indox_client import Indox with Indox() as client: print(client.pdf.forms.fields(slug)) # slug taken from forms.list() client.pdf.forms.fill(slug, {"FIELD_NAME": "Ada Lovelace"}, "filled.pdf", flatten=True)

To read the fields of a PDF you already have, upload it with client.pdf.form_fields(path) (POST /api/v1/pdf_handler/form-fields/).