← All 28 APIs · Home · Swagger / OpenAPI · x402 Manifest
$0.01 USDC / callAI/DataBase & Polygon x402 v2

GPU-x402 Web-to-JSON Extractor

Fetch URL/HTML and extract clean structured JSON ($0.01 USDC).

Endpoint & Settlement Specs

x402 Endpoint: POST https://agentx402.fyi/x402/extract
Remote MCP: POST https://agentx402.fyi/mcp (Streamable HTTP JSON-RPC 2.0)
PayTo Wallet (USDC): 0x71256BBb403B88A347E67b7ADad89ed28b4e16d6 (Gasless via Coinbase CDP Facilitator)

Quickstart (cURL — Returns x402 v2 Invoice + Bazaar Schema)

curl -i -X POST https://agentx402.fyi/x402/extract \
  -H 'Content-Type: application/json' \
  -d '{"url": "https://example.com", "schema_hint": "Extract title, summary, and main links as JSON."}'

TypeScript Autonomous Agent (@x402/fetch)

import { wrapFetchWithPayment } from "@x402/fetch";
const fetchWithPay = wrapFetchWithPayment(fetch, walletClient);
const res = await fetchWithPay("https://agentx402.fyi/x402/extract", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({"url": "https://example.com", "schema_hint": "Extract title, summary, and main links as JSON."})
});
console.log(await res.json());

Example JSON Input

{
  "url": "https://example.com",
  "schema_hint": "Extract title, summary, and main links as JSON."
}

Example JSON Output

{
  "title": "Example Domain",
  "summary": "Illustrative web page.",
  "links": [
    "https://iana.org"
  ]
}