/api/v1/pricesPublicSandbox + liveList prices
Return cached token USD prices.
When to use it
Use for informational displays, not as the sole source of accounting truth.
Common errors
- 400: Payload shape, query params, or business-state validation failed.
Sample response
json{
"data": [
{
"symbol": "USDC",
"usd": "1.000000000000000000",
"source": "coingecko",
"stale": false
}
]
}cURL example
bashcurl -X GET "https://api.paychainhq.io/api/v1/prices" \
-H "Content-Type: application/json"Node.js example
tsconst response = await fetch('https://api.paychainhq.io/api/v1/prices', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
},
});
const payload = await response.json();
console.log(payload);