List currencies
curl --request POST \
--url https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-currencies \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "bitcoin"
}
'import requests
url = "https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-currencies"
payload = { "query": "bitcoin" }
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({query: 'bitcoin'})
};
fetch('https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-currencies', 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-currencies",
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([
'query' => 'bitcoin'
]),
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-currencies"
payload := strings.NewReader("{\n \"query\": \"bitcoin\"\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-currencies")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"bitcoin\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-currencies")
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 \"query\": \"bitcoin\"\n}"
response = http.request(request)
puts response.read_body{
"count": 3,
"currencies": [
{
"convertible_to": [],
"default_network": "bitcoincash",
"display_name": "BCH",
"id": "BCH",
"max_precision": "0.00000001",
"min_size": "0.00000001",
"name": "Bitcoin Cash",
"network_count": 1,
"status": "online",
"type": "crypto",
"url": "https://api.exchange.coinbase.com/currencies/BCH"
},
{
"convertible_to": [],
"default_network": "bitcoin",
"display_name": "BTC",
"id": "BTC",
"max_precision": "0.00000001",
"min_size": "0.00000001",
"name": "Bitcoin",
"network_count": 5,
"status": "online",
"type": "crypto",
"url": "https://api.exchange.coinbase.com/currencies/BTC"
},
{
"convertible_to": [],
"default_network": "ethereum",
"display_name": "WBTC",
"id": "WBTC",
"max_precision": "0.00000001",
"min_size": "0.0001",
"name": "Wrapped Bitcoin",
"network_count": 3,
"status": "delisted",
"type": "crypto",
"url": "https://api.exchange.coinbase.com/currencies/WBTC"
}
],
"next_offset": null,
"observed_at_ms": 1790268870358,
"query": {
"limit": 100,
"offset": 0,
"query": "bitcoin",
"status": "all",
"type": null
},
"source_url": "https://api.exchange.coinbase.com/currencies",
"total_count": 3
}
Coinbase Exchange
List currencies
Find a currency id, or list every online crypto or fiat currency.
POST
https://api.aisa.one
/
apis
/
v1
/
api-exchange-coinbase-com
/
markets
/
list-currencies
List currencies
curl --request POST \
--url https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-currencies \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "bitcoin"
}
'import requests
url = "https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-currencies"
payload = { "query": "bitcoin" }
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({query: 'bitcoin'})
};
fetch('https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-currencies', 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-currencies",
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([
'query' => 'bitcoin'
]),
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-currencies"
payload := strings.NewReader("{\n \"query\": \"bitcoin\"\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-currencies")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"bitcoin\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-currencies")
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 \"query\": \"bitcoin\"\n}"
response = http.request(request)
puts response.read_body{
"count": 3,
"currencies": [
{
"convertible_to": [],
"default_network": "bitcoincash",
"display_name": "BCH",
"id": "BCH",
"max_precision": "0.00000001",
"min_size": "0.00000001",
"name": "Bitcoin Cash",
"network_count": 1,
"status": "online",
"type": "crypto",
"url": "https://api.exchange.coinbase.com/currencies/BCH"
},
{
"convertible_to": [],
"default_network": "bitcoin",
"display_name": "BTC",
"id": "BTC",
"max_precision": "0.00000001",
"min_size": "0.00000001",
"name": "Bitcoin",
"network_count": 5,
"status": "online",
"type": "crypto",
"url": "https://api.exchange.coinbase.com/currencies/BTC"
},
{
"convertible_to": [],
"default_network": "ethereum",
"display_name": "WBTC",
"id": "WBTC",
"max_precision": "0.00000001",
"min_size": "0.0001",
"name": "Wrapped Bitcoin",
"network_count": 3,
"status": "delisted",
"type": "crypto",
"url": "https://api.exchange.coinbase.com/currencies/WBTC"
}
],
"next_offset": null,
"observed_at_ms": 1790268870358,
"query": {
"limit": 100,
"offset": 0,
"query": "bitcoin",
"status": "all",
"type": null
},
"source_url": "https://api.exchange.coinbase.com/currencies",
"total_count": 3
}
Request contract
- Method and path: POST /apis/v1/api-exchange-coinbase-com/markets/list-currencies
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/list-currencies
{
"operationId": "api-exchange-coinbase-com.markets.list-currencies",
"method": "POST",
"path": "/apis/v1/api-exchange-coinbase-com/markets/list-currencies",
"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": {
"query": "bitcoin"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"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, name or display name.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"status": {
"default": "all",
"description": "status\n\nProvider reference: allowed values [\"online\", \"delisted\", \"all\"]; default \"all\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"online",
"delisted",
"all"
]
}
},
"type": {
"description": "type\n\nProvider reference: allowed values [\"crypto\", \"fiat\"].",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"crypto",
"fiat"
]
}
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json
Response
Currencies known to Coinbase Exchange (GET /currencies, ~500 crypto and fiat) with client-side filters on type, status and a free-text match on id or name, sorted by id and paged. Rows carry status, precision, default network and network count; get_currency has the networks.
The response contains the tool result directly.
The provider identifies currencies as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
convertible_to | string[] | |
default_network | string | Null for fiat (exchange sends an empty string). |
display_name | string | |
id | string | |
max_precision | string | Decimal string exactly as the exchange sends it (never converted to a float). |
min_size | string | Decimal string exactly as the exchange sends it (never converted to a float). |
name | string | |
network_count | number | |
status | string | online or delisted. |
type | string | crypto or fiat (from details.type). |
url | string | Upstream detail URL /currencies/{id}. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.