curl --request GET \
--url https://api.neyrs.cloud/v1/prices/SOL \
--header 'Authorization: Bearer neyrs_live_abc123def456'
const response = await fetch(
'https://api.neyrs.cloud/v1/prices/SOL',
{
headers: {
'Authorization': `Bearer ${process.env.NEYRS_API_KEY}`
}
}
);
import requests
response = requests.get(
'https://api.neyrs.cloud/v1/prices/SOL',
headers={
'Authorization': f'Bearer {api_key}'
}
)
{
"mint": "So11111111111111111111111111111111111111112",
"symbol": "SOL",
"price": 150.23,
"change24h": 3.2,
"volume24h": 2847392847,
"marketCap": 68492837492,
"lastUpdated": "2024-03-08T14:30:00Z"
}
{
"error": {
"code": "token_not_found",
"message": "Token not found or not supported"
}
}
Wallet & Portfolio
Get Token Price
Get current price and market data for a token
GET
/
v1
/
prices
/
{token}
curl --request GET \
--url https://api.neyrs.cloud/v1/prices/SOL \
--header 'Authorization: Bearer neyrs_live_abc123def456'
const response = await fetch(
'https://api.neyrs.cloud/v1/prices/SOL',
{
headers: {
'Authorization': `Bearer ${process.env.NEYRS_API_KEY}`
}
}
);
import requests
response = requests.get(
'https://api.neyrs.cloud/v1/prices/SOL',
headers={
'Authorization': f'Bearer {api_key}'
}
)
{
"mint": "So11111111111111111111111111111111111111112",
"symbol": "SOL",
"price": 150.23,
"change24h": 3.2,
"volume24h": 2847392847,
"marketCap": 68492837492,
"lastUpdated": "2024-03-08T14:30:00Z"
}
{
"error": {
"code": "token_not_found",
"message": "Token not found or not supported"
}
}
Authorization
string
required
Bearer token. Format:
Bearer neyrs_live_abc123def456Path Parameters
string
required
Token mint address or symbol (SOL, USDC, BONK, etc.)
Response
string
Token mint address
string
Token symbol
number
Current price in USD
number
24-hour price change percentage
number
24-hour trading volume in USD
number
Market capitalization in USD
string
ISO 8601 timestamp of last price update
curl --request GET \
--url https://api.neyrs.cloud/v1/prices/SOL \
--header 'Authorization: Bearer neyrs_live_abc123def456'
const response = await fetch(
'https://api.neyrs.cloud/v1/prices/SOL',
{
headers: {
'Authorization': `Bearer ${process.env.NEYRS_API_KEY}`
}
}
);
import requests
response = requests.get(
'https://api.neyrs.cloud/v1/prices/SOL',
headers={
'Authorization': f'Bearer {api_key}'
}
)
{
"mint": "So11111111111111111111111111111111111111112",
"symbol": "SOL",
"price": 150.23,
"change24h": 3.2,
"volume24h": 2847392847,
"marketCap": 68492837492,
"lastUpdated": "2024-03-08T14:30:00Z"
}
{
"error": {
"code": "token_not_found",
"message": "Token not found or not supported"
}
}