80trust / 100
Fetch
by proxy.0000402.xyz in Developer tools
x402 APIPassing, checked 4 h ago
Pay $0.01 USDC to make an outbound HTTP request through the proxy. Supports all standard HTTP methods, custom headers (including auth), and JSON or raw bodies. Responses are returned as text or base64-encoded binary. Max response size 10 MB, timeout 30s. Each request performs one upstream fetch and returns the final URL plus response metadata.
POST https://proxy.0000402.xyz/fetch
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 763 ms typical, 763 ms slowest 5%
- Last check
- 4 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://proxy.0000402.xyz/fetch" \
-H "content-type: application/json" \
-d '{"body_json":{"hello":"world"},"method":"POST","url":"https://httpbin.org/post"}'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%2Fproxy.0000402.xyz%2Ffetch
const res = await pay("https://proxy.0000402.xyz/fetch", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"body_json":{"hello":"world"},"method":"POST","url":"https://httpbin.org/post"}),
});
console.log(await res.json());Example input
{
"body_json": {
"hello": "world"
},
"method": "POST",
"url": "https://httpbin.org/post"
}Example output
{
"body": "{\"json\":{\"hello\":\"world\"}}",
"body_base64": null,
"elapsed_ms": 312,
"headers": {
"content-type": "application/json"
},
"is_binary": false,
"redirects": 0,
"status": 200,
"url": "https://httpbin.org/post"
}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 |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 763 ms | $0.01 |