Get currency
curl --request POST \
--url https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/get-currency \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"currency_id": "BTC"
}
'import requests
url = "https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/get-currency"
payload = { "currency_id": "BTC" }
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({currency_id: 'BTC'})
};
fetch('https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/get-currency', 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/get-currency",
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([
'currency_id' => 'BTC'
]),
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/get-currency"
payload := strings.NewReader("{\n \"currency_id\": \"BTC\"\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/get-currency")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"currency_id\": \"BTC\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/get-currency")
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 \"currency_id\": \"BTC\"\n}"
response = http.request(request)
puts response.read_body{
"convertible_to": [],
"default_network": "bitcoin",
"details": {
"crypto_address_link": "https://live.blockcypher.com/btc/address/{{address}}",
"crypto_transaction_link": "https://live.blockcypher.com/btc/tx/{{txId}}",
"display_name": null,
"group_types": [
"btc",
"crypto"
],
"max_withdrawal_amount": 2400,
"min_withdrawal_amount": 0.0001,
"network_confirmations": 2,
"processing_time_seconds": null,
"push_payment_methods": [
"crypto"
],
"sort_order": 20,
"symbol": "₿",
"type": "crypto"
},
"display_name": "BTC",
"id": "BTC",
"max_precision": "0.00000001",
"message": null,
"min_size": "0.00000001",
"name": "Bitcoin",
"observed_at_ms": 1790268887908,
"source_url": "https://api.exchange.coinbase.com/currencies/BTC",
"status": "online",
"supported_networks": [
{
"contract_address": null,
"crypto_address_link": "https://arbiscan.io/address/{{address}}",
"crypto_transaction_link": "https://arbiscan.io/tx/{{txId}}",
"destination_tag_regex": null,
"id": "arbitrum",
"is_evm_network": true,
"max_withdrawal_amount": 200,
"min_withdrawal_amount": 0.00002,
"name": "Arbitrum",
"network_confirmations": null,
"processing_time_seconds": null,
"status": "online"
},
{
"contract_address": null,
"crypto_address_link": "https://basescan.org/address/{{address}}",
"crypto_transaction_link": "https://basescan.org/tx/{{txId}}",
"destination_tag_regex": null,
"id": "base",
"is_evm_network": true,
"max_withdrawal_amount": 200,
"min_withdrawal_amount": 0.00002,
"name": "Base",
"network_confirmations": null,
"processing_time_seconds": null,
"status": "online"
},
{
"contract_address": null,
"crypto_address_link": "https://live.blockcypher.com/btc/address/{{address}}",
"crypto_transaction_link": "https://live.blockcypher.com/btc/tx/{{txId}}",
"destination_tag_regex": null,
"id": "bitcoin",
"is_evm_network": false,
"max_withdrawal_amount": 2400,
"min_withdrawal_amount": 0.0001,
"name": "Bitcoin",
"network_confirmations": 2,
"processing_time_seconds": null,
"status": "online"
},
{
"contract_address": null,
"crypto_address_link": "https://etherscan.io/token/0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf?a={{address}}",
"crypto_transaction_link": "https://etherscan.io/tx/0x{{txId}}",
"destination_tag_regex": null,
"id": "ethereum",
"is_evm_network": true,
"max_withdrawal_amount": 200,
"min_withdrawal_amount": 0.00002,
"name": "Ethereum",
"network_confirmations": 35,
"processing_time_seconds": null,
"status": "online"
},
{
"contract_address": null,
"crypto_address_link": "https://explorer.solana.com/address/{{address}}",
"crypto_transaction_link": "https://explorer.solana.com/tx/{{txId}}",
"destination_tag_regex": null,
"id": "solana",
"is_evm_network": false,
"max_withdrawal_amount": 200,
"min_withdrawal_amount": 0.00002,
"name": "Solana",
"network_confirmations": 31,
"processing_time_seconds": null,
"status": "online"
}
]
}
Coinbase Exchange
Get currency
Networks and precision of an asset before interpreting sizes or addresses.
POST
https://api.aisa.one
/
apis
/
v1
/
api-exchange-coinbase-com
/
markets
/
get-currency
Get currency
curl --request POST \
--url https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/get-currency \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"currency_id": "BTC"
}
'import requests
url = "https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/get-currency"
payload = { "currency_id": "BTC" }
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({currency_id: 'BTC'})
};
fetch('https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/get-currency', 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/get-currency",
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([
'currency_id' => 'BTC'
]),
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/get-currency"
payload := strings.NewReader("{\n \"currency_id\": \"BTC\"\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/get-currency")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"currency_id\": \"BTC\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/get-currency")
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 \"currency_id\": \"BTC\"\n}"
response = http.request(request)
puts response.read_body{
"convertible_to": [],
"default_network": "bitcoin",
"details": {
"crypto_address_link": "https://live.blockcypher.com/btc/address/{{address}}",
"crypto_transaction_link": "https://live.blockcypher.com/btc/tx/{{txId}}",
"display_name": null,
"group_types": [
"btc",
"crypto"
],
"max_withdrawal_amount": 2400,
"min_withdrawal_amount": 0.0001,
"network_confirmations": 2,
"processing_time_seconds": null,
"push_payment_methods": [
"crypto"
],
"sort_order": 20,
"symbol": "₿",
"type": "crypto"
},
"display_name": "BTC",
"id": "BTC",
"max_precision": "0.00000001",
"message": null,
"min_size": "0.00000001",
"name": "Bitcoin",
"observed_at_ms": 1790268887908,
"source_url": "https://api.exchange.coinbase.com/currencies/BTC",
"status": "online",
"supported_networks": [
{
"contract_address": null,
"crypto_address_link": "https://arbiscan.io/address/{{address}}",
"crypto_transaction_link": "https://arbiscan.io/tx/{{txId}}",
"destination_tag_regex": null,
"id": "arbitrum",
"is_evm_network": true,
"max_withdrawal_amount": 200,
"min_withdrawal_amount": 0.00002,
"name": "Arbitrum",
"network_confirmations": null,
"processing_time_seconds": null,
"status": "online"
},
{
"contract_address": null,
"crypto_address_link": "https://basescan.org/address/{{address}}",
"crypto_transaction_link": "https://basescan.org/tx/{{txId}}",
"destination_tag_regex": null,
"id": "base",
"is_evm_network": true,
"max_withdrawal_amount": 200,
"min_withdrawal_amount": 0.00002,
"name": "Base",
"network_confirmations": null,
"processing_time_seconds": null,
"status": "online"
},
{
"contract_address": null,
"crypto_address_link": "https://live.blockcypher.com/btc/address/{{address}}",
"crypto_transaction_link": "https://live.blockcypher.com/btc/tx/{{txId}}",
"destination_tag_regex": null,
"id": "bitcoin",
"is_evm_network": false,
"max_withdrawal_amount": 2400,
"min_withdrawal_amount": 0.0001,
"name": "Bitcoin",
"network_confirmations": 2,
"processing_time_seconds": null,
"status": "online"
},
{
"contract_address": null,
"crypto_address_link": "https://etherscan.io/token/0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf?a={{address}}",
"crypto_transaction_link": "https://etherscan.io/tx/0x{{txId}}",
"destination_tag_regex": null,
"id": "ethereum",
"is_evm_network": true,
"max_withdrawal_amount": 200,
"min_withdrawal_amount": 0.00002,
"name": "Ethereum",
"network_confirmations": 35,
"processing_time_seconds": null,
"status": "online"
},
{
"contract_address": null,
"crypto_address_link": "https://explorer.solana.com/address/{{address}}",
"crypto_transaction_link": "https://explorer.solana.com/tx/{{txId}}",
"destination_tag_regex": null,
"id": "solana",
"is_evm_network": false,
"max_withdrawal_amount": 200,
"min_withdrawal_amount": 0.00002,
"name": "Solana",
"network_confirmations": 31,
"processing_time_seconds": null,
"status": "online"
}
]
}
Request contract
- Method and path: POST /apis/v1/api-exchange-coinbase-com/markets/get-currency
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/get-currency
{
"operationId": "api-exchange-coinbase-com.markets.get-currency",
"method": "POST",
"path": "/apis/v1/api-exchange-coinbase-com/markets/get-currency",
"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": {
"currency_id": "BTC"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"currency_id": {
"description": "Currency id as listed by `list_currencies`, e.g. `BTC`, `USD`. Case-insensitive. Pattern: ^[A-Za-z0-9]{1,20}$.",
"type": "string"
}
},
"required": [
"currency_id"
],
"type": "object"
}
}
},
"required": true
},
"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
One currency's definition (GET /currencies/{currency_id}): name, status, minimum size and precision, type, convertible-to list, and every supported network with contract address, confirmations and withdrawal limits. Unknown ids are not_found.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
convertible_to | string[] | |
default_network | string | |
details | object | |
display_name | string | |
id | string | |
max_precision | string | Decimal string exactly as the exchange sends it (never converted to a float). |
message | string | Exchange status message; null when empty. |
min_size | string | Decimal string exactly as the exchange sends it (never converted to a float). |
name | string | |
observed_at_ms | number | Milliseconds since the Unix epoch when this call ran. |
source_url | string | The upstream request URL this record was shaped from. |
status | string | |
supported_networks | object[] |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.