Skip to main content
GET
/
trades
/
latest
Get Latest Trade
curl --request GET \
  --url https://frontend-api-v3.pump.fun/trades/latest
{
  "trade": {
    "signature": "<string>",
    "mint": "<string>",
    "timestamp": "<string>",
    "tradeDirection": "<string>",
    "amount": 123
  }
}

Authentication

This endpoint requires JWT authentication via the Authorization: Bearer <token> header.

Parameters

This endpoint does not accept any parameters.

Response

trade
object
The most recent trade object containing:

Example Request

curl -X GET "https://frontend-api-v3.pump.fun/trades/latest" \
  -H "Authorization: Bearer <your_token>" \
  -H "Accept: application/json"
Replace <your_token> with your actual JWT token.

Use Cases

Real-time Activity Monitoring

Poll this endpoint to monitor the latest trading activity across the entire Pump.fun platform. This is useful for:
  • Detecting new token launches
  • Monitoring overall platform activity
  • Building real-time activity feeds
  • Tracking market sentiment

Example: Polling for Updates

import requests
import time

url = "https://frontend-api-v3.pump.fun/trades/latest"
headers = {
    "Authorization": "Bearer <your_token>",
    "Accept": "application/json"
}

last_signature = None

while True:
    response = requests.get(url, headers=headers)
    trade = response.json()
    
    if trade['signature'] != last_signature:
        print(f"New trade detected: {trade}")
        last_signature = trade['signature']
    
    time.sleep(5)  # Poll every 5 seconds
Be mindful of rate limits when polling this endpoint. Implement appropriate delays between requests.

Build docs developers (and LLMs) love