Skip to main content
The batch version of GET /api/markets/:id/state. Use it to keep a grid of market cards up to date. Load the cards once from GET /api/markets, then poll this endpoint with their IDs.

Endpoint

Query parameters

string
required
A comma-separated list of 1 to 200 market UUIDs. More than 200 IDs, or any malformed ID, returns 400.

Response

MarketState[]
One MarketState for each market found. IDs that match no market are left out without an error, so match results by id.
string
Server time of the read (ISO 8601)

Caching

Cache-Control: public, s-maxage=1, max-age=0, must-revalidate.

Rate limit

Market state group, rate-limited per IP (see Rate limits). Responses may be served from a short-lived cache.

Example request

Example response

200 (one market shown)
400