LiteMock

Frequently Asked Questions

Everything you need to know about LiteMock - the JSON template faker and mock API generator.

Getting Started

What is LiteMock?

LiteMock is an interactive JSON template faker and mock API generator. It allows developers to create realistic test data and mock APIs instantly using a simple template-based syntax with real-time preview. Powered by faker.js, LiteMock makes it easy to generate realistic mock data for development, testing, and prototyping.

How does LiteMock work?

LiteMock uses a simple template-based approach. You define a JSON template using a special syntax, and LiteMock generates realistic data based on those templates. The platform uses faker.js under the hood to generate various types of realistic data. You can preview your data in real-time and create shareable API endpoints.

Do I need to sign up to use LiteMock?

You can try the LiteMock editor without signing up, but creating an account unlocks additional features like saving templates, creating persistent API endpoints, and accessing premium features. Free trial accounts get basic features for 7 days with 1,000 monthly requests and up to 5 endpoints.

Features & Capabilities

What types of data can LiteMock generate?

LiteMock supports all standard JSON data types (strings, numbers, booleans, objects, arrays, null) and leverages faker.js to generate realistic data including: names, emails, addresses, phone numbers, dates, UUIDs, URLs, company names, lorem ipsum text, numbers (integers, floats), credit card numbers, colors, images, and much more. You can also nest objects and arrays to create complex data structures.

Can I create mock REST APIs with LiteMock?

Yes! One of LiteMock's core features is the ability to create shareable mock API endpoints. Once you create your template, you can generate a unique URL that returns your mock data in JSON format. This endpoint can be used in your frontend applications, testing frameworks, or shared with team members. Premium plans offer higher rate limits and more endpoints.

Does LiteMock support arrays and nested data?

Absolutely! LiteMock fully supports nested objects and arrays. You can create arrays with a specific count or range (e.g., users[10] generates 10 users), nest objects within arrays, and create complex hierarchical data structures that mirror real-world API responses.

Can I use LiteMock for testing?

Yes, LiteMock is perfect for testing scenarios. You can generate consistent or random test data, create mock API endpoints for integration testing, generate large datasets for load testing, and use the generated data in unit tests. The mock APIs can be integrated into your CI/CD pipeline.

Pricing & Plans

Is LiteMock free to use?

LiteMock offers a 7-day free trial with 1,000 monthly requests and up to 5 endpoints (10 requests/minute per endpoint). Premium plans are available: Starter plan at $9/month (5,000 monthly requests, 50 endpoints, 100 requests/minute) and Pro plan at $15/month (10,000 monthly requests, 500 endpoints, 500 requests/minute).

What's the difference between the free and paid plans?

The free trial (7 days) includes 1,000 monthly requests, 5 endpoints, and 10 requests/minute per endpoint. The Starter plan ($9/month) provides 5,000 monthly requests, 50 endpoints, and 100 requests/minute per endpoint. The Pro plan ($15/month) offers 10,000 monthly requests, 500 endpoints, and 500 requests/minute per endpoint.

Can I cancel my subscription anytime?

Yes, you can cancel your subscription at any time. Your access to premium features will continue until the end of your current billing period. We use Paddle for secure payment processing.

Technical Details

Are there any rate limits?

Yes, rate limits vary by plan. Free trial: 10 requests/minute per endpoint. Starter plan: 100 requests/minute per endpoint. Pro plan: 500 requests/minute per endpoint. Monthly request limits are 1,000 (trial), 5,000 (Starter), and 10,000 (Pro). All plans include CORS support for frontend integration.

Is my data secure?

Yes, security is a priority. All connections use HTTPS encryption, templates are stored securely in our database, we use industry-standard authentication (Supabase), and we never store generated mock data permanently. You can also set templates to private to prevent public access.

Can I integrate LiteMock with my existing tools?

Yes! LiteMock generates standard REST API endpoints that work with any HTTP client. You can use the generated endpoints with: fetch/axios in JavaScript, curl in terminal, Postman for API testing, automated testing frameworks (Jest, Cypress, Playwright), mobile apps (iOS, Android), and any other tool that can make HTTP requests.

Use Cases

What are common use cases for LiteMock?

LiteMock is commonly used for: Frontend development (mock backend APIs before they're ready), API prototyping and documentation, automated testing (integration, E2E tests), demo applications and presentations, learning and education (teaching API concepts), load testing with realistic data, and rapid prototyping of full-stack applications.