Rate limits
Meykt limits how fast an integration may call the API. Queue larger batches and send them within the published request and write budgets. A batch of 500 orders does not grant 500 simultaneous requests: each request still passes all applicable limits. Fetch changes instead of repeatedly downloading complete lists.
Nothing is ever lost at a limit. A limited request answers 429 rate_limited with a Retry-After header. Wait that many seconds and send the identical request again.
Rejected key-limit attempts do not consume accepted-request capacity. Retry-After accounts for both windows of the sliding counter; it is the wait for another request if no other worker consumes capacity meanwhile. Coordinate workers sharing a key or organization and add retry jitter to avoid restarting a whole batch at once. A full-body transport failure is not a valid empty write request: resend the complete original request, retaining any existing idempotency identity.
#The four limits at a glance
| Limit | Counted per | Allowance | What it stops |
|---|---|---|---|
| Requests per key | API key | 120 per minute | One runaway worker |
| Requests per organization | Organization, all keys together | 300 per minute | Adding keys to multiply the budget |
| Writes | Organization, all keys together | 1,000 at once, refilling at 60 per minute | Writing in an endless loop |
| Unfiltered list pages | Organization, all keys together | 300 pages at once, refilling at 10 per minute | Re-downloading everything again and again |
Test keys and live keys are counted separately. A test suite that runs into a limit never slows down the live integration of the same organization, and the other way round.
File uploads have their own, separate allowance — see Files.
#How the allowances work
Requests per key and per organization are sliding one-minute windows. They are not calendar minutes that empty all at once, so you cannot spend the full budget just before a minute boundary and again just after.
Writes and unfiltered list pages work like a tank with an inflow. The tank starts full. Every counted request takes one unit out; units flow back in continuously until the tank is full again. A full tank lets a burst through at once; the inflow is the pace you can keep up forever.
| Allowance | Tank | Inflow | Full again after |
|---|---|---|---|
| Writes | 1,000 | 60 per minute (one per second) | about 17 minutes |
| Unfiltered list pages | 300 | 10 per minute (one every 6 seconds) | 30 minutes |
#What counts as a write
Every POST, PATCH, PUT or DELETE request takes one unit from the write allowance — whether it succeeds or is rejected by validation. Three kinds of calls are free:
- Previews. Every path that ends in
/previewonly checks and changes nothing. - Upload slots.
POST /v1/uploadsis limited by the upload allowance instead. - Actions.
POST /v1/actions/{name}follows the limits of the AI access described under Actions. One exception: the actionread_api_integration_datatakes the same list units as the matching route (current stock, stock list from cursor0, change feed from revision zero, a new position snapshot), andsnapshot_opentakes one write unit likePOST /v1/inventory/snapshots. The same applies when an AI assistant reads this data; Meykt's own assistant and connected AI tools share the organization's allowance with its API keys. Each separately requested JSON fragment of such a read is a new read and costs again. When the allowance is used up, the action answers429withRetry-After.
POST /v1/integration-profiles/{profileId}/execute takes one unit only when the profile's operation changes something, such as orders.create, orders.change or articles.upsert. A profile that reads (orders.read, shipments.list, every …preview) is free of the write allowance. A profile that reads a list costs the same list units as the matching route with the same filters: inventory.list, inventory.changes.read, inventory.levels.read, inventory.positions.read, inventory.operator_positions.read, articles.list, manufacturing.list, inbounds.list and returns.list. All profile calls count toward the requests per minute.
GET requests never take from the write allowance.
#What counts as an unfiltered list page
A list page counts only when the request asks for the whole collection instead of a narrowed part of it. Narrow the request and it is free — however often you call it.
| Endpoint | Free when you send | Counts as |
|---|---|---|
GET /v1/orders | updated_since (a status filter alone does not narrow) | 1 per page |
GET /v1/customers | updated_since | 1 per page |
GET /v1/fulfillment/orders | updated_since, acknowledged=false, status or client_id | 1 per page |
GET /v1/articles | search | 1 per page |
GET /v1/inventory | the cursor you stored | 10 when starting at revision zero |
GET /v1/inventory/changes | the cursor you stored | 10 when starting at revision zero |
GET /v1/inventory/levels | none: sku or external_article_id lower the cost to 1 | 10 per read without a filter or with warehouse_id alone |
GET /v1/inventory/positions | snapshot_id (pages of an open snapshot) | 10 per new snapshot (request_id) |
GET /v1/inventory/operator-positions | search or position_id | 1 per page |
GET /v1/manufacturing | search, manufacturing_id or state | 1 per page |
GET /v1/inbounds | search, inbound_id or status | 1 per page |
GET /v1/returns | search, return_id or status | 1 per page |
Following pages of an unfiltered list count as well: paging through 20,000 articles at 100 per page takes 200 units.
A parameter narrows only when it really narrows:
updated_sincemust be a valid time at most 30 days back. An older value returns practically everything and counts like no filter.searchneeds at least two characters.- An empty value counts like a missing parameter.
Catching up after a longer outage on your side is still fine: those pages simply come out of the allowance of 300.
For a plain current stock list, call GET /v1/inventory/levels (10 list units unfiltered); one full read every few minutes stays well within the allowance. A read filtered by sku or external_article_id takes 1 list unit, because the complete stock is calculated for every read; read everything once instead of looking up many single SKUs. For the first complete incremental inventory sync and recovery, use POST /v1/inventory/snapshots, read every snapshot page, then continue with its delta_cursor. Opening an aggregate snapshot takes one write unit; its page reads take no list units. Change requests after a positive revision take no list units. A feed cursor starting at revision zero, including a returned stream cursor ending in :0, takes 10 list units. Save next_cursor with each applied changes page. See the complete inventory sync example.
The inventory feeds also accept cursor=0 for a complete rebuild after history cleanup. That request takes 10 list units; subsequent pages after a positive revision take no list units. Follow every page into a separate empty local view before replacing the previous view. The rebuild consumes no snapshot slots and does not change physical quantities.
A frozen position snapshot works the same way: opening one with a new request_id takes 10 units, reading its pages with snapshot_id is free. When you refresh positions after change notifications, collect the notifications and open at most one new snapshot per minute.
With a test key the inventory stream is always empty and always answers with cursor 0, so GET /v1/inventory and GET /v1/inventory/changes never count with test keys.
Reading a single record (GET /v1/orders/{id}), field descriptions, option lists and the webhook delivery log never count.
#Worked examples
You poll for new orders every 30 seconds. GET /v1/orders?updated_since=… is narrowed and free. Two requests a minute are far below every limit. This is the recommended polling pattern for systems without a public address.
500 orders arrive at once and you send them to Meykt. 500 writes fit into the write allowance of 1,000 at once. The only pace that applies is the per-key limit of 120 requests per minute, so one key needs a little over four minutes. Spread the work over two keys and they send 240 per minute together: about two minutes.
You import 20,000 articles for the first time. At 100 per page that is 200 unfiltered pages. They fit into the allowance of 300 at once, at the per-key pace of 120 pages per minute: under two minutes.
You download all orders again every minute. The first runs go through. With 50 pages per run you take 50 units a minute while 10 flow back, so the allowance is empty after a few minutes. From then on you get 10 pages per minute and 429 for the rest. Switch to updated_since and the limit no longer concerns you.
You write continuously at full speed with one key. 120 writes per minute take 120 units while 60 flow back. The first 1,900 writes over about 16 minutes are never slowed down. After that you can keep writing at 60 per minute.
Your system was offline for two months and catches up. Everything can be caught up by reading. Page through orders and customers once — while updated_since is older than 30 days each page takes one unit, and 300 pages are available at once — then return to fetching changes. Continue inventory from your stored cursor; if it returns 409 snapshot_required, rebuild every page from cursor=0 into an empty view, or open a new aggregate snapshot and continue using its delta_cursor after reading all pages. Do not wait for old webhook messages: a failed delivery is retried for about two days and then stops, and an endpoint that keeps failing is disabled after 25 consecutive failures (Webhooks). Check the endpoint and reconcile by reading.
Five keys call in parallel. Each key is allowed 120 per minute, but together they share 300 per minute. The organization keeps getting 300 requests per minute through; the requests beyond that receive 429 with X-RateLimit-Scope: organization and a Retry-After of usually a second or two.
#Reading a 429
HTTP/1.1 429 Too Many Requests
Retry-After: 6
X-RateLimit-Scope: list
X-RateLimit-Limit: 120
X-RateLimit-Remaining: 87
X-RateLimit-Reset: 41{
"error": {
"code": "rate_limited",
"message": "The allowance for unfiltered list pages of this organization is used up. Wait for Retry-After, or fetch only changes (updated_since, the stored cursor) or subscribe to webhooks.",
"doc_url": "https://www.meykt.com/en/developers/errors/rate_limited"
}
}| Header | Meaning |
|---|---|
Retry-After | Seconds until the same request can succeed. Always present on 429. |
X-RateLimit-Scope | Which limit rejected the request: key, organization, write or list. Present on 429 only. |
X-RateLimit-Limit | Requests allowed per minute for this key, currently 120. |
X-RateLimit-Remaining | Requests this key has left right now. |
X-RateLimit-Reset | Seconds until the key's window rolls over. This counts down. |
The three X-RateLimit-Limit/Remaining/Reset headers always describe the key. When X-RateLimit-Scope names organization, write or list, the key itself can still have requests left — rely on Retry-After, not on X-RateLimit-Remaining.
X-RateLimit-Scope | What happened | What to do |
|---|---|---|
key | This key sent more than 120 requests in a minute | Wait for Retry-After. Poll less, or batch reads into list calls |
organization | All keys of the organization together sent more than 300 requests in a minute | Wait for Retry-After. Check for a second system or forgotten job using another key |
write | The write allowance is empty | Wait for Retry-After — usually one second — and repeat the same request unchanged |
list | The allowance for unfiltered list pages is empty | Wait for Retry-After, or better: fetch only changes |
#Handling rule
On 429, wait at least the Retry-After interval and repeat the identical request. Add a small random delay so several workers do not all restart together.
Repeating is safe:
POST /v1/orderswith the sameexternal_order_idand the same content returns the existing order with200instead of creating a duplicate.- Commands carry an idempotency key. Repeat them with the same key and the same content.
- A request rejected with
429did not run. It changed nothing.
#Staying far below the limits
- Fetch changes, not everything. Use
updated_sincefor orders and customers,acknowledged=falsefor received fulfillment orders, and the stored cursor for inventory. Overlap the time window slightly and deduplicate by ID. - Let Meykt call you. Webhooks push status changes as they happen, so most polling becomes unnecessary.
- Use full pages. One request with
limit=100costs the same as one withlimit=10. - Run one synchronization at a time. Two jobs doing the same full download double the cost without any benefit.
- Keep a rebuild for exceptions. A full download is right for the first import and after a failure on your side, not as the regular rhythm.
#When the counter itself is disturbed
The limits are counted across all Meykt servers. During a short disturbance of that counter the API stays available and counts per server instead, so a limit can be looser than documented for a moment. Never build on that. If the API cannot do its work in time it answers 503 service_unavailable with Retry-After; handle it the same way as 429.
#Frequently asked questions
Can I get higher limits? The limits are the same for every organization today. If a well-built integration that fetches only changes still reaches them, contact Meykt support with the affected endpoint and your call pattern.
Do rejected requests count? A request rejected with 429 takes nothing from the write or list allowance and nothing from the organization's 300 per minute. It does count against the 120 per minute of the key that sent it, so a key that retries in a tight loop keeps itself limited. Wait for Retry-After.
Does a validation error cost a write? Yes. A POST that answers 422 took one unit. Use the /preview paths and test keys while building.
Do my test keys use up the live allowance? No. Test and live are counted separately for every limit on this page.
Are webhook deliveries counted? No. Deliveries are calls from Meykt to you. Only your calls to the API count.
Machine-readable version of this page: https://www.meykt.com/developers/rate-limits.md