Tokenized Stock Market Snapshot (Real-Time)
curl --request GET \
--url https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot/market \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot/market"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot/market', 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.financialdatasets.ai/tokenized-stocks/prices/snapshot/market",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot/market"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot/market")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot/market")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"snapshots": [
{
"ticker": "AAPLc",
"chain": "base",
"address": "0xb200000000000000000000c2e324d24d7eecd1fb",
"price": 354.56,
"time": "2026-11-30T16:29:06Z",
"time_milliseconds": 1796056146000,
"last_trade": {
"price": 354.48,
"size_usd": 631.94,
"side": "sell",
"transaction": "0x3970c59ceb1f9c32ffa2046c7459cf667f05bb91fc050767af64a298faadcef8",
"time": "2026-11-30T16:29:06Z"
},
"pool": {
"address": "0xf5fcb9cdafce67d50afef298f88e709d2b946ba6",
"usdc": 190115.2,
"fee_percent": 0.0275
},
"shares_per_token": 1.0005003893019802,
"price_per_share": 354.38,
"stock": {
"ticker": "AAPL",
"price": 353.99,
"time": "2026-11-30T16:29:17Z"
},
"gap_percent": 0.11
}
]
}{
"error": "Unauthorized",
"message": "Invalid API key provided"
}{
"error": "Payment Required",
"message": "This endpoint requires a paid subscription. Please upgrade your plan."
}{
"error": "Price not fresh",
"message": "Our last read of the token pools is more than 5 minutes old. You were not charged. Send the same request again in 30 seconds."
}Tokenized Stocks
Tokenized Stock Market Snapshot API
The latest price of every stock token on Base in one request, each with its last trade, its pool, the price of the stock, and the gap between the two in percent.
GET
/
tokenized-stocks
/
prices
/
snapshot
/
market
Tokenized Stock Market Snapshot (Real-Time)
curl --request GET \
--url https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot/market \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot/market"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot/market', 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.financialdatasets.ai/tokenized-stocks/prices/snapshot/market",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot/market"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot/market")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot/market")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"snapshots": [
{
"ticker": "AAPLc",
"chain": "base",
"address": "0xb200000000000000000000c2e324d24d7eecd1fb",
"price": 354.56,
"time": "2026-11-30T16:29:06Z",
"time_milliseconds": 1796056146000,
"last_trade": {
"price": 354.48,
"size_usd": 631.94,
"side": "sell",
"transaction": "0x3970c59ceb1f9c32ffa2046c7459cf667f05bb91fc050767af64a298faadcef8",
"time": "2026-11-30T16:29:06Z"
},
"pool": {
"address": "0xf5fcb9cdafce67d50afef298f88e709d2b946ba6",
"usdc": 190115.2,
"fee_percent": 0.0275
},
"shares_per_token": 1.0005003893019802,
"price_per_share": 354.38,
"stock": {
"ticker": "AAPL",
"price": 353.99,
"time": "2026-11-30T16:29:17Z"
},
"gap_percent": 0.11
}
]
}{
"error": "Unauthorized",
"message": "Invalid API key provided"
}{
"error": "Payment Required",
"message": "This endpoint requires a paid subscription. Please upgrade your plan."
}{
"error": "Price not fresh",
"message": "Our last read of the token pools is more than 5 minutes old. You were not charged. Send the same request again in 30 seconds."
}Overview
This endpoint returns every stock token on Base that has a price, in one call. Each token comes with its own price from its USDC pool, the price of the stock, and the gap between the two in percent. Use it to find the tokens with the widest gap, to value a wallet of tokens, or to fill a board of all tokens. For one token, call the Price Snapshot. You can call it with an API key, or pay per request with x402, with no account.Coverage
| Coinbase tokens on Base | Tokens | Updated |
|---|---|---|
| With a price | 50+ | Every 15 seconds |
GET /tokenized-stocks lists every token, free and with no key.
Example
import requests
headers = {
"X-API-KEY": "your_api_key_here"
}
response = requests.get(
"https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot/market",
headers=headers,
)
snapshots = response.json()["snapshots"]
# The five tokens that are cheapest against their stock.
with_gap = [snapshot for snapshot in snapshots if snapshot["gap_percent"] is not None]
cheapest = sorted(with_gap, key=lambda snapshot: snapshot["gap_percent"])[:5]
curl -H "X-API-KEY: your_api_key_here" \
"https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot/market"
Example Response
{
"snapshots": [
{
"ticker": "AAPLc",
"chain": "base",
"address": "0xb200000000000000000000c2e324d24d7eecd1fb",
"price": 354.56,
"time": "2026-11-30T16:29:06Z",
"time_milliseconds": 1796056146000,
"last_trade": {
"price": 354.48,
"size_usd": 631.94,
"side": "sell",
"transaction": "0x3970c59ceb1f9c32ffa2046c7459cf667f05bb91fc050767af64a298faadcef8",
"time": "2026-11-30T16:29:06Z"
},
"pool": {
"address": "0xf5fcb9cdafce67d50afef298f88e709d2b946ba6",
"usdc": 190115.2,
"fee_percent": 0.0275
},
"shares_per_token": 1.0005003893019802,
"price_per_share": 354.38,
"stock": {
"ticker": "AAPL",
"price": 353.99,
"time": "2026-11-30T16:29:17Z"
},
"gap_percent": 0.11
},
...
]
}
ticker. There are no pages.
Each snapshot has the same fields as the response of the Price Snapshot. The two that you compare most often:
| Field | Value |
|---|---|
gap_percent | The gap between the token’s price for one share and the stock’s price, in percent. Below zero, the token is cheaper than the stock. It is null when we have no price for the stock. |
pool.usdc | The USDC the token’s pool holds. A larger pool takes a larger trade with less change in the price. |
stock.price is the stock’s last price. Compare time with stock.time before you read the gap.
When there is no price
| Case | Response |
|---|---|
| Our last read of one token’s pool is more than 5 minutes old. | The token is not in the response. |
| Our last read of every pool is more than 5 minutes old. | 503 with the error Price not fresh. Send the request again after the seconds in the Retry-After header. The request is not charged, with a key or with x402. |
Related
Price Snapshot
The price of one stock token, and the free list of all tokens.
Market Snapshot
The real-time price of every US stock in one call.