What You’ll Need
- Basic knowledge of RESTful APIs and JavaScript.
- Preferences for specific blockchains, cache settings, and stale data handling (optional).
- An API key from the Dashboard (required for production; optional in development mode).
Walkthrough
Execute the API Call
You can call the Mobula API directly from your terminal using cURL or any HTTP client. Using cURL:Get Your Data
The API provides detailed data on trading pairs for a specific blockchain, including pair creation trends, market liquidity, and trading volumes. Available filters and sorting fields are listed here.Insights You Can Extract
- Liquidity Monitoring: Assess market liquidity for specific pairs to identify trading opportunities.
- Volume Analysis: Track 24-hour trading volumes to determine market trends and pair popularity.
- New Pair Tracking: Monitor recently created trading pairs with the
sortBy=createdAt
parameter.
Use Cases
- Portfolio Tracking: Enhance portfolio tools with real-time pair data for a specific blockchain.
- Market Research: Evaluate trading pair performance to plan trading strategies.
- DEX Integrations: Build applications that rely on specific blockchain trading pair data.