Short answer: To track new token launches by API, read the chain first and aggregators second. On EVM chains a DEX factory emits an event such as Uniswap v2's PairCreated in the block that creates the pool; on Solana, logsSubscribe streams a launch program's logs within seconds. Aggregators such as GeckoTerminal's new_pools are simpler but cached for about a minute, per their documentation read on 26 November 2026.
This guide is for monitoring, research and risk dashboards: seeing what was created, when, and with which risk fields. It contains no order placement code, says nothing about which tokens to buy, and does not cover sniping. Anyone can create a token on a permissionless launchpad, including copies of known names and tokens built to trap buyers, so a feed of launches is a feed of risk. Article 99/A of Capital Markets Law No. 6362 treats activity by foreign crypto-asset platforms directed at Turkish residents as unauthorized, and rules elsewhere depend on your jurisdiction.
Sources were opened on 26 November 2026: solana.com documentation, Uniswap's developer documentation and contract source, the pump-fun/pump-public-docs repository, GeckoTerminal's API description, CoinGecko's onchain reference and DEX Screener's reference. All code below was run that day against public endpoints, read-only. For the DEX Screener endpoint list itself, see the DEX Screener API guide.
Where new tokens first appear, and how late each source is
A token exists on chain before any aggregator lists it, so the earliest signal is a chain event and every API above the chain adds delay.
| Source | What you see | Delay | Free limit |
|---|---|---|---|
EVM factory event (Uniswap v2 PairCreated, v3 PoolCreated) | A new pool for two token addresses | The block it lands in; later for safety against reorgs | Set by your RPC provider |
Solana logsSubscribe on a program | Every transaction mentioning that program, with logs | Seconds, depending on commitment level | Public mainnet: 100 requests per 10 s per IP, 40 connections, 100 MB per 30 s |
| Launchpad on-chain program (pump.fun) | Create instructions and events | Same as the chain | Same as your RPC |
GeckoTerminal /networks/{network}/new_pools | Pools with price, volume and creation time | Cached 1 minute; data 2 to 3 s after confirmation | About 10 calls a minute per its API description; about 5 per CoinGecko's keyless page |
CoinGecko /onchain/networks/{network}/new_pools | Same data with a CoinGecko key | Cached | Demo: 100 calls a minute |
| DEX Screener | No documented new-pairs endpoint | Responses cached 30 to 60 s | 60 or 300 a minute per endpoint |
DEX Screener's token profile and boost feeds show projects that paid for visibility, which is the opposite of an unbiased list of launches.
EVM chains: factory PairCreated and PoolCreated events
Each Uniswap-style factory emits one event per new pool, and reading those logs is the most direct new-pair feed on EVM chains.
Uniswap's contract source defines PairCreated(address indexed token0, address indexed token1, address pair, uint) for v2 and PoolCreated(token0, token1, fee, tickSpacing, pool) for v3, with the two tokens (and the v3 fee) indexed so they can be filtered. Uniswap's v2 deployments page lists the mainnet factory at 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f. Other DEXs run forks with their own factories, so take every factory address from that DEX's own documentation. The script polls eth_getLogs over a block range; eth_subscribe with a logs filter over WebSocket does the same as a stream where your provider supports it.
# Read-only: list Uniswap v2 PairCreated events in the last N blocks via eth_getLogs.
import json, os, urllib.request
from datetime import datetime, timezone
RPC = os.environ.get("RPC_URL", "https://YOUR-ETHEREUM-RPC") # placeholder
FACTORY = "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f" # Uniswap v2 factory, mainnet
TOPIC = "0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9" # keccak("PairCreated(address,address,address,uint256)")
N = 2000
def rpc(method, params):
body = json.dumps({"jsonrpc": "2.0", "id": 1, "method": method, "params": params}).encode()
req = urllib.request.Request(RPC, body, {"Content-Type": "application/json", "User-Agent": "Mozilla/5.0"})
out = json.load(urllib.request.urlopen(req, timeout=30))
if "error" in out:
raise RuntimeError(out["error"])
return out["result"]
head = int(rpc("eth_blockNumber", []), 16)
logs = rpc("eth_getLogs", [{"address": FACTORY, "topics": [TOPIC],
"fromBlock": hex(head - N), "toBlock": hex(head)}])
print(datetime.now(timezone.utc).strftime("%Y-%m-%d %H:%M UTC"), "| blocks", head - N, "to", head, "| PairCreated:", len(logs))
for lg in logs[-3:]:
token0, token1 = "0x" + lg["topics"][1][-40:], "0x" + lg["topics"][2][-40:]
pair = "0x" + lg["data"][26:66]
print(" block", int(lg["blockNumber"], 16), "pair", pair[:10] + "...", "tokens", token0[:10] + "...", token1[:10] + "...")Output on 26 November 2026, using a keyless public Ethereum RPC set through RPC_URL:
2026-11-26 21:09 UTC | blocks 26499965 to 26501965 | PairCreated: 41
block 26501842 pair 0x08d142e5... tokens 0xc02aaa39... 0xf2896b76...
block 26501862 pair 0x4e8e68f9... tokens 0x297a3573... 0xc02aaa39...
block 26501962 pair 0xe35e5a7e... tokens 0x8b4c24bc... 0xc02aaa39...41 v2 pairs were created in those 2,000 blocks; in a rerun minutes later, 43 of 44 pairs in the window included the wrapped ether address beginning 0xc02aaa39. Public RPCs cap eth_getLogs ranges and results differently and change those caps without notice, so production code pages through smaller ranges and handles a range error.
Solana logsSubscribe: a tested launch monitor
logsSubscribe with a mentions filter streams every transaction that touches one program, and the log lines show which instruction ran.
The solana.com reference read on 26 November 2026 says the mentions filter supports exactly one address and that listing more returns an Invalid params error; commitment can be processed, confirmed or finalized (the default). The clusters page lists the mainnet endpoint as https://api.mainnet.solana.com and says public endpoints are not intended for production, may change limits without notice, and answer 429 with a Retry-After header. The program address below comes from pump.fun's own public documentation.
# Read-only monitor: counts new-coin instructions logged by one Solana program.
import asyncio, json, time
from datetime import datetime, timezone
import websockets # pip install websockets
WS = "wss://api.mainnet.solana.com" # public endpoint: rate-limited, not for production
PROGRAM = "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P" # pump program, per pump-fun/pump-public-docs
SECONDS = 60
CREATE_LOGS = {"Program log: Instruction: Create", "Program log: Instruction: CreateV2"} # exact match
async def main():
seen, creates, t_end = 0, [], time.time() + SECONDS
async with websockets.connect(WS, ping_interval=20) as ws:
await ws.send(json.dumps({"jsonrpc": "2.0", "id": 1, "method": "logsSubscribe",
"params": [{"mentions": [PROGRAM]}, {"commitment": "confirmed"}]}))
print("subscription id:", json.loads(await ws.recv())["result"])
while time.time() < t_end:
try:
msg = json.loads(await asyncio.wait_for(ws.recv(), timeout=t_end - time.time()))
except asyncio.TimeoutError:
break
except websockets.ConnectionClosed as e: # public endpoint drops streams
print("connection dropped:", e)
break
v = msg["params"]["result"]["value"]
seen += 1
if v["err"] is None and any(l in CREATE_LOGS for l in v["logs"]):
creates.append((msg["params"]["result"]["context"]["slot"], v["signature"][:12]))
print(datetime.now(timezone.utc).strftime("%Y-%m-%d %H:%M UTC"), f"| {SECONDS - max(0, t_end - time.time()):.0f}s | notifications: {seen} | create instructions: {len(creates)}")
for slot, sig in creates[:3]:
print(" slot", slot, "sig", sig + "...")
asyncio.run(main())Output on 26 November 2026 (21:45 UTC):
subscription id: 0
connection dropped: no close frame received or sent
2026-11-26 21:45 UTC | 46s | notifications: 4612 | create instructions: 7
slot 474303461 sig 4uJRn5UrJRtk...
slot 474303466 sig 5wBHN8tf496i...
slot 474303475 sig 5xazwe1gEfNE...One program produced about 100 notifications a second, and only 7 of 4,612 contained a create instruction. The public endpoint dropped the stream after 46 seconds, as in most reruns that evening, so the loop catches ConnectionClosed. Match log lines exactly: a prefix match on Instruction: Create also counted CreateTokenAccount. Log matching is still a heuristic; a robust monitor decodes the create event with the published IDL, stays under the 100 MB per 30 seconds cap and resubscribes on reconnect as described in the heartbeat and reconnect guide. More on methods and limits is in the Solana RPC and WebSocket API guide.
Pump.fun API docs and WebSocket: what is official
Pump.fun's official public documentation describes its on-chain programs and SDKs, not an HTTP or WebSocket API.
The pump-fun/pump-public-docs repository on GitHub, last updated 20 November 2026 when read, gives the Pump program address 6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P on mainnet and devnet, IDLs for its instructions and events such as CreateEvent, and SDK versions (@pump-fun/pump-sdk 4.1.0 at that date). It changes often: notes from September to November 2026 cover new create_v2 options, new trade instruction versions, negative virtual reserves and a fee recipient rotation (25 November cut-off). No REST or WebSocket service is documented there. Services sold as a "pump fun API" are third-party and unofficial; they can change or disappear without notice, and their data is only as good as their indexing. Reading the program logs yourself, as above, is the documented route.
Aggregator endpoints: GeckoTerminal and CoinGecko new pools
Aggregator new-pool endpoints return enriched records (price, volume, reserves, creation time) without running a listener, at the cost of a cache and a low free limit.
GeckoTerminal's public API, described in its Swagger file on 26 November 2026, serves /networks/new_pools and /networks/{network}/new_pools at https://api.geckoterminal.com/api/v2, cached for 1 minute, at approximately 10 calls a minute, and labelled beta; CoinGecko's Keyless Public API page, read on 27 November 2026, gives about 5 calls a minute for the same keyless endpoints. A call that day for Solana returned 20 pools; the newest was created at 20:42:42 UTC and the response, fetched at 20:43, was a 27-second-old cache hit. CoinGecko's documentation for the same data under /onchain says it includes pools created within the past 48 hours, 20 per page, with pages beyond 10 requiring the Analyst plan or above; see the CoinGecko API guide for keys.
Hypothetical example. A dashboard watches 5 networks through GeckoTerminal's public API. One call per network per minute uses 5 calls a minute, half of the approximate 10 in the API description but all of the approximate 5 on CoinGecko's keyless page, so budget for the lower figure; the 1-minute cache means faster polling would only repeat data. If a network produces more than 20 new pools a minute, the first page misses some, and fetching page 2 doubles the call count.
Attach risk fields to every new token
A launch record is only useful for risk work once it carries the fields that show who can still change the token.
On Solana, the mint account shows whether a mint authority (who can create more supply) and a freeze authority (who can freeze holders' accounts) are still set, and which Token-2022 extensions apply. The function below reads them with getAccountInfo; it was tested on a well-known stablecoin mint, where both authorities are set by design, which is why a flag is a prompt to look closer and never a verdict on its own.
import json, urllib.request
RPC = "https://api.mainnet.solana.com"
def mint_risk_fields(mint):
body = json.dumps({"jsonrpc": "2.0", "id": 1, "method": "getAccountInfo",
"params": [mint, {"encoding": "jsonParsed", "commitment": "confirmed"}]}).encode()
req = urllib.request.Request(RPC, body, {"Content-Type": "application/json", "User-Agent": "Mozilla/5.0"})
v = json.load(urllib.request.urlopen(req, timeout=20))["result"]["value"]
info = v["data"]["parsed"]["info"]
return {"program": v["owner"][:6] + "...", "decimals": info["decimals"],
"mint_authority_set": info.get("mintAuthority") is not None,
"freeze_authority_set": info.get("freezeAuthority") is not None,
"token2022_extensions": [e["extension"] for e in info.get("extensions", [])]}
print(mint_risk_fields("EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"))Output on 26 November 2026:
{'program': 'Tokenk...', 'decimals': 6, 'mint_authority_set': True, 'freeze_authority_set': True, 'token2022_extensions': []}On EVM chains the equivalent fields are owner and upgrade powers, mint and blacklist functions, and who holds the pool's LP tokens. The full checklist, including why automated scores give false negatives, is in how to check a token contract.
Failure cases a launch monitor has to handle
Most errors in launch data come from timing and identity, not from the API call.
- Commitment and rollbacks.
processeddata can still be dropped; EVM blocks can be reorganized. Record the level you used and confirm later. - Failed transactions. Solana notifications include failed transactions; the listener skips any with
errset. - Copycat names. New tokens reuse well-known names and symbols. Identify by address only.
- Changing programs. Launchpad instructions get new versions, as pump.fun's notes show; pin IDL versions and alert on unknown instructions.
If you need this built as a monitored pipeline rather than a script, Fincode's market data pipelines page describes that work; it covers data collection, not trading.
Frequently asked questions
Does DEX Screener have a new pairs API endpoint?
Not in its reference read on 26 November 2026. GeckoTerminal's public API and CoinGecko's onchain endpoints document new_pools endpoints instead.
Is there an official pump.fun API?
Pump.fun's official public docs on GitHub describe its on-chain programs, IDLs and SDKs, not a REST or WebSocket service. Third-party pump.fun APIs are unofficial and may change or break.
How do I list new Solana tokens in real time?
Subscribe with logsSubscribe to the program that creates them, using the mentions filter, which accepts exactly one address. Public endpoints are rate-limited and not meant for production.
What is the fastest way to see a new Uniswap pair?
Read the factory's PairCreated (v2) or PoolCreated (v3) logs from an Ethereum RPC. The event appears in the block that creates the pool.
Can this guide's code place trades?
No. All code here is read-only monitoring and contains no order or wallet signing logic.
Sources
- Solana docs: logsSubscribe, read 26 November 2026 (opens in a new tab)
- Solana docs: Clusters and public RPC endpoints (opens in a new tab)
- Uniswap v2 deployments (opens in a new tab)
- Uniswap v2-core: IUniswapV2Factory.sol (opens in a new tab)
- Uniswap v3-core: IUniswapV3Factory.sol (opens in a new tab)
- pump-fun/pump-public-docs, last updated 20 November 2026 (opens in a new tab)
- GeckoTerminal Public API (Swagger), read 26 November 2026 (opens in a new tab)
- CoinGecko API docs: Keyless Public API, read 27 November 2026 (opens in a new tab)
- CoinGecko API docs: New Pools by Network (opens in a new tab)
- DEX Screener API Reference (opens in a new tab)
- Capital Markets Law No. 6362, consolidated text, Article 99/A (Turkish) (opens in a new tab)
This guide is general information about software and markets, not investment, legal or tax advice. Automated trading can lose money, past or backtested performance does not guarantee future results, and the rules that apply depend on your jurisdiction and your exchange's terms. Sources, checks and corrections: see the editorial policy.