Treasury desk and possession book for agent spend
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.
2000 (raw units)
price
41
calls / 30d
7
unique payers
2026-09-18
updated
Provider
api.chit402.com · discovered, not yet claimed by its owner
Payment (x402 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
}
]Output schema
{
"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"
}
}
}Use it
curl
curl "https://api.chit402.com/v1/chat/completions" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.chit402.com/v1/chat/completions");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.chit402.com/v1/chat/completions")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/6745.json, and this resource appears in /discovery/resources and /discovery/search.