Fetch and extract structured content from a public URL
Fetch and extract structured content from a public URL. Useful for: reading articles, summarizing web pages, extracting facts from a source, understanding what a URL contains. Returns: title, summary, key_points[], extracted_facts[] (stated facts only, inference kept separate), source_url. Input: { url: string } — a public http/https URL (private network addresses are blocked). Output MIME type: application/json. Payment: x402 exact USDC on Base mainnet (eip155:8453).
47000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-17
updated
Provider
402agent.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x6d0ab33A11F03fe782Eaa949dEA7785BAe16eBc7",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "47000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"url": "https://example.com/article"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"replayed": false,
"result": {
"extracted_facts": [
"Stated fact 1",
"Stated fact 2"
],
"key_points": [
"Key point 1",
"Key point 2"
],
"service": "read",
"source_url": "https://example.com/article",
"summary": "A brief summary of the article content…",
"title": "Example Article"
},
"transaction_id": "tx_…"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"url": {
"description": "A public http/https URL to fetch and extract. Private network addresses (RFC 1918, loopback) are blocked.",
"format": "uri",
"maxLength": 4000,
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"replayed": {
"type": "boolean"
},
"result": {
"properties": {
"extracted_facts": {
"items": {
"type": "string"
},
"type": "array"
},
"key_points": {
"items": {
"type": "string"
},
"type": "array"
},
"service": {
"enum": [
"read"
],
"type": "string"
},
"source_url": {
"format": "uri",
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
}
},
"type": "object"
},
"transaction_id": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://402agent.ai/agent402/api/v1/read" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://402agent.ai/agent402/api/v1/read");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://402agent.ai/agent402/api/v1/read")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/7392.json, and this resource appears in /discovery/resources and /discovery/search.