Replay for pump.fun bots

Backtest your past pump.fun picks on the bonding curve and PumpSwap

Check the picks document for free

Download the three picks from the worked example and check whether the service can read them before it looks at any trades.

curl -fsS https://replay.loopholetape.com/v1/example |
  python3 -c 'import json, sys; print(json.dumps(json.load(sys.stdin)["document"]))' |
  curl -sS --json @- https://replay.loopholetape.com/v1/check

The check returns ok: true for three picks on three coins and first_pick_free: true, which means the first pick fits the free run.

Replay the first pick for free

curl -fsS https://replay.loopholetape.com/v1/example |
  python3 -c 'import json, sys; print(json.dumps(json.load(sys.stdin)["document"]))' |
  curl -sS --json @- https://replay.loopholetape.com/v1/replay/first

For the first example pick the estimated change in cash after fees is 0.028059329 SOL on a stake of 0.1 SOL. The free run leaves the other two picks out.

Three real moments, on paper and replayed

The example uses three recorded buys that a trading bot made on the pump.fun bonding curve in November 2026. Each pick puts 0.1 SOL in at that moment with a delay of 800 milliseconds, allows 15% fewer tokens than quoted, and sells after a rise of 30%, a fall of 20% or one minute, whichever comes first. The first column of figures is what a paper trader books for each pick, which is the last traded price with no delay and no fees, and the second is what the replay finds, in SOL on a stake of 0.1.

CoinOn paperReplayedWhat happened
BuKE…pump+0.0305+0.0281By the time the buy landed the price had risen by 0.2%, and the bot sold 16 seconds later because the rise it was waiting for came.
eXra…pump-0.0203-0.0238By the time the buy landed the price had fallen by 0.9%, and the bot sold 20 seconds later because the fall it had set as its stop came.
4mNU…pump+0.0185+0.0151By the time the buy landed the price had risen by 0.3%, and the bot sold 61 seconds later because its time limit ran out.

These three were not picked for their result. The program that made the example takes the bot’s buys in the order they happened, one for each coin, and keeps the first three whose whole exit could be replayed. The document that produced them and the full answer are at /v1/example, so anyone can send the same picks and compare.

What the answer says in words

A run comes back as data and also as plain sentences, one paragraph for each pick. This is the paragraph for the first pick above.

For moment-1, the stake was 0.1 SOL. The recording starts after launch, so the launch-stock check was skipped. The buy landed after the recorded trades in slot 472522198, and the price for a billion token units went from 0.000070203 SOL at the decision to 0.000070363 SOL at landing. It bought 1,400,363,672,321 token units with 0.098738764 SOL on the curve, 0.000938019 SOL for the protocol and 0.000296217 SOL for the creator, and the transaction also cost 0.000005 SOL for the base fee, 0.000012 SOL for priority and 0.00001 SOL for the tip. The buy moved that price to 0.000070656 SOL. The bot decided to sell because the price reached the gain you asked for, and the sell landed after the recorded trades in slot 472522276. The curve paid 0.129707676 SOL before trading fees and 0.128086329 SOL after them. The protocol fee was 0.001232223 SOL and the creator fee was 0.000389124 SOL. The transaction cost 0.000005 SOL for the base fee, 0.000012 SOL for priority and 0.00001 SOL for the tip, and the sale moved the price for a billion token units from 0.000092845 to 0.000092405 SOL. The last real trade was 0.5 seconds earlier, so the coin counted as still trading with a 60-second cutoff. The result was 0.028059329 SOL, or 28.0593% of the stake. The same pick on paper showed 0.030521095 SOL using the last traded prices and paying no fees.

A failed buy and a pick that crossed into PumpSwap

In a recorded buy on November 22, 2026, Pump rejected the signed price limit and the receipt shows a network fee of 6,000 lamports. One SOL is a billion lamports.

In a separate simulated buy on the November 22 trades for 4mNUKfAz28nwvnRUwJZdi77t8HQeDZjF8o646cskpump, the pick allowed no price change after slot 472528934, transaction 45. With an assumed delay of 800 milliseconds and a place at the end of its slot, the buy failed and received no tokens. The replay charged 17,000 lamports, which includes the base fee of 5,000 and the 12,000 the bot offered for priority. The tip of 10,000 rolled back with the buy.

In a simulated trade across the move on November 23, the pick spent 0.1 SOL on the curve for 2UwxN56YJrxAu1sDDYt2aDCUxFcCS3fHSLmNHGLWpump. It allowed a 15 percent price change and assumed a place just after transaction 290 in slot 473087883 with zero delay, no priority fee or tip and a two second hold. The replay carried all 2,236,335,696,542 token units into the recorded pool and sold them on PumpSwap. The simulated sale returned 7.925442144 SOL after fees, assuming the other traders still placed the orders in the recording.

Which replay fits your picks?

