{"uid":"cap_vOO2Yjy3F1E4SCvktdrca","slug":"tanod-docs-pdf-form-fields-extractor-31b99d24","name":"Tanod Docs PDF Form Fields Extractor","description":"Documents: DOCX template fill, Office to PDF, any file to Markdown, PDF to Word, OCR, PDF pipeline.","url":"https://docs.tanod.dev/v1/pdf/form-fields?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"default":null,"description":"Public http(s) URL of the PDF (at most 20 MB; private, internal and IP-literal hosts are refused); or use pdf_base64."},"pdf_base64":{"anyOf":[{"type":"string","maxLength":13398872,"minLength":1},{"type":"null"}],"default":null,"description":"The PDF as base64 (at most 10 MB decoded per request); or use url."}}},"responseSchema":{"type":"json","example":{"xfa":false,"fields":[{"name":"full_name","page":1,"type":"text","value":"","required":true,"read_only":false,"description":"Your full name"},{"name":"email","page":1,"type":"text","value":"","required":false,"read_only":false,"description":"Your email address"},{"name":"plan","page":1,"type":"radio","value":null,"options":["basic","pro"],"required":false,"read_only":false,"description":"Subscription plan"},{"name":"country","page":1,"type":"choice","value":null,"options":["AU","NZ","PH"],"required":false,"list_type":"combo","read_only":false,"description":"Country","option_labels":["Australia","New Zealand","Philippines"]},{"name":"subscribe","page":1,"type":"checkbox","value":false,"on_value":"Yes","required":false,"read_only":false,"description":"Send me the newsletter"},{"name":"notes","page":1,"type":"text","value":"","required":false,"multiline":true,"read_only":false,"description":"Anything else we should know"}],"has_form":true,"operation":"form-fields","truncated":false,"field_count":6,"input_bytes":4057,"input_pages":1,"need_appearances":false,"untrusted_content":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JQjhvlCOejrhJTzOJUkHD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts all form field definitions (name, type, options, required status, current value) from a PDF document","exampleAgentPrompt":"Can you look at the PDF form at https://example.com/application-form.pdf and tell me all the fields it contains — their names, types, whether they're required, and any options for dropdowns or radio buttons?","exampleUseCases":[{"title":"Automate PDF form submission pipeline","prompt":"I need to programmatically fill out this government application form at https://agency.gov/forms/permit.pdf — can you first tell me all the fields it has, their types, and which ones are required so I can map my data to them?"},{"title":"Audit third-party form for accessibility","prompt":"Here's a base64-encoded PDF form we received from a vendor — can you extract every form field, its label, type, and current default value so I can review it for completeness?"},{"title":"Build dynamic form UI from PDF","prompt":"I want to recreate this PDF form at https://hr.company.com/onboarding.pdf as a web form — what fields does it have, what type is each one, and what are the allowed options for any dropdowns or radio buttons?"}],"resultDescription":"Returns a JSON object listing all interactive form fields found in the PDF, including each field's name, page number, type (text, checkbox, radio, choice), current value, required flag, read-only flag, description label, and available options for choice/radio fields. Also includes summary metadata: whether XFA is used, total field count, page count, input byte size, and whether the content is flagged as untrusted.","failureModes":["PDF URL is inaccessible, private, or IP-literal host — request refused","PDF exceeds 20 MB (URL) or 10 MB decoded (base64) — size limit error","Neither url nor pdf_base64 provided — validation error","PDF has no interactive form fields — returns has_form: false with empty fields array","Malformed or encrypted PDF — parsing failure","URL returns non-PDF content — type error"],"whenToPreferThis":"Use this endpoint when you need to discover or inspect the structure of a fillable PDF form before filling it programmatically, building a UI equivalent, or validating that required fields are present. Prefer this over OCR-based approaches when the PDF has actual interactive AcroForm fields. Choose this before calling a PDF fill endpoint to understand what field names and types to target.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:45:50.852Z","isFirstParty":false,"canonicalSlug":"tanod-docs-pdf-form-fields-extractor-31b99d24"}