Two Methods to Find Bonding Curves
Method 1: Using token/details (Recommended)
The simplest way - directly get thebondingCurveAddress field:
Method 2: Using token/markets
List ALL pools/markets for a token, then find the bonding curve by matching the pooltype with the token’s source:
Understanding Bonding Curves
A bonding curve is a pricing mechanism where token price increases as more tokens are purchased. Many protocols use bonding curves to bootstrap liquidity for new tokens before eventually migrating to traditional AMM pools once a threshold is reached.Key Concepts
source: The protocol that launched the token (e.g., “pumpfun”, “clanker”, “moonshot”)
type: The pool type identifier (e.g., “pumpfun”, “clanker”, “uniswap-v2”)
Bonding Curve Pool: When a token’s source matches a pool’s type, that pool is the bonding curve. For example:
- Token source: “pumpfun” → Pool type: “pumpfun” = Bonding curve
- Token source: “clanker” → Pool type: “clanker” = Bonding curve
Key Response Fields
Method 1: Using token/details (Simplest)
TypeScript
Python
Method 2: Using token/markets (Advanced)
This method lists ALL pools and finds the bonding curve by matching pooltype with token source.
TypeScript
Python
How It Works
Understanding the Matching Logic
When you querytoken/markets, you get ALL pools for a token:
type matches source:
- Pool 1:
type: "pumpfun"=source: "pumpfun"✅ This is the bonding curve! - Pool 2:
type: "raydium-v4"≠source: "pumpfun"❌ This is a migrated pool
Response Structure (token/details)
Response Structure (token/markets)
Protocol-Specific Examples
Pump.fun (Solana)
Clanker (Base)
Moonshot (Solana)
Generic Function for Any Protocol
Advanced: Monitor Bonding Progress
Source to Pool Type Mapping
Common bonding curve protocols and their identifiers:Best Practices
Multiple pools are normal:
token/markets returns ALL pools for a token (bonding curve + migrated pools). The bonding curve is just one of them.Troubleshooting
Issue: No pool matches token source
Problem: No pool wheretype equals token source
Solutions:
- Token may have completed bonding (check
bonded: true) - Token may not have originated from a bonding curve
- Use
token/detailsto checkbondingCurveAddressdirectly - Verify token address is correct
Issue: bondingCurveAddress is null
Problem:token/details returns bondingCurveAddress: null
Solutions:
- Token has completed bonding - check
bonded: true - Token didn’t launch via bonding curve
- Check
poolAddressfor current active pool
Issue: Multiple pools with same type
Problem: Multiple pools found with matchingtype
Solution: This is unusual but possible. Choose based on:
- Pool with
bonded: false(active bonding curve) - Highest
liquidityUSD - Most recent
createdAtdate
Comparison: token/details vs token/markets
Related Resources
Token Details API
Get bondingCurveAddress directly
Token Markets API
List all pools for a token
Market Details API
Detailed info about specific pools
Swap Execution API
Execute swaps on bonding curves
Get Started
Create a free Mobula API key and start finding bonding curve addresses today!Need Help?
Telegram
Fast support
Discord
Community
Slack
Enterprise
Contact us