Loading
Please wait…
The DataLensia Mock API Generator creates stateless REST API endpoints for testing and prototyping. The generated URL contains the JSON response template, HTTP status code, and simulated delay. No server-side storage is required, but requesting the endpoint sends that URL to the server; use test data rather than secrets.
The editor runs in your browser, but a generated mock endpoint sends its URL, including the encoded response template, to the server when someone requests it. Do not put sensitive data in a mock URL.
Processing time and available file size depend on the input and your browser's memory and processing capacity.
Use the {{paramName}} syntax in your JSON template. You can then provide values via query parameters in the generated URL (e.g., ?paramName=value).
Since the configuration is stored in the URL, the size is limited by browser and server URL length limits (typically around 2KB - 8KB after compression).
The endpoint has no authentication: anyone with its URL can request it. The URL includes your response template and is sent to the server when requested, so use mock data you can share.