Build with Meteoric API
Get started with our detailed API reference and integration guides for building high-performance trading applications on Solana with institutional-grade infrastructure.
Why the best developers choose Meteoric
Enterprise-grade infrastructure designed for the next generation of Solana applications
Lightning Speed
Execute trades in under 25ms with our globally distributed infrastructure and optimized routing algorithms.
Institutional-Grade Security
Full transaction control with local signing, custom RPC endpoints, and military-grade encryption protocols.
Live Market Data
Stream real-time trading data, price feeds, and market events via high-performance WebSocket connections.
API Reference
Comprehensive documentation for all Meteoric API endpoints.
Choose your integration method and start building.
Lightning Transaction API
Easy to use API designed for quick integration. Send an HTTPS request and we handle the transaction sending with optimized latency. All endpoints require authentication and have rate limits.
Base URL
https://meteoric.lol/apiAuthentication
Include your API key in headers:
Authorization: Bearer API_KEYRate Limits
Buy Token
Execute a buy order for a specific token. This endpoint handles the entire transaction process including slippage protection and priority fee optimization.
Endpoint
/trade/buyRequest Body Parameters
publicKeyrequiredstringYour Solana wallet public key in base58 format
mintrequiredstringToken mint address you want to purchase
amountrequirednumberAmount of SOL to spend (minimum: 0.001, maximum: 100)
slippageoptionalnumberMaximum slippage percentage (default: 10, range: 0.1-50)
priorityFeeoptionalnumberPriority fee in SOL (default: auto-calculated, range: 0.00001-0.01)
POST https://meteoric.lol/api/trade/buy
Content-Type: application/json
Authorization: Bearer YOUR_API_KEY
{
"publicKey": "7BgBvyjrZX8YTqjkKrfbSx9X8QP4NDaP1hj4VKMjqA5s",
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": 0.01,
"slippage": 10,
"priorityFee": 0.0001
}Sell Token
Execute a sell order for tokens you own. Supports both token amount and percentage-based selling.
Endpoint
/trade/sellRequest Body Parameters
amountrequirednumber | stringToken amount to sell (number) or percentage ("50%", "100%")
sellAlloptionalbooleanIf true, sells entire token balance (default: false)
POST https://meteoric.lol/api/trade/sell
Content-Type: application/json
Authorization: Bearer YOUR_API_KEY
{
"publicKey": "7BgBvyjrZX8YTqjkKrfbSx9X8QP4NDaP1hj4VKMjqA5s",
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "50%",
"slippage": 15,
"priorityFee": 0.0001
}Response
Success Response (200)
{
"success": true,
"signature": "5j7sK8K2YaFvS2hE3YgY4zRtV3pGq1Y7zxP8c9X3Qa6",
"amount": 0.01,
"tokensReceived": 1000000,
"effectivePrice": 0.00001,
"slippageUsed": 2.3,
"priorityFeeUsed": 0.0001,
"blockHeight": 123456789,
"timestamp": 1697234567890,
"estimatedConfirmation": "2-5 seconds"
}Error Response (400/500)
{
"success": false,
"error": {
"code": "INSUFFICIENT_BALANCE",
"message": "Insufficient SOL balance for transaction",
"details": {
"required": 0.01,
"available": 0.005,
"includesFees": true
}
},
"timestamp": 1697234567890
}Common Error Codes
INSUFFICIENT_BALANCE- Not enough SOL for transaction + feesINVALID_MINT- Token mint address does not existSLIPPAGE_EXCEEDED- Price moved beyond acceptable slippageRATE_LIMIT- Too many requests, slow downAdditional Endpoints
Get Token Info
/token/info/{mint}Retrieve detailed information about a specific token including price, market cap, and liquidity.
GET https://meteoric.lol/api/token/info/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
Authorization: Bearer YOUR_API_KEY
Response:
{
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"price": 1.0,
"marketCap": 25000000000,
"liquidityUsd": 890000,
"volume24h": 2400000,
"priceChange24h": 0.1,
"holders": 3421,
"isActive": true
}Get Portfolio
/portfolio/{publicKey}Get all token holdings for a specific wallet address.
GET https://meteoric.lol/api/portfolio/7BgBvyjrZX8YTqjkKrfbSx9X8QP4NDaP1hj4VKMjqA5s
Authorization: Bearer YOUR_API_KEY
Response:
{
"publicKey": "7BgBvyjrZX8YTqjkKrfbSx9X8QP4NDaP1hj4VKMjqA5s",
"totalValueUsd": 1250.75,
"solBalance": 5.234,
"tokens": [
{
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"symbol": "USDC",
"balance": 1000,
"decimals": 6,
"valueUsd": 1000.0,
"price": 1.0
}
]
}Ready to revolutionize
your trading infrastructure?
Join other satisfied developers building the future with Meteoric's lightning-fast infrastructure. Get started in minutes with comprehensive docs and 24/7 developer support.