82trust / 100

Page Downloads

by Forest Web in Search & web

x402 APIPassing, checked 2 h ago

Extract PDF/CSV/XLS/XLSX/ZIP/JSON/XML links from static public HTML by suffix or download filename. Resolve relative/base links and deduplicate. Limits: 500 links, 8s, 5 redirects, 2 MiB. No JavaScript or file downloads; existence, MIME, size and file safety are unverified. Empty results are valid. Base mainnet USDC

POST https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/page/downloads

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
52 ms typical, 52 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/page/downloads" \
  -H "content-type: application/json" \
  -d '{"url":"https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/fixtures/page"}'
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%2Fhttp--forest-gas-station-mainnet--lcjl27p8lmjs.code.run%2Fpage%2Fdownloads
const res = await pay("https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/page/downloads", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"url":"https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/fixtures/page"}),
});
console.log(await res.json());

Example input

{
  "url": "https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/fixtures/page"
}

Example output

{
  "count": 0,
  "downloads": [],
  "rendered_javascript": false,
  "source_url": "https://example.com/",
  "truncated": false
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40241 ms$0.003
6 h agoPassed402180 ms$0.003
11 h agoPassed40252 ms$0.003