$LUXRASYNCING
REFERENCE

Public API

Every page on Luxra is built from the endpoints below. They are open: no key, no sign-up, JSON in and out, and any origin may call them from a browser. They read public data and store nothing about the caller.

Endpoints

GET /api/risk?mint=<mint>
Risk Visibility report: rules with inputs and sources, pools, index figures.
20 / min, cached 60 s per mint
GET /api/quote?in=<mint>&out=<mint>&amount=<decimal>&slippageBps=<1-500>
Six route quotes for one trade. Quotes only.
about 10 / min, cached 20 s
GET /api/pools?list=trending|top
Trending or top-volume Solana pools.
60 / min, cached 60 s
GET /api/pools?addresses=<pool>,<pool>
Up to 30 pools by address.
60 / min, cached 30 s
GET /api/pool?address=<pool>
One pool with 30 daily candles when available.
30 / min, cached 2 min
GET /api/ladder?pair=sol|jup|bonk
Fill cost at eight sizes against a $100 trade.
30 / min, cached 10 min
GET /api/ladder?in=<mint>&out=<mint>
The same ladder for any pair.
6 per 10 min, cached 10 min
GET /api/search?q=<text>
Token lookup by symbol, name or mint.
60 / min, cached 60 s
GET /api/tokens?mints=<mint>,<mint>
Symbols, decimals, reference prices for up to 50 mints.
30 / min, cached 60 s
GET /api/chain
SOL price, slot, transactions per second, epoch, a recent blockhash.
120 / min, cached 20 s

Examples

RISK REPORT
curl -s "https://luxra.online/api/risk?mint=JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN" | jq '.summary'
ROUTE COMPARISON
curl -s "https://luxra.online/api/quote?in=So11111111111111111111111111111111111111112&out=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&amount=25&slippageBps=50" \
  | jq '.rows[] | {label, outAmount, vsBestBps, error}'
TOP POOLS
curl -s "https://luxra.online/api/pools?list=top" | jq '.rows[:5][] | {name, dex, liquidityUsd, volume24h}'

Errors and limits

  • 400 means the request itself is wrong: a bad address, an amount with too many decimals, a slippage outside 1 to 500 bps. The body says which.
  • 404 on /api/risk means the address exists but is not a token mint.
  • 429 means you passed the per-network limit for that endpoint. Wait a minute.
  • 503 means a public source behind the endpoint did not answer. Nothing is guessed; try again shortly.

Limits exist so the free public sources behind Luxra stay usable for everyone. For heavy or automated use, read the same sources directly; the rules on the Risk rules page are simple enough to run yourself.