API Documentation
Integrate with AgriCredit's REST API and real-time services
API Overview
Base URL
https://api.agricredit.africa/v1Authentication
JWT tokens with wallet-based authentication (EIP-4361)
Rate Limits
Authenticated Users
150 requests/minute
Anonymous Users
30 requests/minute
WebSocket
100 messages/minute
Response Format
{
"success": true,
"data": { ... },
"meta": {
"timestamp": "2024-12-10T10:00:00Z",
"requestId": "req_123456"
}
}Quick Start
1
Get API Key
Register for an API key in your dashboard settings.
2
Authenticate
Use wallet signature to authenticate and receive JWT token.
3
Make Requests
Include JWT token in Authorization header for API calls.