M.O.N.K.Y API Reference
Welcome to the M.O.N.K.Y API documentation! Our API allows you to integrate with M.O.N.K.Y services, interact with our Telegram bot, and access wallet functionalities programmatically.Beta API: The M.O.N.K.Y API is currently in beta. Features and endpoints may change. Join our Telegram for the latest updates.
Base URL
Authentication
All API requests require authentication using an API key. Include your API key in the request headers:Getting Your API Key
1
Connect to Telegram Bot
Start a conversation with our Telegram Bot
2
Request API Access
Send
/api command to request developer access3
Verify Identity
Complete the verification process
4
Receive API Key
Get your unique API key via secure message
Rate Limiting
API requests are rate limited to ensure fair usage:Free Tier
- 100 requests/hour
- Basic wallet operations
- Community support
Pro Tier
- 1,000 requests/hour
- Advanced features
- Priority support
- Webhook access
Response Format
All API responses follow a consistent JSON format:Error Responses
When an error occurs, the API returns:Common Error Codes
| Code | Status | Description |
|---|---|---|
INVALID_API_KEY | 401 | API key is missing or invalid |
RATE_LIMIT_EXCEEDED | 429 | Too many requests |
INVALID_REQUEST | 400 | Request format or parameters are invalid |
WALLET_NOT_FOUND | 404 | Specified wallet does not exist |
INSUFFICIENT_FUNDS | 422 | Not enough balance for transaction |
NETWORK_ERROR | 503 | Solana network is temporarily unavailable |
Core Endpoints
Wallet Operations
Get Balance
Retrieve wallet balance for SOL and SPL tokens
Send Transaction
Send SOL or SPL tokens to another address
Transaction History
Get transaction history for a wallet
Create Wallet
Generate a new Solana wallet
Trading & DeFi
Token Swap
Swap between SOL and SPL tokens
Stake SOL
Stake SOL with validators
Get Prices
Real-time token price data
Pool Info
Liquidity pool information
Bot Integration
Send Message
Send messages via Telegram bot
User Commands
Handle user commands and interactions
Notifications
Set up transaction notifications
Webhooks
Configure webhook endpoints
SDK Examples
JavaScript/TypeScript
Python
curl
Webhooks
Set up webhooks to receive real-time notifications:Need Help?
Telegram Bot
Get instant help and support through our bot
Developer Support
Technical support for API integration
Community
Join our developer community
Pro Tip: Use our Telegram Bot to test API functionality before integrating into your application!