# Api.live – Point it at a repo, get every endpoint as a runnable request

> Source: <https://api.live/>
> Published: 2026-11-21 23:31:17+00:00

**Key takeaway:** Api.live v0.1 is free and runs locally with no account or telemetry, exposing an MCP server plus a CLI so agents and developers can turn repo endpoints into runnable requests, mock routes with chaos and latency, and run 20-way parallel idempotency checks.

The complete API suite. 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

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\]](https://api.live/cdn-cgi/l/email-protection)", "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

``` php
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/s**0** /30 s
6. load.p99 < 200143 ms ✓

Passed0 failed, 37.4 s. Written to history.

ParamsHeaders 

**2** BodyAuth**bearer** Chain**1** ScriptsDocs

```
{
  "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 

**9** CookiesTimelineAs 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** /charge | 200 | delay 20ms..80ms · chaos 2 % → 502 | 
| **GET** /charge/{id} | 200 | body from state | 
| **POST** /refund | 201 | state_set refunds | 
| **GET** /webhooks/* | 404 | lists the routes it has | 

When a request matches

**POST**/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
**0** req/s

**0** active users

**—** p99 ms

**0** errors

**0** of 30 s

| Step | count | req/s | p50 | p95 | p99 | errors | 
| **POST** /auth/login | 0 | 0 | 39 | 88 | — | 0 | 
| **POST** /orders | 0 | 0 | 42 | 97 | — | 0 | 
| **GET** /products | 0 | 0 | 21 | 66 | — | 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

| Method | Path | Status | Time | Host | 
| **GET** | /products?limit=20 | 200 | 61 ms | api.example.com | 
| **POST** | /auth/login | 200 | 44 ms | api.example.com | 
| **GET** | /cart | 200 | 12 ms | api.example.com | 
| **POST** | /orders | 201 | 38 ms | api.example.com | 
| **GET** | /orders/ord_8f3k2v | 200 | 15 ms | api.example.com | 
| **GET** | /orders/ord_8f3k2v | 200 | 14 ms | api.example.com · polling ×3 | 
| **POST** | /v1/charges | 200 | 212 ms | api.stripe.com | 

**POST**/orders Create an order

Tagsorders

Securitybearer

Parametersheader Idempotency-Key · string · required

Request bodyapplication/json · sku string · quantity integer ≥ 1

Responses

| 201 | Order created | Order | example: JSON, used by the simulator | 
| 409 | Duplicate idempotency key | Error | example 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
}
```

**amount** integerrequiredminimum 1 · minor units

**currency** stringrequiredenum: EUR, USD, GBP

**customer_id** stringrequiredformat: id

**description** stringoptionalomitted unless you ask

Hover a field to see its type and whether it's required or optional. Fill: 

**Required**·** Required + optional**

``` bash
$ 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"] } } }
```

**0** test frameworks a flow exports to

**0** megabytes installed

**0** frameworks discovered by

`api index`
**0** MCP tools for your agent

**0** accounts, telemetry, paid tiers

PostmanBrunoInsomniaHAROpenAPI 3.1.httpHurlcURLJUnitPlaywrightk6JestpytestExpressFastAPISpringAxumRailsNestJSDjangoGoLaravel
PostmanBrunoInsomniaHAROpenAPI 3.1.httpHurlcURLJUnitPlaywrightk6JestpytestExpressFastAPISpringAxumRailsNestJSDjangoGoLaravel

## Download.

Then `git pull`.

Version 0.1.0. Free to use, commercial use included. Closed source, with the EULA in the release. The app talks only to the hosts you send requests to.
