{
 "openapi": "3.1.0",
 "info": {
  "termsOfService": "https://pumpdata.fun/terms",
  "title": "pumpdata.fun",
  "version": "0.4.0",
  "summary": "Every pump.fun trade, ever, for trading agents, by the call.",
  "description": "Every pump.fun trade since pump.fun's first day, bonding curve and PumpSwap, every mint (including those whose address does not end in \"pump\"), every balance change, and each wallet's record over the whole history. Free to start: every lookup call has a free path, /free/<path> (30 calls every five minutes and 300 a day per IP, no key, no payment, and 2,000 wallet lookups a day; past the day's wallets or a key's day, a 402 with the price and the reason). Paid per call in USDC over x402 on Solana; no account; or a free API key, no daily cap across /baserate, /wallets, /launch, /similar and /deployer (header x-api-key; sign up at https://pumpdata.fun/keys?utm_source=openapi). /replay is always paid. Every call answers. Not affiliated with pump.fun. Plain-text overview at /llms.txt. Point in time: a launch's deployer record and look-alikes are as of its launch, a base-rate peak is measured over the three hours after the crossing, so backtests conditioned on them have no lookahead; fields about now say so in their names. Freshness of every layer: https://pumpdata.fun/status; how each field is made: https://pumpdata.fun/methodology.",
  "contact": {
   "email": "support@pumpdata.fun"
  },
  "x-status": "live",
  "x-payment": {
   "protocol": "x402",
   "asset": "USDC",
   "network": "solana"
  },
  "x-discovery": {
   "wellKnown": "https://pumpdata.fun/.well-known/x402"
  }
 },
 "servers": [
  {
   "url": "https://pumpdata.fun",
   "description": "live: every call answers here, paid per call (x402). Every answer carries X-Data-From and X-Data-As-Of."
  }
 ],
 "paths": {
  "/wallets": {
   "post": {
    "operationId": "wallet_records",
    "summary": "Fetch what these wallets have been, since day one",
    "description": "Up to 50 wallet addresses in, and optionally the coin they are buying; for each, its class by rule (winner, bot, supply_seller, net_loser, new, none) and the numbers behind it: SOL put in and taken out, coins traded, first seen. Records run to the last weekly build and are filled from the live recorder since; the build's date is in the X-Data-As-Of header. $0.01 a call.",
    "x-price-usd": 0.01,
    "x-payment-info": {
     "protocols": [
      "x402"
     ],
     "price": {
      "mode": "fixed",
      "currency": "USD",
      "amount": "0.01"
     }
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "required": [
         "addresses"
        ],
        "properties": {
         "addresses": {
          "type": "array",
          "minItems": 1,
          "maxItems": 50,
          "items": {
           "type": "string",
           "description": "a Solana wallet address, base58"
          }
         },
         "mint": {
          "type": "string",
          "description": "the coin these wallets are buying, base58; new means no record before its creation. Without it, new means no record before today (UTC)"
         }
        }
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "one record per address",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "additionalProperties": {
          "$ref": "#/components/schemas/WalletRecord"
         }
        }
       }
      }
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     }
    }
   }
  },
  "/launch/{mint}": {
   "get": {
    "operationId": "launch_record",
    "summary": "Fetch this launch's record, historically",
    "description": "The deployer's record (launches, graduations, best run, gaps), the bundle at creation, the supply insiders hold, how far along the curve it is; then the launches that looked the same at the same age, graduated or dead, and how they went over the next day, as a spread. Mints minutes old answer from the live recorder. $0.005 a call.",
    "x-price-usd": 0.005,
    "x-payment-info": {
     "protocols": [
      "x402"
     ],
     "price": {
      "mode": "fixed",
      "currency": "USD",
      "amount": "0.005"
     }
    },
    "parameters": [
     {
      "name": "mint",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "the token's mint address, base58",
      "example": "D27Lb9LA6D4dFpogGoXMXvZYkRsZ7UuctxAFpFQ3pump"
     }
    ],
    "responses": {
     "200": {
      "description": "the launch and its matches",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/LaunchRecord"
        }
       }
      }
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "404": {
      "description": "no such mint in the warehouse"
     }
    }
   }
  },
  "/baserate": {
   "get": {
    "operationId": "base_rate",
    "summary": "Get how often it happens anyway in a market-cap band",
    "description": "How many coins first traded inside a market-cap band in a window, how many of those then reached 2x, 5x, 10x and 20x within 3 h, and the median peak. A crossing is a coin's first trade with a market cap inside the band (a coin that jumps over the band in one trade has none); the peak is the highest market cap, curve or pool, in the 3 h after it; USD is at the SOL price of the trade's hour. The check to run before believing a winners-only screenshot, or your own agent. $0.005 a call.",
    "x-price-usd": 0.005,
    "x-payment-info": {
     "protocols": [
      "x402"
     ],
     "price": {
      "mode": "fixed",
      "currency": "USD",
      "amount": "0.005"
     }
    },
    "parameters": [
     {
      "name": "band",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "pattern": "^[0-9]+k-[0-9]+k$",
       "examples": [
        "15k-28k"
       ]
      },
      "description": "market cap band in USD; each edge snaps to the nearest of 5k, 10k, 15k, 20k, 28k, 40k, 60k, 100k, 250k, 1000k, and the answer says the band it used"
     },
     {
      "name": "from",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "format": "date-time"
      }
     },
     {
      "name": "to",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "format": "date-time"
      },
      "description": "crossings up to here count; at most 31 days after from (split a longer window: 400 window_too_long); each needs its 3 h after, so a window ending under 3 h before the data's as-of (X-Data-As-Of) is cut there"
     },
     {
      "name": "venue",
      "in": "query",
      "schema": {
       "type": "string",
       "enum": [
        "curve",
        "pool",
        "any"
       ],
       "default": "any"
      },
      "description": "curve crossings are held from 10 Mar 2025, pool crossings from 15 Jul 2026 (any = the earliest of either per coin); the answer's X-Data-From header says where its venue begins, and a window starting earlier is clamped, with a note in the body"
     }
    ],
    "responses": {
     "200": {
      "description": "the crossings and what became of them",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/BaseRate"
        }
       }
      }
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "404": {
      "description": "no data for that window (it ends before the venue's X-Data-From); nothing is charged"
     }
    }
   }
  },
  "/deployer/{address}": {
   "get": {
    "operationId": "deployer_record",
    "summary": "Fetch a deployer's record and its next launch's base rate, no coin needed",
    "description": "The deployer's launches, graduations, best first-day peak, the gap between its last two launches and its last launch (the weekly tables plus the live recorder); over the last 90 days, its launches measured at minute five and how many doubled, did 10x, held at 2x at the close of the day or were dead; its ten newest launches; and the base rate for its next launch: launches of the last 90 days whose deployer had the same record bucket. A wallet with no launches gets the first-launch base rate. Facts, no score. $0.005 a call.",
    "x-price-usd": 0.005,
    "x-payment-info": {
     "protocols": [
      "x402"
     ],
     "price": {
      "mode": "fixed",
      "currency": "USD",
      "amount": "0.005"
     }
    },
    "parameters": [
     {
      "name": "address",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "the deployer's wallet address, base58",
      "example": "7ufmve7ZSFCzuNcKRunYrGtyb2Ka1MXzkWwf7jZhVsmL"
     }
    ],
    "responses": {
     "200": {
      "description": "the record",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DeployerRecord"
        }
       }
      }
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     }
    }
   }
  },
  "/similar/{mint}": {
   "get": {
    "operationId": "similar_launches",
    "summary": "Fetch the launches most like this one, and how each went",
    "description": "The comparables: the same deployer's prior launches first, then the nearest launches of the last 90 days in this coin's /launch bucket (the deployer's launches and graduations, the first-10 s buyers, the insiders' share and the curve progress at minute 5), each named with its mint, when it launched, its state at 5 min, how it went over the 24 h after (peak, close, dead or graduated) and a sentence on why it is similar. Only launches whose 24 h window is complete. Not a prediction. $0.005 a call.",
    "x-price-usd": 0.005,
    "x-payment-info": {
     "protocols": [
      "x402"
     ],
     "price": {
      "mode": "fixed",
      "currency": "USD",
      "amount": "0.005"
     }
    },
    "parameters": [
     {
      "name": "mint",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "the token's mint address, base58",
      "example": "D27Lb9LA6D4dFpogGoXMXvZYkRsZ7UuctxAFpFQ3pump"
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 25,
       "default": 10
      },
      "description": "comparables to return"
     }
    ],
    "responses": {
     "200": {
      "description": "the comparables",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SimilarLaunches"
        }
       }
      }
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     },
     "404": {
      "description": "no such mint, or no curve reading to place it by"
     }
    }
   }
  },
  "/replay": {
   "post": {
    "operationId": "replay",
    "summary": "Run your picks through an honest replay, dead coins counted",
    "description": "Picks with timestamps and sizes in; what they made, pick by pick and in sum, every pick counted, the dead ones included, filled at the PumpSwap pool as it stood after your latency, with every fee, the fixed costs and the bankroll you set. The most recent eight weeks come back apart from the rest, once per rule to each payer; a changed rule reads them again, so the result counts this payer's reads. A run is a queued job: 202 with an id, then GET /replay/{id}. $2 a run; a run that fails is rerun free on the same id. Today: up to 500 picks a run (split a larger list), on coins that reached the pool (graduates); bonding-curve picks, and picks outside the archive, are counted in skipped_not_covered (each with its reason in by_pick[].skipped) until curve fills ship.",
    "x-price-usd": 2,
    "x-payment-info": {
     "protocols": [
      "x402"
     ],
     "price": {
      "mode": "fixed",
      "currency": "USD",
      "amount": "2"
     }
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "required": [
         "picks"
        ],
        "properties": {
         "picks": {
          "type": "array",
          "description": "your picks: each a coin, when your rule decided, and the size in SOL",
          "minItems": 1,
          "maxItems": 500,
          "items": {
           "type": "object",
           "required": [
            "mint",
            "at",
            "size_sol"
           ],
           "properties": {
            "mint": {
             "type": "string",
             "description": "the coin's mint address, base58"
            },
            "at": {
             "type": "string",
             "format": "date-time",
             "description": "when your rule decided"
            },
            "size_sol": {
             "type": "number",
             "exclusiveMinimum": 0,
             "description": "the size of the buy, in SOL"
            }
           }
          }
         },
         "latency_s": {
          "type": "number",
          "default": 3,
          "description": "seconds from the decision to the fill"
         },
         "bankroll_sol": {
          "type": "number",
          "description": "SOL at risk at once; a pick with no room is skipped"
         },
         "exit": {
          "type": "object",
          "description": "take (x the entry), trail (share off the high), hold (seconds); any combination",
          "properties": {
           "take": {
            "type": "number"
           },
           "trail": {
            "type": "number"
           },
           "hold_s": {
            "type": "integer"
           }
          }
         }
        }
       }
      }
     }
    },
    "responses": {
     "202": {
      "description": "queued",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ReplayJob"
        }
       }
      }
     },
     "402": {
      "$ref": "#/components/responses/PaymentRequired"
     }
    }
   }
  },
  "/replay/{id}": {
   "get": {
    "operationId": "replay_result",
    "summary": "Fetch a replay's state and its result",
    "description": "The job's state, and its result once done. Free; the id is the receipt.",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "the replay id that POST /replay returned with its 202"
     }
    ],
    "responses": {
     "200": {
      "description": "the job, with the replay once done and the execution model it charged",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ReplayJob"
        }
       }
      }
     },
     "404": {
      "description": "no such job"
     }
    }
   }
  },
  "/wallets/top": {
   "get": {
    "operationId": "walletsTop",
    "summary": "The wallet leaderboard: pump.fun winners ranked by what copying them would have made",
    "description": "Free. Class winner (10+ SOL and 1%+ more out than in over 20+ coin-weeks) and traded in the tables' last ~20 days. Ranked by the wallet's own profit (own_rank). sort=copyable ranks on what a follower 1 slot behind would have made, from a build that charges PumpSwap's fee at the coin's market-cap tier; until one ships (withdrawn Oct 31: the Oct 30 replays charged the pool's 0.3% floor, and at the real fees copying lost) it answers in the own order without follower results. followable=1 keeps the ones a person can keep up with: under 20 trades a day, a median hold of 2 minutes or more, under half its trades fast. Rebuilt with the daily tables; cached an hour.",
    "parameters": [
     {
      "name": "limit",
      "in": "query",
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 100,
       "default": 25
      }
     },
     {
      "name": "followable",
      "in": "query",
      "schema": {
       "type": "string",
       "enum": [
        "1"
       ]
      }
     },
     {
      "name": "sort",
      "in": "query",
      "description": "own (default): by the wallet's own profit; copyable: by a follower's net SOL 1 slot behind, once a build charges PumpSwap's real fees (until then, own)",
      "schema": {
       "type": "string",
       "enum": [
        "copyable",
        "own"
       ],
       "default": "copyable"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "{wallets: [{rank, own_rank, address, class, why, pnl_sol, put_in, took_out, coins, first_seen, recent, followable, follower: {delay_1, delay_3, delay_8: {copies, closed, open, net_closed_sol, win_share, median_return}}}], total, followable_only, sort, follower_rules: {epochs, size_sol, fees, delays_slots, ranked_on, how}}"
     },
     "503": {
      "description": "the tables file has no leaderboard yet (it arrives with the next daily build)"
     }
    }
   }
  },
  "/launches/{day}.json": {
   "get": {
    "operationId": "launchesOfDay",
    "summary": "Every pump.fun launch of a UTC day, with what was known at each launch (free)",
    "description": "Free, no key. Every launch of the UTC day from the deep tables: mint, creation time, creator, the deployer's record before it (launches, graduations, the gap to its previous launch, launches in the day before), the buyers and bundle share in its first 10 seconds, and migrated_at if it reached PumpSwap (a later fact: use it only at or after that time). Rows are arrays in the order of columns. A backtest's candidate list: every coin a rule could have seen. Today and the two UTC days before it, today filled hourly: complete and complete_to say how far a day goes. An older day answers 404 out_of_window with first_day (every day is in the bulk data); a day not started yet, 404 not_built_yet with latest_day.",
    "parameters": [
     {
      "name": "day",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      },
      "example": "2026-10-20"
     }
    ],
    "responses": {
     "200": {
      "description": "{day, complete, complete_to, tables_as_of, recorder_filled_to, count, columns: [mint, created, creator, deployer_launches_before, deployer_graduations_before, deployer_gap_s, deployer_launches_last_day, buyers_first_10s, bundle_supply_share, migrated_at], note, launches: [[...]]}"
     },
     "404": {
      "description": "out_of_window (older than the last three UTC days; first_day says where the list starts), or not_built_yet (a day not started yet; latest_day)"
     }
    }
   }
  },
  "/graduations/{day}.json": {
   "get": {
    "operationId": "graduationsOfDay",
    "summary": "Every pump.fun graduation of a UTC day, with seconds from launch to graduation (free)",
    "description": "Free, no key. Every coin whose bonding curve completed in the UTC day: mint, creation time, graduated_at, graduated_after_s (graduated_at - created), same_second (the curve completed within a second of its create: bought whole at launch, 38% of graduations from Jul 21 to Oct 30 2026, one buy of 85 SOL, mostly by the deployer's own wallet), the creator, the deployer's launches and graduations before this launch, the buyers and bundle share in its first 10 seconds and the biggest first-10-second buyer's share. Rows are arrays in the order of columns. The day's summary: count, same_second and its share, the median seconds to graduate (all, and without the same-second ones), and top_deployers (the deployers with the most graduations that day and how many were same-second). Today and the two UTC days before it, today filled hourly: complete and complete_to say how far a day goes. An older day answers 404 out_of_window with first_day; a day not started yet, 404 not_built_yet with latest_day.",
    "parameters": [
     {
      "name": "day",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      },
      "example": "2026-10-30"
     }
    ],
    "responses": {
     "200": {
      "description": "{day, complete, complete_to, tables_as_of, recorder_filled_to, count, same_second, same_second_share, median_graduated_after_s, median_graduated_after_s_not_same_second, top_deployers: [{address, graduations, same_second}], columns: [mint, created, graduated_at, graduated_after_s, same_second, creator, deployer_launches_before, deployer_graduations_before, buyers_first_10s, bundle_supply_share, top_buyer_share], note, graduations: [[...]]}"
     },
     "404": {
      "description": "out_of_window (older than the last three UTC days; first_day says where the list starts), or not_built_yet (a day not started yet; latest_day)"
     }
    }
   }
  },
  "/coin": {
   "get": {
    "operationId": "find_coin",
    "summary": "Find the coins a ticker or name means, with their mints (free)",
    "description": "The pump.fun coins whose ticker or name matches q, case-insensitive, newest first: the mint (contract address), name, ticker, creation, deployer with their launches and graduations, whether it graduated, the market cap at five minutes and the first-day peak. A mint as q returns that coin's name. Every coin that completed its bonding curve (about 300K); a coin still on its curve is not here. Free, per-IP limited; resolve a name here, then GET /launch/{mint}.",
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "maxLength": 64
      },
      "description": "a ticker ($KIMCHI or KIMCHI), a name, or a mint",
      "example": "KIMCHI"
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 100,
       "default": 20
      }
     }
    ],
    "responses": {
     "200": {
      "description": "the matching coins, newest first",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CoinMatches"
        }
       }
      }
     },
     "400": {
      "description": "q missing or over 64 characters"
     },
     "429": {
      "description": "too many from this IP; try later"
     }
    }
   }
  },
  "/ticker/{symbol}.json": {
   "get": {
    "operationId": "ticker_crowd",
    "summary": "One ticker's crowd: its recent launches by day, the first and the graduates of each, every graduate ever (free)",
    "description": "For a ticker, case-insensitive: its launches over the last three days grouped by UTC day (at most 200; capped says so), each day's first launch and the coins that graduated with launched_after_first_s, how many launched in the last two hours, its launches and deployers over 14 days (with how many of those deployers sell their own coins within 10 seconds), and every coin with the ticker that ever completed its bonding curve, the first and the biggest named (from the daily tables, two days behind). Free, per-IP limited; cached a minute.",
    "parameters": [
     {
      "name": "symbol",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "maxLength": 32
      },
      "description": "the ticker, $ optional",
      "example": "KIMCHI"
     }
    ],
    "responses": {
     "200": {
      "description": "the ticker's crowd",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ticker": {
           "type": "string"
          },
          "launched_last_2h": {
           "type": [
            "integer",
            "null"
           ]
          },
          "recent_days": {
           "type": "object",
           "description": "days, launches, capped, by_day [{day, launches, deployers, first {mint, created, deployer}, graduated, graduates [{mint, created, graduated_at, launched_after_first_s, was_first}]}], launches_newest_first"
          },
          "last_14_days": {
           "type": [
            "object",
            "null"
           ],
           "description": "days, launches, deployers, deployers_sell_fast, deployers_checked, from, to"
          },
          "graduates_ever": {
           "type": "object",
           "description": "count, first, biggest (peak_day1_usd), latest (up to 10)"
          },
          "as_of": {
           "type": "string"
          }
         }
        }
       }
      }
     },
     "400": {
      "description": "no ticker, or over 32 characters"
     },
     "429": {
      "description": "too many from this IP; try later"
     }
    }
   }
  },
  "/trending.json": {
   "get": {
    "operationId": "trending",
    "summary": "The coins with the most SOL flowing in over the trailing window, new and hot (free)",
    "description": "Ranked by net SOL in (buys minus sells, SOL-quoted trades, curve and PumpSwap) over the trailing window, among coins with 10+ trades in it whose first-10-second buyers took under 30% of the supply, with under 30% of trades under 0.01 SOL, a pool holding 1%+ of the supply when on PumpSwap, no sale of 30%+ of the supply in one block and no launch-slot buyout. new: launched inside the window, bonding curve not finished; hot: any age. Refreshed every 30 s; cached 30 s. The answer carries rule, backtest and note. Not a recommendation.",
    "parameters": [
     {
      "name": "window",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "1h",
        "6h",
        "12h"
       ],
       "default": "6h"
      }
     },
     {
      "name": "lane",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "new",
        "hot",
        "both"
       ],
       "default": "both"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 50,
       "default": 10
      }
     }
    ],
    "responses": {
     "200": {
      "description": "the lists",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "as_of": {
           "type": "string"
          },
          "window": {
           "type": "string"
          },
          "sol_usd": {
           "type": [
            "number",
            "null"
           ]
          },
          "window_complete": {
           "type": "boolean"
          },
          "new": {
           "type": "array",
           "items": {
            "type": "object",
            "description": "mint, name, symbol, created, age_min, market_cap_sol_now, market_cap_usd_now, venue_now, net_sol, net_sol_1h, buy_sol, sell_sol, buyers_in_window (the distinct wallets that bought in the window, sellers since included; not holders), trades, largest_buy_sol, early_concentration_share, dust_share, graduated, last_trade"
           }
          },
          "hot": {
           "type": "array",
           "items": {
            "type": "object"
           }
          },
          "rule": {
           "type": "string"
          },
          "backtest": {
           "type": "object"
          },
          "note": {
           "type": "string"
          }
         }
        }
       }
      }
     },
     "400": {
      "description": "a bad window, lane or limit"
     },
     "429": {
      "description": "too many from this IP; try later"
     },
     "503": {
      "description": "warming (the first minute after a lookup start); retry-after"
     }
    }
   }
  },
  "/screener.json": {
   "get": {
    "operationId": "screener",
    "summary": "Young coins that pass the volume-and-holders preset now (free)",
    "description": "Coins under three days old from the trending lists (1h, 6h, 12h, both lanes, market cap $10,000 or more) read through /now/{mint}.json and screened on five rules: 12-hour volume 2-5x the market cap, top 10 holders 30% or less, under 15% of the supply bought in the first 10 seconds, a trade a second or more over the last 5 minutes, no volume-bot shape. pass: all five; near: one or two missed (misses names them). Cached 60 s. A screen of rules of thumb, not a recommendation.",
    "responses": {
     "200": {
      "description": "the screen",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "as_of": {
           "type": "string"
          },
          "preset": {
           "type": "array",
           "items": {
            "type": "object"
           }
          },
          "pass": {
           "type": "array",
           "items": {
            "type": "object",
            "description": "mint, symbol, name, age_min, market_cap_usd, volume_12h_usd, volume_to_mcap, top10_share, bundle_share, trades_per_s, below_high_pct, net_sol_6h_or_12h, marks {volmc, top10, bundle, pace, bots: ok|bad|unknown}, misses, check, buy"
           }
          },
          "near": {
           "type": "array",
           "items": {
            "type": "object"
           }
          },
          "screened": {
           "type": "integer"
          },
          "note": {
           "type": "string"
          }
         }
        }
       }
      }
     },
     "503": {
      "description": "the trending lists are warming; retry-after"
     }
    }
   }
  },
  "/free/launch/{mint}": {
   "get": {
    "operationId": "free_launch_record",
    "summary": "Free: Fetch this launch's record, historically",
    "description": "The same answer as GET /launch/{mint}, free: 30 calls every five minutes and 300 a day per IP, no key and no payment. Past 30 in five minutes, 429 (free_limit, retry_after_s); past 300 in a day, 402 with the price and the reason. The deployer's record (launches, graduations, best run, gaps), the bundle at creation, the supply insiders hold, how far along the curve it is; then the launches that looked the same at the same age, graduated or dead, and how they went over the next day, as a spread. Mints minutes old answer from the live recorder. $0.005 a call.",
    "parameters": [
     {
      "name": "mint",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "the token's mint address, base58",
      "example": "D27Lb9LA6D4dFpogGoXMXvZYkRsZ7UuctxAFpFQ3pump"
     }
    ],
    "responses": {
     "200": {
      "description": "the launch and its matches",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/LaunchRecord"
        }
       }
      }
     },
     "404": {
      "description": "no such mint in the warehouse"
     },
     "429": {
      "description": "the free calls for these five minutes from this IP are used: retry_after_s, and the paid path to use instead"
     }
    }
   }
  },
  "/free/deployer/{address}": {
   "get": {
    "operationId": "free_deployer_record",
    "summary": "Free: Fetch a deployer's record and its next launch's base rate, no coin needed",
    "description": "The same answer as GET /deployer/{address}, free: 30 calls every five minutes and 300 a day per IP, no key and no payment. Past 30 in five minutes, 429 (free_limit, retry_after_s); past 300 in a day, 402 with the price and the reason. The deployer's launches, graduations, best first-day peak, the gap between its last two launches and its last launch (the weekly tables plus the live recorder); over the last 90 days, its launches measured at minute five and how many doubled, did 10x, held at 2x at the close of the day or were dead; its ten newest launches; and the base rate for its next launch: launches of the last 90 days whose deployer had the same record bucket. A wallet with no launches gets the first-launch base rate. Facts, no score. $0.005 a call.",
    "parameters": [
     {
      "name": "address",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "the deployer's wallet address, base58",
      "example": "7ufmve7ZSFCzuNcKRunYrGtyb2Ka1MXzkWwf7jZhVsmL"
     }
    ],
    "responses": {
     "200": {
      "description": "the record",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DeployerRecord"
        }
       }
      }
     },
     "429": {
      "description": "the free calls for these five minutes from this IP are used: retry_after_s, and the paid path to use instead"
     }
    }
   }
  },
  "/free/similar/{mint}": {
   "get": {
    "operationId": "free_similar_launches",
    "summary": "Free: Fetch the launches most like this one, and how each went",
    "description": "The same answer as GET /similar/{mint}, free: 30 calls every five minutes and 300 a day per IP, no key and no payment. Past 30 in five minutes, 429 (free_limit, retry_after_s); past 300 in a day, 402 with the price and the reason. The comparables: the same deployer's prior launches first, then the nearest launches of the last 90 days in this coin's /launch bucket (the deployer's launches and graduations, the first-10 s buyers, the insiders' share and the curve progress at minute 5), each named with its mint, when it launched, its state at 5 min, how it went over the 24 h after (peak, close, dead or graduated) and a sentence on why it is similar. Only launches whose 24 h window is complete. Not a prediction. $0.005 a call.",
    "parameters": [
     {
      "name": "mint",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "the token's mint address, base58",
      "example": "D27Lb9LA6D4dFpogGoXMXvZYkRsZ7UuctxAFpFQ3pump"
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 25,
       "default": 10
      },
      "description": "comparables to return"
     }
    ],
    "responses": {
     "200": {
      "description": "the comparables",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SimilarLaunches"
        }
       }
      }
     },
     "404": {
      "description": "no such mint, or no curve reading to place it by"
     },
     "429": {
      "description": "the free calls for these five minutes from this IP are used: retry_after_s, and the paid path to use instead"
     }
    }
   }
  },
  "/free/wallets": {
   "post": {
    "operationId": "free_wallet_records",
    "summary": "Free: Fetch what these wallets have been, since day one",
    "description": "The same answer as POST /wallets, free: a call counts one unit per ten addresses against the 30 units every five minutes per IP, and 2,000 wallet lookups a day per IP. Past the five minutes, 429 (free_limit, retry_after_s); past the day's wallets, 402: the x402 offer with free_tier in the body (what was used, the price, a free key's own 2,000 a day, the bulk page). Up to 50 wallet addresses in, and optionally the coin they are buying; for each, its class by rule (winner, bot, supply_seller, net_loser, new, none) and the numbers behind it: SOL put in and taken out, coins traded, first seen. Records run to the last weekly build and are filled from the live recorder since; the build's date is in the X-Data-As-Of header. $0.01 a call.",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "required": [
         "addresses"
        ],
        "properties": {
         "addresses": {
          "type": "array",
          "minItems": 1,
          "maxItems": 50,
          "items": {
           "type": "string",
           "description": "a Solana wallet address, base58"
          }
         },
         "mint": {
          "type": "string",
          "description": "the coin these wallets are buying, base58; new means no record before its creation. Without it, new means no record before today (UTC)"
         }
        }
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "one record per address",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "additionalProperties": {
          "$ref": "#/components/schemas/WalletRecord"
         }
        }
       }
      }
     },
     "429": {
      "description": "the free calls for these five minutes from this IP are used: retry_after_s, and the paid path to use instead"
     }
    }
   }
  },
  "/free/baserate": {
   "get": {
    "operationId": "free_base_rate",
    "summary": "Free: Get how often it happens anyway in a market-cap band",
    "description": "The same answer as GET /baserate, free: 30 calls every five minutes and 300 a day per IP, no key and no payment. Past 30 in five minutes, 429 (free_limit, retry_after_s); past 300 in a day, 402 with the price and the reason. How many coins first traded inside a market-cap band in a window, how many of those then reached 2x, 5x, 10x and 20x within 3 h, and the median peak. A crossing is a coin's first trade with a market cap inside the band (a coin that jumps over the band in one trade has none); the peak is the highest market cap, curve or pool, in the 3 h after it; USD is at the SOL price of the trade's hour. The check to run before believing a winners-only screenshot, or your own agent. $0.005 a call.",
    "parameters": [
     {
      "name": "band",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "pattern": "^[0-9]+k-[0-9]+k$",
       "examples": [
        "15k-28k"
       ]
      },
      "description": "market cap band in USD; each edge snaps to the nearest of 5k, 10k, 15k, 20k, 28k, 40k, 60k, 100k, 250k, 1000k, and the answer says the band it used"
     },
     {
      "name": "from",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "format": "date-time"
      }
     },
     {
      "name": "to",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "format": "date-time"
      },
      "description": "crossings up to here count; at most 31 days after from (split a longer window: 400 window_too_long); each needs its 3 h after, so a window ending under 3 h before the data's as-of (X-Data-As-Of) is cut there"
     },
     {
      "name": "venue",
      "in": "query",
      "schema": {
       "type": "string",
       "enum": [
        "curve",
        "pool",
        "any"
       ],
       "default": "any"
      },
      "description": "curve crossings are held from 10 Mar 2025, pool crossings from 15 Jul 2026 (any = the earliest of either per coin); the answer's X-Data-From header says where its venue begins, and a window starting earlier is clamped, with a note in the body"
     }
    ],
    "responses": {
     "200": {
      "description": "the crossings and what became of them",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/BaseRate"
        }
       }
      }
     },
     "404": {
      "description": "no data for that window (it ends before the venue's X-Data-From); nothing is charged"
     },
     "429": {
      "description": "the free calls for these five minutes from this IP are used: retry_after_s, and the paid path to use instead"
     }
    }
   }
  },
  "/launches/since.json": {
   "get": {
    "operationId": "launchesSince",
    "summary": "Every pump.fun launch after a moment, the newest within the minute (free)",
    "description": "Every launch after t (unix seconds, within the last 24 hours), oldest first, each with the deployer's record before it and the first-10-second bundle. Launches the hourly recorder fill has read carry their bundle (source tables or fill); newer ones come from the live recorder within the minute (source live: buyers_first_10s and bundle_supply_share are null until the next fill). Poll with t = next_since and keep each mint once; call /launch or /deployer only for the coins being considered. Free, no key; limited per address like the other free pages (a 429 says when to retry).",
    "parameters": [
     {
      "name": "t",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer"
      },
      "description": "unix seconds within the last 24 hours Optional: left out, the last ten minutes."
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 500
      }
     },
     {
      "name": "min_launches",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "minimum": 1
      },
      "description": "only launches by deployers with this many launches before (20: the serial deployers); each page is filtered and its cursor kept"
     },
     {
      "name": "deployer",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      },
      "description": "only this deployer wallet's launches (base58)"
     },
     {
      "name": "check",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "enum": [
        1
       ]
      },
      "description": "1: each launch also gets checks[i] (check_columns): the first 10 seconds' buy share, launch-slot buyout, the deployer's own buys and sells of it so far, same-ticker launches in the hour, graduated, market cap now; null for launches older than the hour"
     }
    ],
    "responses": {
     "200": {
      "description": "{since, to, count, more, next_since, tables_as_of, recorder_filled_to, columns: [mint, created, creator, deployer_launches_before, deployer_graduations_before, deployer_gap_s, deployer_launches_last_day, buyers_first_10s, bundle_supply_share, migrated_at, source], note, launches: [[...]]}"
     },
     "400": {
      "description": "t missing or outside the last 24 hours (older days: /launches/{day}.json)"
     }
    }
   }
  },
  "/check/{mint}.json": {
   "get": {
    "operationId": "checkCoin",
    "summary": "The pre-buy check of one coin in one call (free)",
    "description": "The findings as sentences (answer), flags with a sentence each (serial_launcher, deployer_sells_fast, never_ran, curve_bought_at_launch, early_concentration (named bundled before Oct 28, 2026), one_wallet_bought, insiders, sold_together, lookalikes_die), rules_say (skip, or no flags: your call), the questions people ask about the coin with their answers, the launch record behind them and similar launches. From a stored check when the coin was checked in the last day, else run now on the per-address allowance. Free, no key; limited per address like the other free pages (a 429 says when to retry).",
    "parameters": [
     {
      "name": "mint",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "example": "CSocnzcRpgSCr1naKcNTieWZUxb6rABe45j844m7pump"
     }
    ],
    "responses": {
     "200": {
      "description": "{mint, label?, checked_at, data_as_of, answer: [string], flags: [{flag, says}], rules_say, questions: [{q, a}], launch: LaunchRecord, similar, page, not_advice}"
     },
     "404": {
      "description": "unknown_mint: no pump.fun launch with that address in the data (a coin seconds old: retry in a minute)"
     },
     "429": {
      "description": "free_checks_used: this address's free checks for now are used"
     }
    }
   }
  },
  "/stats.json": {
   "get": {
    "operationId": "statsLatest",
    "summary": "Yesterday on pump.fun: the newest whole UTC day's stats (free)",
    "description": "Launches, graduations, volume (curve and PumpSwap), traders, the top coins by peak market cap and by volume, the deployers whose coins did best, the fastest graduations, launches and the 1 h graduation rate per UTC hour, with every definition. summary is a paragraph to quote. Free, no key; limited per address like the other free pages (a 429 says when to retry).",
    "responses": {
     "200": {
      "description": "{day, from, to, summary, totals, money, coins, hours, launches, definitions, coverage, sources, vs_7d, generated_at}"
     }
    }
   }
  },
  "/stats/{day}.json": {
   "get": {
    "operationId": "statsDay",
    "summary": "One UTC day on pump.fun (free)",
    "description": "The same as /stats.json for a past UTC day; every stored day is listed at /stats/days.json. Free, no key; limited per address like the other free pages (a 429 says when to retry).",
    "parameters": [
     {
      "name": "day",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      },
      "example": "2026-10-26"
     }
    ],
    "responses": {
     "200": {
      "description": "the day's stats"
     },
     "404": {
      "description": "not_found: a day not stored (or not ended yet); newest and days say where to look"
     }
    }
   }
  },
  "/stats/days.json": {
   "get": {
    "operationId": "statsDays",
    "summary": "Every UTC day with stats, newest first (free)",
    "responses": {
     "200": {
      "description": "{days: [YYYY-MM-DD]}"
     }
    }
   }
  },
  "/today.json": {
   "get": {
    "operationId": "today",
    "summary": "Yesterday's base rate card for the $15-28K band (free)",
    "description": "Yesterday's (UTC) base rate for the $15-28K band, venue any and curve, as /today shows it; ?day= for one of the last 30 days. /today.xml is the same as RSS. Free, no key; limited per address like the other free pages (a 429 says when to retry).",
    "parameters": [
     {
      "name": "day",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "{day, band, any: BaseRate, curve: BaseRate, data_as_of, generated_at}"
     },
     "404": {
      "description": "not_computed_yet, or a day not in the last 30"
     }
    }
   }
  },
  "/report/{day}.json": {
   "get": {
    "operationId": "wireDay",
    "summary": "The daily wire for one UTC day (free)",
    "description": "The day's written report: the lede, the stories with their numbers and sources. Every edition is listed at /report/days.json. Free, no key; limited per address like the other free pages (a 429 says when to retry).",
    "parameters": [
     {
      "name": "day",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      },
      "example": "2026-10-26"
     }
    ],
    "responses": {
     "200": {
      "description": "the day's edition"
     },
     "404": {
      "description": "no edition for that day"
     }
    }
   }
  },
  "/report/days.json": {
   "get": {
    "operationId": "wireDays",
    "summary": "Every daily wire edition, newest first (free)",
    "responses": {
     "200": {
      "description": "{days: [YYYY-MM-DD]}"
     }
    }
   }
  },
  "/record.json": {
   "get": {
    "operationId": "record",
    "summary": "The record: how one day's cohort of launches went, by what was knowable at an age (free)",
    "description": "A day's launches grouped by what was known at a fixed age (similar launches, the wallet mix) and how each group went; ?day= for a past day (listed at /record/days.json). Free, no key; limited per address like the other free pages (a 429 says when to retry).",
    "parameters": [
     {
      "name": "day",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "{day, cohort, age_s, window_s, computed_at, sources, counts, overall, by_similar, by_similar_dimension, by_wallet_mix, peak_buckets, class_order, definitions}"
     }
    }
   }
  },
  "/status.json": {
   "get": {
    "operationId": "status",
    "summary": "How fresh each data layer is right now (free)",
    "description": "Each layer (the API, the live recorder, the hourly fill, the base-rate crossings, the deep tables, the daily stats and wire) with ok, late or down and its as_of, plus an hourly history and the completeness checks. Free, no key; limited per address like the other free pages (a 429 says when to retry).",
    "responses": {
     "200": {
      "description": "{checked_at, overall, components, completeness, history}"
     }
    }
   }
  },
  "/public/baserate.json": {
   "get": {
    "operationId": "publicBaserate",
    "summary": "Yesterday's base rate for every market-cap band (free)",
    "description": "Refreshed hourly; the same answer GET /baserate gives for yesterday's UTC day, venue any. Free, no key; limited per address like the other free pages (a 429 says when to retry).",
    "responses": {
     "200": {
      "description": "{day, generated_at, data_as_of, bands: {band: BaseRate}}"
     }
    }
   }
  },
  "/mcp": {
   "post": {
    "operationId": "mcp",
    "summary": "The calls as MCP tools (Streamable HTTP, JSON-RPC 2.0)",
    "description": "initialize, tools/list, tools/call. Free tools: stats, find_coin, check_coin, launches_since, top_wallets, replay_result; the rest are the paid calls, paid with payment (the x402 PAYMENT-SIGNATURE value) or an x-api-key header on the MCP request; a free tool call without either goes to /free/ on the per-address allowance.",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object"
       },
       "example": {
        "jsonrpc": "2.0",
        "id": 1,
        "method": "tools/list"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "the JSON-RPC answer"
     },
     "202": {
      "description": "a notification, no answer"
     }
    }
   }
  },
  "/keys": {
   "post": {
    "operationId": "keySignup",
    "summary": "Ask for a free API key by email (free)",
    "description": "JSON {email}: emails a one-time link (one per address per ten minutes). The key is shown once when the link is used: POST /keys/verify {t} with the value after t= in the link answers the key as JSON. A key has no daily cap on the paid paths (x-api-key header). Browsers use the form at https://pumpdata.fun/keys.",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "email": {
          "type": "string"
         }
        },
        "required": [
         "email"
        ]
       }
      }
     }
    },
    "responses": {
     "202": {
      "description": "{ok, sent_to}"
     },
     "400": {
      "description": "email not valid"
     },
     "429": {
      "description": "a link was sent to this address in the last ten minutes"
     }
    }
   }
  },
  "/keys/verify": {
   "post": {
    "operationId": "keyVerify",
    "summary": "Exchange the emailed link's token for the key (free)",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "t": {
          "type": "string"
         }
        },
        "required": [
         "t"
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "{key, shown_once, replaced_previous, limit_per_day, wallets_per_day, use, docs}"
     },
     "410": {
      "description": "the link expired or was used"
     }
    }
   }
  },
  "/keys/upgrade": {
   "get": {
    "operationId": "planStatus",
    "summary": "A key's plan and how to pay for it",
    "description": "With x-api-key: plan_now (when the plan ends) and pay_without_x402 (the key's own USDC address and a Solana Pay link). Without a key: the plan's terms. The human page is https://pumpdata.fun/plan.",
    "responses": {
     "200": {
      "description": "{plan, price, calls_per_day, wallets_per_day, key_id?, plan_now?, pay_without_x402?}"
     }
    }
   },
   "post": {
    "operationId": "planBuy",
    "summary": "Buy the monthly plan over x402",
    "description": "Optional since Nov 5: a free key has no daily cap, so nothing needs upgrading. With x-api-key and no body: 402 with the offer ($10 in USDC for 30 days: 20,000 calls and 50,000 wallet lookups a day). Pay and POST again with PAYMENT-SIGNATURE: the plan starts at once.",
    "responses": {
     "200": {
      "description": "the plan, started"
     },
     "402": {
      "description": "the offer, with pay_without_x402 for paying from a wallet instead"
     }
    }
   }
  },
  "/trades/large.json": {
   "get": {
    "operationId": "largeTrades",
    "summary": "Every pump.fun buy and sell of $2,500 or more, the last hour (free)",
    "description": "Trades of 10 SOL or more on pump.fun coins (bonding curve and each coin's own PumpSwap pool), the last hour, read from the chain as they land; same-slot round trips left out; filtered to min_usd at the day's SOL price. Oldest first from since; poll with since = next_since. wallet= gives one wallet's large trades. Each trade with the wallet, the coin (mint, name, symbol), side, sol, usd, mcap_sol at the trade, venue, and links to the wallet's page and the coin's check. A record of what wallets did, not a signal. Free, no key.",
    "parameters": [
     {
      "name": "since",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer"
      },
      "description": "unix seconds; left out, the whole kept hour"
     },
     {
      "name": "min_usd",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "minimum": 1000
      },
      "description": "default 2500"
     },
     {
      "name": "side",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "buy",
        "sell"
       ]
      }
     },
     {
      "name": "wallet",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      },
      "description": "one wallet's large trades (base58)"
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 1000
      },
      "description": "default 200"
     }
    ],
    "responses": {
     "200": {
      "description": "{as_of, sol_usd, min_usd, side, kept_since, complete, since, next_since, count, more, trades: [{ts, at, slot, mint, wallet, side, sol, usd, mcap_sol, venue, name, symbol, wallet_page, check}], note, next_steps}"
     },
     "400": {
      "description": "a bad since, min_usd, side, wallet or limit"
     },
     "503": {
      "description": "the large trades are being read (after a restart); retry-after"
     }
    }
   }
  },
  "/graduations/since.json": {
   "get": {
    "operationId": "graduationsSince",
    "summary": "Every pump.fun graduation in the last hour, as it lands (free)",
    "description": "Every pump.fun coin whose bonding curve completed in the last hour, oldest first from since, read from the chain as it lands, with the seconds from its launch (graduated_after_s; same_second: bought whole in its launch second) and its name. Poll with since = next_since. A whole UTC day of the last three: /graduations/{day}.json. Free, no key.",
    "parameters": [
     {
      "name": "since",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer"
      },
      "description": "unix seconds in the last hour; left out, the last ten minutes"
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 2000
      }
     }
    ],
    "responses": {
     "200": {
      "description": "{as_of, kept_since, complete, since, next_since, count, more, graduations: [{mint, ts, at, created, graduated_after_s, same_second, name, symbol, check}], note}"
     },
     "400": {
      "description": "a bad since or limit"
     },
     "503": {
      "description": "the graduations are being read (after a restart); retry-after"
     }
    }
   }
  },
  "/events/since.json": {
   "get": {
    "operationId": "eventsSince",
    "summary": "pump.fun events of the last hour: launches, graduations, migrations, dev sells (free)",
    "description": "The last hour's pump.fun events as the chain writes them, oldest first; poll with since = next_since. create: a launch, with the deployer (the wallet that paid for it), the first 10 seconds' buys as a share of the supply (null until 10 s have passed), and the deployer's own buys and sells so far. graduation: the bonding curve completed. migration: moved to its PumpSwap pool. dev_sell: the wallet that launched the coin sold it (0.01 SOL or more), with the share of what it bought now sold. Free, no key.",
    "parameters": [
     {
      "name": "since",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer"
      },
      "description": "unix seconds in the last hour; left out, the last ten minutes"
     },
     {
      "name": "kinds",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      },
      "description": "comma-separated: create, graduation, migration, dev_sell; default all"
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 2000
      },
      "description": "default 500"
     }
    ],
    "responses": {
     "200": {
      "description": "{as_of, sol_usd, kept_since, kinds, since, next_since, count, more, events: [{kind, ts, at, mint, name, symbol, ... per kind: create {deployer, early_buy_share, launch_slot_buyout, dev_bought_share, dev_sold_share_of_bought, dev_sold_sol, dev_first_sell, graduated, market_cap_sol_now, market_cap_usd_now}, dev_sell {deployer, sol, usd, tokens, sold_share_of_bought, age_s}, migration {pool, created}, graduation {created, graduated_after_s, same_second}, check}], note, next_steps}"
     },
     "400": {
      "description": "a bad since, kinds or limit"
     },
     "503": {
      "description": "the live events are being read (after a restart); retry-after"
     }
    }
   }
  },
  "/stats/live.json": {
   "get": {
    "operationId": "statsLive",
    "summary": "pump.fun today so far: launches, graduations, volume, traders (free)",
    "description": "Today on pump.fun (UTC) so far, counted from the chain as trades land: launches, graduations, migrations, SOL-quoted trades on the bonding curve and each coin's PumpSwap pool, their SOL and USD volume, distinct traders, coins traded, trades of 10 SOL and up, dev sells, the graduation rate; yesterday beside it. complete is false when the live read began after the day's first second (counted_from). The settled whole day: GET /stats/{day}.json. Free, no key.",
    "parameters": [],
    "responses": {
     "200": {
      "description": "{as_of, sol_usd, today: {day, complete, counted_from, through, launches, graduations, migrations, trades, buys, sells, volume_sol, buy_sol, sell_sol, volume_usd, traders, coins_traded, large_trades_10_sol, dev_sells, graduation_rate}, yesterday: {...}, note, next_steps}"
     },
     "503": {
      "description": "today's counts are being read (after a restart); retry-after"
     }
    }
   }
  },
  "/price.json": {
   "get": {
    "operationId": "price",
    "summary": "Market cap and price now of up to 50 pump.fun coins (free)",
    "description": "Each coin's market cap on its supply of 1 billion tokens and its price (market cap / 1e9), in SOL and USD, from its last trade on its bonding curve or its own SOL-quoted PumpSwap pool: source live (traded in the last 12 hours, within 10 seconds) or fill (the hourly recorder fill). In the order asked; null with a why when there is no price we can stand behind (a pool float too thin, no trade). Free, no key.",
    "parameters": [
     {
      "name": "mints",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "comma-separated mint addresses, up to 50"
     }
    ],
    "responses": {
     "200": {
      "description": "{as_of, sol_usd, live, count, prices: [{mint, market_cap_sol, market_cap_usd, price_sol, price_usd, venue, last_trade, source, why?}], note}"
     },
     "400": {
      "description": "no mints, a bad mint, or more than 50"
     }
    }
   }
  },
  "/trades/since.json": {
   "get": {
    "operationId": "walletTrades",
    "summary": "Up to 50 wallets' pump.fun trades, the last 3 hours (free)",
    "description": "These wallets' trades on pump.fun coins (bonding curve and PumpSwap), every size unless min_sol, in the last 3 hours, oldest first from since; poll with since = next_since. Each with the coin, side, SOL, tokens, venue, slot and links to the wallet's page and the coin's check. A record of what wallets did, not a signal. Free, no key.",
    "parameters": [
     {
      "name": "wallets",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "comma-separated wallet addresses, up to 50"
     },
     {
      "name": "since",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer"
      },
      "description": "unix seconds in the last 3 hours; left out, the last ten minutes"
     },
     {
      "name": "min_sol",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "minimum": 0
      },
      "description": "only trades of at least this many SOL"
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 2000
      },
      "description": "default 500"
     }
    ],
    "responses": {
     "200": {
      "description": "{as_of, wallets, since, min_sol, kept_since, next_since, count, more, trades: [{wallet, ts, at, slot, idx, mint, pool, venue, side, sol, tokens, wallet_page, check}], note, next_steps}"
     },
     "400": {
      "description": "no wallets, a bad wallet, more than 50, or a bad since, min_sol or limit"
     },
     "503": {
      "description": "the wallet trades are being read (after a restart); retry-after"
     }
    }
   }
  },
  "/holders/{mint}.json": {
   "get": {
    "operationId": "holders",
    "summary": "Who holds a pump.fun coin right now, read live from the chain ($0.01, or free with a key for 500 coins a day)",
    "description": "Read live from the chain at the moment of the call, never a kept answer: the mint's 20 largest token accounts summed per owner wallet (the bonding curve and pool vaults are not wallets and drop out), each with its share of the supply; same_size when many of the largest wallets hold the very same amount; held_by_programs; with count=1 the number of wallets holding any. $0.01 a call by x402; a free key gets 500 coins a day; /launch (past that) and /check answer holders as a pointer here.",
    "x-price-usd": 0.01,
    "x-payment-info": {
     "protocols": [
      "x402"
     ],
     "price": {
      "mode": "fixed",
      "currency": "USD",
      "amount": "0.01"
     }
    },
    "parameters": [
     {
      "name": "mint",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "the coin's mint (base58)"
     },
     {
      "name": "count",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "enum": [
        1
       ]
      },
      "description": "1: also the holder count (a slower read)"
     }
    ],
    "responses": {
     "200": {
      "description": "{mint, top: [{address, share, wallet_page}], same_size, held_by_programs, supply, as_of, holders?, token_accounts?, note, next_steps}"
     },
     "400": {
      "description": "not a base58 mint"
     },
     "503": {
      "description": "the chain read did not answer in time; retry-after"
     }
    }
   }
  },
  "/wallet/{address}/funding.json": {
   "get": {
    "operationId": "walletFunding",
    "summary": "Who funded a wallet: its first SOL, walked back up to five hops (free)",
    "description": "Who sent the wallet its first SOL, who funded that wallet, up to five hops, each with the amount, the time and the transaction; where the walk stopped (a wallet with more than 5,000 transactions, the mark of an exchange, a service or a bot, ends it); and which other walked wallets got their first SOL from the same address (busy wallets left out). Read from the chain's own transactions. The method says how each source was found: a SOL transfer or account creation naming the wallet, else the account whose SOL fell most (outflow), else the fee payer, named only as the payer of the transaction (fee_payer). Kept for good once walked; the top serial deployers are walked ahead. An AI assistant's GET of a wallet not walked yet starts the walk and waits up to 5 s for it; any other GET only reads (start one with POST). Free, no key.",
    "parameters": [
     {
      "name": "address",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "example": "C4udGwTg6oqcrr8SmSLmkcXDbaFEcopsiaT21KUE4psU"
     }
    ],
    "responses": {
     "200": {
      "description": "done: {address, page, state: done, answer (the chain as sentences), hops: [{wallet, wallet_transactions?, funder, amount_sol, method: transfer|create_account|outflow|fee_payer, at, slot, signature}], stop: {wallet, reason: busy|max_hops|joined|not_found|no_transactions|loop|call_budget, why, transactions_over?}, shared_funders: [{funder, also_funded_first, sample, walks_through}], walked_at, pump_fun_classes, source}; or {address, page, state: not_walked, start, would_answer}; or {address, page, state: failed, note}"
     },
     "202": {
      "description": "{address, page, state: queued|running, position, retry_after_s, note}: the walk is running; GET again in a few seconds"
     },
     "503": {
      "description": "the funding walk is busy or not available; retry in a minute"
     }
    }
   }
  },
  "/wallet/{address}/funding": {
   "post": {
    "operationId": "startWalletFunding",
    "summary": "Start a wallet's funding walk and wait for it (free)",
    "description": "Starts the walk (or reads it when it is done) and waits up to 5 s for it; most walks take under a second. A form post (the page's button) is sent on to the page. Free; limited per address (429, x-refusal funding-burst) and by a day's cap of new walks (429, funding-day); AI assistants are never limited.",
    "parameters": [
     {
      "name": "address",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "example": "C4udGwTg6oqcrr8SmSLmkcXDbaFEcopsiaT21KUE4psU"
     }
    ],
    "responses": {
     "200": {
      "description": "done: the same body as GET /wallet/{address}/funding.json"
     },
     "202": {
      "description": "{address, page, state: queued|running, position, retry_after_s}: still running after 5 s"
     },
     "303": {
      "description": "a form post: sent on to the page"
     },
     "429": {
      "description": "{address, error}: this address's walks for now, or the day's new walks, are used"
     }
    }
   }
  },
  "/stream": {
   "get": {
    "operationId": "stream",
    "summary": "WebSocket: every pump.fun create, trade, completion and migration, live (7-day trial on a key)",
    "description": "A WebSocket (wss://pumpdata.fun/stream) that sends every pump.fun create, bonding-curve and PumpSwap trade, curve completion and migration about 1.5 seconds after its block (1.5 s median, 1.8 s p90), unmetered. Each message is one JSON event with a type: create {mint, deployer, name, symbol, slot, idx, ts}; trade {venue curve|pumpswap, mint, pool, wallet, side, sol, token_amount; quote_mint and quote_amount for a pool quoted in another token}; complete {mint, wallet}; migrate {mint, pool}; record (pro tier) {mint, deployer, deployer_launches_before, deployer_graduations_before, deployer_gap_s, deployer_launches_last_day}, a few seconds after the create. The first message is a hello with the tier and filters. Trades run about 200 a second: filter with min_sol or mints. A client that falls behind is disconnected; reconnect. Needs a key whose stream is active (start the 7-day trial with POST /stream/trial). Without one: 401 key_required, 402 stream_not_active; a plain GET without Upgrade answers 426. After a 7-day free trial: $199 a month for one connection, $499 a month for up to five (a key over its connections gets 429).",
    "parameters": [
     {
      "name": "key",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      },
      "description": "the API key, when the client cannot send x-api-key or Authorization: Bearer (most WebSocket clients)"
     },
     {
      "name": "types",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "create,complete,migrate"
      },
      "description": "comma-separated: create, trade, complete, migrate, record (record: pro tier)"
     },
     {
      "name": "min_sol",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "minimum": 0
      },
      "description": "trades of at least this many SOL"
     },
     {
      "name": "mints",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      },
      "description": "up to 200 mints, comma-separated: only their events"
     }
    ],
    "responses": {
     "101": {
      "description": "switching to WebSocket; JSON events follow"
     },
     "401": {
      "description": "key_required or unknown_key"
     },
     "402": {
      "description": "stream_not_active: start the trial (POST /stream/trial) or keep it after the trial"
     },
     "426": {
      "description": "websocket_only"
     },
     "429": {
      "description": "the key already has as many open connections as its plan allows (one, or five)"
     }
    }
   }
  },
  "/stream/trial": {
   "post": {
    "operationId": "streamTrial",
    "summary": "Start a key's 7-day stream trial (pro tier), once per key",
    "description": "Send the key in x-api-key. Answers {ok, tier, until, connect}; a key whose trial is used answers 409 trial_used; an active stream answers already: true.",
    "parameters": [
     {
      "name": "x-api-key",
      "in": "header",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "the trial (or the stream already active) with its end"
     },
     "401": {
      "description": "unknown_key"
     },
     "409": {
      "description": "trial_used"
     }
    }
   }
  },
  "/stream/buy": {
   "post": {
    "operationId": "buyStreamMonth",
    "summary": "Buy a month of the stream on your key",
    "description": "Makes an order for 30 days of the WebSocket stream on the key: plan one ($199, one connection) or five ($499, up to five). The order page takes USDC on Solana to the order's own address; the month starts when it is paid, after any days the key already has. An unpaid order for the same key and plan is reused for a day.",
    "security": [
     {
      "apiKey": []
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "plan": {
          "type": "string",
          "enum": [
           "one",
           "five"
          ]
         }
        }
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "the order",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean"
          },
          "order": {
           "type": "string",
           "description": "the order page to pay on"
          },
          "plan": {
           "type": "string"
          },
          "usd": {
           "type": "number"
          }
         }
        }
       }
      }
     },
     "400": {
      "description": "unknown plan"
     },
     "401": {
      "description": "no key, or an unknown one"
     }
    }
   }
  },
  "/now/{mint}.json": {
   "get": {
    "operationId": "coinNow",
    "summary": "A pump.fun coin right now: market cap, holders, buy/sell flow, change, the 12-hour high, the volume-bot shape and price impact (free, no key)",
    "description": "GET /now/{mint}.json (free, no key; edge-cached 10 s): a coin right now. Market cap and price from its last trade; holders (live for coins created since Nov 8); flow for 5m/1h/6h/12h (buys, sells, buy/sell/net SOL and USD, distinct buyers and sellers); change_pct per window; high_12h (the 12 hours' highest market cap and below_pct under it); volume (who made the 12 hours' volume: traders, trades_per_trader, top5_volume_share, two_sided_volume_share, likely_volume_bot: 50+ trades, 60%+ of the SOL from wallets that both bought and sold and 50%+ from five wallets, a shape not a verdict); price_impact (what a 0.1/0.5/1 SOL buy moves the price now, read from the curve or pool). Windows with no earlier trade have change_pct null; at_least marks a window past 256 wallets in a 5-minute bucket. Fields are null when their source does not answer. Since Nov 9 it carries `checks`: the pre-buy checklist's live rows (biggest holder, top 10 holders, volume against market cap, fees paid, buy and sell sizes, trades a second, volume bots, off its high), each {id, mark: ok|warn|bad|info, what, says}, marked against the rule of thumb it names, never a verdict.",
    "parameters": [
     {
      "name": "mint",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "the coin's mint (base58)"
     }
    ],
    "responses": {
     "200": {
      "description": "{mint, market_cap_usd, market_cap_sol, price_usd, venue, last_trade, holders, flow: {5m,1h,6h,12h: {buys, sells, buy_sol, sell_sol, net_sol, buy_usd, sell_usd, net_usd, buyers, sellers, change_pct?, at_least?}}, change_pct, high_12h: {market_cap_sol, market_cap_usd, below_pct, bucket_at}, volume: {window, trades, traders, trades_per_trader, top5_volume_share, two_sided_wallet_share, two_sided_volume_share, likely_volume_bot}, price_impact: {venue, buys: [{sol, tokens_out, impact_pct}]}, as_of, note}"
     },
     "400": {
      "description": "not a base58 mint"
     }
    }
   }
  },
  "/buy/{mint}.json": {
   "get": {
    "operationId": "tradeQuote",
    "summary": "Quote a buy or sell of a pump.fun coin now (free, no key)",
    "description": "What `sol` buys (or, with side=sell, what `tokens` raw units sell for) on the coin's curve or PumpSwap pool now, with the 0.4% fee. Coins that are not pump.fun answer 404 with the reason.",
    "parameters": [
     {
      "name": "mint",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "the coin's mint (base58)"
     },
     {
      "name": "sol",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number"
      },
      "description": "SOL to spend (buy; default 0.1)"
     },
     {
      "name": "side",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "buy",
        "sell"
       ]
      }
     },
     {
      "name": "tokens",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      },
      "description": "raw token units to sell (side=sell)"
     }
    ],
    "responses": {
     "200": {
      "description": "{mint, venue, side, sol_in|tokens_in, tokens_out|sol_out, fee_sol, fee, build, page}"
     },
     "404": {
      "description": "not a pump.fun coin, or no pool"
     },
     "429": {
      "description": "slow down; retry-after"
     }
    }
   }
  },
  "/buy": {
   "post": {
    "operationId": "tradeBuy",
    "summary": "Build an unsigned buy of a pump.fun coin for your wallet (0.4% fee)",
    "description": "Non-custodial: the answer is an unsigned transaction for `wallet`; pumpdata never holds a key. The fee is on top of `sol`.",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "required": [
         "mint",
         "sol",
         "wallet"
        ],
        "properties": {
         "mint": {
          "type": "string"
         },
         "sol": {
          "type": "number"
         },
         "wallet": {
          "type": "string"
         },
         "slippage_bps": {
          "type": "integer",
          "description": "default 1000, 10 to 2500"
         },
         "priority": {
          "type": "integer",
          "description": "micro-lamports per compute unit, at most 5,000,000"
         },
         "tip_lamports": {
          "type": "integer",
          "description": "Jito tip, at most 0.01 SOL"
         },
         "ref": {
          "type": "string",
          "description": "a referral code (https://pumpdata.fun/ref): 30% of pumpdata's 0.4% fee goes to the code's wallet as a second transfer in the same transaction; the trader pays the same"
         }
        }
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "{tx (unsigned, base64), venue, quote, fee, send}: sign it, then send it yourself or POST /send"
     },
     "400": {
      "description": "a bad field"
     },
     "404": {
      "description": "not a pump.fun coin, or no pool"
     },
     "429": {
      "description": "slow down; retry-after"
     }
    }
   }
  },
  "/sell": {
   "post": {
    "operationId": "tradeSell",
    "summary": "Build an unsigned sell of a pump.fun coin from your wallet (0.4% fee)",
    "description": "tokens: raw units, \"all\", or a share such as \"50%\" of what the wallet holds.",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "required": [
         "mint",
         "tokens",
         "wallet"
        ],
        "properties": {
         "mint": {
          "type": "string"
         },
         "tokens": {
          "type": "string"
         },
         "wallet": {
          "type": "string"
         },
         "slippage_bps": {
          "type": "integer",
          "description": "default 1000, 10 to 2500"
         },
         "priority": {
          "type": "integer",
          "description": "micro-lamports per compute unit, at most 5,000,000"
         },
         "tip_lamports": {
          "type": "integer",
          "description": "Jito tip, at most 0.01 SOL"
         },
         "ref": {
          "type": "string",
          "description": "a referral code (https://pumpdata.fun/ref): 30% of pumpdata's 0.4% fee goes to the code's wallet as a second transfer in the same transaction; the trader pays the same"
         }
        }
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "{tx (unsigned, base64), venue, quote, fee, send}: sign it, then send it yourself or POST /send"
     },
     "400": {
      "description": "a bad field"
     },
     "404": {
      "description": "not a pump.fun coin, or no pool"
     },
     "429": {
      "description": "slow down; retry-after"
     }
    }
   }
  },
  "/send": {
   "post": {
    "operationId": "tradeSend",
    "summary": "Send a signed transaction built by /buy or /sell to the network and Jito",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "required": [
         "tx"
        ],
        "properties": {
         "tx": {
          "type": "string",
          "description": "the signed transaction, base64"
         }
        }
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "{signature, landed}"
     },
     "400": {
      "description": "not a transaction /buy or /sell built, or sent already"
     },
     "429": {
      "description": "slow down; retry-after"
     }
    }
   }
  },
  "/ref": {
   "post": {
    "operationId": "registerReferral",
    "summary": "Register a referral code for the trade fee (30% of the 0.4% fee, paid in the trade)",
    "description": "A code (3-20 of a-z, 0-9, _) names the Solana wallet a referred trade's share is paid to: a buy or sell built with `ref` carries a second transfer of 30% of pumpdata's fee to that wallet, inside the same transaction; the trader pays the same. First come; the wallet must hold Solana's rent minimum before shares can land.",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "required": [
         "code",
         "wallet"
        ],
        "properties": {
         "code": {
          "type": "string"
         },
         "wallet": {
          "type": "string"
         }
        }
       }
      }
     }
    },
    "responses": {
     "201": {
      "description": "registered: the code, its links and its share"
     },
     "200": {
      "description": "already this wallet's code"
     },
     "409": {
      "description": "taken or reserved"
     }
    }
   }
  },
  "/ref/{code}.json": {
   "get": {
    "operationId": "referralCounts",
    "summary": "A referral code's wallet and counts",
    "parameters": [
     {
      "name": "code",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "the code's wallet, builds, trades landed through /send, SOL traded and SOL paid"
     },
     "404": {
      "description": "no such code"
     }
    }
   }
  }
 },
 "components": {
  "securitySchemes": {
   "apiKey": {
    "type": "apiKey",
    "in": "header",
    "name": "x-api-key",
    "description": "A free, email-bound key (pdk_...) with no daily cap (Nov 5) on /launch, /deployer, /similar, /baserate and /wallets; sign up at https://pumpdata.fun/keys?utm_source=openapi (an agent can, with its own email: POST /keys as JSON, then POST /keys/verify as JSON). Answers carry X-API-Key-Id and X-RateLimit-Limit: unlimited. A /free/ call that carries the key is the key's call. /replay ignores keys."
   }
  },
  "responses": {
   "PaymentRequired": {
    "description": "x402: the price and where to pay, in the headers; pay and retry the same request"
   }
  },
  "schemas": {
   "WalletRecord": {
    "type": "object",
    "properties": {
     "class": {
      "type": "string",
      "enum": [
       "winner",
       "bot",
       "supply_seller",
       "net_loser",
       "new",
       "none"
      ],
      "description": "by rule, first that fits: a bot, over the last ~20 days of trades, bought 20+ coins in their create block, half or more of the coins it bought new (a sniper), or trades 1,500+ times a day; supply_seller took out 1.5x what it put in, 100 SOL or more; winner took out at least 10 SOL and 1% more than it put in over 20+ coin-weeks, however much it trades; net_loser (since Oct 22) put in 50+ SOL more than it took out over 20+ coin-weeks; new has no record before the mint given, or before today without one; none has a record that fits no rule (most wallets). The order: bot, supply_seller, winner, net_loser"
     },
     "pnl_sol": {
      "type": "number",
      "description": "took_out - put_in, SOL, over every trade since day one on pump.fun's venues only (the bonding curve and PumpSwap pools of pump.fun coins against SOL). A cross-DEX arbitrage bot that buys here and sells on another DEX shows its buy legs only, so its pnl here runs deeply negative; its class is bot."
     },
     "put_in": {
      "type": "number",
      "description": "SOL"
     },
     "took_out": {
      "type": "number",
      "description": "SOL"
     },
     "coins": {
      "type": "integer"
     },
     "first_seen": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "why": {
      "type": "string",
      "description": "why the wallet has its class, with its own numbers: the rule it met, or for none whether it is too young for the rules (most are) or fits none of them"
     },
     "recent": {
      "type": [
       "object",
       "null"
      ],
      "description": "How the wallet traded over the tables' last ~20 days (the newest archive epochs; null when it did not trade then). For copy trading: a winner with a median hold of seconds and a high fast_share is hard to copy at any latency.",
      "properties": {
       "days_active": {
        "type": "integer"
       },
       "trades_per_day": {
        "type": "number"
       },
       "median_hold_s": {
        "type": [
         "number",
         "null"
        ],
        "description": "median seconds a round trip lasts: each buy to the wallet's next sell of the same coin (builds before Oct 26: its first buy of a coin to its first sell)"
       },
       "fast_share": {
        "type": "number",
        "description": "share of its trades under 2 s after its previous trade"
       },
       "snipe_share": {
        "type": [
         "number",
         "null"
        ],
        "description": "share of the coins it bought new (a create in the window) whose first buy landed in the create slot or the next"
       },
       "flip_share": {
        "type": [
         "number",
         "null"
        ],
        "description": "share of its round trips (a buy to its next sell of the coin) closed within 15 s: the trades a copier is too late for; followable wallets are under 0.2. Null on builds before Oct 26"
       }
      }
     },
     "summary": {
      "type": "string",
      "description": "one plain sentence built only from this record's own fields (class, SOL in and out, coins, first seen); a missing field is left out"
     },
     "next_steps": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/NextStep"
      },
      "description": "follow-up calls that answer now, the same for every wallet in the answer: GET /launch/{mint} when a mint was given, GET /baserate for compare_to's band and window"
     },
     "freshness": {
      "$ref": "#/components/schemas/Freshness"
     }
    }
   },
   "DeployerRecord": {
    "type": "object",
    "properties": {
     "address": {
      "type": "string"
     },
     "record": {
      "type": "object",
      "description": "launches, graduations, graduation_rate, best_peak_usd, last_launch_gap_s, launches_last_day, last_launch, launches_after_build"
     },
     "last_90_days": {
      "type": [
       "object",
       "null"
      ],
      "description": "launches_measured, doubled, doubled_share, ten_x, ten_x_share, held_2x, held_2x_share, dead_next_day, dead_share, graduated_by_5m"
     },
     "recent_launches": {
      "type": "array",
      "items": {
       "type": "object",
       "description": "mint, created, market_cap_usd_at_5m, buyers_first_10s, peak_mult_24h, close_mult_24h, dead_next_day, graduated"
      }
     },
     "next_launch": {
      "type": "object",
      "description": "buckets (b_launches, b_grads) and launches_like_it: the same outcomes for launches of the last 90 days from deployers with that record"
     },
     "definitions": {
      "type": "object"
     }
    }
   },
   "SimilarLaunches": {
    "type": "object",
    "properties": {
     "mint": {
      "type": "string"
     },
     "at_age_s": {
      "type": "integer",
      "description": "the age the resemblance is judged at (300)"
     },
     "key": {
      "type": "object",
      "description": "the /launch bucket: b_launches, b_grads, b_bundle, b_insider, b_curve"
     },
     "yours": {
      "type": "object",
      "description": "this coin's five features at the age"
     },
     "same_bucket_n": {
      "type": "integer",
      "description": "launches of the last 90 days in the same bucket"
     },
     "comparables": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "mint": {
         "type": "string"
        },
        "created": {
         "type": "string",
         "format": "date-time"
        },
        "deployer": {
         "type": "string"
        },
        "same_deployer": {
         "type": "boolean"
        },
        "at_5m": {
         "type": "object",
         "description": "market_cap_usd, buyers_first_10s, bundle_supply_share, insider_share, curve_progress, graduated, deployer_launches_before, deployer_graduations_before"
        },
        "next_24h": {
         "type": "object",
         "description": "dead (no trade at all in the 24 h after minute 5), peak_mult and close_mult over the market cap at minute 5"
        },
        "similar_because": {
         "type": "string"
        },
        "age_days": {
         "type": "integer"
        }
       }
      }
     },
     "summary": {
      "type": "string",
      "description": "one sentence over the comparables: how many died, how many closed at or above their 5-minute market cap, the median peak"
     },
     "definitions": {
      "type": "object"
     }
    }
   },
   "LaunchRecord": {
    "type": "object",
    "properties": {
     "mint": {
      "type": "string"
     },
     "created": {
      "type": "string",
      "format": "date-time"
     },
     "deployer": {
      "type": "object",
      "properties": {
       "address": {
        "type": "string"
       },
       "launches": {
        "type": "integer",
        "description": "launches before this one, plus this one"
       },
       "graduations": {
        "type": "integer",
        "description": "graduations before this launch (not this coin's own)"
       },
       "best_peak": {
        "type": [
         "number",
         "null"
        ],
        "description": "best first-day peak (USD) of its launches whose first day had closed by this launch; null when none, or in a table built before Nov 4 2026"
       },
       "last_launch_gap_s": {
        "type": [
         "integer",
         "null"
        ],
        "description": "seconds since its previous launch"
       },
       "launches_last_day": {
        "type": "integer",
        "description": "its launches in the 24 hours before this one"
       },
       "as_of": {
        "type": "string",
        "enum": [
         "launch"
        ],
        "description": "the fields beside it are as of the launch"
       },
       "now": {
        "type": "object",
        "description": "the deployer's record today: every launch, graduation and first-day peak since, this coin's included; own_coins, how it trades its own launches over the newest ~10 days. Not point in time: do not condition a backtest on it.",
        "properties": {
         "launches": {
          "type": "integer"
         },
         "graduations": {
          "type": "integer"
         },
         "best_peak": {
          "type": [
           "number",
           "null"
          ]
         },
         "last_launch_gap_s": {
          "type": [
           "integer",
           "null"
          ]
         },
         "launches_last_day": {
          "type": "integer"
         },
         "own_coins": {
          "type": "object"
         }
        }
       }
      },
      "description": "The deployer's record as of this launch (as_of: launch): launches before it plus this one, graduations before it (this coin's own is after its launch), its best first-day peak over launches whose first day had closed by then, the gap since its previous launch and its launches in the day before. Nothing in it is from after the launch. Its record today is under now."
     },
     "bundle_at_creation": {
      "type": "object",
      "properties": {
       "buyers_first_10s": {
        "type": "integer",
        "description": "wallets that bought on the curve in the first 10 seconds"
       },
       "supply_share": {
        "type": "number",
        "description": "the share of the supply they held at 10 s (buys less sells, netted per wallet)"
       },
       "top_buyer": {
        "type": [
         "string",
         "null"
        ],
        "description": "the first-10-second buyer that held the most at 10 s (null on rows built before Oct 28, 2026)"
       },
       "top_buyer_share": {
        "type": [
         "number",
         "null"
        ],
        "description": "that wallet's share of the supply at 10 s; when it is 90%+ of supply_share, one wallet bought it, not a bundle"
       }
      }
     },
     "insider_supply_share": {
      "type": "number"
     },
     "curve_bought_at_launch": {
      "type": "object",
      "description": "whether one or two wallets bought the whole bonding curve (79.31% of the supply) as the coin launched and it migrated within two seconds of its create: a quarter of graduates since Jul 2026 (research: /research/pump-fun-graduates-bought-at-launch). Its market cap is the pool's price on the other 20.69%; launching_wallets_hold_now is their share of the supply now, net of their sells",
      "properties": {
       "yes": {
        "type": "boolean"
       },
       "buyers": {
        "type": "integer"
       },
       "supply_share": {
        "type": "number"
       },
       "migrated_after_s": {
        "type": "integer",
        "nullable": true
       },
       "launching_wallets_hold_now": {
        "type": "number",
        "nullable": true
       }
      }
     },
     "age_s": {
      "type": "integer",
      "description": "seconds since creation, at the moment of the call"
     },
     "curve_progress": {
      "type": "number",
      "description": "share of the curve sold, 0 to 1; 1 once migrated"
     },
     "migrated_at": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "market_cap_usd_at_age": {
      "type": [
       "object",
       "null"
      ],
      "description": "the launch's market cap in USD at the age its matches are looked up at, from the tables' build; null when the tables have no row for it or the record is from the live recorder (which has no USD market cap)",
      "properties": {
       "usd": {
        "type": "number"
       },
       "at_age_s": {
        "type": "integer"
       }
      }
     },
     "matches": {
      "type": "object",
      "description": "launches that matched at the same age on the deployer's record, the bundle, the insider share and the curve progress, graduated or not, and how they went from that age",
      "properties": {
       "n": {
        "type": "integer"
       },
       "graduated_share": {
        "type": "number",
        "description": "share of the matches that reached the pool"
       },
       "peak_day1": {
        "type": "object",
        "description": "quantiles of the peak over the next 24 h, as a multiple of the market cap at the matching age; the dead count",
        "additionalProperties": {
         "type": "number"
        }
       },
       "close_day1": {
        "type": "object",
        "description": "quantiles of the market cap 24 h on, as the same multiple; a dead coin is near 0",
        "additionalProperties": {
         "type": "number"
        }
       }
      }
     },
     "summary": {
      "type": "string",
      "description": "one plain sentence built only from this answer's own fields (age, the deployer's counts, the bundle, the shares, the matches) and compare_to when present; a missing field is left out"
     },
     "compare_to": {
      "$ref": "#/components/schemas/CompareTo"
     },
     "next_steps": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/NextStep"
      },
      "description": "follow-up calls that answer now: POST /wallets with the deployer's address and this mint, GET /baserate for compare_to's band and window, POST /replay"
     },
     "freshness": {
      "$ref": "#/components/schemas/Freshness"
     },
     "market_cap_usd_now": {
      "type": [
       "number",
       "null"
      ],
      "description": "The market cap in USD at the coin's last trade in the live recorder's window (the curve, or its SOL pool), at the hour's SOL price; null when the coin has not traded there or its price is not in SOL (a custom pair)."
     },
     "market_cap_as_of": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time",
      "description": "When that last trade was."
     },
     "holders": {
      "type": [
       "integer",
       "null"
      ],
      "description": "Wallets holding the coin now: owners with a balance whose address is a wallet (on the ed25519 curve), read from the chain at the call (cached 5 minutes). The bonding curve, pools and other program accounts are left out. On the paid call and with a key; null on /free/launch, or when the chain read failed (see note)."
     },
     "holders_as_of": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time",
      "description": "When the holders were read from the chain."
     },
     "top_holders": {
      "type": [
       "array",
       "null"
      ],
      "description": "The coin's biggest wallets now, from the chain (its 20 largest token accounts, their owners, wallets only: the curve and pools are left out; cached 5 minutes), largest first. Paid and keyed calls only. Copy-trade candidates: run them through POST /wallets for their whole record.",
      "items": {
       "type": "object",
       "properties": {
        "address": {
         "type": "string"
        },
        "share": {
         "type": "number",
         "description": "of the whole supply"
        },
        "is_deployer": {
         "type": "boolean"
        }
       }
      }
     },
     "top_holders_same_size": {
      "type": [
       "object",
       "null"
      ],
      "description": "Five or more of the biggest wallets holding exactly the same amount: one bag split across many wallets. Null under five.",
      "properties": {
       "wallets": {
        "type": "integer"
       },
       "of": {
        "type": "integer"
       },
       "share_each": {
        "type": "number"
       }
      }
     },
     "top_holders_as_of": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "top_traders": {
      "type": [
       "array",
       "null"
      ],
      "description": "Who made the most SOL on this coin: its 20 wallets with the most SOL out minus SOL in on it (realized; tokens still held not counted), best first, each with its whole-record class and why. Coins launched since the tables' build with 100+ SOL traded; null otherwise. Paid and keyed calls only. The top of this list is mostly the coin's own insiders: class and why say who is worth copying.",
      "items": {
       "type": "object",
       "properties": {
        "rank": {
         "type": "integer"
        },
        "address": {
         "type": "string"
        },
        "put_in": {
         "type": "number"
        },
        "took_out": {
         "type": "number"
        },
        "net_sol": {
         "type": "number"
        },
        "trades": {
         "type": "integer"
        },
        "first_buy_after_s": {
         "type": [
          "integer",
          "null"
         ],
         "description": "seconds from the coin's create to this wallet's first buy; null when it never bought on the curve or the pool, so the tokens it sold came to it by transfer (an insider's distribution)"
        },
        "last_trade": {
         "type": [
          "string",
          "null"
         ],
         "format": "date-time"
        },
        "class": {
         "type": [
          "string",
          "null"
         ]
        },
        "why": {
         "type": [
          "string",
          "null"
         ]
        }
       }
      }
     },
     "top_traders_as_of": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "sol_reserve_now": {
      "type": [
       "number",
       "null"
      ],
      "description": "The real SOL behind the price at the last trade: the curve's real SOL, or the pool's after migration. What a seller can actually take out; the market cap is the price times the whole supply."
     }
    }
   },
   "CompareTo": {
    "type": [
     "object",
     "null"
    ],
    "description": "yesterday's (UTC) base rate for one band, venue any, as GET /public/baserate.json holds it (refreshed hourly), read at the moment of the call; null until that file is first written",
    "properties": {
     "band": {
      "type": "string"
     },
     "venue": {
      "type": "string"
     },
     "from": {
      "type": "string",
      "format": "date-time"
     },
     "to": {
      "type": "string",
      "format": "date-time"
     },
     "crossed": {
      "type": [
       "integer",
       "null"
      ]
     },
     "reached": {
      "type": [
       "object",
       "null"
      ],
      "additionalProperties": {
       "type": "number"
      },
      "description": "as BaseRate.reached"
     },
     "median_peak": {
      "type": [
       "number",
       "null"
      ]
     },
     "basis": {
      "type": "string",
      "description": "why this band: the public band holding the launch's USD market cap when the answer carries one, else the headline band 15k-28k, and which"
     },
     "source": {
      "type": "string",
      "const": "/public/baserate.json"
     }
    }
   },
   "NextStep": {
    "type": "object",
    "description": "a follow-up call, listed only while that call answers",
    "properties": {
     "call": {
      "type": "string",
      "enum": [
       "baserate",
       "wallets",
       "launch",
       "replay"
      ]
     },
     "method": {
      "type": "string",
      "enum": [
       "GET",
       "POST"
      ]
     },
     "path": {
      "type": "string",
      "description": "the path with this answer's values filled in"
     },
     "price_usd": {
      "type": "number"
     },
     "why": {
      "type": "string"
     },
     "body": {
      "type": "object",
      "description": "the POST body, when this answer fills it in"
     }
    }
   },
   "Freshness": {
    "type": "object",
    "properties": {
     "data_as_of": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time",
      "description": "the answer's X-Data-As-Of"
     },
     "lag_s": {
      "type": [
       "integer",
       "null"
      ],
      "description": "seconds from data_as_of to the moment of the call"
     }
    }
   },
   "BaseRate": {
    "type": "object",
    "properties": {
     "band": {
      "type": "string"
     },
     "from": {
      "type": "string"
     },
     "to": {
      "type": "string"
     },
     "crossed": {
      "type": "integer"
     },
     "per_day": {
      "type": "number"
     },
     "reached": {
      "type": "object",
      "description": "share of the crossings whose peak within 3 h reached each multiple",
      "properties": {
       "2x": {
        "type": "number"
       },
       "5x": {
        "type": "number"
       },
       "10x": {
        "type": "number"
       },
       "20x": {
        "type": "number"
       }
      }
     },
     "median_peak": {
      "type": "number"
     },
     "peak_within_s": {
      "type": "integer",
      "const": 10800
     },
     "venue": {
      "type": "string",
      "enum": [
       "curve",
       "pool",
       "any"
      ],
      "description": "Venue filter actually applied (default any)."
     },
     "gaps": {
      "type": "array",
      "items": {
       "type": "array",
       "items": {
        "type": "string",
        "format": "date-time"
       },
       "minItems": 2,
       "maxItems": 2
      },
      "description": "Present when the window overlaps hours the warehouse holds no data for (a seam between sources): each [from, to); the count is low by that much and the note says so"
     },
     "note": {
      "type": "string",
      "description": "Present when the service adjusted the request or the data has a hole in the window: e.g. from clamped to the coverage start; no data for N h inside this window. Echoed from/to are the window actually used."
     }
    },
    "example": {
     "band": "15k-28k",
     "from": "2026-10-16T00:00:00Z",
     "to": "2026-10-17T00:00:00Z",
     "venue": "any",
     "crossed": 2059,
     "per_day": 2059,
     "reached": {
      "2x": 0.343,
      "5x": 0.112,
      "10x": 0.051,
      "20x": 0.02
     },
     "median_peak": 1.464,
     "peak_within_s": 10800
    }
   },
   "ReplayJob": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "state": {
      "type": "string",
      "enum": [
       "queued",
       "running",
       "done",
       "failed"
      ]
     },
     "position": {
      "type": [
       "integer",
       "null"
      ]
     },
     "result": {
      "$ref": "#/components/schemas/Replay"
     },
     "error": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "Replay": {
    "type": "object",
    "properties": {
     "sum_sol": {
      "type": "number"
     },
     "picks": {
      "type": "integer"
     },
     "filled": {
      "type": "integer"
     },
     "skipped_no_room": {
      "type": "integer"
     },
     "skipped_not_covered": {
      "type": "integer",
      "description": "picks the replay cannot fill yet: on the bonding curve until curve fills ship, before the pool's first trade, or outside the archive"
     },
     "by_pick": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "mint": {
         "type": "string"
        },
        "at": {
         "type": "string"
        },
        "fill_price": {
         "type": [
          "number",
          "null"
         ]
        },
        "fill_rate": {
         "type": "number"
        },
        "fee_bps": {
         "type": "array",
         "items": {
          "type": "number"
         },
         "description": "the fee charged on each fill (entry, then exit), as pump.fun charged it at that venue, market-cap tier and time"
        },
        "exit_at": {
         "type": [
          "string",
          "null"
         ]
        },
        "skipped": {
         "type": [
          "string",
          "null"
         ],
         "description": "why this pick was not filled (on the bonding curve, no pool trade yet at the fill, outside the archive, no room in the bankroll); null when filled"
        },
        "return": {
         "type": "number",
         "description": "net of fees, the fixed costs and the tip lost on a failed try"
        }
       }
      }
     },
     "by_week": {
      "type": "object",
      "additionalProperties": {
       "type": "number"
      }
     },
     "held_out_weeks": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "description": "the most recent eight weeks, returned once per rule signature to each payer; later reads of the same signature get them withheld"
     },
     "held_out_reads": {
      "type": "integer",
      "description": "how many runs this payer has read the held-out weeks in, this one included; more than one is tuning"
     },
     "execution_model": {
      "type": "object",
      "description": "what was charged: fill latency, the fee on each fill (by venue, market-cap tier and date, as pump.fun charged it then), fixed lamports a side (entry and exit), fill rate by the minute, bankroll, exits"
     }
    }
   },
   "CoinMatch": {
    "type": "object",
    "properties": {
     "mint": {
      "type": "string"
     },
     "symbol": {
      "type": [
       "string",
       "null"
      ]
     },
     "name": {
      "type": [
       "string",
       "null"
      ]
     },
     "created": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "graduated_at": {
      "type": [
       "string",
       "null"
      ],
      "format": "date-time"
     },
     "deployer": {
      "type": [
       "object",
       "null"
      ],
      "properties": {
       "address": {
        "type": "string"
       },
       "launches": {
        "type": [
         "integer",
         "null"
        ]
       },
       "graduations": {
        "type": [
         "integer",
         "null"
        ]
       }
      }
     },
     "market_cap_usd_at_5m": {
      "type": [
       "number",
       "null"
      ]
     },
     "peak_day1_usd": {
      "type": [
       "number",
       "null"
      ],
      "description": "the highest market cap over the 24 h after minute five"
     },
     "dead_day1": {
      "type": [
       "boolean",
       "null"
      ]
     },
     "next_steps": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/NextStep"
      }
     }
    }
   },
   "CoinMatches": {
    "type": "object",
    "properties": {
     "query": {
      "type": "string"
     },
     "matched_on": {
      "type": "string",
      "enum": [
       "symbol_or_name",
       "mint"
      ]
     },
     "total": {
      "type": "integer",
      "description": "coins with this ticker or name; the list holds the newest `limit`"
     },
     "coins": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CoinMatch"
      }
     }
    }
   }
  }
 }
}
