Developer Resources

API Documentation

Integrate with our powerful API endpoints for Solana token trading, pump.fun operations, and automated trading bots.

API Endpoints

Pool Information

Pump.fun
Pump Swap AMM Pools

Trading Endpoints

Pump.fun
Pump Swap AMM Pools
RaydiumSoon
MeteoraSoon
Automatic TradingSoon
GET

Get Pool Information

Get pool information for a specific pool.

Endpoint

https://ewr.swapapi.io/api/v1/pool/{poolAddress}

Path Parameters

NameTypeRequiredDescription
poolAddresspathYesSolana pool address

Headers

NameRequiredDescription
X-API-KeyYesYour API key for authentication

Example Request

1curl "https://ewr.swapapi.io/api/v1/pool/{poolAddress}" \
2 -H "X-API-Key: YOUR_API_KEY"

Responses

200Pool information retrieved successfully
1curl "https://ewr.swapapi.io/api/v1/pool/YN4U8xySzuyARUMTNCpMgkkek7nnh2VAkUMdMygpump"
2
3{
4 "success": true,
5 "data": {
6 "poolAddress": "pool_address",
7 "baseMint": "base_token_mint",
8 "quoteMint": "quote_token_mint",
9 "pricing": {...},
10 "balances": {...},
11 "poolStats": {...}
12 }
13}