{"uid":"cap_xmQD3VO4pO2nKakSKlZEl","slug":"api-strale-io-e9fbdeba","name":"PDF Data Extraction API","description":"Extract structured data from any PDF document. Accepts a URL or base64-encoded PDF. Works on contracts, reports, forms — any document type. Returns JSON based on your extraction instructions. SQS: 98/100.","url":"https://api.strale.io/x402/pdf-extract","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"URL to a PDF file"},"base64":{"type":"string","description":"Base64-encoded PDF"},"extract":{"type":"string","description":"What data to extract (natural language)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.324","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"1.00","reviews":0,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.324/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.324","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.324","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hZp7aeHss3dK_b-UFMnI4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.324","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured JSON data from PDF documents (via URL or base64) based on natural-language extraction instructions","exampleAgentPrompt":"Extract the vendor name, invoice number, line items, and total amount from this PDF invoice — here's the URL: https://example.com/invoice-2024-05.pdf","exampleUseCases":[{"title":"Verify compliance requirements in contracts","prompt":"I need to review a vendor contract for non-negotiables. Can you extract all liability caps, termination clauses, and data protection commitments from this PDF? Here's the link: https://example.com/vendor-agreement.pdf"},{"title":"Automate expense report processing","prompt":"We're drowning in receipts and expense claims. Can you pull out the merchant name, transaction date, category, and amount from each of these PDF receipts and give me a clean list?"},{"title":"Extract structured data from regulatory filings","prompt":"I'm analyzing financial disclosures. Can you grab the company name, fiscal year, revenue, net income, and risk factors from this PDF filing? I want it in JSON so I can compare across multiple documents."}],"resultDescription":"A JSON object containing the structured data extracted from the PDF, with fields corresponding to the extraction instructions provided. The structure adapts to what was requested, e.g. named fields for a contract, line items for an invoice, or form values for a form.","failureModes":["PDF URL is inaccessible or returns a non-PDF file — likely a 4xx or error JSON","Base64 input is malformed or not a valid PDF — extraction fails with an error","PDF is scanned/image-only with no text layer — extraction may return empty or incomplete results","Extraction instructions are too vague — output may be incomplete or mismatched","PDF is password-protected — unable to parse content","File too large — may timeout or exceed processing limits"],"whenToPreferThis":"Use this endpoint when you need to extract specific structured data from a PDF document and want to specify what to extract in natural language. It is ideal for invoices, contracts, reports, and forms where you know the fields you need but the document is not already machine-readable. Prefer this over generic OCR tools when you need JSON output with named fields rather than raw text.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-04-30T00:24:43.951Z","lastSuccessfullyRanAt":"2026-04-30T00:24:43.951Z","lastHealthCheckAt":"2026-09-13T18:53:13.207Z","isFirstParty":false}