Replay for pump.fun bots

What your bot’s picks would really have brought.

A bot that trades new coins on pump.fun can win on paper and lose with real money, because paper fills at the price on the screen, and a real order lands later, moves the price itself, pays fees and sometimes fails. This service takes the picks your bot made, or would have made, and replays each one against the trades that really happened on the chain.

Three real moments, on paper and replayed

Three moments at which a real trading bot bought a coin 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
3ZDC…pump-0.0202-0.0296By the time the buy landed the price had fallen by 42.5%, and the bot sold one second later because the fall it had set as its stop came.
DoVY…pump-0.0004-0.0029By the time the buy landed the price had risen by 0.1%, and the bot sold 61 seconds later because its time limit ran out.
GTQu…pump-0.0103-0.0136By 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 472217609, and the price for a billion token units went from 0.000086540 SOL at the decision to 0.000049735 SOL at landing. It bought 1,980,400,396,891 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.000049981 SOL. The bot decided to sell because the price reached the loss you specified, and the sell landed after the recorded trades in slot 472217613. The curve paid 0.071330439 SOL before trading fees and 0.070438807 SOL after them. The protocol fee was 0.00067764 SOL and the creator fee was 0.000213992 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.000036094 to 0.000035943 SOL. The last real trade was 0 seconds earlier, so the coin counted as still trading with a 60-second cutoff. The result was -0.029588193 SOL, or -29.5882% of the stake. The same pick on paper showed -0.020197576 SOL using the last traded prices and paying no fees.

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": "my-first-pick",
            "mint": "THE_COIN_MINT_ADDRESS",
            "decision": 1795359229,
            "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.

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

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 plain USDC payments on Solana under the x402 protocol in its second version and has to be allowed to spend 1 USDC in one payment; the standard client’s own ceiling is one dollar, which is why the price is not higher.

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: 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

An agent finds everything on this page in a form made for it. 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: 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. An order can also fail for reasons the replay does not model, above all a transaction that never lands at a launch, where most transactions fail. 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. On seventeen coins, recorded on November 23, 2026, it reproduces 8,424 of 8,425 real fills on the bonding curve exactly, in the amounts and in both fees, with the one remaining fill a single lamport apart in a fee, and all 3,452 real fills in the pools exactly. In a separate check of our own, six real buys of a real bot were replayed with nothing but data read live from the chain, and the tokens came out within a hundred-thousandth of a percent of what the bot really received.

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.