Simple, RESTful, Reliable Messaging
Simple REST API for reliable message delivery. Persistence, retry strategies, TTL support, and real-time long polling — on flat pricing that grows with you, not metered bills.
Just HTTP. That's it.
Send and receive messages using familiar REST patterns. No SDKs, no special clients.
Complete Example
const host = 'https://api.okmq.net'
const token = process.env.OKMQ_TOKEN
// Create queue (only needed once)
await fetch(`${host}/queues`, {
method: 'POST',
headers: { authorization: token, 'content-type': 'application/json' },
body: JSON.stringify({ name: 'demo', auto_ack: true })
})
// consumer
const consumer = async () => {
while (true) {
const response = await fetch(`${host}/queues/demo/messages`, {
headers: { authorization: token }
})
const messages = await response.json()
console.log('Received:', messages)
}
}
// Start consumer in background
consumer()
// producer
setInterval(async () => {
await fetch(`${host}/queues/demo/messages`, {
method: 'POST',
headers: { authorization: token, 'content-type': 'application/json' },
body: JSON.stringify([{
id: `msg-${Date.now()}`,
body: `Hello at ${new Date().toISOString()}`
}])
})
}, 1000)Features
Everything you need for reliable message processing
Topics
Publish to topics for fan-out distribution to multiple queues
Retry Strategies
Exponential, linear, and fixed retry patterns
Real-time Polling
Instant message retrieval with long polling support
Message Tags
Filter and organize messages within a single queue
Scheduled Delivery
Delay message delivery until a specific time
Streams
Persistent event streams with offset-based consumption and replay
Why Choose OKMQ?
See how OKMQ compares to other managed messaging services
| Feature | OKMQ | AWS SQS | GCP Pub/Sub |
|---|---|---|---|
| Retry Strategies | 4 Built-in Types | Basic + DLQ | Exponential Only |
| Message Scheduling | Native Support | Delay Queues | External Required |
| Message Filtering | Tag-based | None | Attributes |
| Message Size | 1MB | 1MB | 10MB |
| TTL Support | Built-in | Retention Only | Retention Only |
| Topic Fan-out | Built-in | Via SNS | Core Feature |
| Consumption Patterns | Both Models | Competing Only | Both Models |
Simple, Transparent Pricing
Choose the plan that fits your needs. All plans include our core features.
Pay for reserved capacity, not metered usage. No surprise bills at month end.
Free
Perfect for getting started
- 100 MB storage
- 100,000 messages
- 1 queue or stream
Starter
Perfect for small projects
- 1 GB storage
- Unlimited messages
- 5 queues or streams
Pro
Perfect for production applications
- 2 GB storage included
- $1/GB additional storage
- Unlimited messages
- 100 queues or streams
- Priority support
Ready to Get Started?
Send your first message in minutes with nothing but curl. Start free, upgrade when you need to scale.