{"uid":"cap_aNuziB783Xvm3vDd3UDB2","slug":"strale-pdf-extract-be12ae5d","name":"Strale PDF Extract","description":"The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.","url":"https://api.strale.io/x402/v2/pdf-extract","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"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)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.324","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.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_yqwAemw4kwNzsf8f3--x3","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":"Extract structured data from a PDF file using a natural language description of what to pull out","exampleAgentPrompt":"Can you extract all the invoice line items, total amount, and vendor name from this PDF? Here's the URL: https://example.com/invoice-2024-Q1.pdf","exampleUseCases":[{"title":"Invoice data extraction for accounting","prompt":"I have a supplier invoice PDF at https://example.com/invoices/acme-march.pdf — can you pull out the vendor name, invoice number, line items, and total amount due so I can log it in our accounting system?"},{"title":"Contract clause extraction for legal review","prompt":"Here's a PDF contract: https://example.com/contracts/nda-draft.pdf — please extract all the termination clauses, governing law, and any liability cap amounts mentioned in the document."},{"title":"Research report data harvesting","prompt":"Pull out all the statistical figures, year-over-year percentages, and key findings from this industry report PDF: https://example.com/reports/market-analysis-2024.pdf"}],"resultDescription":"Returns the data fields requested via the natural language extraction instruction, structured from the PDF content, along with an audit record containing a cryptographic chain hash for tamper-evidence and traceability.","failureModes":["PDF URL is inaccessible or requires authentication — returns error indicating fetch failure","PDF is password-protected or encrypted — extraction fails with unsupported format error","Ambiguous extraction instruction yields incomplete or mismatched fields","Very large or complex PDFs may time out or return partial results","Neither url nor base64 provided — returns validation error for missing input","Malformed base64 string causes decoding failure"],"whenToPreferThis":"Choose this endpoint when you need to extract specific, named data fields from a PDF using plain English instructions rather than fixed templates or hard-coded parsers. It is especially useful for heterogeneous PDF formats (invoices, contracts, reports) where structure varies across documents. The natural language extraction parameter makes it flexible enough to handle novel document types without custom code. The cryptographic audit record is valuable when provenance and tamper-evidence of the extracted data matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:53:30.156Z","isFirstParty":false}