WhyUs

Developers

Developer API

Public read-only data for WhyUs launches, platform configuration and confirmed revenue. JSON over HTTPS, CORS enabled, no API key required.

https://app.whyus.funChecking…

Quick start

shell
curl -s https://app.whyus.fun/api/public/data \
  -H "Accept: application/json"

Endpoints

GET/api/public/data

Launches, platform settings and confirmed revenue

Up to 100 indexed WhyUs launches, the public platform settings and up to 100 confirmed revenue records. Cached for 30 seconds.

Open live
network
string
Always solana-mainnet.
launches[]
object
Up to 100 indexed launches: id (mint), pool_id, creator, signature, created_at and metadata (name, symbol, image, quote, quoteMint).
settings
object
Public platform configuration: platform_id, platform_mint, graduation, creator_share_pct, buyback_pct, paused. Contains no wallets or keys.
revenue[]
object
Up to 100 confirmed records: signature, kind (platform_fee, buyback, …), mint, amount and created_at.
json
{
  "network": "solana-mainnet",
  "launches": [
    {
      "id": "<mint>",
      "pool_id": "<pool>",
      "creator": "<wallet>",
      "signature": "<launch tx>",
      "created_at": "2026-01-01T00:00:00Z",
      "metadata": { "name": "…", "symbol": "…", "image": "…", "quote": "SOL", "quoteMint": "…" }
    }
  ],
  "settings": {
    "platform_id": "<WhyUs platform>",
    "platform_mint": "<platform token or empty>",
    "graduation": 85,
    "creator_share_pct": 60,
    "buyback_pct": 40,
    "paused": false
  },
  "revenue": [{ "signature": "…", "kind": "platform_fee", "mint": "…", "amount": 0.42, "created_at": "…" }]
}
GET/api/public/pump

Live launch feed and token chart candles

Without parameters it returns the indexed launches from the last 12 hours with market caps, 5m activity and pool addresses. Pass ?mint=<address> or ?pool=<address> for one token plus its OHLCV candles, optionally with range=15s|30s|1m|5m|15m|1H|4H|1D (15s and 30s are painted from the live price sampler). Add from=<unix|ISO date> and to=<unix|ISO date> to read the stored candles for that date range instead of the live window.

Open live
GET/api/public/media?path=<storage path>

Token artwork and metadata JSON

Serves uploaded token artwork and metadata JSON referenced by each launch. Paths are returned inside launch metadata, so use those URLs directly rather than building your own.

GET/api/public/dex

Tokens listed on dex.whyus.fun

Every indexed token whose on-chain liquidity reaches 50 SOL, newest listings first by depth. Includes the SOL/USD price used for the SOL conversion, so a consumer can reproduce the listing rule.

GET/api/public/trades?mint=<address>

Realtime swap feed for one token

Indexed buy and sell events for the token's most active pool, newest first and cached for a few seconds. Pass ?pool=<address> to pin a specific pool. Each row carries the transaction signature for the on-chain scanner.

GET/api/public/token-info?mint=<address>

Token artwork, description and social links

Merges the launch's own metadata with its indexed market record and returns deduplicated social links. Cached for five minutes.

POST/api/public/rpc

Solana JSON-RPC proxy

JSON-RPC proxy to Solana mainnet for the methods WhyUs needs. Requests larger than 100 KB or with more than 50 calls are rejected; unsupported methods return 400.

RPC methods

/api/public/rpc forwards only these methods to Solana mainnet.

getAccountInfogetMultipleAccountsgetLatestBlockhashgetTokenAccountsByOwnergetBalancegetSlotgetEpochInfogetSignatureStatusesgetTransactiongetSignaturesForAddresssimulateTransactionsendTransactiongetMinimumBalanceForRentExemptiongetTokenAccountBalancegetRecentPrioritizationFeesgetBlockHeight

Conventions and limits

  • All responses are JSON. Errors return a message field with a 4xx/5xx status.
  • Responses are cached for 30 seconds; poll no faster than once per minute.
  • Launch records are proof-of-launch metadata only: registering a launch requires a confirmed on-chain transaction whose pool matches the WhyUs platform ID.
  • Launches, trades and creator claims are wallet-signed Solana transactions. This API cannot spend funds or change settings.
  • Graduation targets and the platform ID are read from the on-chain platform configuration shown on the revenue page.
  • RPC batches are limited to 50 calls and 100 KB per request.
  • Responses never include protocol or fee wallet addresses, private keys or service credentials.

Status codes

400
Invalid media path, invalid JSON body, or an unsupported RPC method.
404
The requested artwork or metadata path does not exist.
413
RPC request body is larger than 100 KB.
503
Platform data is temporarily unavailable.