Frequently Asked Questions

What is API mocking?

API mocking is a technique where you create a simulated version of an API that mimics the behavior of a real API. Instead of connecting to an actual backend server, your application interacts with this mock API, which returns predefined responses. This is particularly useful during development, testing, and prototyping phases.

Why should I mock APIs?

API mocking offers several benefits:

  • Develop frontend applications without waiting for backend APIs to be ready
  • Debug frontend applications without changing the real backend responses
  • Avoid rate limits and costs associated with calling real APIs during development
  • Use mocked API in your integration tests
Is Apimimic free to use?

Yes, Apimimic is completely free to use. There are no hidden costs or premium features - all functionality is available to everyone at no cost.

How do I get started with Apimimic?

Getting started is extremely simple in just 3 steps:

  1. Create a free account on Apimimic
  2. Send your first HTTP request to your project's API URL
  3. Customize the response in the dashboard

Check our Getting Started guide for detailed instructions.

Can Apimimic work with locally hosted api?

Yes, Apimimic can work with locally hosted api through our CLI utility. This allows you to:

  • Proxy requests to your local development server
  • Selectively mock specific endpoints while letting others pass through to your local backend
  • Test your application with a mix of mock and real API responses
How can I provide feedback?

We welcome your feedback! You can reach us at apimimic@gmail.com. Whether it's a feature request, bug report, or general feedback, we're always eager to hear from our users to improve Apimimic.

What is Proxy Mode?

Proxy Mode allows to partially mock your API. Proxy mode can be disabled for endpoints selectively while automatically forwarding all other requests to your real API server. This is particularly useful when you need to mock specific endpoints while maintaining normal functionality for the rest of your API - without requiring any changes to your application code. Or other way around - enable proxy mode for endpoints which are finished and implemented on the backend side.

Why do I need the CLI utility?

CLI utility is especially useful when developing applications locally or there's a need to deploy Apimimic in a server environment. The CLI makes this possible by acting as a local proxy that can selectively mock or forward requests based on your needs. CLI utility can help to avoid CORS restrictions and the need to switch between mock and real API servers.

Pproxied requests also have much less latency as CLI utility uses pre-synced settings from the Apimimic server and proxies directly from CLI utility to the specified api server without forwarding requests to the Apimimic server.

Is the CLI utility safe to run on my computer?

Yes, our CLI utility is completely safe to use. It's open source, doesn't collect any data, and you can verify this yourself by checking the source code and even compiling it from source. Pre-compiled binaries - available for download - are compiled with Github Actions. Source code is available at GitHub.

Does the CLI utility work behind a firewall?

Yes, the CLI utility works behind firewalls, but it needs to be able to reach our API service (api.apimimic.com, cli-checkin.apimimic.com) to sync endpoint settings and configurations. The utility only makes outbound HTTPS connections, which are typically allowed by most firewall configurations. No inbound connections are required.

What data formats are supported?

Currently, Apimimic supports JSON (JavaScript Object Notation) as the primary data format for request and response bodies. Support for additional formats like Text, Form Data, and others are planned for future releases.

Does Apimimic collect usage data?

Data collection varies by component:

  • CLI Utility: No data collection or tracking
  • Web Application: Collects anonymous usage data to help us improve the service and understand how users interact with the platform
All data collection complies with our privacy policy and is used solely for improving the service.