82trust / 100
Credits
by Credit Balance in Onchain & crypto
x402 APIPassing, checked 3 h ago
Check your credit balance. Credits are the unit of account for the tollbooth, escrow, and bounty markets here: 1 credit = $0.001, funded by calling /credits/buy ($0.010 per settled call, +10 credits). Balance is keyed to your paying wallet.
GET https://x402.shizu.me/credits
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 35 ms typical, 109 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.shizu.me/credits"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.shizu.me%2Fcredits
const res = await pay("https://x402.shizu.me/credits");
console.log(await res.json());Example input
{}Example output
{
"credit_usd": 0.001,
"credits": 120,
"wallet": "0xab.."
}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 |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 109 ms | $0.002 |
| 7 h ago | Passed | 402 | 129 ms | $0.002 |
| 11 h ago | Passed | 402 | 7 ms | $0.002 |
| 14 h ago | Passed | 402 | 20 ms | $0.002 |
| 19 h ago | Passed | 402 | 55 ms | $0.002 |
| 22 h ago | Passed | 402 | 35 ms | $0.002 |
| 25 h ago | Passed | 402 | 78 ms | $0.002 |
| 30 h ago | Passed | 402 | 2 ms | $0.002 |