{"slug":"api-xfuel-app-v1-chat-completions-fc19e4","title":"Treasury desk and possession book for agent spend","host":"api.xfuel.app","method":"POST","resource":"https://api.xfuel.app/v1/chat/completions","category":"market","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.","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":2022,"reported_calls_30d":76,"reported_payers_30d":10,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"max_tokens":500,"messages":[{"content":"Hello","role":"user"}],"model":"xfuel/auto"},"bodyType":"json","method":"POST","type":"http"},"output_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"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":2022,"error":null}],"description_full":"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.","last_updated":"2026-09-23T22:08:41.958Z","schemes":["exact"]}