{"id":3968549,"recorded_at":"2026-11-07T20:31:47.538469Z","observed_at":"2026-11-07T20:31:47.538404Z","subject_kind":"source_record","subject":"x402_bazaar:https://agentsvc.io/api/v1/proxy/pdf-extract","kind":"listing","method":"sync.x402_bazaar/1","body":{"endpoints":[["x402","https://agentsvc.io/api/v1/proxy/pdf-extract"]],"name":"PDF Text Extraction","owner_address":"0x622efa6ceb83a5b6edbc931332f4db68b7f74f27","raw":{"accepts":[{"amount":"5500","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27","scheme":"exact"},{"amount":"5500","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","extra":{"feePayer":"Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88"},"maxTimeoutSeconds":300,"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","payTo":"5JzPS5qpEwUM1vTC9GG7uqvwJdHzbEwfoPHf2Ki977tg","scheme":"exact"},{"amount":"5500","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:137","payTo":"0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27","scheme":"exact"},{"amount":"5500","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:42161","payTo":"0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27","scheme":"exact"}],"description":"Extract all text from a PDF. Send as pdf_base64 (base64-encoded PDF, max ~10 MB decoded). Returns text (full concatenated text), pages array (per-page text + char_count), page_count, and metadata (title, author, creator). Encode with: Buffer.from(pdfBytes).toString('base64'). Ideal for RAG pipelines, document QA, or LLM ingestion.","extensions":{"bazaar":{"category":"text","info":{"input":{"body":{"max_pages":10,"pdf_base64":"<base64 of a PDF>"},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"data":{"extracted_at":"2026-04-10T14:00:00.000Z","file_size_bytes":245760,"metadata":{"author":"Finance Department","creator":"Adobe Acrobat","title":"Q1 2026 Financial Report"},"page_count":12,"pages":[{"char_count":54,"page":1,"text":"Quarterly Financial Report Q1 2026\n\nExecutive Summary"},{"char_count":58,"page":2,"text":"Table of Contents\n1. Revenue Overview\n2. Cost Analysis"}],"text":"Quarterly Financial Report Q1 2026\n\nExecutive Summary\nTotal revenue increased by 23% year-over-year..."},"success":true},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"max_pages":{"default":50,"description":"Maximum number of pages to extract. Default: 50. Use to limit processing time for large PDFs.","type":"integer"},"pdf_base64":{"description":"Base64-encoded PDF file content. Decode a PDF file to base64 and pass it here. Max ~10 MB (unencoded).","type":"string"}},"required":["pdf_base64"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"data":{"properties":{"extracted_at":{"description":"ISO 8601 timestamp of extraction","format":"date-time","type":"string"},"file_size_bytes":{"description":"Size of the decoded PDF in bytes","type":"integer"},"metadata":{"description":"PDF document metadata (if available)","properties":{"author":{"type":"string"},"creation_date":{"type":"string"},"creator":{"type":"string"},"producer":{"type":"string"},"subject":{"type":"string"},"title":{"type":"string"}},"type":"object"},"page_count":{"description":"Total number of pages in the PDF","type":"integer"},"pages":{"description":"Per-page text content (first max_pages pages)","items":{"properties":{"char_count":{"description":"Number of characters on this page","type":"integer"},"page":{"description":"Page number (1-based)","type":"integer"},"text":{"description":"Extracted text for this page","type":"string"}},"type":"object"},"type":"array"},"text":{"description":"Full extracted text from all pages, joined with newlines. Preserves paragraph structure where possible.","type":"string"}},"required":["text","page_count","extracted_at"],"type":"object"},"success":{"type":"boolean"}},"required":["success","data"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"tags":["pdf-to-text","pdf-parsing","pdf","text","extract","parse","document","ocr","rag","llm"]},"builder-code":{"info":{"a":"bc_q6wi3opd"}}},"iconUrl":"https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791462963/bazaar-icons/243ff0b79dbee242.png","lastUpdated":"2026-10-26T04:11:47.899Z","quality":{"l30DaysTotalCalls":5,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-26T04:11:47.689Z"},"resource":"https://agentsvc.io/api/v1/proxy/pdf-extract","serviceName":"PDF Text Extraction","tags":["pdf-to-text","pdf-parsing","pdf","text","extract"],"type":"http","x402Version":2},"source":"x402_bazaar","summary":"Extract all text from a PDF. Send as pdf_base64 (base64-encoded PDF, max ~10 MB decoded). Returns text (full concatenated text), pages array (per-page text + char_count), page_count, and metadata (title, author, creator). Encode with: Buffer.from(pdfBytes).toString('base64'). Ideal for RAG pipelines, document QA, or LLM ingestion."},"body_sha256":"0138524fbc566b94eab621e132455a38298449f009089ea3f1c96d7f532525bf","prev_id":3765887,"leaf":"0xf8b950c068e64c2143dbe7a942dea3722f34a89a73f0652f01b36ac4b32b03a2","leaf_text":"{\"body\":\"0138524fbc566b94eab621e132455a38298449f009089ea3f1c96d7f532525bf\",\"id\":3968549,\"kind\":\"listing\",\"method\":\"sync.x402_bazaar/1\",\"observed_us\":1794083507538404,\"prev\":3765887,\"subject\":\"x402_bazaar:https://agentsvc.io/api/v1/proxy/pdf-extract\",\"subject_kind\":\"source_record\"}","day":{"day":"2026-11-07","leaves":195826,"root":"0x17da9e85e1b138541355d33543ff34e3503cd3a49d37728fb53643e2a0416a2d","chained":"0xed34bd4af17282643de8cb9591c84d0aa1b39e1e9ae9864941e543f5a15718cb","anchor_chain":"eip155:5042002","anchor_tx":"0xc3f6784179e0ca32236ba89472473e882a81d03fcc5ce27ca58ded2e01e112aa","anchor_block":71280839},"proof":["0xf8b964429c5b1677d0e8a9dc54bfeecb7b6d53cd91e3732cd3d5e2a8e7ad7945","0x443f3e9cf0422af8d4994b9feb907a53c2bcb961313e8afff33c920e1f62a96a","0xcfcfe826826400ec499054093af168f92ba3542724c21f2bc8fece56a95709af","0xe21ddf5d2f219b801d793157b3c391bac39e53656a4dfa10de334c270b8d9f70","0xdc162753ce0c525c43b963b18c0e0c94bd05a79b05aea279507fec9014e3b1b6","0x9ca580a7c2b9284679db93d112db5df89b1e900e1716cd0c14cbe720c12042fc","0x9761a5f44e9284ab937206dce6d1c941c77b5fcdd8f7c2e333020806606f51e2","0xff04c130b1766bc45b57d83fb0acfd934061d0d3ba0a8319ec4d54d3082cf5ae","0xd0a0e488ccef62463779510ee2892a08575531121ddf5a475fdadaed6624c6c2","0xc8531cb8b6081557d2b82a1747638da9cd45a3719515c14d978948bdb8ee8781","0x7cb068608ce356c56b952991bf7213d131920a5a6364972fa78af58bf37822cd","0x56e817096df4de4739e74dab9761047ab97b2c55fdad1ba48d7081a0779ea668","0xf890041dab1a6045b3a87d27ce06c7bb38a0ea4dc1deb01cfdbb7c23a11ad1b1","0x2f1bda65dd8929924c1dad6e9e29ab36a1b8cb4eed65c97434b87bf8d5cca017","0xb6dc07358d0932b83c713d4c82df6764849db6e58ee1c7cbc06d03f381a6b36b","0xbb3be27e5da5ccad91ce4674c6eac53275c0832f3885b89533d2be65d38f2fc6","0x9ea7c2ecc6985da4b761b0f9096b7858b3ac8e3e47717c3840537fb2ff31c6df"]}