{"uid":"cap_CiKt7oiCd5-R_M9nM9a3P","slug":"24k-labs-pdf-acroform-filler-6bba053f","name":"24K Labs PDF AcroForm Filler","description":"Fill AcroForm text field values in a base64-encoded PDF and return the finished PDF as base64. Reports which fields were set. Optionally sets NeedAppearances for viewer rendering.","url":"https://api.24klabs.ai/api/v1/pdf-form-fill","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"fields":{"type":"object"},"pdf_b64":{"type":"string"}}},"responseSchema":{"type":"json","example":{"pdf_b64":"...","filled_fields":["Name"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_g_mefNZtxQT4HN3f8FGJB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fills AcroForm text field values in a base64-encoded PDF and returns the completed PDF as base64, reporting which fields were set.","exampleAgentPrompt":"Take this base64-encoded PDF contract form and fill in the 'FirstName' field with 'Jane', 'LastName' with 'Doe', and 'SignatureDate' with '2025-06-01', then return me the completed PDF as base64 with NeedAppearances enabled so it renders correctly in all viewers.","exampleUseCases":[{"title":"Automated contract form completion","prompt":"I have a base64-encoded NDA PDF with AcroForm fields — fill in 'PartyName' with 'Acme Corp', 'EffectiveDate' with '2025-07-01', and 'Jurisdiction' with 'California', then give me the filled PDF back as base64."},{"title":"Government application form auto-fill","prompt":"Take this base64 PDF of a visa application form and populate the fields 'ApplicantName', 'PassportNumber', and 'DateOfBirth' with 'Maria Santos', 'X1234567', and '1990-03-15' respectively — return the completed form as base64 with NeedAppearances set to true."},{"title":"Invoice template population","prompt":"Here's an invoice template PDF encoded in base64 — fill the AcroForm fields 'InvoiceNumber' with 'INV-2025-004', 'ClientName' with 'Bright Ideas LLC', and 'TotalAmount' with '$4,750.00', and send me back the finished PDF as base64."}],"resultDescription":"Returns the completed PDF as a base64-encoded string, along with a report of which AcroForm text fields were successfully set. Indicates whether NeedAppearances was applied for correct rendering across PDF viewers.","failureModes":["Invalid or malformed base64 input — returns error indicating decode failure","PDF does not contain AcroForm fields — no fields set, report will be empty","Field names not found in the PDF — fields silently skipped or reported as unset","Corrupted or encrypted PDF — processing fails with an error","Oversized PDF payload — may exceed request limits and return a size error"],"whenToPreferThis":"Choose this endpoint when you need to programmatically fill AcroForm text fields in an existing PDF and receive the completed document as base64 — ideal for automating document workflows, contract completion, or form submissions without a PDF rendering library. Prefer this over general-purpose PDF tools if you specifically need AcroForm field targeting with per-field fill reporting and NeedAppearances control.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:56:48.704Z","isFirstParty":false}