69trust / 100
Aman Llm Chat
by AI Text Generation in AI models & inference
x402 APIPassing, checked 14 min ago
AI chat and text generation API — general-purpose LLM completion for any prompt; chatbots, drafting and Q&A. Deterministic on-chain execution by the AmanChain node — live consensus state, real blocks, pools and balances. Pay per call via x402 (USDC on Base), no account, no API key. POST JSON {"serviceId":"aman-llm-chat","request":"<input>"}.
POST https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-llm-chat
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 93.3%
- Response time
- 1.5 s typical, 1.7 s slowest 5%
- Last check
- 14 min ago
- Next check
- in 16 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-llm-chat" \
-H "content-type: application/json" \
-d '{"request":"Explain x402 in one sentence","serviceId":"aman-llm-chat"}'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%2Famanchain-relay.gitajhd.workers.dev%2Fapi%2Fx402%2Faman-llm-chat
const res = await pay("https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-llm-chat", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"request":"Explain x402 in one sentence","serviceId":"aman-llm-chat"}),
});
console.log(await res.json());Example input
{
"request": "Explain x402 in one sentence",
"serviceId": "aman-llm-chat"
}Example output
{
"ok": true,
"text": "x402 is an HTTP-native protocol where an API replies 402 with a payment challenge and the agent pays (e.g. USDC on Base) in the retry header."
}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 |
|---|---|---|---|---|
| 14 min ago | Passed | 402 | 1.4 s | $0.0075 |
| 4 h ago | Passed | 402 | 1.7 s | $0.0075 |
| 8 h ago | Passed | 402 | 1.7 s | $0.0075 |
| 11 h ago | Passed | 402 | 1.1 s | $0.0075 |
| 15 h ago | Passed | 402 | 1.6 s | $0.0075 |
| 19 h ago | Passed | 402 | 1.6 s | $0.0075 |
| 22 h ago | Passed | 402 | 1.4 s | $0.0075 |
| 26 h ago | Passed | 402 | 1.2 s | $0.0075 |
| 29 h ago | Passed | 402 | 1.5 s | $0.0075 |
| 34 h ago | Passed | 402 | 1.3 s | $0.0075 |
| 37 h ago | Passed | 402 | 1.7 s | $0.0075 |
| 40 h ago | Passed | 402 | 1.5 s | $0.0075 |
| 45 h ago | Passed | 402 | 1.4 s | $0.0075 |
| 47 h ago | Expected HTTP 402, got 502 | 502 | 1.1 s | - |
| 2 days ago | Passed | 402 | 1.8 s | $0.0075 |
History
| 11 Oct 2026 | Price changed from $0.0075 to $0.0075 |