Helenis API
Start for free
A handwritten 1918 registration card read to typed fields: full_name Lewis Armstrong, date_of_birth 1900-07-04, signed true.

Documents & media · AI-assisted

Form to JSON API

Filled form photo, scan or PDF to JSON: your fields or every field and checkbox. Handwriting OK.

Base URLhttps://form-to-json-handwritten-printed-form-ocr.p.rapidapi.com/v1/form-ocropenapi.json

Free plan
3 credits a day
Paid plans
from $4.99 a month
One credit
1 credit per page; very dense pages 2 or 3.
Endpoints
2, on /v1/form-ocr

Example call

curl -X POST "https://form-to-json-handwritten-printed-form-ocr.p.rapidapi.com/v1/form-ocr/extract" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: form-to-json-handwritten-printed-form-ocr.p.rapidapi.com" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://upload.wikimedia.org/wikipedia/commons/a/aa/World_War_I_Draft_Registration_Card_for_Louis_Armstrong_1918.gif",
    "fields": [
      {
        "name": "full_name",
        "type": "string"
      },
      {
        "name": "date_of_birth",
        "type": "date"
      },
      {
        "name": "race",
        "type": "string"
      },
      {
        "name": "employer",
        "type": "string"
      },
      {
        "name": "signed",
        "type": "boolean",
        "description": "is it signed"
      }
    ]
  }'
Response200 OK
{
  "source": "https://upload.wikimedia.org/wikipedia/commons/a/aa/World_War_I_Draft_Registration_Card_for_Louis_Armstrong_1918.gif",
  "mime_type": "image/jpeg",
  "mode": "fields",
  "page_count": 1,
  "pages_read": [1],
  "title": "REGISTRATION CARD",
  "languages": ["en"],
  "handwriting": true,
  "data": {
    "full_name": "Lewis Armstrong",
    "date_of_birth": "1900-07-04",
    "race": "Negro",
    "employer": "Peter Lala",
    "signed": true
  },
  "fields": [
    { "name": "full_name", "type": "string", "value": "Lewis Armstrong", "page": 1, "handwritten": true, "confidence": "high" },
    { "name": "date_of_birth", "label": "Date of Birth", "type": "date", "value": "1900-07-04", "page": 1, "handwritten": true, "confidence": "high" },
    { "name": "race", "label": "Negro", "type": "string", "value": "Negro", "page": 1, "handwritten": true, "confidence": "high" },
    { "name": "employer", "label": "EMPLOYER'S NAME", "type": "string", "value": "Peter Lala", "page": 1, "handwritten": true, "confidence": "high" },
    { "name": "signed", "label": "REGISTRANT'S SIGNATURE OR MARK", "type": "boolean", "value": true, "page": 1, "handwritten": true, "confidence": "high" }
  ],
  "filled": 5,
  "empty": 0,
  "text": "REGISTRATION CARD\n\nSERIAL NUMBER\t928\tORDER NUMBER\t4177\n\n1. Lewis Armstrong\n(First name) (Middle name) (Last name)\n2. PERMANENT HOME ADDRESS: 1233 Perdido St. N.O. La.\n...",
  "truncated": false,
  "credits": 1
}

Extract Form from URL: POST /v1/form-ocr/extract. A real call and its real response, with long values shortened.

What the Form to JSON API returns

Stop retyping forms. Send a photo, scan or PDF of a filled-in form, typed or handwritten, and get JSON your code can store: registration cards, claim forms, delivery notes, bills of lading, intake sheets, applications, questionnaires, certificates. Name the fields you want, or let the API find every field, checkbox, table and signature on its own. From $0.0104 per page: about 3x cheaper than Google's form parser and 5x cheaper than AWS Textract forms.

Your schema
Up to 40 fields, each typed (string, number, integer, date, boolean, checkbox, list), dates as YYYY-MM-DD
Or auto mode
Every label/value pair, ticked boxes, option groups, tables (line items, people, schedules) and signature boxes, with keys made from the printed labels
Handwriting
Cursive, block capitals and old archives; each value says if it is handwritten and how legible it is (confidence). Handwriting is read twice: a value the two readings disagree on comes back uncertain: true (with the other reading as alternative in auto mode)
Checked against the page
Every text value must appear in a separate transcription of the form, or it comes back null
PDFs
Scanned or digital, up to 10 pages per call, values typed into fillable PDFs included
Any language
French, German, Russian, Georgian, Lithuanian... values stay as written

Endpoints

Host form-to-json-handwritten-printed-form-ocr.p.rapidapi.com, header X-RapidAPI-Key. Parameters and examples for each one are in the API reference.

Form Extraction

A form image or PDF to JSON: your fields, or every field found.

Use cases

  • Insurance. Claim forms and accident reports into your claims system, with handwriting
  • Logistics. Delivery notes, bills of lading and proof-of-delivery slips into rows
  • Healthcare and clinics. Intake and consent forms into the patient record (checkboxes included)
  • Education and HR. Applications, enrolment forms and questionnaires, by the hundred
  • Archives and genealogy. Census sheets, registration cards and certificates into searchable data

Tutorial

Pricing

1 credit per page; very dense pages 2 or 3. Failed calls are never billed.

Form to JSON API plans on RapidAPI
PlanPriceCredits includedAbove the quota
BASIC Free 3 / day resets every day
PRO $4.99/mo 480 / month $0.11 per credit
ULTRA $14.99/mo 1,450 / month $0.11 per credit
MEGA $49.99/mo 4,800 / month $0.11 per credit

Subscribe on RapidAPI (opens in a new tab)

No code: the Apify actor

The Form OCR to JSON - Handwritten & Printed Forms actor runs the same engine on a list of inputs and exports a table (JSON, CSV, Excel, Google Sheets). It is billed per result; free-plan users get 5 forms per run.

Apify pay-per-event prices
EventCharged forPrice
form-pageEach page read (dense pages count 2 or 3)$0.01

Questions about the Form to JSON API

Do I need a template for each form?
No. Name the fields you want (the description can say where they are, e.g. "box 3, date of birth"), or send none and get every field the form has.
What happens when a value is unreadable or missing?
It comes back null, or with [illegible] for the words that cannot be read, and a low confidence when the writing is poor. The API never fills a gap with a guess.
How do I know which handwritten values to check?
Every handwritten field value is read a second time, independently. When a digit or a letter differs (4177 / 4127), the value comes back with "uncertain": true, a low confidence and, in auto mode, the other reading as alternative. Send those to a human; the rest can go straight in.
Can I ask for something that is not on the form?
No: descriptions only say where to look. A value that is not written on the form, such as a translation, a summary or an answer, is dropped and comes back null.
Bounding boxes?
No: you get each value with its printed label and its page, not pixel coordinates.
Is there a free plan for the Form to JSON API?
Yes. The BASIC plan on RapidAPI is free, with 3 credits per day to test it on your own data. Paid plans start at $4.99 per month. On Apify you pay per result, and free-plan users get 5 forms per run.
How are credits counted?
1 credit per page; very dense pages 2 or 3. Calls that fail are never billed.
Should I use RapidAPI or Apify?
Use RapidAPI to call the REST API from your own code with a monthly plan. Use Apify for no-code runs on lists of inputs, schedules, exports to Google Sheets, Zapier or Make, and AI agents through MCP.
Do you store my data?
No. Inputs and results are processed in memory and never stored or logged; logs keep only technical metadata such as status and latency.