apic is a Git-native API development utility designed to simplify the creation, testing, and collaborative management of API contracts. It stores individual endpoint definitions as JSON files within existing project repositories, enabling version tracking and conventional code reviews. Its command-line interface and desktop application share a common Rust-based core. Developers can define request methods, headers, parameters, payloads, and expected responses. Reusable templates and environment configurations streamline API testing across different deployment environments. Integrated validation supports continuous integration workflows and pre-commit checks. Users can import and export Postman collections and OpenAPI specifications. Dedicated agent skills enable integration with AI coding assistants.
Features
- Git-native API contract management with individual JSON endpoint definitions and integrated version tracking
- Unified command-line and desktop interfaces sharing a common Rust-based contract management engine
- Interactive HTTP request testing with configurable environments, variables, headers, and response inspection
- Reusable contract templates with automated schema validation and continuous integration compatibility
- Bidirectional importing and exporting of Postman collections and OpenAPI specifications
- Integrated Git operations and reusable AI agent skills with local credential protection