API ReferenceToken APIGet Pump Fun TokensGet New Tokens by ExchangeVersion: 2.2Get New Tokens by Exchange Mainnet OnlyGEThttps://solana-gateway.moralis.io/token/mainnet/exchange/:exchange/newReturns a list of newly created tokens on the specified exchangePATH PARAMSexchangestringrequiredThe exchange identifierQUERY PARAMSlimitnumberThe maximum number of tokens to returncursorstringCursor for paginationResponses200 Returns a list of new tokens on the specified exchangeobjectAPI KEYTest Live APINode.jsPythoncURLGoPHP// Dependencies to install:// $ npm install node-fetch --save// add "type": "module" to package.jsonimport fetch from 'node-fetch';const options = { method: 'GET', headers: { accept: 'application/json', 'X-API-Key': 'YOUR_API_KEY' },};fetch('https://solana-gateway.moralis.io/token/mainnet/exchange/pumpfun/new?limit=100', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));# Dependencies to install:# $ python -m pip install requestsimport requestsurl = "https://solana-gateway.moralis.io/token/mainnet/exchange/pumpfun/new?limit=100"headers = { "Accept": "application/json", "X-API-Key": "YOUR_API_KEY"}response = requests.request("GET", url, headers=headers)print(response.text)curl --request GET \ --url 'https://solana-gateway.moralis.io/token/mainnet/exchange/pumpfun/new?limit=100' \ --header 'accept: application/json' \ --header 'X-API-Key: YOUR_API_KEY' package mainimport ( "fmt" "net/http" "io/ioutil")func main() { url := "https://solana-gateway.moralis.io/token/mainnet/exchange/pumpfun/new?limit=100" req, _ := http.NewRequest("GET", url, payload) req.Header.Add("Accept", "application/json") req.Header.Add("X-API-Key", "YOUR_API_KEY") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body))}<?php// Dependencies to install:// $ composer require guzzlehttp/guzzlerequire_once('vendor/autoload.php');$client = new \GuzzleHttp\Client();$response = $client->request('GET', 'https://solana-gateway.moralis.io/token/mainnet/exchange/pumpfun/new?limit=100', [ 'headers' => [ 'Accept' => 'application/json', 'X-API-Key' => 'YOUR_API_KEY', ],]);echo $response->getBody();Response Example200 Returns a list of new tokens on the specified exchange{ "result": [ { "tokenAddress": "HcUx4pSPpWoKZCPhHApnMVp3ZE29TM9ZB9JtVFr1LjoB", "name": "Test", "symbol": "$TEST", "logo": "", "decimals": "6", "priceNative": "0.0000000280515", "priceUsd": "0.000004092", "liquidity": "8768.063894688", "fullyDilutedValuation": "4092", "createdAt": "2025-03-05T09:34:11.000Z" } ], "cursor": ""}