Dev Resources
Mockae favicon

Mockae

API Building

Fake REST APIs powered by Lua.

Mockae's website screenshot

About Mockae

Mockae is an open-source tool for mocking REST APIs, with source code available for download on GitHub. It uses Lua code to define custom rules that determine the HTTP status codes, headers, and response bodies returned for incoming requests, based on the request's URL, headers, and payload. Rules execute before a response is sent and can override the default output.

The service also provides a free, read-only public API for testing, hosted at api.mockae.com, with fake resource endpoints for products, carts, users, and coupons, plus a status endpoint for simulating specific HTTP response codes.

Mockae is aimed at developers who need mock APIs for testing and prototyping.

Key features

  • Mock REST APIs with custom response bodies, headers, and HTTP status codes
  • Define custom rules using Lua code executed before responses are sent
  • Rules can inspect request URL, headers, and payload to determine responses
  • Free public read-only API with sample resources (products, carts, users, coupons)
  • Simulate arbitrary HTTP status codes via /status/{code} endpoint
  • Open source and available for download on GitHub

Frequently asked questions

Is Mockae free?

Yes, Mockae is free and open source, offering reliable fake APIs for testing and prototyping.

What languages or tools does Mockae use for customization?

Mockae uses Lua code to define custom rules for headers, HTTP status codes, and response bodies.

Can I use the public API to modify data?

No, the free public API is read-only and data cannot be modified.

What resources are available on the free public API?

The public API provides sample resources including products, carts, users, and coupons.

Who is Mockae for?

It is aimed at developers who need to quickly create and customize mock REST APIs for testing and prototyping.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product

You might also like