{
  "x402Version": 2,
  "id": 8047,
  "slug": "8047",
  "resource": "https://api.xfuel.app/v1/chat/completions",
  "description": "Treasury desk and possession book for agent spend. Who paid which call — export, policy, evidence. POST /v1/chat/completions is the x402 USDC door on Base and Solana. Returns signed receipt + public verify_url. Paying this host is real mainnet USDC.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x23f713411c30BBd9A989c9cbC22EB0b55F7f7334",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "58Qo8QTJ1Sd4aXSygwAeBLNL3VrXRmfUCceB6b5RJCx6",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "2000",
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "max_tokens": 500,
            "messages": [
              {
                "content": "Hello",
                "role": "user"
              }
            ],
            "model": "xfuel/auto"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "choices": [
              {
                "finish_reason": "stop",
                "index": 0,
                "message": {
                  "content": "Hello!",
                  "role": "assistant"
                }
              }
            ],
            "created": 1700000000,
            "id": "chatcmpl-abc123",
            "model": "xfuel/auto",
            "object": "chat.completion",
            "usage": {
              "completion_tokens": 5,
              "prompt_tokens": 10,
              "total_tokens": 15
            },
            "xfuel": {
              "verify_url": "https://api.xfuel.app/receipt/xfuel-abc123"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "max_tokens": {
                    "description": "Output token budget",
                    "type": "integer"
                  },
                  "messages": {
                    "description": "OpenAI-style chat messages array",
                    "items": {
                      "properties": {
                        "content": {
                          "type": "string"
                        },
                        "role": {
                          "enum": [
                            "system",
                            "user",
                            "assistant"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "role",
                        "content"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "model": {
                    "description": "Model id from GET /v1/models; xfuel/auto routes automatically",
                    "type": "string"
                  },
                  "stream": {
                    "type": "boolean"
                  },
                  "temperature": {
                    "maximum": 2,
                    "minimum": 0,
                    "type": "number"
                  }
                },
                "required": [
                  "messages"
                ],
                "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": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.xfuel.app",
  "lastUpdated": "2026-09-13T17:21:47.753Z",
  "quality": {
    "calls30d": 80,
    "uniquePayers30d": 9,
    "lastCalledAt": "2026-09-13T17:21:47.236Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.xfuel.app",
    "manifest_name": "api.xfuel.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}