79trust / 100
X402 Test
by api.node4all.com in Markets & finance
x402 APIPassing, checked 6 min ago
Node4All Fortune — deterministic fortune reading derived from the x402 payment authorization nonce. Flagship demo of the Node4All x402 v2 payment flow. Operator: Node4All (https://node4all.com). Currency: USDC on Base.
GET https://api.node4all.com/v1/x402-test
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 303 ms typical, 303 ms slowest 5%
- Last check
- 6 min ago
- Next check
- in 27 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.node4all.com/v1/x402-test"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%2Fapi.node4all.com%2Fv1%2Fx402-test
const res = await pay("https://api.node4all.com/v1/x402-test");
console.log(await res.json());Example input
{}Example output
{
"endpoint": "node4all-fortune",
"energy": "Creative momentum",
"fortune": "Fortune favors the on-chain.",
"lucky_color": "indigo",
"lucky_number": 42,
"network": "eip155:8453",
"network_label": "base-mainnet",
"protocol": "x402-v2",
"service": "Node4All",
"status": "success"
}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 |
|---|---|---|---|---|
| 6 min ago | Passed | 402 | 356 ms | $0.002 |
| 3 h ago | Passed | 402 | 303 ms | $0.002 |
| 9 h ago | Passed | 402 | 291 ms | $0.002 |