Coin Trades
by pump.x4o2.com in Onchain & crypto
The coin's trade tape as pump.fun shows it: the most recent buys and sells with wallet (and username where known), token and SOL amounts, USD value, price and market cap at the time, slot and transaction signature. minUsd filters out dust. Use to see current flow in a token.
https://pump.x4o2.com/v1/coin/:mint/trades- Price
- $0.001
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 398 ms
- 451 ms slowest 5%
- Last check
- Passed
- 4 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://pump.x4o2.com/v1/coin/:mint/trades
Each call costs $0.001 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://pump.x4o2.com/v1/coin/:mint/trades?limit=100&maxAge=5&minUsd=1&stale=0Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | string | No | Number of entries, 1-200 |
maxAge | string | No | Serve a cached copy up to this many seconds old; 0 forces the freshest allowed |
minUsd | string | No | Minimum USD size of trades to include |
stale | string | No | 1 returns any cached copy immediately and refreshes in the background |
Example response
The provider's example. We can't check it without paying.
Example response, 105 lines
{
"data": {
"aggregates": {
"asOf": "457269819-72-403-1792074265000",
"buyVolumeUsd": "1795.3396161433097",
"buys": 15,
"netBase": {
"decimals": 6,
"raw": "18488405779"
},
"sellVolumeUsd": "645.3845168900864",
"sells": 5
},
"cursor": "AQBEIcDM5Z2sgKgx8z-hAQAAGjAwMDQ1NzI2OTgxOTAwMDA3MjAwMDAwNDAzEIzvP6EBAAAaMDAwNDU3MjY4Njk2MDAwMzY4MDAwMDA2MDSD2jAOiuI7sw",
"source": "indexed",
"trades": [
{
"baseAmount": {
"decimals": 6,
"raw": "3012560298"
},
"blockId": "457269819",
"blockTimeMs": 1792074265000,
"eventIndex": 403,
"isBackfill": false,
"kind": "swap",
"late": false,
"legIndex": 0,
"ordinalKey": "457269819-72-403-1792074265000",
"pool": {
"address": "HMzvsEEmtzHhvZNw9uwbaG85HCTmFnkbhzUx16cy7ca3",
"chainId": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"
},
"priceQuote": "0.000603084619112103",
"priceUsd": "0.062146853158126274",
"quote": {
"id": "So11111111111111111111111111111111111111112"
},
"quoteAmount": {
"decimals": 9,
"raw": "1816586336"
},
"quotePriceUsd": "103.0483139325",
"side": "buy",
"trader": {
"address": "DAqCpTpQN1JNCDYLXWir28q1J2eXSufiNNADsSnUQTBZ"
},
"txId": "5wbqUm78LLniJaQkqZ3avPacGdoyGVKZeGZzpRAfXAj7UZmBvmukmx8fCXEdBPPArQ3opLRPGvgXar1vqrdWAd9r",
"txIndex": 72,
"valueNative": "1.816586336",
"valueUsd": "187.19615903761792632",
"venue": "pump_amm"
},
{
"baseAmount": {
"decimals": 6,
"raw": "69319263"
},
"blockId": "457269645",
"blockTimeMs": 1792074229000,
"eventIndex": 103,
"isBackfill": false,
"kind": "swap",
"late": false,
"legIndex": 0,
"ordinalKey": "457269645-89-103-1792074229000",
"pool": {
"address": "HMzvsEEmtzHhvZNw9uwbaG85HCTmFnkbhzUx16cy7ca3",
"chainId": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"
},
"priceQuote": "0.000602923834356471",
"priceUsd": "0.062139275239484018",
"quote": {
"id": "So11111111111111111111111111111111111111112"
},
"quoteAmount": {
"decimals": 9,
"raw": "41668978"
},
"quotePriceUsd": "103.06322573199999",
"side": "sell",
"trader": {
"address": "Cy3UVwZFRK5nYqdUc24VTzfsk9c4jEs6RuiW4TtcrHFq"
},
"txId": "4PmD9uSJVD3y7Ubbn19dbufHXn4uwFyEh2gc8BUgwNd1QL8WD5JszhZg2Psh7PXefn3KmUeGhf9A2vKAsFZ4pr1N",
"txIndex": 89,
"valueNative": "0.041668978",
"valueUsd": "4.294539285635741896",
"venue": "pump_amm"
}
]
},
"meta": {
"ageMs": 499,
"observedAt": 1792074269473,
"parts": {
"trades": {
"observedAt": 1792074269473,
"source": "fresh"
}
},
"pumpCalls": 1,
"source": "fresh"
}
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.001.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://pump.x4o2.com/v1/coin/:mint/trades?limit=100&maxAge=5&minUsd=1&stale=0'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://pump.x4o2.com/v1/coin/:mint/trades?limit=100&maxAge=5&minUsd=1&stale=0' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.001 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.001" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.001 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fpump.x4o2.com%2Fv1%2Fcoin%2F%3Amint%2Ftrades
const res = await pay("https://pump.x4o2.com/v1/coin/:mint/trades?limit=100&maxAge=5&minUsd=1&stale=0");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.001 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.001"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://pump.x4o2.com/v1/coin/:mint/trades?limit=100&maxAge=5&minUsd=1&stale=0")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 398 ms | $0.001 |
| 8 h ago | Passed | 402 | 451 ms | $0.001 |
| 13 h ago | Passed | 402 | 401 ms | $0.001 |
| 18 h ago | Passed | 402 | 433 ms | $0.001 |
| 22 h ago | Passed | 402 | 396 ms | $0.001 |
Show 2 older checks
| 27 h ago | Passed | 402 | 154 ms | $0.001 |
| 31 h ago | Passed | 402 | 179 ms | $0.001 |