curl --request GET \
--url 'https://api.raze.bot/api/sol/tokens/metadata/{tokenMint}?apiKey='import requests
url = "https://api.raze.bot/api/sol/tokens/metadata/{tokenMint}?apiKey="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.raze.bot/api/sol/tokens/metadata/{tokenMint}?apiKey=', 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.raze.bot/api/sol/tokens/metadata/{tokenMint}?apiKey=",
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://api.raze.bot/api/sol/tokens/metadata/{tokenMint}?apiKey="
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://api.raze.bot/api/sol/tokens/metadata/{tokenMint}?apiKey=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.raze.bot/api/sol/tokens/metadata/{tokenMint}?apiKey=")
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{
"success": true,
"metadata": {
"tokenMint": "<string>",
"onChain": {
"name": "<string>",
"symbol": "<string>",
"uri": "<string>",
"updateAuthority": "<string>",
"sellerFeeBasisPoints": 123,
"primarySaleHappened": true,
"isMutable": true,
"editionNonce": 123,
"tokenStandard": 123,
"tokenStandardName": "<string>",
"creators": [
{
"address": "<string>",
"verified": true,
"share": 123
}
],
"ownerProgram": "<string>",
"ownerProgramName": "<string>",
"decimals": 123,
"supply": "<string>",
"uiSupply": 123,
"mintAuthority": "<string>",
"freezeAuthority": "<string>",
"isInitialized": true,
"tokenExtensions": [
{}
]
},
"metaplex": {
"key": 123,
"updateAuthority": "<string>",
"mint": "<string>",
"data": {
"name": "<string>",
"symbol": "<string>",
"uri": "<string>",
"sellerFeeBasisPoints": 123
},
"creators": [
{
"address": "<string>",
"verified": true,
"share": 123
}
],
"primarySaleHappened": true,
"isMutable": true,
"editionNonce": 123,
"tokenStandard": 123,
"tokenStandardName": "<string>"
},
"mintAccount": {
"ownerProgram": "<string>",
"ownerProgramName": "<string>",
"decimals": 123,
"supply": "<string>",
"uiSupply": 123,
"mintAuthority": "<string>",
"freezeAuthority": "<string>",
"isInitialized": true,
"tokenExtensions": [
{}
]
},
"offChain": {
"name": "<string>",
"symbol": "<string>",
"description": "<string>",
"image": "<string>",
"animationUrl": "<string>",
"externalUrl": "<string>",
"twitter": "<string>",
"telegram": "<string>",
"website": "<string>",
"imageSource": "<string>"
},
"dexPaid": true,
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": "Unauthorized",
"message": "Invalid API key",
"code": "INVALID_KEY",
"success": false
}{
"error": "Unauthorized",
"message": "Invalid API key",
"code": "INVALID_KEY",
"success": false
}Token metadata (on-chain + off-chain)
Resolves token metadata across multiple sources, in order: Metaplex (PDA from Token Metadata Program) → Token 2022 → internal Data API.
On-chain name, symbol, and uri are pulled from whichever source
responds first. If a uri is present, the off-chain JSON is fetched
(via IPFS gateway when applicable) and returned under offChain.
Result is cached per mint; a single retry-after-1s pass handles tokens that aren’t fully indexed yet.
dexPaid indicates whether the token has DexScreener
“Enhanced Token Info” (the team paid for the profile). Sourced from a
per-region in-memory cache fed by DexScreener’s profile WebSocket;
misses trigger a throttled on-demand /orders/v1/solana/{mint} check
in the background (rate-capped well under DexScreener’s 60 req/min
limit). The first response for an unseen mint may return
dexPaid: null; the next call returns the resolved boolean.
curl --request GET \
--url 'https://api.raze.bot/api/sol/tokens/metadata/{tokenMint}?apiKey='import requests
url = "https://api.raze.bot/api/sol/tokens/metadata/{tokenMint}?apiKey="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.raze.bot/api/sol/tokens/metadata/{tokenMint}?apiKey=', 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.raze.bot/api/sol/tokens/metadata/{tokenMint}?apiKey=",
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://api.raze.bot/api/sol/tokens/metadata/{tokenMint}?apiKey="
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://api.raze.bot/api/sol/tokens/metadata/{tokenMint}?apiKey=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.raze.bot/api/sol/tokens/metadata/{tokenMint}?apiKey=")
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{
"success": true,
"metadata": {
"tokenMint": "<string>",
"onChain": {
"name": "<string>",
"symbol": "<string>",
"uri": "<string>",
"updateAuthority": "<string>",
"sellerFeeBasisPoints": 123,
"primarySaleHappened": true,
"isMutable": true,
"editionNonce": 123,
"tokenStandard": 123,
"tokenStandardName": "<string>",
"creators": [
{
"address": "<string>",
"verified": true,
"share": 123
}
],
"ownerProgram": "<string>",
"ownerProgramName": "<string>",
"decimals": 123,
"supply": "<string>",
"uiSupply": 123,
"mintAuthority": "<string>",
"freezeAuthority": "<string>",
"isInitialized": true,
"tokenExtensions": [
{}
]
},
"metaplex": {
"key": 123,
"updateAuthority": "<string>",
"mint": "<string>",
"data": {
"name": "<string>",
"symbol": "<string>",
"uri": "<string>",
"sellerFeeBasisPoints": 123
},
"creators": [
{
"address": "<string>",
"verified": true,
"share": 123
}
],
"primarySaleHappened": true,
"isMutable": true,
"editionNonce": 123,
"tokenStandard": 123,
"tokenStandardName": "<string>"
},
"mintAccount": {
"ownerProgram": "<string>",
"ownerProgramName": "<string>",
"decimals": 123,
"supply": "<string>",
"uiSupply": 123,
"mintAuthority": "<string>",
"freezeAuthority": "<string>",
"isInitialized": true,
"tokenExtensions": [
{}
]
},
"offChain": {
"name": "<string>",
"symbol": "<string>",
"description": "<string>",
"image": "<string>",
"animationUrl": "<string>",
"externalUrl": "<string>",
"twitter": "<string>",
"telegram": "<string>",
"website": "<string>",
"imageSource": "<string>"
},
"dexPaid": true,
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": "Unauthorized",
"message": "Invalid API key",
"code": "INVALID_KEY",
"success": false
}{
"error": "Unauthorized",
"message": "Invalid API key",
"code": "INVALID_KEY",
"success": false
}