Skip to main content
GET
/
api
/
v1
/
price
/
{mint}
Get token price
curl --request GET \
  --url https://api.vulcx.xyz/api/v1/price/{mint} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.vulcx.xyz/api/v1/price/{mint}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.vulcx.xyz/api/v1/price/{mint}', 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.vulcx.xyz/api/v1/price/{mint}",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "Authorization: Bearer <token>"
  ],
]);

$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.vulcx.xyz/api/v1/price/{mint}"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	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.vulcx.xyz/api/v1/price/{mint}")
  .header("Authorization", "Bearer <token>")
  .asString();
require 'uri'
require 'net/http'

url = URI("https://api.vulcx.xyz/api/v1/price/{mint}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "success": true,
  "data": {
    "mint": "So11111111111111111111111111111111111111112",
    "price": 0.00909763,
    "slot": 588079915,
    "updatedAt": 1782798694
  }
}

Get Price

GET /api/v1/price/:mint returns the current spot USD price for a token, derived entirely from live on-chain pool state — there is no external price feed.
This is a spot/mid price oracle, distinct from GET /api/v1/quote, which returns a size- and slippage-aware execution price for a specific amount. Use /price for display (portfolio values, token lists); use /quote before a swap.

How prices are derived

  • Stablecoins are worth $1.
  • The native token (FOGO) is priced from the deepest native↔stablecoin pool.
  • Every other token is priced from its deepest anchor-paired pool (paired with a stablecoin or FOGO). Using the deepest pool by liquidity prevents a thin or seeded pool from skewing the price.
A token returns price: 0 until an anchor-paired pool for it has been observed (and its decimals resolved). slot and updatedAt are 0 in that case.

Single lookup

mint
string
required
Token mint address (base58-encoded public key).
cURL
curl "https://api.vulcx.xyz/api/v1/price/So11111111111111111111111111111111111111112" \
  -H "Authorization: Bearer $VULCX_KEY"
{
  "success": true,
  "data": {
    "mint": "So11111111111111111111111111111111111111112",
    "price": 0.00909763,
    "slot": 588079915,
    "updatedAt": 1782798694
  }
}

Batch lookup

Fetch up to 100 prices in one call with a comma-separated mints query parameter.
mints
string
required
Comma-separated token mint addresses (base58), max 100.
cURL
curl "https://api.vulcx.xyz/api/v1/price?\
mints=So11111111111111111111111111111111111111112,uSd2czE61Evaf76RNbq4KPpXnkiL3irdzgLFUMe3NoG" \
  -H "Authorization: Bearer $VULCX_KEY"
{
  "success": true,
  "data": {
    "prices": [
      { "mint": "So11111111111111111111111111111111111111112", "price": 0.00909763, "slot": 588079915, "updatedAt": 1782798694 },
      { "mint": "uSd2czE61Evaf76RNbq4KPpXnkiL3irdzgLFUMe3NoG", "price": 1, "slot": 0, "updatedAt": 0 }
    ]
  }
}

Response fields

mint
string
The token mint address.
price
number
Spot USD price. 0 when no price is known yet (no anchor-paired pool observed, or decimals pending).
slot
integer
Fogo slot the price was derived at. 0 for the constant stablecoin price or an unknown token.
updatedAt
integer
Unix seconds when the price was last updated. 0 for constants/unknowns — use it to detect staleness.

Authorizations

Authorization
string
header
required

API key sent as Authorization: Bearer vulcx_.... Required on every endpoint except GET /health and GET /api/v1/tokens.

Path Parameters

mint
string
required

Token mint address (base58-encoded public key).

Example:

"So11111111111111111111111111111111111111112"

Response

200 - application/json

Price retrieved successfully.

success
boolean
Example:

true

data
object

Spot USD price for a single token.

Last modified on July 5, 2026