If you have 400 picks made after graduation or want each buy to draw on one shared balance, pumpdata.fun’s replay guide lists a run of up to 500 picks for 2 USDC. Its guide dated October 27, 2026 says it skips entries before the pool’s first trade and uses the pool’s trading history to estimate missed fills.

Here a full run costs 1 USDC for up to 50 independent picks with up to 60 minutes to sell. Try the free first pick if your bot entered on a launch curve priced in SOL, held through the move to PumpSwap or set a price limit that could have stopped the buy.

What you send

You send one JSON document with the settings of your bot and a list of picks. A pick names the coin by its mint address, the moment the bot decided, the SOL it would put in with fees included, the slippage it allows in hundredths of a percent, and the rule by which it sells, which is either a holding time or a rise and a fall with a time limit. The moment is either a Unix time in whole seconds, which means the start of that second, or a slot with an index, which means directly after the transaction at that position in the slot, whether or not a transaction stands there. Each pick is replayed by itself, so two picks on the same coin do not feel each other.

The settings give the bot’s delay from deciding to landing in milliseconds, which is rounded up to whole slots of 400 milliseconds, where in the landing slot its order sits, and what it pays as priority fee and tip in lamports. With last the order lands after the recorded transactions of its slot, and with first or after_trigger it lands before them, or, when the delay is zero, directly after the transaction the decision names.

{
  "settings": {
    "delay_ms": 800,
    "placement": "last",
    "priority_fee": 12000,
    "tip": 10000
  },
  "picks": [
    {
      "id": "moment-1",
      "mint": "BuKEom3vgDLJgyVs97jvD4Du6zTKLmxe7Q5mhJcQpump",
      "decision": {
        "slot": 472522196,
        "index": 137
      },
      "stake_lamports": 100000000,
      "slippage_bps": 1500,
      "exit": {
        "type": "threshold",
        "up_bps": 3000,
        "down_bps": 2000,
        "max_seconds": 60
      }
    }
  ]
}

A document can be checked for free, which says whether a full run would take it and whether its first pick fits the free sample, though the check does not look at the chain. The free sample replays the first pick of a valid document and leaves the rest out, up to 6 times an hour for a caller, with an exit window of up to 15 minutes. One address may send up to 40 requests that carry a document in a minute, and more than that are turned away for a minute.

How often did your orders land?

Orders that never land are outside the replay unless your bot gives its own landing data. Add a landing field beside picks with {"rate": 0.5, "sample_size": 4} if two of four sends landed, or give send_log with one to 256 rows. Each row gives sent_at_ms as a Unix time in milliseconds and landed as true or false. Include the transaction signature if you have it, and count a signed order once. A trade that reached the chain and failed still counts as landed.

For a landed send you can give landed_at_ms from the bot’s clock, or the replay can look up the signature and use the block time recorded in whole seconds. Lookups use the run’s usual allowance for reading history, so a run that reaches its limit gives delays only for the sends it could time. Sends without usable times still count toward the rate, and the delay figures say how many sends could be timed. The free check validates the fields and the free first pick uses the sample. The replay uses the chosen delay for pricing and estimates each send’s chance of landing from the same sample. A missed buy costs nothing and a missed sale leaves the tokens open. If a sale at a price target misses before the pick’s time limit, the replay tries once more at that limit and counts the proceeds only if that sale fills. Each pick gives its estimated cash change and open tokens in expected, and the run gives expected_net_sol and net_sol_range in summary. The range shows how the cash estimate changes across a 95 percent interval for the landing rate, so a small sample can give a wide range.

In this example the chain recorded two transactions in the same second and one of them failed. The send times and the two missed orders are made up to show what a bot could supply. Two of four sends landed and the estimated delays run from one to two seconds with a middle value of 1.5 seconds. On the recorded trades the 0.1 SOL pick would have lost 0.002522473 SOL if both orders landed. With half of sends landing independently, the buy misses half the time and the buy fills but the sale misses a quarter of the time. The estimated change in cash is −0.02563061825 SOL, with a range of about −0.025647 to −0.012810 SOL from uncertainty in four sends. The open tokens are reported separately because the bot has received no SOL for them.

{
  "settings": {
    "delay_ms": 800,
    "placement": "last",
    "quiet_seconds": 60,
    "priority_fee": 12000,
    "tip": 10000
  },
  "picks": [
    {
      "id": "quiet-exit",
      "mint": "Bapw65TbdzkudfMoPQnS9gdNUhjmNseWAr8L76iGpump",
      "decision": 1795359229,
      "stake_lamports": 100000000,
      "slippage_bps": 200,
      "exit": {
        "type": "time",
        "seconds": 120
      }
    }
  ],
  "landing": {
    "send_log": [
      {
        "sent_at_ms": 1795356283000,
        "landed": true,
        "signature": "4KoAnmP1SDYe3XAz2M6UDAVvLenPBkzF2of3UDCqT6a4mUxdGg3KVz2gtt5HVUsvNBtGNJWcJFZNtcdy9b6LZAqG"
      },
      {
        "sent_at_ms": 1795356284000,
        "landed": true,
        "signature": "5Dsk87Qz3xiEtfVgabpxiXKqjTS1vtfLzYBQZ7SvTTi1X35D5KcmX9w8wpNCewj84PrqG1pFD3Gz3bhTpBXKqWjD"
      },
      {
        "sent_at_ms": 1795356284000,
        "landed": false
      },
      {
        "sent_at_ms": 1795356286000,
        "landed": false
      }
    ]
  }
}

