The World's Fastest WhatsApp API. Built with Golang 1.26 & Fiber. 🚀
A blazingly fast, low-latency, and lightweight WhatsApp API. Designed for high-throughput messaging with zero external runtime dependencies.
| Feature | Description |
|---|---|
| 🚀 Instant Boot | Starts in <100ms. Ready to send messages immediately. |
| 💾 Low Memory | Uses <15MB RAM idle. Extremely efficient compared to Node.js/Python. |
| 🐳 Tiny Docker Image | <25MB total compressed size. Deploys anywhere in seconds. |
| 🛡️ Type-Safe | Built with Go for maximum stability and concurrency. |
Pull the pre-built image directly from Docker Hub:
docker pull akashyadav758/superfast-whatsapp-api:latestOr use Docker Compose:
# 1. Download docker-compose.yml
# 2. Run:
docker-compose up -d# Clone the repository
git clone https://github.com/akashfy/superfast-whatsapp-api.git
cd superfast-whatsapp-apiThe API listens on :3000.
GET /health
Response:
{"status":"ok", "latency":"2ms"}Use: Real-time uptime monitoring.
POST /api/send-message
{
"number": "919876543210",
"message": "⚡️ This message was sent via Go!"
}POST /api/send-image
{
"number": "919876543210",
"url": "https://example.com/image.jpg",
"caption": "Look how fast this arrived! 🚀"
}POST /api/send-audio
{
"number": "919876543210",
"url": "https://example.com/audio.mp3",
"ptt": true
}Connect your AI bots or backend services using a robust, real-time webhook system.
Set the WEBHOOK_URL environment variable to start receiving messages:
- Docker Compose: Add
- WEBHOOK_URL=http://your-server:5000/webhookin environment section. - Manual:
export WEBHOOK_URL=http://your-server:5000/webhook
- Smart Resolution: Automatically maps WhatsApp LIDs to real phone numbers.
- Push Name Support: Receives the sender's public WhatsApp profile name.
- Reliable Delivery: Automatic 3x retry logic if your webhook server is temporarily down.
{
"event": "message",
"id": "3EB0...",
"number": "916262255556",
"push_name": "Akash Yadav",
"message": "Hi, how are you?",
"timestamp": 1708105000,
"jid": "916262255556@s.whatsapp.net"
}- Language: Golang (1.26)
- Web Framework: Fiber (v2) - Fastest Go Web Framework
- WhatsApp Engine: WhatsMeow - Reverse Engineering Masterpiece
- Database: SQLite (Embedded, Zero-Config)
Feel free to open an issue or submit a PR. Let's make it even faster!
License: MIT