ATAPI Twin

Stateful API simulation

A twin for every API your tests call.

The twin is a stateful mock of OpenAI, payments, and APIs that are still being built. It fails on purpose, and answers curl from the first minute.

/sim/demoPOST /v1/orders
These buttons call the public twin at /sim/demo. Edit the order body, then create it.

Metered upstreams

Models, payments, and maps bill every test call. The twin counts what you would have spent.

Services still in progress

An order created with POST is there on the next GET. Static JSON cannot do that.

Failure drills

Switch the whole dependency to Degraded or Outage and get latency, errors, and 503s on demand.

Ready to call

Stateful resources

List, create, read, update, and delete are separate routes that share one collection.

OpenAI compatible

chat/completions returns JSON, SSE, and tool_calls.

Scenarios

Normal, Degraded, and Outage. Latency, error rate, and RPM are configurable.

CI ready

API keys, curl, and a control API that flips the scenario from a pipeline.

From specs and logs

Paste OpenAPI JSON or one real response and get routes.

Log scrubbing

Emails, card numbers, and SSNs stay out of the request log.

Plans

Free

$0

  • 3 twins
  • 30 routes
  • 5,000 calls / month
  • 1 seat
  • free.apitwin.dev

Developer

$8/month

  • $50 for the year, no monthly cap
  • 10 twins
  • 100 routes
  • 50,000 calls / month
  • yourname.apitwin.dev
  • Tunnel, Git source, contract drift

Team

$12/month

  • $120 for the year, no monthly cap
  • 40 twins
  • 400 routes
  • 200,000 calls / month
  • 10 seats, OIDC, client certificates

Enterprise

Talk to us

  • Self-hosted
  • SAML
  • 200 twins
  • 2,000 routes
  • 50 seats

Protocols and the account

Traffic recording

Point a twin at an upstream. Calls are forwarded and stored, or POST a capture to /__tap and save it as a route.

gRPC, WebSocket, Kafka

Unary JSON RPCs, a socket on port 3001, and topics with offsets. The same twin URL serves all three.

SSO

Team connects an OIDC issuer to an email domain. Enterprise connects SAML. Those accounts join the workspace as viewers.

Billing

You pay when a period starts. Developer is $8 a month or $50 for the year. Team is $12 a month or $120 for the year. Paying clears this month's call count. A yearly plan has no monthly cap. The webhook keeps the workspace on that plan while the subscription is active.