Skip to main content

Introduction

The Trades API provides comprehensive endpoints for tracking and retrieving trading activity on Pump.fun tokens. You can fetch trades for specific tokens, get the latest trade activity, count trades, and retrieve trades by transaction signatures.

Available Endpoints

Get All Trades

Retrieve all trades for a specific token with pagination and filtering

Latest Trade

Get the most recent trade across all tokens

Trade Count

Get the total number of trades for a specific token

Trades by Signature

Retrieve specific trades using transaction signatures

Authentication

All Trades API endpoints require JWT authentication. Include your JWT token in the Authorization header:
Authorization: Bearer <your_jwt_token>

Common Use Cases

Monitor Token Activity

Use the trades endpoints to monitor buying and selling activity for specific tokens, helping you understand market sentiment and trading patterns.

Track Trade Volume

Combine the trades count endpoint with the all trades endpoint to calculate trading volumes and analyze market activity over time.

Filter by Trade Size

Use the minimumSize parameter to filter out small trades and focus on significant market movements.

Historical Analysis

Retrieve historical trade data using pagination parameters to analyze price movements and trading patterns over time.
All endpoints require authentication via JWT token. Ensure you include the Authorization: Bearer <token> header with all requests.

Response Data

Trade responses typically include:
  • Transaction signature
  • Token mint address
  • Trade size and direction (buy/sell)
  • Timestamp
  • User information
  • Price and amount data

Rate Limiting

Be mindful of rate limits when making requests to the Trades API. Check response headers for rate limit information:
  • x-ratelimit-limit - Request limit
  • x-ratelimit-remaining - Remaining requests
  • x-ratelimit-reset - Reset time

Build docs developers (and LLMs) love