What a run costs, and when it is charged

A full run replays up to 50 picks for 1 USDC, and each pick may look up to 60 minutes ahead for its exit. The paid route answers a request that carries no payment with status 402 and its terms, and an x402 client then signs a transfer of 1 USDC on Solana from the bot’s own wallet and sends the request again. The wallet needs only the USDC, because the service that settles the payment pays the network fee, and it has to fetch a recent blockhash by itself, because the terms carry none. A client has to support version two of x402 and must be allowed to spend 1 USDC in one payment, and the sample client limits each payment to 1 USDC unless you choose a different limit.

A run is charged when at least one of its picks could be priced at its entry, which includes a buy that would have failed on its own limit, because that failure is the answer. A document that is wrong, a pick whose exit window ended less than a minute ago, a run in which no pick could be priced, a run that takes longer than half a minute, and every failure on our side or at our data provider are answered with a status of 400 or more and are not charged, and the answer says why. The signed transfer has to be for exactly the price, and one signed payment buys one run, so a second request that carries the same payment is turned away. A wallet is also not charged twice for the same document while its answer is kept, because a second request with that document is turned away and pointed to the stored answer.

curl -s -X POST https://replay.loopholetape.com/v1/replay -d @picks.json

Every paid answer is stored before it is sent and is kept for 7 days, so if you paid and the answer did not reach you, sign the line replay results payer=YOUR_ADDRESS date=YYYY-MM-DD with the paying wallet, where the date is the day in UTC, and send your address and the signature in base58 to /v1/replay/results as the JSON fields payer and signature. The service looks the payment up on the chain itself before it answers, so a payment that went through is honoured even when the service that settles payments reported a failure. That can happen when the confirmation of a payment is lost on its way, because the request then comes back with status 402 and an empty answer although the transfer went through, and the stored answer can be fetched about a minute later.

For an agent

You can read the replay details as JSON. The notes for agents are at /llms.txt, the description of every route with its schema is at /openapi.json, and the free check and the free sample are also offered as tools at /mcp, which speaks the Model Context Protocol. The paid run stays a plain HTTP request, because its payment rides in the request's headers.

What the replay does with a pick

It reads the coin’s committed trades around the pick from the chain, puts the bot’s buy where it would have landed after the bot’s own delay, and prices it on the reserves of that moment with the curve’s own arithmetic, so the answer holds the tokens bought, the protocol fee, the creator fee, the network fees and the tip, or the reason the buy would have failed. Then it walks forward through the trades that really followed, with the bot’s position included, until the sell rule fires, and prices the sale in the same way. When a coin leaves the bonding curve while the bot holds it, the position is carried into the coin’s pool and priced there with the pool’s fees, and an order that would land between the full curve and the new pool fails, as it does on the chain.

Not every pick ends in a sale. A sale can fail on its own limit, a coin can stop trading in a way that leaves the assumption below impossible, and the answer then gives the tokens still held with their value at the last price, or says that no value can be given. A coin whose curve is priced in something other than SOL is recognised and not replayed.

What it assumes, and where it can be wrong

The replay inserts your order and keeps everyone else’s orders as they were, so every other buyer still spends the SOL they really spent and every other seller still sells the tokens they really sold, and what each of them gets is worked out again on the changed reserves. Real traders might have acted differently once your order was there. Where exactly a real order lands inside a block is not known beforehand, so the answer holds for the place you chose in the settings, and one buy that slips in ahead of yours can turn a fill into a failure. If an order never landed, the chain has no receipt for it and the replay cannot tell whether your bot submitted it. The paper figure beside each result is the simplest paper trade and not your own bookkeeping.

How it was checked

The arithmetic was checked against the chain before anything else was built, and the checker’s own output is kept with the service. Across the sixteen coins in these recordings, the replay matched the amounts and fees of all 6,385 curve trades with a known starting balance and all 2,379 pool trades. Another 74 curve trades needed an estimate of the starting balance, and 28 matched exactly while all 74 were within one percent.

What is kept

The service writes one line for each run with what it read and what it cost, and that line does not hold the picks. A paid answer, which does hold the picks it answers, is kept for 7 days together with the address of the paying wallet, so that its buyer can fetch it again, and the stretches of public history that a run read are kept for a day. Callers are counted by a code worked out from their address, which changes every day in the records and cannot be turned back into the address, and this page sets no cookie.