The most straightforward way to stream new tokens on Solana. Connect to our WebSocket endpoint and receive real-time notifications as new tokens are created on the network.
const ws = new WebSocket('ws://localhost:3000/stream/new-tokens?api_key=<YOUR_API_KEY_HERE>'); ws.onopen = () => { console.log('Connected to Mintflow'); }; ws.onmessage = (event) => { const token = JSON.parse(event.data); console.log('New token:', token); };
You can filter tokens by sending a JSON filter object when connecting to the WebSocket.
const ws = new WebSocket('ws://localhost:3000/stream/new-tokens?api_key=<YOUR_API_KEY_HERE>'); ws.onopen = () => { console.log('Connected to Mintflow'); // Send filter object const filters = { liquidityMinUsd: 1000, // Minimum liquidity in USD liquidityMaxUsd: 100000, // Maximum liquidity in USD marketcapMinUsd: 5000, // Minimum market cap in USD marketcapMaxUsd: 500000, // Maximum market cap in USD ageMinSeconds: 0, // Minimum age in seconds ageMaxSeconds: 45, // Maximum age in seconds (45 seconds) addressKeyword: "pump" // Address must contain "pump" }; ws.send(JSON.stringify(filters)); }; ws.onmessage = (event) => { const token = JSON.parse(event.data); console.log('Filtered token:', token); };
Query historical tokens using our REST API. All endpoints require authentication via API key that you can get here.
Get the latest tokens with optional filters and pagination.
size
- Number of results (1-1000, default: 25)liquidityMinUsd
- Minimum liquidityliquidityMaxUsd
- Maximum liquiditymarketcapMinUsd
- Minimum market capmarketcapMaxUsd
- Maximum market capageMinSeconds
- Minimum token ageageMaxSeconds
- Maximum token ageaddressKeyword
- Search in mint addressGet detailed information for a specific token by mint address.
:mint
- Token mint addressRate limits are enforced to ensure fair usage and maintain service quality for all users.
The Mintflow project aims to provide real-time token data to developers and traders. We need your support to keep the service running, improve infrastructure, and add new features.
Your donations help us cover server costs, maintain uptime, and continue providing free access to high-quality token data for the Solana ecosystem.