SPOT TAPE
FRNT-200K2.180+1.42%
MID-128K0.4204−0.81%
OW-70B0.0840+3.11%
OW-8B0.0191+0.44%
VIS-1M1.6400−2.19%
RSN-XL6.9000+0.93%
EMB-S0.01100.00%
14:02:07 UTC
Documentation v1 · UPDATED 21 AUG 2026
Get an API key

API conventions

Machine-readable spec: openapi.yaml.

  • Base URL: http://127.0.0.1:8080 locally, your Cloudflare hostname in production.
  • JSON bodies, Content-Type: application/json.
  • Buyer auth: Authorization: Bearer <buyer_key>.
  • Seller auth: X-Seller-API-Key: <seller_key> (except POST /v1/sellers/register).
  • Errors: { "code": "seller_unreachable", "message": "..." }.
  • Prices are decimal strings (per 1,000 tokens). Settlement uses scale-8 integers.

Error codes

Abbreviated. The canonical table is Errors.

codeHTTPmeaning
no_match404no seller matched the bid
bid_timeout504bid expired before a seller matched
rate_limited429per-key rate limit exceeded
insufficient_balance402account has insufficient pre-funded balance
seller_unreachable502winning seller could not be reached
not_found404resource does not exist

Endpoints

MethodPathAuth
POST/v1/chat/completionsBuyer
POST/v1/sellers/registerPublic
POST/v1/sellers/{id}/asksSeller
DELETE/v1/sellers/{id}/asks/{ask_id}Seller
POST/v1/sellers/{id}/capacitySeller
GET/v1/sellers/{id}/tradesSeller