YAPFI
Reference

API reference

Public JSON endpoints for campaigns, markets, pump.fun data and bagworkers.

These endpoints are public and return JSON. They are the same ones the app uses. Endpoints that change data require a signed-in session cookie and are not listed here.

EndpointReturns
GET /api/campaignsLive campaigns with market data, pool value and payment record
GET /api/campaigns/:slugOne campaign with its tasks and recent verified posts
GET /api/market/:mintLive price, 24h change, volume, liquidity and logo for a token
GET /api/pump/:mintBonding curve progress, graduation and creator rewards
GET /api/pump/radarpump.fun tokens ranked by one-hour change
GET /api/leaderboardBagworkers ranked by earnings
GET /api/activityLatest launches, verified posts and on-chain payouts

Example

curl https://your-domain/api/pump/<mint>

{
  "pump": {
    "mint": "...",
    "progress": 0.83,
    "graduated": false,
    "curveSol": 47.31,
    "creator": "...",
    "creatorRewardsSol": 0.0917
  }
}

Market and on-chain figures are cached for about a minute.