Skip to main content
ClaudeWave
pumpdatafun avatar
pumpdatafun

pumpdata-examples

View on GitHub

Calling pumpdata.fun (every PumpSwap trade, ever; pump.fun base rates, wallet and launch records, replay) from an agent or a script, paid per call in USDC over x402

ToolsOfficial Registry0 stars0 forks● TypeScriptMITUpdated 4d ago
ClaudeWave Trust Score
87/100
✓ Trusted
Passed
  • ✓Open-source license (MIT)
  • ✓Actively maintained (<30d)
  • ✓Clear description
  • ✓Documented (README)
Last scanned: 10/22/2026
Get started
Method: Clone
Terminal
git clone https://github.com/pumpdatafun/pumpdata-examples
1. Clone the repository.
2. Follow the README for installation and usage instructions.
Use cases

Tools overview

# pumpdata examples

Calling [pumpdata.fun](https://pumpdata.fun?utm_source=github&utm_medium=listing&utm_campaign=open) from an agent or a script: every pump.fun trade, ever, bonding curve and
PumpSwap, since pump.fun's first day, read from the chain's ledger with the dead coins kept, sold by the
call in USDC over [x402](https://x402.org) on Solana. No key, no account.

| call | asks | price |
|---|---|---|
| `GET /baserate?band=15k-28k&from=<iso>&to=<iso>&venue=any` | how many coins first traded inside a market-cap band in a window, and how many reached 2x, 5x, 10x, 20x within 3 h | $0.005 |
| `POST /wallets` `{"addresses": [...], "mint": "<optional>"}` | what up to 50 wallets have been: winner, bot, supply seller, new, with the SOL behind it | $0.01 |
| `GET /launch/{mint}` | the deployer's record, the bundle at creation, the insiders' share, and how launches that looked the same went over 24 h | $0.005 |
| `POST /replay` `{"picks": [{"mint", "at", "size_sol"}, ...]}` | up to 500 picks replayed against the chain's history with fees and fills (a queued job; poll `GET /replay/{id}`) | $2 |

Free, no payment: yesterday's base rate for every band at [`/public/baserate.json`](https://pumpdata.fun/public/baserate.json?utm_source=github&utm_medium=listing&utm_campaign=open), refreshed hourly.

Contract: [`/openapi.json`](https://pumpdata.fun/openapi.json?utm_source=github&utm_medium=listing&utm_campaign=open). Docs for agents: [`/llms.txt`](https://pumpdata.fun/llms.txt?utm_source=github&utm_medium=listing&utm_campaign=open). A skill: [`/skill.md`](https://pumpdata.fun/skill.md?utm_source=github&utm_medium=listing&utm_campaign=open).

## How a call is paid

1. Call without payment. The answer is **402** with the offer in the body and in the `PAYMENT-REQUIRED` header: price, payee, network (USDC on Solana mainnet), and a Bazaar declaration of the inputs.
2. Sign a USDC transfer for that amount with your wallet (the facilitator pays the network fee; you need no SOL).
3. Call again with the signed payment in `PAYMENT-SIGNATURE`. The answer is the data, with the receipt in `PAYMENT-RESPONSE`.

The x402 client libraries do steps 2 and 3 for you. Every answer carries `X-Data-As-Of` (the build it comes from) and `X-Data-From` (where the data begins). A window with no data answers **404** and costs nothing.

## The examples

- [`curl.sh`](curl.sh): the 402 and the free file, no wallet needed.
- [`node.mjs`](node.mjs): a paid call with `@x402/fetch` and a Solana keypair.
- [`python.py`](python.py): the 402 and the free file from Python; the paid retry with the `x402` package.
- [`mcp.md`](mcp.md): the same calls as MCP tools (Claude Code, Cursor, Cline, Claude Desktop).

## Check the base rate before you ape: agent recipes

A paid `GET /baserate` ($0.005) in four shapes, each 17-21 lines. The payer key comes from `PUMPDATA_PAYER_KEY`
(base58, or the solana-keygen JSON array). The wallet needs USDC and no SOL. Never commit the key.

| file | what | run |
|---|---|---|
| [`x402-fetch.ts`](x402-fetch.ts) | plain fetch with the official client, `@x402/fetch` + `@x402/svm` | `npm run fetch` |
| [`elizaos-action.ts`](elizaos-action.ts) | ElizaOS (`@elizaos/core` 1.x): a `pumpdata` plugin with a `PUMPDATA_BASE_RATE` action | `npm run eliza` |
| [`solana-agent-kit-tool.ts`](solana-agent-kit-tool.ts) | solana-agent-kit v2: an `Action` in a plugin, run through `executeAction` | `npm run agent-kit` |
| [`vercel-ai-tool.ts`](vercel-ai-tool.ts) | Vercel AI SDK (`ai` v7): a `tool()` for `generateText` / `streamText` | `npm run ai-sdk` |

```
npm install
export PUMPDATA_PAYER_KEY='<secret key>'
npm run fetch        # yesterday's (UTC) $15-28K base rate, any venue
npm run typecheck
```

The three framework files reuse `baseRate()` from `x402-fetch.ts`. Run on their own, they call the action or tool
directly, the way the framework would, so no model or agent is needed to try them.

Not affiliated with pump.fun.

What people ask about pumpdata-examples

What is pumpdatafun/pumpdata-examples?

+

pumpdatafun/pumpdata-examples is tools for the Claude AI ecosystem. Calling pumpdata.fun (every PumpSwap trade, ever; pump.fun base rates, wallet and launch records, replay) from an agent or a script, paid per call in USDC over x402 It has 0 GitHub stars and its last recorded update is dated 2026-10-17.

How do I install pumpdata-examples?

+

You can install pumpdata-examples by cloning the repository (https://github.com/pumpdatafun/pumpdata-examples) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is pumpdatafun/pumpdata-examples safe to use?

+

Our security agent has analyzed pumpdatafun/pumpdata-examples and assigned a Trust Score of 87/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.

Who maintains pumpdatafun/pumpdata-examples?

+

pumpdatafun/pumpdata-examples is maintained by pumpdatafun. The last recorded GitHub activity is dated 2026-10-17, with 1 open issues.

Are there alternatives to pumpdata-examples?

+

Yes. On ClaudeWave you can browse similar tools at /categories/tools, sorted by popularity or recent activity.

Deploy pumpdata-examples to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: pumpdatafun/pumpdata-examples
[![Featured on ClaudeWave](https://claudewave.com/api/badge/pumpdatafun-pumpdata-examples)](https://claudewave.com/repo/pumpdatafun-pumpdata-examples)
<a href="https://claudewave.com/repo/pumpdatafun-pumpdata-examples"><img src="https://claudewave.com/api/badge/pumpdatafun-pumpdata-examples" alt="Featured on ClaudeWave: pumpdatafun/pumpdata-examples" width="320" height="64" /></a>
multica-ai
andrej-karpathy-skills
6mo ago

A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.

222k22.3k
ToolsInstall
nextlevelbuilder
ui-ux-pro-max-skill
today

An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.

138.6k14.7kPython
Toolsai-skillsantigravityInstall
JuliusBrussee
caveman
today

🪨 why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.

114.2k6.6kGo
ToolsaianthropicInstall
Alishahryar1
free-claude-code
today

Use Claude Code, Codex, VSCode, Pi, and OpenCode (and 6 other harnesses) for free (1.3B+ free tokens) from your terminal, app, IDE, or phone, and now from the browser with native browser sessions (multi-harness + multi-model) like OpenClaw (voice supported + ToS friendly)

62.5k9.8kPython
ToolsInstall
BerriAI
litellm
today

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

61.8k12.6kPython
Toolsai-gatewayanthropicInstall
router-for-me
CLIProxyAPI
today

Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini Series, GPT Series, Grok Series, Claude model through API

55.9k8.5kGo
Toolsantigravityclaude-codeInstall