82trust / 100

Extract

by SameDayDesk in Search & web

x402 APIPassing, checked 6 min ago

Extract a public HTTP(S) page into JSON: title, description, JSON-LD, Open Graph, headings, links, and AI-readiness signals. No JavaScript; 12-second timeout; 3 MB cap. Paid JSON keeps requestedUrl, finalUrl, status, sourceOk, error, and capture limits. Default excerpt 1200. Optional textExcerptLimitChars 1-40000 is rejected before payment; price unchanged. Not the full page. Use /read for Markdown.

GET https://x402-url-extractor-production.up.railway.app/extract

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
289 ms typical, 289 ms slowest 5%
Last check
6 min ago
Next check
in 23 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402-url-extractor-production.up.railway.app/extract?url=https%3A%2F%2Fexample.com"
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%2Fx402-url-extractor-production.up.railway.app%2Fextract
const res = await pay("https://x402-url-extractor-production.up.railway.app/extract?url=https%3A%2F%2Fexample.com");
console.log(await res.json());

Example input

{
  "url": "https://example.com"
}

Example output

{
  "aiReadiness": {
    "hasJsonLd": false,
    "schemaTypes": []
  },
  "capture": {
    "bodyTruncated": false,
    "javascriptExecuted": false,
    "method": "http-get-no-javascript",
    "textTruncated": false
  },
  "description": null,
  "error": null,
  "finalUrl": "https://example.com",
  "jsonLd": [],
  "ok": true,
  "requestedUrl": "https://example.com",
  "sourceOk": true,
  "status": 200,
  "title": "Example Domain",
  "url": "https://example.com"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
6 min agoPassed402294 ms$0.005
5 h agoPassed402289 ms$0.005