Most ANVL endpoints are publicly accessible without authentication. Authenticated endpoints (marked 🔒 AUTH REQUIRED) require a valid session obtained via wallet signature — connect your wallet on anvl.site to get started.
All responses are JSON. Errors return a standard shape: { "error": "message" }
# Example: fetch a token price from ANVL's DexScreener proxy
curl "https://anvl.site/api/dexscreener?chain=BSC&address=0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095"
# Response
{
"pairs": [{ "priceUsd": "185.42", "volume": { "h24": 94200000 }, ... }]
}Exceeding limits returns HTTP 429. These are best-effort limits — heavy abuse may result in IP blocks. For production integrations with higher needs, reach out at dev@anvl.site.
Fetch token pair data from DexScreener. Returns price, liquidity, volume, and price change data.
curl "https://anvl.site/api/dexscreener?chain=BSC&address=0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095"
{
"pairs": [
{
"priceUsd": "185.42",
"liquidity": { "usd": 12480000 },
"volume": { "h24": 94200000 },
"priceChange": { "h24": 2.14 }
}
]
}Search for tokens by name, symbol, or address across DexScreener's index.
curl "https://anvl.site/api/dexscreener/search?q=BONK"
Get a swap quote routed through Jupiter v6. Returns best output amount, route plan, and price impact.
curl "https://anvl.site/api/jupiter/quote?inputMint=So111...&outputMint=EPjF...&amount=1000000000&slippageBps=50"
{
"outAmount": "1000234",
"priceImpactPct": "0.12",
"routePlan": [
{ "swapInfo": { "label": "Raydium" } }
],
"otherAmountThreshold": "995230"
}Build a serialized swap transaction from a Jupiter quote. Returns a base64-encoded VersionedTransaction ready to sign.
curl -X POST "https://anvl.site/api/jupiter/swap" \
-H "Content-Type: application/json" \
-d '{ "quoteResponse": {...}, "userPublicKey": "BjNR...Dz5Y" }'{
"swapTransaction": "<base64-encoded versioned transaction>"
}Look up a Solana token by mint address using Jupiter's verified token list.
curl "https://anvl.site/api/jupiter/token?mint=JUPy..."
{
"address": "JUPy...",
"symbol": "JUP",
"name": "Jupiter",
"decimals": 6,
"logoURI": "https://..."
}Returns aggregate platform statistics — total projects created, wallets connected, and swap volume.
curl "https://anvl.site/api/stats"
{
"projects": 1420,
"wallets": 3812,
"swapVolume": 142000
}Live ticker data for the $ANVL token — price, 24h change, and market cap.
curl "https://anvl.site/api/ticker"
{
"symbol": "ANVL",
"priceUsd": "0.00042",
"change24h": 12.4,
"marketCap": 420000
}Returns the authenticated user's Forge profile — XP, tier, crafted items, and quest progress.
curl "https://anvl.site/api/forge/me" \ -H "Authorization: Bearer <session_token>"
{
"wallet": "BjNR...Dz5Y",
"xp": 2400,
"tier": "IRON",
"questsCompleted": 7
}Top wallets ranked by XP and crafting activity on the Forge.
curl "https://anvl.site/api/forge/leaderboard"
Official TypeScript SDK and community-maintained wrappers are in progress. Follow @anvlproject for release updates. In the meantime, all endpoints are standard HTTP REST — use fetch, axios, or curl directly.
// TypeScript — fetch a Jupiter quote
const params = new URLSearchParams({
inputMint: "So11111111111111111111111111111111111111112",
outputMint: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
amount: "1000000000",
slippageBps: "50",
});
const res = await fetch(`https://anvl.site/api/jupiter/quote?${params}`);
const data = await res.json();
console.log(data.outAmount); // USDC base unitsOpen an issue on GitHub or reach us at dev@anvl.site