Each plan includes a number of mock requests per month and a number of requests per second. This page explains what counts, what happens when a limit is reached, and how to tell those answers apart from errors you simulate yourself. The numbers for each plan are on the pricing page.
What counts as a request
Mockhop counts requests when they arrive at your organization's mock address, before it looks for an endpoint. Each of these counts as one request:
- A REST request to one of your mock URLs, including
HEAD. - A GraphQL call, once per HTTP request, however many fields it asks for.
- A SOAP call, and a
?wsdlrequest. - A request that ends in a
404because no endpoint matched. - A request Mockhop forwards in proxy mode.
- A response you simulate yourself, such as a
429from an endpoint's rate limit, a503from its circuit breaker, or a simulated error or timeout. - A request you send from the request builder in the dashboard. It goes to your mock address like any other request.
- Opening a WebSocket connection.
These don't count:
- Browser preflight requests (
OPTIONS). A call from a browser counts once. Preflights still count towards your requests per second. - The platform pages on the mock host:
/,/robots.txtand/.well-known/security.txt. - The browser's own
/favicon.icorequest, unless one of your projects serves that path. - Requests the platform turns away before they reach your mocks, for example because a limit was reached (see below).
- Messages over an open WebSocket connection, in either direction.
- Webhooks Mockhop sends. They have their own limit: twice your monthly request quota, and at most 10 per second.
- Everything else you do in the dashboard.
Monthly quota
The count resets on the 1st of every month at 00:00 UTC, on yearly plans too. The organization's owner gets an email at 80% and at 100% of the quota, once each per month.
Every counted response carries three headers:
X-Mockhop-Quota-Limit: the monthly quota.X-Mockhop-Quota-Remaining: requests left this month.X-Mockhop-Quota-Reset: the next reset as an RFC 3339 timestamp, the 1st of the next month at 00:00 UTC.
When the quota is used up, mocks answer with 429 until the reset. Retry-After gives the seconds until then:
HTTP/1.1 429 Too Many Requests
Retry-After: 1209600
X-Mockhop-Quota-Limit: 1000
X-Mockhop-Quota-Remaining: 0
X-Mockhop-Quota-Reset: 2026-12-01T00:00:00Z
{"error": "The organization's monthly mock request quota is used up", "code": "quota_exceeded"}
Requests per second
The limit applies to the whole organization: all projects and all clients share it. Above it, mocks answer right away with 429 and a Retry-After of at least one second:
HTTP/1.1 429 Too Many Requests
Retry-After: 1
{"success": false, "error": "Too many requests. Please try again later.", "code": "rate_limited"}
These requests don't count and don't appear in the request log.
Telling platform limits from your own simulations
A 429 with the code quota_exceeded or rate_limited comes from the platform and isn't counted. A 429 from a rate limit you set on an endpoint is a mock response: it returns the body you configured, and it counts.
Features outside your plan
If a request uses a feature its organization's plan doesn't include, the result depends on the feature:
- WebSocket and SOAP: the mock answers with
402. Thekeyfield names the feature (websocketorsoap). - Proxy mode: a request that would be forwarded gets
402with the keyproxyRecording. - Scenarios: the scenario doesn't answer. The endpoint on the same path answers as if there were no scenario.
- Webhooks: they aren't sent.
HTTP/1.1 402 Payment Required
{"error": "This feature is not part of the organization's plan", "code": "feature_not_in_plan", "key": "websocket"}
Projects above your plan's project limit, for example after moving to a smaller plan, are suspended. Their mocks answer with 403 and the code project_suspended until the plan allows them again.
The 402 and 403 answers in this section count as requests, because they arrive at your mock address like any other request.
Before the owner confirms their email address
An organization's mocks answer only after its owner has confirmed their email address. Until then, every request gets 403 with the code owner_email_unverified and doesn't count.
Free plan specifics
New organizations: in the first seven days after a Free organization is created, its mocks accept 2 requests per second. After that, the normal Free limit applies.
Content types: Free mocks serve data formats with their own content type:
- JSON, NDJSON and
+jsontypes. text/plain, CSV, TSV, server-sent events (text/event-stream) and form data.- XML, SOAP and
+xmltypes, withContent-Disposition: attachment, so a browser downloads them instead of showing them. - HTML, CSS, JavaScript, SVG, images and every other type are delivered as
text/plain.
Redirects: a Location or Refresh header may only point to the same mock host, a relative path, or localhost. Any other target is removed from the response.
These rules keep free accounts from being used to host websites, files or phishing pages. Paid plans serve every content type as you set it.
New to Mockhop? Start with the quickstart.