{"uid":"cap_bTfGDpCV9TJ6ZrtjTjRc3","slug":"agentwork-pdf-info-5618e484","name":"AgentWork PDF Info","description":"Web read / URL to markdown (batch, JavaScript rendering), PDF text extraction, website change monitoring, prompt-injection check and sanctions screening for agents. From $0.001 per call on Base. x402 USDC, no API key.","url":"https://api.agentwork.run/v1/pdf/info?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":2048}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"bytes":13264,"is_pdf":true,"reasons":[],"encrypted":false,"has_fonts":true,"page_count":1,"pdf_version":"1.4","likely_has_text":true,"pdf_read_eligible":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fCo3-k5DTOQ_6GASyBcFx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns metadata about a PDF at a given URL — page count, version, encryption status, font presence, and text extractability — without downloading or parsing the full file.","exampleAgentPrompt":"Before we extract the text, can you check this PDF URL — https://example.com/report.pdf — to see if it's a valid PDF, how many pages it has, whether it's encrypted, and whether it actually contains extractable text?","exampleUseCases":[{"title":"Pre-flight PDF eligibility check","prompt":"I have this URL — https://docs.example.com/annual-report-2024.pdf — can you confirm it's actually a PDF, tell me how many pages it has, and whether the text can be extracted from it before I send it to the parser?"},{"title":"Detect encrypted or locked PDFs","prompt":"Check this PDF link — https://contracts.acme.com/nda-v3.pdf — and let me know if it's encrypted or password-protected so I know whether we can read it programmatically."},{"title":"Validate PDF batch before extraction pipeline","prompt":"I'm about to run 50 PDFs through our extraction pipeline — can you probe this one first, https://filings.sec.gov/document/0001234.pdf, to make sure it's a real PDF with fonts and readable text before we queue the rest?"}],"resultDescription":"Returns a JSON object with: ok (boolean), bytes (file size), is_pdf (boolean), encrypted (boolean), has_fonts (boolean), page_count (integer), pdf_version (string), likely_has_text (boolean), pdf_read_eligible (boolean), and reasons (array of strings explaining any flags). Allows agents to gate downstream PDF processing decisions without fetching the full document.","failureModes":["URL is not reachable or returns a non-2xx status — ok: false with reasons array populated","URL points to a non-PDF file — is_pdf: false","PDF is encrypted — encrypted: true, pdf_read_eligible likely false","Network timeout fetching PDF headers — error response with timeout indication","Malformed or non-URI URL input — validation error before payment is settled"],"whenToPreferThis":"Use this endpoint when you need to validate or triage a PDF URL before committing to a heavier extraction operation. It is ideal as a pre-flight check in document processing pipelines to filter out encrypted, non-PDF, or text-free documents cheaply at $0.001 per call. Prefer this over directly calling a full PDF-to-text extractor when you are unsure of the document's validity, page count, or text content. Does not require an API key — uses x402 USDC micropayment on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:35:50.124Z","isFirstParty":false,"canonicalSlug":"agentwork-pdf-info-5618e484"}