Tokenized Stock Price Snapshot (Real-Time)
curl --request GET \
--url https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot"
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', 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",
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"
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")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot")
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{
"snapshot": {
"ticker": "NVDAc",
"chain": "base",
"address": "0xb20000000000000000000078ee7ce2fe4908108c",
"price": 165.13,
"time": "2026-11-23T21:29:03Z",
"time_milliseconds": 1795469343000,
"last_trade": {
"price": 165.18,
"size_usd": 43.47,
"side": "buy",
"transaction": "0x46b5c23a30d7939f26131b2eb304157f32bff1e8da9f0e62afca07262d1df95f"
},
"pool": {
"address": "0xf668e21993f0acd7ab00bb1cfbaed0df28a3c8ec",
"usdc": 840081.04,
"fee_percent": 0.0278
},
"shares_per_token": 1.0005379395763694,
"price_per_share": 165.04,
"stock": {
"ticker": "NVDA",
"price": 165.05,
"time": "2026-11-23T21:53:54Z"
},
"gap_percent": -0.01
}
}{
"error": "Not a tokenized stock",
"message": "`ticker` takes a token's symbol in its exact spelling (NVDAc) or its address (base:0x...). GET https://api.financialdatasets.ai/tokenized-stocks lists the tokens we know, free and with no key. For the price of a stock, call GET https://api.financialdatasets.ai/prices/snapshot."
}{
"error": "Unauthorized",
"message": "Invalid API key provided"
}{
"error": "Payment Required",
"message": "This endpoint requires a paid subscription. Please upgrade your plan."
}{
"error": "No data found",
"message": "No price found for JNJc: we read no dollar pool for this token."
}{
"error": "Price not fresh",
"message": "Our last read of this token's pool is more than 5 minutes old. You were not charged. Send the same request again in 30 seconds."
}Tokenized Stocks
Tokenized Stock Price API (real-time price of a stock token on Base)
The latest price of a stock token on Base, from its USDC pool, with the last trade, the price of the stock, and the gap between the two in percent.
GET
/
tokenized-stocks
/
prices
/
snapshot
Tokenized Stock Price Snapshot (Real-Time)
curl --request GET \
--url https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot"
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', 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",
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"
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")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot")
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{
"snapshot": {
"ticker": "NVDAc",
"chain": "base",
"address": "0xb20000000000000000000078ee7ce2fe4908108c",
"price": 165.13,
"time": "2026-11-23T21:29:03Z",
"time_milliseconds": 1795469343000,
"last_trade": {
"price": 165.18,
"size_usd": 43.47,
"side": "buy",
"transaction": "0x46b5c23a30d7939f26131b2eb304157f32bff1e8da9f0e62afca07262d1df95f"
},
"pool": {
"address": "0xf668e21993f0acd7ab00bb1cfbaed0df28a3c8ec",
"usdc": 840081.04,
"fee_percent": 0.0278
},
"shares_per_token": 1.0005379395763694,
"price_per_share": 165.04,
"stock": {
"ticker": "NVDA",
"price": 165.05,
"time": "2026-11-23T21:53:54Z"
},
"gap_percent": -0.01
}
}{
"error": "Not a tokenized stock",
"message": "`ticker` takes a token's symbol in its exact spelling (NVDAc) or its address (base:0x...). GET https://api.financialdatasets.ai/tokenized-stocks lists the tokens we know, free and with no key. For the price of a stock, call GET https://api.financialdatasets.ai/prices/snapshot."
}{
"error": "Unauthorized",
"message": "Invalid API key provided"
}{
"error": "Payment Required",
"message": "This endpoint requires a paid subscription. Please upgrade your plan."
}{
"error": "No data found",
"message": "No price found for JNJc: we read no dollar pool for this token."
}{
"error": "Price not fresh",
"message": "Our last read of this token's pool is more than 5 minutes old. You were not charged. Send the same request again in 30 seconds."
}Overview
A stock token trades on Base at any hour. The stock does not. This endpoint returns the token’s own price: whatNVDAc costs in its USDC pool now. It also returns the price of the stock and the gap between the two in percent, so you can see if the token is cheap or expensive against the stock.
You can call it with an API key, or pay per request with x402, with no account.
The stock endpoints answer a different question. There, a token name is another name for the stock: GET /prices/snapshot?ticker=NVDAc returns the price of NVIDIA’s stock.
Coverage
| Issuer | Chain | Tokens | Updated |
|---|---|---|---|
| Coinbase | Base | 50+ | Every 15 seconds |
GET /tokenized-stocks lists every token, free and with no key. A token with a price has /tokenized-stocks/prices/snapshot in its datasets.
Example
import requests
headers = {
"X-API-KEY": "your_api_key_here"
}
response = requests.get(
"https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot",
params={"ticker": "NVDAc"},
headers=headers,
)
snapshot = response.json()["snapshot"]
curl -H "X-API-KEY: your_api_key_here" \
"https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot?ticker=NVDAc"
ticker takes the name of a token only: its symbol in the exact letter case (NVDAc), or its address (base:0xb200...108c, with or without base:). A stock ticker such as NVDA returns 400, because one stock can have tokens of more than one issuer.
Example Response
{
"snapshot": {
"ticker": "NVDAc",
"chain": "base",
"address": "0xb20000000000000000000078ee7ce2fe4908108c",
"price": 165.13,
"time": "2026-11-23T21:29:03Z",
"time_milliseconds": 1795469343000,
"last_trade": {
"price": 165.18,
"size_usd": 43.47,
"side": "buy",
"transaction": "0x46b5c23a30d7939f26131b2eb304157f32bff1e8da9f0e62afca07262d1df95f"
},
"pool": {
"address": "0xf668e21993f0acd7ab00bb1cfbaed0df28a3c8ec",
"usdc": 840081.04,
"fee_percent": 0.0278
},
"shares_per_token": 1.0005379395763694,
"price_per_share": 165.04,
"stock": {
"ticker": "NVDA",
"price": 165.05,
"time": "2026-11-23T21:53:54Z"
},
"gap_percent": -0.01
}
}
| Field | Value |
|---|---|
price | The price of one token in US dollars: the price in the pool after the last trade. 1 USDC counts as 1 dollar. |
time | The time of the token’s last trade, in UTC. A token can go hours with no trade. time and last_trade are null until we have seen a trade of the token. |
last_trade | The last trade in the pool: the dollars the trader paid or got for one token, the size in dollars, buy or sell from the trader’s side, and the transaction on Base. |
pool | The pool the price comes from: its address, the USDC it holds, and its fee in percent. |
price_per_share | The token’s price for one share: price divided by shares_per_token. One token can stand for a little more than one share. |
stock | Our ticker for the stock, with its latest price and the time of that price. It is null when we have no price for the stock. |
gap_percent | The gap between price_per_share and the stock’s price, in percent. Below zero, the token is cheaper than the stock. It is null when stock is null. |
stock.price is the stock’s last price. Compare time with stock.time before you read the gap.
When there is no price
None of these responses is charged, with a key or with x402.| Status | Error | When |
|---|---|---|
400 | Not a tokenized stock | ticker is missing, or it is not the name of a token we know. |
404 | No data found | We know the token, and it has no USDC pool that we read. |
503 | Price not fresh | Our last read of the pool is more than 5 minutes old. Send the request again after the seconds in the Retry-After header. |
Related
Tokens
The list of stock tokens on Base, free and with no key.
Stock Prices
The real-time price of the stock itself.