Markets
Ed25519 signature authentication. All three headers are required for every request:
| Header | Description |
|---|---|
x-thegrid-signature |
Base64-encoded Ed25519 signature of {timestamp}{METHOD}{path}{body} |
x-thegrid-timestamp |
Unix timestamp in seconds (must be within 30 seconds of server time) |
x-thegrid-fingerprint |
SHA256 hash of your public key (Base64-encoded, padding stripped) |
List of markets
List of markets
Ed25519 signature authentication. All three headers are required for every request:
| Header | Description |
|---|---|
x-thegrid-signature |
Base64-encoded Ed25519 signature of {timestamp}{METHOD}{path}{body} |
x-thegrid-timestamp |
Unix timestamp in seconds (must be within 30 seconds of server time) |
x-thegrid-fingerprint |
SHA256 hash of your public key (Base64-encoded, padding stripped) |
Unique identifier for the market (e.g., "market_CHAT-PRIME_USD")
Ticker data including last trade, bid/ask, and 24h volume
Unauthorized - Invalid or missing authentication headers
Not found - The requested resource does not exist
Ed25519 signature authentication. All three headers are required for every request:
| Header | Description |
|---|---|
x-thegrid-signature |
Base64-encoded Ed25519 signature of {timestamp}{METHOD}{path}{body} |
x-thegrid-timestamp |
Unix timestamp in seconds (must be within 30 seconds of server time) |
x-thegrid-fingerprint |
SHA256 hash of your public key (Base64-encoded, padding stripped) |
Unique identifier for the market (e.g., "market_CHAT-PRIME_USD")
Maximum number of price levels to return per side (bids and asks). Default: 10. Use lower values for quick price checks, higher values for detailed market depth analysis.
10Order book data
Order book data
Ed25519 signature authentication. All three headers are required for every request:
| Header | Description |
|---|---|
x-thegrid-signature |
Base64-encoded Ed25519 signature of {timestamp}{METHOD}{path}{body} |
x-thegrid-timestamp |
Unix timestamp in seconds (must be within 30 seconds of server time) |
x-thegrid-fingerprint |
SHA256 hash of your public key (Base64-encoded, padding stripped) |
Unique identifier for the market (e.g., "market_CHAT-PRIME_USD")
Filter by trade status
Filter by taker side
Filter trades with quantity >= this value
Filter trades with quantity <= this value
Filter trades with price >= this value
Filter trades with price <= this value
Filter trades executed at or after this time (ISO8601 or Unix timestamp)
Filter trades executed at or before this time (ISO8601 or Unix timestamp)
Field to sort by
Sort direction
ascPossible values: Cursor for forward pagination. Pass the next_cursor value from a previous response to fetch the next page. Mutually exclusive with prev.
Cursor for backward pagination. Pass the prev_cursor value from a previous response to fetch the previous page. Mutually exclusive with next.
Number of trades to return (max: 100)
50Recent trades
Recent trades
Ed25519 signature authentication. All three headers are required for every request:
| Header | Description |
|---|---|
x-thegrid-signature |
Base64-encoded Ed25519 signature of {timestamp}{METHOD}{path}{body} |
x-thegrid-timestamp |
Unix timestamp in seconds (must be within 30 seconds of server time) |
x-thegrid-fingerprint |
SHA256 hash of your public key (Base64-encoded, padding stripped) |
Unique identifier for the market (e.g., "market_CHAT-PRIME_USD")
Market details
Not found - The requested resource does not exist
Ed25519 signature authentication. All three headers are required for every request:
| Header | Description |
|---|---|
x-thegrid-signature |
Base64-encoded Ed25519 signature of {timestamp}{METHOD}{path}{body} |
x-thegrid-timestamp |
Unix timestamp in seconds (must be within 30 seconds of server time) |
x-thegrid-fingerprint |
SHA256 hash of your public key (Base64-encoded, padding stripped) |
Filter by market ID
Candle resolution/timeframe. Determines the time period each candle represents.
Start of time range (Unix timestamp in seconds)
End of time range (Unix timestamp in seconds)
Field to sort by
Sort direction
ascPossible values: Cursor for forward pagination. Pass the next_cursor value from a previous response to fetch the next page. Mutually exclusive with prev.
Cursor for backward pagination. Pass the prev_cursor value from a previous response to fetch the previous page. Mutually exclusive with next.
Number of items to return per page (max: 100)
50OHLCV candle data
Unauthorized - Invalid or missing authentication headers
Validation error - Request parameters failed validation
Last updated
Was this helpful?