API Reference
Token Aggregated
Combined price, metadata, and risk
Returns a single payload combining price, metadata, and risk.
If the token has a bonding-curve / launchpad pool, bondingCurvePercent is included (0-100).
Endpoint#
GET /token/aggregated/:tokenAddress
Request (curl)#
curl -H "x-api-key: YOUR_KEY" \
https://us-east.dritan.dev/token/aggregated/So11111111111111111111111111111111111111112
Request (TypeScript, SDK)#
import { DritanClient } from "dritan-sdk";
const client = new DritanClient({ apiKey: "YOUR_KEY" });
const res = await client.getTokenAggregated("So11111111111111111111111111111111111111112");
console.log(res.price.priceUsd, res.metadata?.name, res.risk?.top10);
Response#
{
"mint": "So11111111111111111111111111111111111111112",
"price": {
"mint": "...",
"dex": "damm2",
"priceUsd": 0.0123,
"marketCap": 1234567,
"liquiditySol": 42.0
},
"metadata": {
"mint": "...",
"name": "...",
"symbol": "...",
"decimals": 6
},
"risk": {
"top10": 19.5,
"devPercentage": 1.0
},
"bondingCurvePercent": 62.5
}