Get wrapped asset
curl --request POST \
--url https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/get-wrapped-asset \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"wrapped_asset_id": "CBETH"
}
'import requests
url = "https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/get-wrapped-asset"
payload = { "wrapped_asset_id": "CBETH" }
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({wrapped_asset_id: 'CBETH'})
};
fetch('https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/get-wrapped-asset', 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-wrapped-asset",
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([
'wrapped_asset_id' => 'CBETH'
]),
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-wrapped-asset"
payload := strings.NewReader("{\n \"wrapped_asset_id\": \"CBETH\"\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-wrapped-asset")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"wrapped_asset_id\": \"CBETH\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/get-wrapped-asset")
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 \"wrapped_asset_id\": \"CBETH\"\n}"
response = http.request(request)
puts response.read_body{
"apy": "0.0235",
"circulating_supply": "167296.476800791553903118",
"conversion_rate": "1.140196904717719",
"conversion_rate_now": "1.140196904717719046",
"conversion_rate_url": "https://api.exchange.coinbase.com/wrapped-assets/CBETH/conversion-rate",
"id": "CBETH",
"observed_at_ms": 1790268900091,
"redeem_time_estimate_days": "10.54",
"source_url": "https://api.exchange.coinbase.com/wrapped-assets/CBETH",
"total_supply": "373334.0782232124394134"
}Coinbase Exchange
Get wrapped asset
The cbETH:ETH conversion rate, APY and circulating supply.
POST
https://api.aisa.one
/
apis
/
v1
/
api-exchange-coinbase-com
/
markets
/
get-wrapped-asset
Get wrapped asset
curl --request POST \
--url https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/get-wrapped-asset \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"wrapped_asset_id": "CBETH"
}
'import requests
url = "https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/get-wrapped-asset"
payload = { "wrapped_asset_id": "CBETH" }
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({wrapped_asset_id: 'CBETH'})
};
fetch('https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/get-wrapped-asset', 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-wrapped-asset",
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([
'wrapped_asset_id' => 'CBETH'
]),
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-wrapped-asset"
payload := strings.NewReader("{\n \"wrapped_asset_id\": \"CBETH\"\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-wrapped-asset")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"wrapped_asset_id\": \"CBETH\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/get-wrapped-asset")
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 \"wrapped_asset_id\": \"CBETH\"\n}"
response = http.request(request)
puts response.read_body{
"apy": "0.0235",
"circulating_supply": "167296.476800791553903118",
"conversion_rate": "1.140196904717719",
"conversion_rate_now": "1.140196904717719046",
"conversion_rate_url": "https://api.exchange.coinbase.com/wrapped-assets/CBETH/conversion-rate",
"id": "CBETH",
"observed_at_ms": 1790268900091,
"redeem_time_estimate_days": "10.54",
"source_url": "https://api.exchange.coinbase.com/wrapped-assets/CBETH",
"total_supply": "373334.0782232124394134"
}Request contract
- Method and path: POST /apis/v1/api-exchange-coinbase-com/markets/get-wrapped-asset
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/api-exchange-coinbase-com/markets/get-wrapped-asset
{
"operationId": "api-exchange-coinbase-com.markets.get-wrapped-asset",
"method": "POST",
"path": "/apis/v1/api-exchange-coinbase-com/markets/get-wrapped-asset",
"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": {
"wrapped_asset_id": "CBETH"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"wrapped_asset_id": {
"description": "Wrapped asset id, e.g. `CBETH`. Case-insensitive. Pattern: ^[A-Za-z0-9]{1,20}$.",
"type": "string"
}
},
"required": [
"wrapped_asset_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
Supply, staking yield and conversion rate of a Coinbase wrapped asset such as cbETH (GET /wrapped-assets/{id} and GET /wrapped-assets/{id}/conversion-rate). Only the assets the exchange wraps exist (currently CBETH); anything else is not_found.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
apy | string | Decimal string exactly as the exchange sends it (never converted to a float). Null when the exchange sends an empty string. |
circulating_supply | string | Decimal string exactly as the exchange sends it (never converted to a float). |
conversion_rate | string | Decimal string exactly as the exchange sends it (never converted to a float). Underlying units per wrapped unit, from the asset record. |
conversion_rate_now | string | Decimal string exactly as the exchange sends it (never converted to a float). amount from the /conversion-rate route. |
conversion_rate_url | string | |
id | string | |
observed_at_ms | number | Milliseconds since the Unix epoch when this call ran. |
redeem_time_estimate_days | string | Decimal string exactly as the exchange sends it (never converted to a float). |
source_url | string | The upstream request URL this record was shaped from. |
total_supply | string | Decimal string exactly as the exchange sends it (never converted to a float). |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.