Home
apic is epic
Run API requests from plain .http files, in the terminal, in CI, or from an AI agent, on any platform, with one static binary.
apic ui --demo # a fake API and a UI to poke it with, no setup
apic run login # POST, capture the token
apic run get-user --env staging # reuse the token, check assertions
apic run smoke.http --json | jq # whole file as a flow, one JSON line per request
apic test # run Gherkin features against the same requests
claude mcp add api -- apic mcp # let an agent call the same requests as tools
30 seconds to epic¶
go install github.com/dataGriff/api-caller/cmd/apic@latest
apic ui --demo
curl -fsSL https://raw.githubusercontent.com/dataGriff/api-caller/main/install.sh | sh
apic ui --demo
irm https://raw.githubusercontent.com/dataGriff/api-caller/main/install.ps1 | iex
apic ui --demo
--demo serves a small fake API inside the same process and opens the
terminal UI on an example project that targets it. There is
nothing to sign up for or clone, and nothing is left behind when you quit.
Prefer the plain CLI?
apic demo writes the same example project to ./apic-demo and serves
the API, so you can drive it by hand:
apic run login whoami -C apic-demo.
Why it's epic¶
Environments that travel
http-client.env.json, .env, the shell and --var, with one precedence order you can print.
Tokens that persist
Capture a value once; the next run, in a new shell or a new agent call, already has it.
Assertions and flows
Check status, headers and JSON paths. A file runs in order with a pass/fail summary and an exit code.
Auth a text file cannot do
AWS SigV4 with no SDK, OAuth2 with caching and refresh, basic, bearer, or any CLI that prints a token.
Gherkin without Cucumber
Features run against the same requests with a built-in vocabulary. JUnit and cucumber reports included.
Built for agents
Stable --json per request, discoverable requests, errors that say what to do next, and an MCP server.
The files stay ordinary .http files: everything apic adds is a comment, so
VS Code, JetBrains and Neovim still send them with one click.
Where to go next¶
| Guide | Read it when |
|---|---|
| Getting started | You are setting up apic for a project for the first time. |
| Terminal UI | You want to browse and run requests interactively. |
| Cheat sheet | You want every directive, selector and operator on one page. |
The .http format |
You are writing or editing request files. |
| Authentication | Your API needs AWS SigV4, OAuth2, basic auth or a token from a CLI. |
| Testing with Gherkin | You want .feature files to describe API behaviour. |
| Cookbook | You have a specific job to do and want a worked recipe. |
| CLI reference | You want every command, flag, output shape and exit code. |
| Using apic from an AI agent | You want Claude Code, Cursor or a shell-driven agent to call your API. |
| FAQ | Something is not behaving and you want the short answer. |
| Taskfile integration | You already drive things with task. |
| Comparison | You are deciding between apic, Bruno, Hurl, Postman or curl. |