{"uid":"cap_cu6nMBpUxYj1lW5GlxSL-","slug":"pdf-text-search-api-3153238d","name":"PDF Text Search API","description":"Search a text inside a PDF (URL) and return every match with its page and surrounding snippet, case-insensitive. Find clauses, figures or names in long documents.","url":"https://api.vextorium.com/pdf-buscar-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string"},"texto":{"type":"string"},"contexto":{"type":"integer"}}},"responseSchema":{"type":"json","example":{"busqueda":"energy","resultados":[{"pagina":1,"fragmento":"for gasoline rose 3.9 percent in August, accounting for over one third of the monthly all items increase. The index for energy increased 2.1 percent over the month. The shelter index rose 0.3 percent in August after rising 0.1 percent in July. Th"},{"pagina":1,"fragmento":"cent over the month, as the index for food away from home increased 0.3 percent. T he index for all items less food and energy rose 0.3 percent after increasing 0.2 percent in July. Indexes that increased over the month include communication, lod"}],"apariciones":48,"paginas_pdf":38}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ESogWUzKIRe_xCWLJFMgp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches for a text string inside a PDF (by URL) and returns every match with its page number and surrounding text snippet, case-insensitively.","exampleAgentPrompt":"Search the PDF at https://example.com/annual-report-2023.pdf for the word 'revenue' and show me every page it appears on along with the surrounding text.","exampleUseCases":[{"title":"Contract clause finder","prompt":"I have this contract PDF at https://files.example.com/contract.pdf — can you search for the word 'indemnification' and show me every place it appears with some surrounding context?"},{"title":"Regulatory document keyword search","prompt":"Search the EU regulation PDF at https://eur-lex.europa.eu/doc/regulation.pdf for the phrase 'data controller' and tell me how many times it appears and on which pages."},{"title":"Academic report figure locator","prompt":"Look through this research report PDF at https://papers.example.com/study.pdf and find every mention of 'Figure 3' so I know which pages reference it."}],"resultDescription":"A JSON object containing the search term used, the total number of occurrences found, the total number of pages in the PDF, and an array of match results — each with the page number and a text snippet showing the surrounding context around the matched term.","failureModes":["PDF URL is inaccessible or returns a non-200 response — endpoint may return an error or empty results","PDF is password-protected or encrypted — text extraction may fail","Search term not found in document — returns empty results array with zero occurrences","PDF contains only scanned images without embedded text — search will find no matches","Very large PDFs may take longer or time out","Malformed PDF URL or invalid URL format — likely returns an error response"],"whenToPreferThis":"Use this endpoint when you need to programmatically search the contents of a publicly accessible PDF file for a specific text string, especially in long documents like contracts, regulations, reports, or academic papers where manual reading is impractical. It is ideal when you need to know not just whether a term exists but also where (page number) and in what context (surrounding snippet). Prefer this over general web scraping tools when the target is specifically a PDF document.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:56:31.646Z","isFirstParty":false,"canonicalSlug":"pdf-text-search-api-3153238d"}