Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key
Version: 2.2

Get Bonding Tokens by Exchange Mainnet Only

GEThttps://solana-gateway.moralis.io/token/mainnet/exchange/:exchange/bonding

Returns a list of tokens currently in the bonding phase on the specified exchange

PATH PARAMS
exchangestringrequired
The exchange identifier
QUERY PARAMS
limitnumber
The maximum number of tokens to return
cursorstring
Cursor for pagination
Responses
API KEY
// Dependencies to install:
// $ npm install node-fetch --save
// add "type": "module" to package.json

import 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/bonding?limit=100', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
Response Example
{
"result": [
{
"tokenAddress": "H2p8S7Ssd3mrBft1bcDGnzW8KNRAGtPTtJLv1tnupump",
"name": "SKYTO",
"symbol": "SKYTO",
"logo": "https://d23exngyjlavgo.cloudfront.net/solana_H2p8S7Ssd3mrBft1bcDGnzW8KNRAGtPTtJLv1tnupump",
"decimals": "6",
"priceNative": "0.000000346",
"priceUsd": "0.000050522",
"liquidity": "30803.481504874",
"fullyDilutedValuation": "50522",
"bondingCurveProgress": 96.85384504519783
}
],
"cursor": ""
}