YourAITools Credits
Top up an existing YourAITools credits key: one x402 payment of $5 USDC adds $5.50 of credits ($0.50 bonus). Send the key as Authorization: Bearer <key>. Prepaid API usage only, not refundable.
- Price per call
- $5.00
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 1
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://api.youraitools.co/credits/v1/topup/5", { method: "GET" });
console.log(await res.json());https://api.youraitools.co/credits/v1/topup/5