What is Apicentric?
Apicentric transforms how you work with APIs during development and testing. Whether you’re a frontend developer needing a backend API, a QA engineer validating service contracts, or an IoT developer simulating device fleets, Apicentric has you covered.Quick start
Get up and running with your first mock API in minutes
Installation
Install via npm, Homebrew, or build from source
CLI reference
Explore all commands and options
Examples
Learn from real-world use cases
Key features
Apicentric provides everything you need for modern API development and testing:API simulator
Mock REST and GraphQL APIs with simple YAML configuration. Define endpoints, responses, and data fixtures in minutes.- Path parameters and regex matching
- Dynamic templates with Handlebars
- Request validation and conditional responses
- Scenarios for different API states (latency, errors, maintenance)
- Recording proxy to capture real API traffic
Contract testing
Validate that your mocks match real APIs automatically.- Compare mock vs. real responses
- HTML reports with visual diffs
- CI/CD integration
- Compatibility policies (strict, lenient, recommended)
Code generation
Generate client code from your service definitions.- TypeScript type definitions
- React Query hooks
- React components
- Export to OpenAPI and Postman
MCP integration
Power AI assistants like Claude with API mocking tools via Model Context Protocol.- Natural language API creation
- Automated testing setup
- Service management from chat
IoT digital twins
Simulate industrial devices with realistic physics and protocols.- Actor-based device simulation
- MQTT and Modbus TCP support
- Physics strategies (sine waves, noise, custom scripts)
- Multi-device fleet simulation
Terminal UI
Manage services with an interactive terminal dashboard.- Real-time service status
- Live request logs with filtering
- Keyboard-driven workflow
- Multi-pane layout
Who is it for?
Frontend developers
Frontend developers
Mock backend APIs instantly without waiting for backend teams. Define your ideal API contract and start building immediately.
QA engineers
QA engineers
Test edge cases and error scenarios easily. Validate API contracts between services automatically.
Backend developers
Backend developers
Prototype APIs before implementation. Generate OpenAPI specs from your mocks.
IoT developers
IoT developers
Simulate device fleets without physical hardware. Test MQTT and Modbus integrations.
DevOps teams
DevOps teams
Containerize services with Docker. Integrate into CI/CD pipelines.
How it works
Apicentric follows a simple workflow:Why Apicentric?
Apicentric is built for developers who love the terminal and want powerful tools that stay out of their way.
Next steps
Install Apicentric
Choose your preferred installation method
Quick start guide
Create your first mock API in 5 minutes
Core concepts
Learn about service definitions, fixtures, and scenarios
Browse examples
Explore real-world use cases