API Documentation
CeloRate API
Powerful REST API for integrating CeloRate's fixed-rate lending protocol into your applications.
REST
API
99.9%
Uptime
Secure
Authentication
Global
CDN
Base URL
https://api.celorate.comAPI Endpoints
GET
/api/v1/poolsGet all available lending pools
curl -X GET https://api.celorate.com/v1/poolsGET
/api/v1/pools/{poolId}/ratesGet current interest rates for a specific pool
curl -X GET https://api.celorate.com/v1/pools/celo/ratesPOST
/api/v1/depositsCreate a new deposit
curl -X POST https://api.celorate.com/v1/deposits -d '{"poolId":"celo","amount":"1000000000000000000"}'GET
/api/v1/user/{address}/depositsGet user's deposit history
curl -X GET https://api.celorate.com/v1/user/0x123.../depositsAPI Features
API Key Authentication
Secure your API calls with API keys. Get your key from the dashboard.
Rate Limiting
1000 requests per hour for free tier. Higher limits available for enterprise.
HTTPS Only
All API endpoints use HTTPS encryption for secure data transmission.
Global CDN
Fast response times worldwide with our global content delivery network.
SDK Integration
// Install the SDK
npm install @celorate/sdk
// Initialize the client
import { CeloRateAPI } from '@celorate/sdk';
const api = new CeloRateAPI({
apiKey: 'your-api-key',
baseURL: 'https://api.celorate.com'
});
// Get all pools
const pools = await api.pools.getAll();
// Get rates for CELO pool
const rates = await api.pools.getRates('celo');
// Create a deposit
const deposit = await api.deposits.create({
poolId: 'celo',
amount: '1000000000000000000', // 1 CELO in wei
duration: 30 // 30 days
});Ready to Get Started?
Get your API key and start building with CeloRate's powerful API.