Free API client and testing tool. One app, one CLI, one MCP server. v0.1, free.

APIs, live.

all you need to keep your APIs healthy

  • Runs on your machine
  • No account
  • No cloud
  • Zero telemetry
  • Secrets stay in git-ignored filesSecrets git-ignored
$ brew install --cask apilivehq/tap/api-live
checkout.flow ready
Steps run top to bottom · click a blank to change it
  1. 1Start the simulator
  2. 2Mock POST /charge answers 200 {"charge_id": "ch_{{ random::alnum::8 }}"}
  3. 3Send POST {{ env.BASE_URL }}/auth/login as login
  4. JSON body {"email": "[email protected]", "password": "{{ env.PASSWORD }}"}
  5. 4Check status is 200
  6. 5Save token = body.accessToken, mask it in reports
  7. 6Run 20 copies at the same time
  8. Send POST {{ env.BASE_URL }}/orders with header Idempotency-Key: {{ key }}, bearer token
  9. Check status is one of 201, 409
  10. 7The simulator received POST /charge exactly 1 time
  11. +Add a step
flow "Checkout: one order, one charge"
sim start
sim route POST /charge -> 200 {"charge_id": "ch_{{ random::alnum::8 }}"}

POST {{ env.BASE_URL }}/auth/login as login
  json {"email": "[email protected]", "password": "{{ env.PASSWORD }}"}
expect status 200
save token = body.accessToken
secret token

set key = "{{ faker::uuid }}"
parallel 20:
  POST {{ env.BASE_URL }}/orders as order
    auth bearer {{ token }}
    header Idempotency-Key: {{ key }}
    json {"sku": "SKU-1042", "quantity": 1}
  expect status in [201, 409]

expect sim POST /charge count 1

load GET {{ env.BASE_URL }}/products vus 200 for 30s as perf
expect load.p99 < 200
Run0.0 s
  1. Simulator listening127.0.0.1:4790
  2. POST /auth/login200 41 ms
  3. parallel 2020 × POST /orders
    1 × 201 19 × 409
  4. sim POST /charge count1 ✓
  5. load GET /products200 vus p99 — ms— req/s0/30 s
  6. load.p99 < 200143 ms ✓
Passed0 failed, 37.4 s. Written to history.
POST {{ env.BASE_URL }}/orders
ParamsHeaders 2BodyAuth bearerChain 1ScriptsDocs
{
  "sku": "SKU-1042",
  "quantity": 1{{ range::1-5 }},
  "idempotency_key": "{{ faker::uuid }}"
}
Sending… 201 Created · 38 ms · 412 B · HTTP/2 · 10.0.4.12:443
BodyHeaders 9CookiesTimelineAs cURL
{
  "id": "ord_8f3k2v",
  "status": "pending",
  "amount": 125.5,
  "currency": "EUR",
  "charge_id": "ch_q7m2xk1p"
}
Last Known Good (201 · 2 h ago) · Bodies identical ✓ · Restore · Diff
Routes · payments 4
POST /charge200delay 20ms..80ms · chaos 2 % → 502
GET /charge/{id}200body from state
POST /refund201state_set refunds
GET /webhooks/*404lists the routes it has
When a request matchesPOST /charge · only if req.body.$.amount > 0
Respond with200 {"charge_id": "ch_{{ random::alnum::8 }}", "status": "captured", "amount": {{ req.body.$.amount }}}
Latency20ms..80ms
Chaoserrors 2 % as 502 · timeouts 0 % · drops 0 %
Statestate_set charges[{{ charge_id }}] · Reset state
0req/s
0active users
—p99 ms
0errors
0of 30 s
Stepcountreq/sp50p95p99errors
POST /auth/login003988—0
POST /orders004297—0
GET /products002166—0
checkout up
Scheduleevery 5 minutes · staging
Counts as failed whenchecks fail · status not 2xx · slower than 60 s
Before alertingretry once after 30 s · re-alert every 3 failed runs
Alert viadesktop notification · webhook
Last 20 runsuptime 99.9 % · p95 41.0 s
  1. passed18:1038.4 s9 checks
  2. running18:10step 7 of 9…
  3. passed18:0538.2 s9 checks
  4. passed18:0037.9 s9 checks
  5. degraded17:5541.0 spassed after 1 retry
  6. passed17:5038.0 s9 checks
Recording ● live
MethodPathStatusTimeHost
GET/products?limit=2020061 msapi.example.com
POST/auth/login20044 msapi.example.com
GET/cart20012 msapi.example.com
POST/orders20138 msapi.example.com
GET/orders/ord_8f3k2v20015 msapi.example.com
GET/orders/ord_8f3k2v20014 msapi.example.com · polling ×3
POST/v1/charges200212 msapi.stripe.com
POST /orders Create an order
Tagsorders
Securitybearer
Parametersheader Idempotency-Key · string · required
Request bodyapplication/json · sku string · quantity integer ≥ 1
Responses
201Order createdOrderexample: JSON, used by the simulator
409Duplicate idempotency keyErrorexample added · the simulator answers with it
Add the status codes this operation returns…
Smart indexing ~/code/storefront
  1. ●Read 1,284 files · respects .gitignore · no code is run
  2. ✓Languages: TypeScript, Rust, Python · 28 supported
  3. ✓Frameworks: Next.js 16 routes · Axum 18 · FastAPI 8
  4. ✓Specs: api/openapi.yaml, OpenAPI 3.1, 5 operations, merged
  5. ✓Shapes: 42 of 42 endpoints typed · params + body · required marked
  6. ✓Wrote 42 requests, ready to send Open
POST /v1/payments/chargefrom services/payments/routes.ts · DTO ChargeRequest
Authorization: Bearer {{ env.TOKEN }}
Idempotency-Key: {{ uuid }}

{
  "amount": 1250,
  "currency": "EUR",
  "customer_id": "cus_8f3k2v",
  "description": "Order SKU-1042",
  "capture": true
}
amountintegerrequiredminimum 1 · minor units
currencystringrequiredenum: EUR, USD, GBP
customer_idstringrequiredformat: id
descriptionstringoptionalomitted unless you ask
Hover a field to see its type and whether it's required or optional. Fill: Required · Required + optional
$ api flow run all --tag smoke --junit flows.xml --html flows.html
  checkout            passed     9 checks   38.2 s
  refunds             passed     6 checks    4.1 s
  partner-webhook     degraded   5 checks    7.8 s   passed after 1 retry
3 flows, 20 checks, 0 failed. Wrote flows.xml and flows.html.
 
$ api index
  Read 1,284 files. Found 42 routes: Axum 18, Next.js 16, FastAPI 8.
  Wrote 42 requests to .apilive/collections/discovered/
 
$ api daemon          # monitors, headless, on a server
  watching 3 monitors · checkout next in 4m 32s
 
$ api mcp             # 61 tools over stdio
  { "mcpServers": { "api.live": { "command": "api", "args": ["mcp"] } } }
0test frameworks a flow exports to
0megabytes installed
0frameworks discovered by api index
0MCP tools for your agent
0accounts, telemetry, paid tiers
PostmanBrunoInsomniaHAROpenAPI 3.1.httpHurlcURLJUnitPlaywrightk6JestpytestExpressFastAPISpringAxumRailsNestJSDjangoGoLaravel PostmanBrunoInsomniaHAROpenAPI 3.1.httpHurlcURLJUnitPlaywrightk6JestpytestExpressFastAPISpringAxumRailsNestJSDjangoGoLaravel