ReferenceDevelopers
API
The public HTTP API of Prilius, for tokens, quotes and the stealth plan.
https://api.prilius.xyz is open, with no key. Amounts are integers in strings: lamports for SOL, base units for tokens (6 decimals). Reads are limited to 10 requests a second per IP (bursts of 30); a 429 carries Retry-After.
GET /v1/network
Section titled “GET /v1/network”The network’s name, RPC URL, program addresses, fees (in basis points) and stealth tiers.
GET /v1/tokens
Section titled “GET /v1/tokens”Every token launched on the launchpad, with its curve.
{ "tokens": [{ "mint": "VspPLeCHahevTF6PFs2ZQfmiGJfkEYBtTpKuyedjPZn", "name": "Site Signed Test", "symbol": "SIGNT", "creator": "4kk3…tb1x", "uri": "https://api.prilius.xyz/v1/metadata/….json", "complete": false, "virtualTokenReserves": "…", "virtualSolReserves": "…", "realTokenReserves": "…", "priceLamportsPerToken": "28"}] }Tokens that reuse a symbol less than an hour after the first token with it are left out (see copycatOf below).
GET /v1/tokens/:mint
Section titled “GET /v1/tokens/:mint”One token, or 404. copycatOf holds the mint of the first token with the same symbol when this one reused it within the hour, otherwise null.
GET /v1/tickers/:symbol
Section titled “GET /v1/tickers/:symbol”Whether a symbol is free to launch: { "symbol": "QFOX", "available": false, "freeAt": 1795706400, "mint": "…", "lockSeconds": 3600 }. freeAt is in unix seconds.
GET /v1/trades?window=1h
Section titled “GET /v1/trades?window=1h”Curve buys and sells of the last 5m, 15m, 1h, 4h or 24h, newest first: signature, mint, token name and symbol, side, lamports, tokens, trader address, time (unix seconds), slot and the curve’s virtual reserves after the trade. This feeds prilius.xyz/trades.
GET /v1/quote
Section titled “GET /v1/quote”Query: mint, side (buy or sell), amount (lamports to spend, or tokens to sell), slippageBps (0 to 5000, default 100).
A buy returns solIn, tokensOut, minTokensOut, feeLamports; a sell returns tokensIn, solOut, minSolOut, feeLamports. A token whose curve is complete answers 409: it trades on PumpSwap.
POST /v1/stealth/plan
Section titled “POST /v1/stealth/plan”Body: { "lamports": "1000000000" }. Splits an amount into ring tiers, each with a random delay:
{ "plannedLamports": "1000000000", "remainderLamports": "0", "steps": [{ "lamports": "1000000000", "delaySeconds": 412 }] }Below the smallest tier (0.1 SOL), it answers 400.
GET /v1/stats
Section titled “GET /v1/stats”Public stats, refreshed every minute: tokens launched and migrated, trades and volume over 24 hours, the revenue waiting in the eight buyback accounts to buy PRILIUS, PRILIUS burned once it is live, and the bridge. Only organic activity, read on-chain. Shown on prilius.xyz/stats.
GET /v1/balances/:address
Section titled “GET /v1/balances/:address”The SOL balance of an address, in lamports.
GET /v1/bridge
Section titled “GET /v1/bridge”The bridge between Solana and the Prilius Chain: open or not, its rules (fee, minimum, caps per withdrawal and per day), the deposit address on Solana, the withdrawal address on the Prilius Chain, and the reserves on both sides, read on-chain.
GET /v1/bridge/transfers/:signature
Section titled “GET /v1/bridge/transfers/:signature”The bridge transfers made by one transaction, deposit or withdrawal: amount, fee, recipient, status (pending, manual, sending, paid, rejected) and the payout signature.
GET /v1/bridge/solana-balance/:address
Section titled “GET /v1/bridge/solana-balance/:address”The SOL an address holds on Solana mainnet, in lamports, read through the bridge. The deposit form uses it for its Max button.
GET /v1/bridge/blockhash
Section titled “GET /v1/bridge/blockhash”A recent Solana mainnet blockhash, so a site can build a deposit that the wallet signs and sends. Cached for 5 seconds.
POST /v1/metadata
Section titled “POST /v1/metadata”Stores a launch image and its metadata JSON, and returns the uri to put in the launch transaction. Used by prilius.xyz/launch; limited to a few per IP. Answers 409 when the symbol was launched less than an hour ago, and holds the symbol for 10 minutes for the uploader while the launch is signed.
GET /v1/health/ready
Section titled “GET /v1/health/ready”{ "ready": true, "network": "testnet", "slot": "…" }, or 503.