Infrastructure primitives as APIs
Functions, queues, schedulers, cron, key-value and object storage. Pay per use. No servers to run.
Compose primitives
JavaScript
// Upload file → Store metadata → Enqueue job → Function processes
// 1. Get upload URL from Storage
const { uploadUrl } = await fetch('/v1/storage/upload-url', {
method: 'POST',
headers: { 'Authorization': 'Bearer API_KEY' },
body: JSON.stringify({ key: 'uploads/report.pdf' })
}).then(r => r.json());
// 2. Store metadata in KV
await fetch('/v1/kv/file:report.pdf', {
method: 'POST',
headers: { 'Authorization': 'Bearer API_KEY' },
body: JSON.stringify({ value: { uploaded: Date.now() } })
});
// 3. Enqueue processing job → triggers Function
await fetch('/v1/queue', {
method: 'POST',
headers: { 'Authorization': 'Bearer API_KEY' },
body: JSON.stringify({
webhook: 'https://fn.rocketstack.dev/fn_process',
payload: { file: 'report.pdf' }
})
});
// 4. Schedule nightly sync via Cron
await fetch('/v1/cron', {
method: 'POST',
headers: { 'Authorization': 'Bearer API_KEY' },
body: JSON.stringify({
expression: '0 2 * * *',
webhook: 'https://fn.rocketstack.dev/fn_sync'
})
}); Storage KV Queue Function
Compose Primitives highlighted: common flow
Primitives that work together
Queues trigger functions. Cron schedules jobs. KV stores state. Compose what you need — no glue code required.
- Compose primitives:Build workflows without managing infra.
- Reliable by default:Retries, timeouts, idempotency, audit trails.
- Any stack:REST + SDKs generated from OpenAPI.
Start with a single API key.
The APIs
Build with powerful primitives
Functions, queues, schedulers, cron, storage — no infrastructure to run.
Functions API
# Deploy functions from an MCP-enabled client.
# Deploy a function via MCP
mcp.call("rocketstack.functions.deploy", {
"name": "stripe-webhook",
"runtime": "nodejs",
"entry": "index.ts",
"bundlePath": "./dist.zip",
"triggers": [{ "type": "http" }]
})
# Get the deployed function
mcp.call("rocketstack.functions.get", { "id": "fn_123" })
# → { "id": "fn_123", "url": "https://fn.rocketstack.dev/fn_123", ... }
# List all functions
mcp.call("rocketstack.functions.list", {})
# Invoke a function
mcp.call("rocketstack.functions.invoke", {
"id": "fn_123",
"payload": { "event": "payment.success" }
})Works great for
vibe coded frontendswebhooksbackground jobsfile uploadsbilling events
Get started in 3 steps
Get started in 3 steps
Sign up, get your API key, and integrate in minutes.
Sign upCreate your account at RocketStack.dev. No credit card required to start.
Create free accountInstant key in your dashboard. Copy it and you're ready.
IntegrateCall our REST APIs from your app. curl, fetch, or any HTTP client.
Common workflows
Compose primitives into reliable pipelines in minutes.
Webhook processing
WebhookQueueFunction
Absorb spikes, retry safely, and keep handlers fast.
View exampleFile processing
StorageQueueFunction
Upload with presigned URLs, then process asynchronously.
View exampleExamples use standard HTTP and generated SDKs.
Ready to ship faster?




Ready to ship faster?
Get your API key and start integrating in minutes.