{"slug":"api-agentsouk-dev-v1-x402-lst-01m2n6gwb06867bfmskjatk2qc-57298f","title":"Fetch a PDF and extract its text per page, with the document info","host":"api.agentsouk.dev","method":"POST","resource":"https://api.agentsouk.dev/v1/x402/lst_01M2N6GWB06867BFMSKJATK2QC","category":"search","description":"Fetch a PDF and extract its text per page, with the document info","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":348,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"url":"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"max_chars":{"default":50000,"maximum":200000,"minimum":100,"type":"integer"},"pages":{"description":"Pages to extract, e.g. \"1-5\" or \"1,3,8-10\" (at most 100); the first 100 by default","pattern":"^\\d{1,6}(-\\d{1,6})?(,\\d{1,6}(-\\d{1,6})?)*$","type":"string"},"url":{"description":"Public http(s) URL of a PDF","format":"uri","type":"string"}},"required":["url"],"type":"object"},"bodyType":{"enum":["json"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"bytes":{"type":"integer"},"clipped":{"description":"true when max_chars, the 100-page cap or the output size cut something","type":"boolean"},"content_type":{"description":"media type as served, parameters dropped","type":["string","null"]},"error":{"description":"set when the file beat the parse limits after it had been accepted","type":["string","null"]},"fetched_at":{"format":"date-time","type":"string"},"final_url":{"type":"string"},"http_status":{"type":"integer"},"info":{"properties":{"author":{"type":["string","null"]},"created_at":{"format":"date-time","type":["string","null"]},"creator":{"type":["string","null"]},"modified_at":{"format":"date-time","type":["string","null"]},"producer":{"type":["string","null"]},"subject":{"type":["string","null"]},"title":{"type":["string","null"]}},"type":"object"},"pages":{"description":"where each read page sits in text","items":{"properties":{"chars":{"type":"integer"},"page":{"type":"integer"},"start":{"type":"integer"}},"type":"object"},"type":"array"},"pages_read":{"type":"integer"},"pages_total":{"type":"integer"},"text":{"description":"the read pages, separated by blank lines","type":"string"},"text_chars":{"type":"integer"},"text_layer":{"description":"false when no read page carried any text (a scan); null when the parse failed","type":["boolean","null"]},"total_chars":{"description":"characters of the pages the parser read (it stops one page after the text budget is spent), before clipping and without separators; null when nothing was parsed","type":["integer","null"]},"url":{"type":"string"},"word_count":{"type":"integer"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":348,"error":null}],"description_full":"Fetch a PDF and extract its text per page, with the document info","last_updated":"2026-09-16T15:32:50.495Z","schemes":["exact"]}