Mercados
List Markets
GET
https://api.olmecarelay.com/v3/markets/
Get all available markets.
Query Parameters
ids
string
Comma-separated list of market ids in the format of {base}-{quote}. e.g. ZRX-WETH, DAI-WETH
sort
string
Whether to sort the markets by activity ('active') or alphabetically ('name').
type
string
Filter results by market type. Currently, the only valid option is "SHORT', though additional market types may be added in the future.
include
string
Comma-separated list specifying which parts of the RadarMarket schema to include in the response. Valid options include 'base', 'ticker', 'stats', and 'history'. e.g. base,ticker,stats,history
quoteTokenAddress
string
Returns the results for the specified quote token address.
search
string
A search term to filter results by market name or base token name.
page
integer
Page of markets to retrieve. Defaults to 1
.
perPage
integer
Number of markets to retrieve per page. Defaults to 20
.
Get Market
GET
https://api.olmecarelay.com/v3/markets/{marketId}
Return data for a single market.
Path Parameters
marketId
string
Market ID in the format of {base}-{quote} e.g. ZRX-WETH
Query Parameters
include
string
Comma-separated list specifying which parts of the RadarMarket Schema to include in the response. Valid options include 'base', 'ticker', 'stats', and 'history'. e.g. base,ticker,stats,history
Get Market Ticker
GET
https://api.olmecarelay.com/v3/markets/{marketId}/ticker
Return ticker data for a single market
Path Parameters
marketId
string
Market id in the format of {base}-{quote}. e.g. ZRX-WETH
Get Market Stats
GET
https://api.olmecarelay.com/v3/markets/{marketId}/stats
Get the stats for the specified market.
Path Parameters
marketId
string
Market id in the format of {base}-{quote}. e.g. ZRX-WETH
Get Market History
GET
https://api.olmecarelay.com/v3/markets/{marketId}/history
Get the history for the specified market.
Path Parameters
marketId
string
Market id in the format of {base}-{quote}. e.g. ZRX-WETH
List Market Fills
GET
https://api.olmecarelay.com/v3/markets/{marketId}/fills
Return a paginated list of market fills sorted by fill date.
Path Parameters
marketId
string
Market id in the format of {base}-{quote}. e.g. ZRX-WETH
Query Parameters
page
integer
Page of fills to retrieve. Defaults to 1
.
perPage
integer
Number of fills to retrieve per page. Defaults to 20
.
List Market Candles
GET
https://api.olmecarelay.com/v3/markets/{marketId}/candles
Path Parameters
marketId
string
Market id in the format of {base}-{quote}. e.g. ZRX-WETH
Query Parameters
to
integer
Unix timestamp to narrow the end time for candle data.
from
integer
Unix timestamp to narrow the start time for candle data.
Get Market Book
GET
https://api.olmecarelay.com/v3/markets/{marketId}/book
Return a book containing bids / asks for a market.
Path Parameters
marketId
string
Market id in t
Last updated
Was this helpful?