List products
curl --request POST \
--url https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-products \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"base_currency": "BTC",
"status": "online"
}
'import requests
url = "https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-products"
payload = {
"base_currency": "BTC",
"status": "online"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({base_currency: 'BTC', status: 'online'})
};
fetch('https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-products', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'base_currency' => 'BTC',
'status' => 'online'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-products"
payload := strings.NewReader("{\n \"base_currency\": \"BTC\",\n \"status\": \"online\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-products")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"base_currency\": \"BTC\",\n \"status\": \"online\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"base_currency\": \"BTC\",\n \"status\": \"online\"\n}"
response = http.request(request)
puts response.read_body{
"count": 5,
"next_offset": null,
"observed_at_ms": 1790268766109,
"products": [
{
"auction_mode": false,
"base_currency": "BTC",
"base_increment": "0.00000001",
"cancel_only": false,
"display_name": "BTC-EUR",
"fx_stablecoin": false,
"high_bid_limit_percentage": null,
"id": "BTC-EUR",
"limit_only": false,
"margin_enabled": false,
"max_slippage_percentage": "0.03000000",
"min_market_funds": "0.84",
"post_only": false,
"quote_currency": "EUR",
"quote_increment": "0.01",
"status": "online",
"status_message": null,
"trading_disabled": false,
"url": "https://api.exchange.coinbase.com/products/BTC-EUR"
},
{
"auction_mode": false,
"base_currency": "BTC",
"base_increment": "0.00000001",
"cancel_only": false,
"display_name": "BTC-GBP",
"fx_stablecoin": false,
"high_bid_limit_percentage": null,
"id": "BTC-GBP",
"limit_only": false,
"margin_enabled": false,
"max_slippage_percentage": "0.03000000",
"min_market_funds": "0.72",
"post_only": false,
"quote_currency": "GBP",
"quote_increment": "0.01",
"status": "online",
"status_message": null,
"trading_disabled": false,
"url": "https://api.exchange.coinbase.com/products/BTC-GBP"
},
{
"auction_mode": false,
"base_currency": "BTC",
"base_increment": "0.00000001",
"cancel_only": false,
"display_name": "BTC/INR",
"fx_stablecoin": false,
"high_bid_limit_percentage": null,
"id": "BTC-INR",
"limit_only": true,
"margin_enabled": false,
"max_slippage_percentage": "0.03000000",
"min_market_funds": "1",
"post_only": false,
"quote_currency": "INR",
"quote_increment": "1",
"status": "online",
"status_message": null,
"trading_disabled": false,
"url": "https://api.exchange.coinbase.com/products/BTC-INR"
},
{
"auction_mode": false,
"base_currency": "BTC",
"base_increment": "0.00000001",
"cancel_only": false,
"display_name": "BTC-USD",
"fx_stablecoin": false,
"high_bid_limit_percentage": null,
"id": "BTC-USD",
"limit_only": false,
"margin_enabled": false,
"max_slippage_percentage": "0.02000000",
"min_market_funds": "1",
"post_only": false,
"quote_currency": "USD",
"quote_increment": "0.01",
"status": "online",
"status_message": null,
"trading_disabled": false,
"url": "https://api.exchange.coinbase.com/products/BTC-USD"
},
{
"auction_mode": false,
"base_currency": "BTC",
"base_increment": "0.00000001",
"cancel_only": false,
"display_name": "BTC-USDT",
"fx_stablecoin": false,
"high_bid_limit_percentage": null,
"id": "BTC-USDT",
"limit_only": false,
"margin_enabled": false,
"max_slippage_percentage": "0.03000000",
"min_market_funds": "1",
"post_only": false,
"quote_currency": "USDT",
"quote_increment": "0.01",
"status": "online",
"status_message": null,
"trading_disabled": false,
"url": "https://api.exchange.coinbase.com/products/BTC-USDT"
}
],
"query": {
"base_currency": "BTC",
"limit": 100,
"offset": 0,
"query": null,
"quote_currency": null,
"status": "online"
},
"source_url": "https://api.exchange.coinbase.com/products",
"total_count": 5
}Coinbase Exchange
List products
Find the product_id (e.g. BTC-USD) for tickers, order books, trades and candles, or list every market quoted in a currency.
POST
https://api.aisa.one
/
apis
/
v1
/
api-exchange-coinbase-com
/
markets
/
list-products
List products
curl --request POST \
--url https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-products \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"base_currency": "BTC",
"status": "online"
}
'import requests
url = "https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-products"
payload = {
"base_currency": "BTC",
"status": "online"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({base_currency: 'BTC', status: 'online'})
};
fetch('https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-products', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'base_currency' => 'BTC',
'status' => 'online'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-products"
payload := strings.NewReader("{\n \"base_currency\": \"BTC\",\n \"status\": \"online\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-products")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"base_currency\": \"BTC\",\n \"status\": \"online\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"base_currency\": \"BTC\",\n \"status\": \"online\"\n}"
response = http.request(request)
puts response.read_body{
"count": 5,
"next_offset": null,
"observed_at_ms": 1790268766109,
"products": [
{
"auction_mode": false,
"base_currency": "BTC",
"base_increment": "0.00000001",
"cancel_only": false,
"display_name": "BTC-EUR",
"fx_stablecoin": false,
"high_bid_limit_percentage": null,
"id": "BTC-EUR",
"limit_only": false,
"margin_enabled": false,
"max_slippage_percentage": "0.03000000",
"min_market_funds": "0.84",
"post_only": false,
"quote_currency": "EUR",
"quote_increment": "0.01",
"status": "online",
"status_message": null,
"trading_disabled": false,
"url": "https://api.exchange.coinbase.com/products/BTC-EUR"
},
{
"auction_mode": false,
"base_currency": "BTC",
"base_increment": "0.00000001",
"cancel_only": false,
"display_name": "BTC-GBP",
"fx_stablecoin": false,
"high_bid_limit_percentage": null,
"id": "BTC-GBP",
"limit_only": false,
"margin_enabled": false,
"max_slippage_percentage": "0.03000000",
"min_market_funds": "0.72",
"post_only": false,
"quote_currency": "GBP",
"quote_increment": "0.01",
"status": "online",
"status_message": null,
"trading_disabled": false,
"url": "https://api.exchange.coinbase.com/products/BTC-GBP"
},
{
"auction_mode": false,
"base_currency": "BTC",
"base_increment": "0.00000001",
"cancel_only": false,
"display_name": "BTC/INR",
"fx_stablecoin": false,
"high_bid_limit_percentage": null,
"id": "BTC-INR",
"limit_only": true,
"margin_enabled": false,
"max_slippage_percentage": "0.03000000",
"min_market_funds": "1",
"post_only": false,
"quote_currency": "INR",
"quote_increment": "1",
"status": "online",
"status_message": null,
"trading_disabled": false,
"url": "https://api.exchange.coinbase.com/products/BTC-INR"
},
{
"auction_mode": false,
"base_currency": "BTC",
"base_increment": "0.00000001",
"cancel_only": false,
"display_name": "BTC-USD",
"fx_stablecoin": false,
"high_bid_limit_percentage": null,
"id": "BTC-USD",
"limit_only": false,
"margin_enabled": false,
"max_slippage_percentage": "0.02000000",
"min_market_funds": "1",
"post_only": false,
"quote_currency": "USD",
"quote_increment": "0.01",
"status": "online",
"status_message": null,
"trading_disabled": false,
"url": "https://api.exchange.coinbase.com/products/BTC-USD"
},
{
"auction_mode": false,
"base_currency": "BTC",
"base_increment": "0.00000001",
"cancel_only": false,
"display_name": "BTC-USDT",
"fx_stablecoin": false,
"high_bid_limit_percentage": null,
"id": "BTC-USDT",
"limit_only": false,
"margin_enabled": false,
"max_slippage_percentage": "0.03000000",
"min_market_funds": "1",
"post_only": false,
"quote_currency": "USDT",
"quote_increment": "0.01",
"status": "online",
"status_message": null,
"trading_disabled": false,
"url": "https://api.exchange.coinbase.com/products/BTC-USDT"
}
],
"query": {
"base_currency": "BTC",
"limit": 100,
"offset": 0,
"query": null,
"quote_currency": null,
"status": "online"
},
"source_url": "https://api.exchange.coinbase.com/products",
"total_count": 5
}请求规范
- 方法与路径: POST /apis/v1/api-exchange-coinbase-com/markets/list-products
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-products
{
"operationId": "api-exchange-coinbase-com.markets.list-products",
"method": "POST",
"path": "/apis/v1/api-exchange-coinbase-com/markets/list-products",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"base_currency": "BTC",
"status": "online"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"base_currency": {
"description": "Currency code, e.g. `USD`, `BTC`. Case-insensitive. Pattern: ^[A-Za-z0-9]{1,20}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"limit": {
"default": 100,
"description": "Rows per page (client-side paging; the exchange returns the whole list).\n\nProvider reference: minimum 1; maximum 500; default 100.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 500,
"min": 1
}
},
"offset": {
"default": 0,
"description": "Rows to skip; use `next_offset` from the previous page.\n\nProvider reference: minimum 0; default 0.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"min": 0
}
},
"query": {
"description": "Case-insensitive substring match on the id, display name, base or quote currency.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"quote_currency": {
"description": "Currency code, e.g. `USD`, `BTC`. Case-insensitive. Pattern: ^[A-Za-z0-9]{1,20}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"status": {
"default": "all",
"description": "Filter on the exchange status; `all` includes delisted pairs.\n\nProvider reference: allowed values [\"online\", \"delisted\", \"all\"]; default \"all\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"online",
"delisted",
"all"
]
}
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
费用与请求规则
按实际用量收费。 默认请求预估费用:$0.0005 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。授权
请求体
application/json
响应
List Coinbase Exchange trading pairs (GET /products) with client-side filters on base/quote currency, status and a free-text match, sorted by id and paged with limit/offset. Each product carries its increments, minimum funds, status and trading flags. This is the discovery step for every product_id.
The response contains the tool result directly.
The provider identifies products as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
auction_mode | boolean | |
base_currency | string | |
base_increment | string | Decimal string exactly as the exchange sends it (never converted to a float). Minimum size step. |
cancel_only | boolean | |
display_name | string | |
fx_stablecoin | boolean | |
high_bid_limit_percentage | string | Decimal string exactly as the exchange sends it (never converted to a float). Null when the exchange sends an empty string. |
id | string | Product id BASE-QUOTE. |
limit_only | boolean | |
margin_enabled | boolean | |
max_slippage_percentage | string | Decimal string exactly as the exchange sends it (never converted to a float). |
min_market_funds | string | Decimal string exactly as the exchange sends it (never converted to a float). Minimum order value in the quote currency. |
post_only | boolean | |
quote_currency | string | |
quote_increment | string | Decimal string exactly as the exchange sends it (never converted to a float). Minimum price tick. |
status | string | online or delisted as the exchange reports it. Delisted products still answer candles/ticker with stale data. |
status_message | string | Exchange status note; null when the exchange sends an empty string. |
trading_disabled | boolean | |
url | string | Upstream detail URL /products/{id}. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.