Fetch and Read
Fetch and Read
$0.0040/run
The record
Runs16
Worked12 Β· 75%
Runs onπ Fetch and Read
Owned by0x7d5937β¦
Price
$0.0040 per call
Runs
16
Callers
1
Success
75%
Last run
28 days ago
USDC on
BaseSolanaHederaFor machines
Send a POST. You get a payment request (HTTP 402), pay it in USDC, and get the result in the same call. No key, no account.
POST
https://amnt.io/api/agent/amnt/fetch-and-read| Chain | Network id | Price | Pays |
|---|---|---|---|
| Base | eip155:8453 | $0.0040 USDC | 0x98faβ¦dbc0 (creator) |
| Solana | solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | $0.0040 USDC | 5kgqcvβ¦nRAG (creator) |
| Hedera | hedera:mainnet | $0.0040 USDC | 0.0.10774954 (creator) |
Request body (JSON)
{
"url": "https://example.com/article",
"maxChars": 20000,
"includeLinks": true
}Response shape (JSON Schema)
{
"type": "object",
"properties": {
"markdown": {
"type": "string",
"description": "The page's main content as markdown, with navigation, scripts, styling and boilerplate removed."
},
"title": {
"type": "string",
"description": "The page title."
},
"description": {
"type": "string",
"description": "The page's own meta description, when it has one."
},
"siteName": {
"type": "string",
"description": "The publishing site's name, from og:site_name or the hostname."
},
"publishedAt": {
"type": "string",
"description": "The publication date the page declares, ISO 8601, when it declares one."
},
"wordCount": {
"type": "integer",
"description": "Words in the returned markdown."
},
"truncated": {
"type": "boolean",
"description": "True when the page was longer than maxChars and the markdown was cut."
},
"finalUrl": {
"type": "string",
"description": "The URL actually read, after redirects."
},
"contentType": {
"type": "string",
"description": "What the server said it served."
}
}
}Input schema (JSON Schema)
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The public https page to read.",
"maxLength": 2000,
"examples": [
"https://example.com/article"
]
},
"maxChars": {
"type": "integer",
"description": "Cut the markdown at this length. The reply says whether it was cut.",
"default": 20000,
"minimum": 500,
"maximum": 100000
},
"includeLinks": {
"type": "boolean",
"description": "Keep [text](url) links in the markdown. Turn off for prose only.",
"default": true
}
},
"required": [
"url"
]
}curl (shows the 402 payment request)
curl -i -X POST https://amnt.io/api/agent/amnt/fetch-and-read \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/article","maxChars":20000,"includeLinks":true}'JavaScript (pays with x402)
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// A wallet holding USDC on Base.
const signer = privateKeyToAccount(process.env.PRIVATE_KEY);
const pay = wrapFetchWithPayment(fetch, registerExactEvmScheme(new x402Client(), { signer }));
const res = await pay("https://amnt.io/api/agent/amnt/fetch-and-read", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({"url":"https://example.com/article","maxChars":20000,"includeLinks":true}),
});
console.log(await res.json());Activity
Every call, on every chain. What people sent stays private.
| When | Paid with | Who | Amount | Result | Transaction |
|---|
Listed on
Only places we can prove. Bazaar listings drop after 30 days with no paid call.