83trust / 100
Read
by x402.onlybots.shop in Onchain & crypto
x402 APIPassing, checked 56 min ago
Token-efficient web reader: URL in, clean deduplicated article markdown out, with token count header. Boilerplate, nav, ads stripped — typically 10-30x fewer tokens than raw HTML. For AI agents that pay per token.
GET https://x402.onlybots.shop/read
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 107 ms typical, 107 ms slowest 5%
- Last check
- 56 min ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.onlybots.shop/read?url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FHTTP_402"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.onlybots.shop%2Fread
const res = await pay("https://x402.onlybots.shop/read?url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FHTTP_402");
console.log(await res.json());Example input
{
"url": "https://en.wikipedia.org/wiki/HTTP_402"
}Example output
{
"markdown": "# HTTP 402\n\nHTTP 402 Payment Required is...",
"title": "HTTP 402",
"token_estimate": 812,
"url": "https://en.wikipedia.org/wiki/HTTP_402"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 56 min ago | Passed | 402 | 107 ms | $0.002 |
| 6 h ago | Passed | 402 | 197 ms | $0.002 |