What you can build
- Sync your catalog and stock with an ERP, a POS or a spreadsheet: Products.
- Place orders and collect payment from your own site or tools, sending the customer a payment link.
- React in real time: ship when an order is paid, restock when inventory runs low, alert your team when a WhatsApp conversation needs a person. See Webhooks.
- Keep your CRM in sync with Customers and the
customer.*events. - Ask your store questions in plain language from Claude, Cursor or ChatGPT with the MCP server.
The basics
| Base URL | https://api.malla.fun |
| Authentication | Authorization: Bearer mk_live_... (API keys) |
| Format | JSON in and out, UTF-8 |
| Money | Integer cents in the object's currency (1500 = 15.00) |
| Dates | ISO 8601, UTC (2026-10-12T15:04:05.000Z) |
| Pagination | Cursor-based: ?limit= and ?cursor= (Pagination) |
| Rate limit | 300 requests per minute per key (Rate limits) |
Your first call
curl "https://api.malla.fun/orders?status=paid&limit=5" \
-H "Authorization: Bearer $MALLA_API_KEY"import { Malla } from '@malla/business'
const malla = new Malla() // reads MALLA_API_KEY
const { data: orders } = await malla.orders.list({ status: 'paid', limit: 5 })const res = await fetch('https://api.malla.fun/orders?status=paid&limit=5', {
headers: { Authorization: `Bearer ${process.env.MALLA_API_KEY}` },
})
const { data: orders } = await res.json()Ready? Follow the Quickstart.