16trust / 100

Pdf Search

by Vextorium in Search & web

x402 APIFailing, checked 4 h ago

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.

POST https://api.vextorium.com/v1/pdf-search

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
4 h ago: Amount "0.004" is not in atomic token units
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/v1/pdf-search" \
  -H "content-type: application/json" \
  -d '{"text":"energy","url":"https://www.bls.gov/news.release/pdf/cpi.pdf"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.vextorium.com%2Fv1%2Fpdf-search
const res = await pay("https://api.vextorium.com/v1/pdf-search", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"text":"energy","url":"https://www.bls.gov/news.release/pdf/cpi.pdf"}),
});
console.log(await res.json());

Example input

{
  "text": "energy",
  "url": "https://www.bls.gov/news.release/pdf/cpi.pdf"
}

Example output

{
  "occurrences": 48,
  "pdf_pages": 38,
  "results": [
    {
      "page": 1,
      "snippet": "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"
    },
    {
      "page": 1,
      "snippet": "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"
    }
  ],
  "search": "energy"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoAmount "0.004" is not in atomic token units40279 ms$0.004
8 h agoAmount "0.004" is not in atomic token units402102 ms$0.004
13 h agoAmount "0.004" is not in atomic token units402129 ms$0.004
17 h agoAmount "0.004" is not in atomic token units40283 ms$0.004
21 h agoAmount "0.004" is not in atomic token units40281 ms$0.004
25 h agoAmount "0.004" is not in atomic token units40280 ms$0.004
29 h agoAmount "0.004" is not in atomic token units402225 ms$0.004
33 h agoAmount "0.004" is not in atomic token units40274 ms$0.004
37 h agoAmount "0.004" is not in atomic token units40282 ms$0.004
42 h agoAmount "0.004" is not in atomic token units40288 ms$0.004
45 h agoAmount "0.004" is not in atomic token units40285 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40278 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40283 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40296 ms$0.004
3 days agoAmount "0.004" is not in atomic token units40288 ms$0.004