{
  "x402Version": 2,
  "id": 42554,
  "slug": "42554",
  "resource": "https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-llm-chat",
  "description": "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>\"}.",
  "type": "http",
  "serviceName": "AI Text Generation",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xfB5625d44be488414606773244F0De35410b2f39",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "7465",
      "amountUsd": 0.007465,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "request": "Explain x402 in one sentence",
            "serviceId": "aman-llm-chat"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "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": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "request": {
                    "description": "service input (see body example)",
                    "type": "string"
                  },
                  "serviceId": {
                    "description": "the service id, \"aman-llm-chat\"",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "ai",
    "llm",
    "chat",
    "gpt",
    "text-generation",
    "bazaar"
  ],
  "sourceHost": "amanchain-relay.gitajhd.workers.dev",
  "lastUpdated": "2026-09-10T23:04:42.092Z",
  "quality": {
    "calls30d": 8,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-03T00:28:36.031Z"
  },
  "metadata": {
    "serviceName": "AI Text Generation",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "request": "Explain x402 in one sentence",
              "serviceId": "aman-llm-chat"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "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": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "request": {
                      "description": "service input (see body example)",
                      "type": "string"
                    },
                    "serviceId": {
                      "description": "the service id, \"aman-llm-chat\"",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "amanchain-relay.gitajhd.workers.dev",
    "manifest_name": "amanchain-relay.gitajhd.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {}
}