{"uid":"cap_eOmQ1ijgRaJTWkvF9Z_6g","slug":"falcon-sol-document-extraction-api-04abb145","name":"falcon.sol Document Extraction API","description":"Bank statement extraction for agents: transactions and underwriting metrics from bank-statement PDFs, plus invoice/receipt/W-9 extraction. Paid per call with x402.","url":"https://falcon-docs.falcon-sol.workers.dev/v1/extract?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Public https URL of a PDF"},"type":{"enum":["auto","invoice","receipt","purchase_order","w9","bank_statement","generic"],"type":"string"},"format":{"enum":["json","csv","xlsx"],"type":"string"},"file_base64":{"type":"string","description":"Base64 PDF (alternative to url, or send multipart 'file' / raw application/pdf)"}}},"responseSchema":{"type":"json","example":{"fields":{"total":{"value":1180.5,"confidence":0.99},"invoice_number":{"value":"INV-1042","confidence":0.93}},"line_items":[{"amount":1000,"quantity":4,"unit_price":250,"description":"Consulting"}],"document_type":"invoice"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YdJbTKQO4EjJOShD0Ex0f","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured data (transactions, underwriting metrics, line items, fields) from bank statement PDFs, invoices, receipts, purchase orders, and W-9s via URL or base64-encoded file.","exampleAgentPrompt":"Can you extract the transactions and underwriting metrics from this bank statement PDF? Here's the URL: https://example.com/statement.pdf — return the results as JSON.","exampleUseCases":[{"title":"Loan underwriting bank statement review","prompt":"I need to underwrite a loan application — can you extract all the transactions and underwriting metrics from this bank statement PDF at https://example.com/bank_statement.pdf and return the results as JSON?"},{"title":"Accounts payable invoice processing","prompt":"We just received an invoice from a vendor. Can you parse this invoice PDF at https://example.com/invoice.pdf and pull out the invoice number, total, and all the line items as JSON so I can enter them into our system?"},{"title":"W-9 data entry automation","prompt":"I have a W-9 form as a base64 PDF. Can you extract the name, TIN, address, and other fields from it and return them as structured JSON?"}],"resultDescription":"A JSON object containing extracted document fields with values and confidence scores, an array of line items (for invoices/receipts/purchase orders), and the detected document type. For bank statements, also includes transaction records and underwriting metrics such as average balance, cash flow, and NSF counts.","failureModes":["PDF URL is not publicly accessible or returns non-200 — extraction fails","PDF is scanned with very low resolution — low confidence scores or missing fields","Document type mismatch between specified type and actual document","Corrupted or password-protected PDF — cannot be parsed","Base64 encoding malformed — file cannot be decoded","Rate limit or payment failure via x402 — request rejected"],"whenToPreferThis":"Choose this endpoint when you need structured, confidence-scored field extraction from financial PDFs — especially bank statements with underwriting metrics, or invoices/receipts with line items. It supports both URL and base64 input and outputs clean JSON/CSV/XLSX, making it ideal for agent workflows that need to process financial documents programmatically without manual OCR pipelines. Prefer it over generic PDF-to-text tools when you need structured fields rather than raw text.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:30:51.432Z","isFirstParty":false,"canonicalSlug":"falcon-sol-document-extraction-api-04abb145"}