On this page
POST /sell/api/v1/offers
Publish a simple capacity offer. The API derives seller identity from
X-Seller-API-Key and translates the offer into an ask on the authoritative
Market book.
Advanced Market clients can use the raw /v1/sellers/{id}/asks operation
beneath the /market/api base instead.
Request
| field | type | notes |
|---|---|---|
model | string | Must be in the seller's supported models |
region | string | Required concrete region; any is rejected |
price_per_million_tokens | decimal string | Strictly positive |
quantity_tokens | integer | Strictly positive |
valid_for_seconds | integer | Required positive lifetime |
tenor | string | Optional supported forward delivery window |
curl -s https://aispotmarket.com/sell/api/v1/offers \
-H "X-Seller-API-Key: sk-seller" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-4","region":"us-east","price_per_million_tokens":"10","quantity_tokens":1000000,"valid_for_seconds":300}'
The response contains the offer id, normalized model/region, price per million,
original and remaining token quantity, validity, and optional tenor. Cancel the
unfilled remainder with DELETE /sell/api/v1/offers/{id}.
Use the advanced Market OpenAPI when you need raw ask primitives or per-1,000-token book prices.