Skip to content
Open app ↗

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.

The network’s name, RPC URL, program addresses, fees (in basis points) and stealth tiers.

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).

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.

Whether a symbol is free to launch: { "symbol": "QFOX", "available": false, "freeAt": 1795706400, "mint": "…", "lockSeconds": 3600 }. freeAt is in unix seconds.

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.

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.

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.

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.

The SOL balance of an address, in lamports.

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.

The bridge transfers made by one transaction, deposit or withdrawal: amount, fee, recipient, status (pending, manual, sending, paid, rejected) and the payout signature.

The SOL an address holds on Solana mainnet, in lamports, read through the bridge. The deposit form uses it for its Max button.

A recent Solana mainnet blockhash, so a site can build a deposit that the wallet signs and sends. Cached for 5 seconds.

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.

{ "ready": true, "network": "testnet", "slot": "…" }, or 503.