Api Endpoint

AI Text Generation

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>"}.

Open interactive test console

Offering

Provider
amanchain-relay.gitajhd.workers.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Api
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-llm-chat
MIME type
Not provided
First seen
2026-10-16T01:52:40.118Z
Last seen
Tags
AI, LLM, chat, gpt, text-generation

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.007476 USDC
Atomic price: 7476 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "7476",
    "payTo": "0xfB5625d44be488414606773244F0De35410b2f39"
  }
]

Observed health

Status
Healthy
Latest latency
1556 ms
Average latency
1322 ms
HTTP status
204
Last checked
Reachability
100% over 11 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "properties": {
    "body": {
      "type": "object"
    }
  },
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "example": {
        "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."
      },
      "type": "object"
    }
  },
  "type": "object"
}