Live DEX token price by symbol or chain:contract across 8 chains, squat-proof — price, 24h change, volume, market cap and liquidity.
curl --request GET \
--url https://x402.ottoai.services/token-priceimport requests
url = "https://x402.ottoai.services/token-price"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://x402.ottoai.services/token-price', 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://x402.ottoai.services/token-price",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://x402.ottoai.services/token-price"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://x402.ottoai.services/token-price")
.asString();require 'uri'
require 'net/http'
url = URI("https://x402.ottoai.services/token-price")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {}
}Market & Token Intelligence
/token-price
Live DEX token price in USD by ticker symbol or contract address across Base, Ethereum, Solana, Polygon, BSC, Arbitrum, Optimism and Avalanche (bare 0x tries Base then all chains, else network:address). Symbols resolve to the canonical top-market-cap asset — squat-proof. Flat JSON: price, 24h change, volume, market cap, FDV, liquidity — echoes the matched deployment. Token price, crypto price, DEX price. $0.001 per call.
GET
/
token-price
Live DEX token price by symbol or chain:contract across 8 chains, squat-proof — price, 24h change, volume, market cap and liquidity.
curl --request GET \
--url https://x402.ottoai.services/token-priceimport requests
url = "https://x402.ottoai.services/token-price"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://x402.ottoai.services/token-price', 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://x402.ottoai.services/token-price",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://x402.ottoai.services/token-price"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://x402.ottoai.services/token-price")
.asString();require 'uri'
require 'net/http'
url = URI("https://x402.ottoai.services/token-price")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {}
}Price: 0.001 USDC per call, paid on Base or Solana.
Fill in the required fields and send this request without payment to get the live price quote. The API answers
402 and lists the price, network and token in accepts. To pay, follow Your first paid call.Query Parameters
Ticker symbol (e.g. ETH — resolves to the canonical top-market-cap asset; use address mode for long-tail), contract address (0x… tries Base, then any supported chain), or network:address (e.g. solana:JUPyiwr…). Networks: base, ethereum, solana, polygon, bsc, arbitrum, optimism, avalanche
Was this page helpful?
