{"id":3765887,"recorded_at":"2026-11-06T20:24:29.656822Z","observed_at":"2026-11-06T20:24:29.656591Z","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":8,"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":"f427d1566b584ea3aeee589e5aa365c77b48d7f1c00e544e90449cbc0cb8ae7b","prev_id":47216,"leaf":"0x1de416abf46dcd8c3b4555754ecd455a874d389d8e53602568cf0c4957a1a600","leaf_text":"{\"body\":\"f427d1566b584ea3aeee589e5aa365c77b48d7f1c00e544e90449cbc0cb8ae7b\",\"id\":3765887,\"kind\":\"listing\",\"method\":\"sync.x402_bazaar/1\",\"observed_us\":1793996669656591,\"prev\":47216,\"subject\":\"x402_bazaar:https://agentsvc.io/api/v1/proxy/pdf-extract\",\"subject_kind\":\"source_record\"}","day":{"day":"2026-11-06","leaves":303443,"root":"0xb30ccefe7182c6f767e1fcbfb5f64ffd649da831f665f65c5ff39cd40512284f","chained":"0xc383f7ef68d2914082484765aa09e42c12c59a74a096ae64127c562618c506d3","anchor_chain":"eip155:5042002","anchor_tx":"0xfba13cb7ee4ada7f2fee3702a786a2201596be2ffea37dfc281ab4c8e9942fe1","anchor_block":71111178},"proof":["0x1de41f8f604fe7b6c761209c13c801b9a3f4fa093cdf1998ca6bfeefc49d8182","0x863ddbd79670d23fa883bec763c4c08ffff370ae996ca344f52e56a423a2bf5a","0x0ac78b673b1639535c61e905f9e2753014e9e787526f0fa168bb8936cc7f5120","0xab450edc29d87953611fa4316e23556d624aba8473fb6a6d74547fc27f288358","0xfda0390d78f5a0f46ce6f0dd4a69164640deb9a70dc35a78fc5c813919805785","0x8cb6dc3260a386eca718fd36b58a223287eefa53727a9008a55f1ddc7590fef4","0xeed822da5df9089552e13c392c0126f155cdf53f761a07aac66df5791601f586","0x2028f36f613c693911c8ccd4d177dd8e00d25867712d48df3759e2c2174bbeed","0x799f02d207b7766b6a50461d66244317747ba4390b2ebe49cebe2e431bb65a1b","0x01ed66030f0b64633f872da8ea2a723c28bbb6dc3a397060c393aea475aae7f5","0x913e185eb3931cd8e7155cb8142a9b04856dbd53fe889f7dc294116bc801aae7","0x7583d8c1ba1fe74d9320288c7431b3aff692946945e2e792bd2891ef6e0cea9f","0xad6313ea8c1aaa1c3253abd3203b070e253b49b4d718f335b5b05b375854db89","0x81d6ec63cb4df174d42a42d72162141e82dcafa9c256793b20cc12205d8d389c","0xb490b9bc961e5cbbfaf890e393a2eb3d2518e080e0a107acd232486f34cf7408","0x0aaf291a2ffa2205e7df7531bf36800e377dfbd67208da05b97625f1cc49ce02","0xa448dc698494f795f2240c0e7070e8a93eb263baee21ca4185a7d03432a614d8","0x119743aadcddb571b28b442b62196d4a0afc4e1c9979c2d477d34fcc9413deaf","0xc0d08d48601d1be90bcfc025e66bcaa0030120d688dd9c919b36c2c4446f4948"]}