Exchange Trading Pairs
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/exchange/marketsimport requests
url = "https://api.asksurf.ai/gateway/v1/exchange/markets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/exchange/markets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"active": true,
"base": "<string>",
"exchange": "<string>",
"maker_fee": 123,
"pair": "<string>",
"quote": "<string>",
"taker_fee": 123,
"type": "<string>"
}
],
"meta": {
"cached": true,
"credits_used": 123
},
"$schema": "https://example.com/schemas/SimpleListResponseExchangeMarketItem.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}Exchange
Trading Pairs
GET
/
gateway
/
v1
/
exchange
/
markets
Exchange Trading Pairs
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/exchange/marketsimport requests
url = "https://api.asksurf.ai/gateway/v1/exchange/markets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/exchange/markets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"active": true,
"base": "<string>",
"exchange": "<string>",
"maker_fee": 123,
"pair": "<string>",
"quote": "<string>",
"taker_fee": 123,
"type": "<string>"
}
],
"meta": {
"cached": true,
"credits_used": 123
},
"$schema": "https://example.com/schemas/SimpleListResponseExchangeMarketItem.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}