Lightweight,fastAPI gateway
One file of about 60 MB puts keys, tokens, rate limits, transforms and a trace of every request in front of your APIs, and adds less than a millisecond. Start free on Apinx Cloud, or run the same gateway on your own servers.
Cloud: no card, your own address on api.apinx.io. On-premises: one binary and a licence you buy once.
- 78,000Requests a second, one machine
- 26,000On two CPU cores
- ~60 MBOne file, console inside
What it proxies
- REST and any HTTP API
- HTTP/1.1
- HTTP/2 and h2c
- HTTPS
- gRPC unary and streaming
- WebSocket
- Server-sent events
- GraphQL proxied as HTTP
- SOAP backends, published as JSON
GraphQL goes through as HTTP today; schema-aware policies are on the road map. A SOAP service behind the gateway is published as a JSON API: callers send JSON and never see the envelope. Raw TCP is not something Apinx does.
What it works with
- Grafana
- Prometheus metrics
- Loki logs, dashboard included
- OpenTelemetry traces: Tempo, Jaeger, Datadog
- Elasticsearch and OpenSearch
- Seq
- Syslog, Vector, Fluent Bit
- OpenAPI, Postman and WSDL import
- Vault and KMS for secrets
From a backend to a protected, live API
A new Free account on Apinx Cloud, start to finish: an upstream, an API with two operations, an API key, a rate limit, a transformation, a key for the app, the API edited as YAML, and every call in the trace. 9 minutes, narrated, with subtitles.
Lightweight and fast are numbers, not adjectives
Measured on 11 November 2026 on one 12-core desktop running Linux, with the backend and the load tool on the same machine: not a tuned server, and not a lab. The method and the commands to repeat it are on the benchmarks page.
Lightweight
- About 60 MB
- One file. The gateway, the console, the Admin API, the token server, analytics and the manual are inside it.
- 33 MiB
- Memory at idle, serving a gateway from a file. About 100 MiB after nine million requests.
- 2 cores, 4 GB
- The smallest server we recommend. SQLite is inside; add PostgreSQL for a cluster, and Redis when you run more than one copy.
- Nothing else
- No JVM, no sidecar, no plugin to buy, no separate console to install before the first request goes through.
Fast
- 78,560 a second
- Requests through a plain route to a backend, 200 connections, access log on. Every answer a 200.
- 73,987 a second
- The same with four policies on the route: a forwarding allow-list, a rate limit, a transform and error normalizing.
- 26,753 a second
- With the gateway held to two CPU cores, the backend inside the same two. 40,819 on four.
- 0.8 ms
- The median at 50 connections, backend included; 4.5 ms at the 99th percentile. A request answered at the gateway itself takes 0.3 ms.
Four jobs, one small gateway
Each item is a page in the console, an endpoint in the Admin API and a command in apinxctl. The screenshots are real, taken from a fresh instance by a script.
Decide who gets in, and how much
Put a key or a token in front of any backend without changing a line of it.
- API keys issued per consumer, rotated with an overlap, revoked at once.
- Tokens with no identity server to run. Apinx issues OAuth 2 access tokens to your applications, with refresh tokens that rotate.
- JWT from your provider. Any OpenID Connect provider; its keys are found and refreshed on their own.
- Rate limits and quotas per consumer, key, IP or header, exact across instances with Redis.
- Request validation. Bodies and parameters checked against your OpenAPI schemas before the backend spends a cycle.
- Protection. Size and depth limits, pattern checks, IP lists, CORS.

Give an old backend a modern API
Change what callers see and leave the service behind it alone.
- SOAP as JSON. Import the WSDL; callers send JSON and never see an envelope.
- One answer from several backends. Callouts run in parallel and their answers are stitched into one body.
- Bodies reshaped with jq, previewed on a sample before you publish.
- Mock responses. Answer an operation from the gateway while the backend is still being built.
- Response cache. Repeated requests answered from memory, within a budget you set.
- Zero-trust forwarding. The backend receives only the headers and parameters you list.
POST /billing/invoices
Content-Type: application/json
{
"customer": 42,
"amount": 120.00
}
<soap:Envelope>
<soap:Body>
<CreateInvoice>
<Customer>42</Customer>
<Amount>120.00</Amount>
</CreateInvoice>
</soap:Body>
</soap:Envelope>
Release without holding your breath
Every change is a draft until you publish it, and every publish can be undone.
- Draft, diff, publish. No restart; traffic flows while the change lands.
- Roll back in one click. Every publish is a revision you can return to.
- Canary releases. A share of an operation's traffic goes to the new version, and falls back to the stable one if it is unhealthy.
- Traffic mirroring. Copy live calls to a second backend and throw its answers away.
- Health checks, retries, circuit breaker. A failing target is taken out and brought back on its own.
- Versions with a sunset date. Callers hear about a deprecation in the response headers.

See what happened to every call
When a caller says "it returned 403", open the request and read why.
- Request inspector. Each policy's decision and its time, and every backend the request called.
- Analytics. Requests, errors by exact status and latency percentiles per API, operation and application.
- OpenTelemetry. One span per request to Tempo, Jaeger, Datadog or any OTLP collector.
- Logs where you keep them. Loki, Elasticsearch, Seq or syslog, with no shipper beside the gateway.
- Prometheus metrics and a Grafana dashboard in every release.
- Audit log. Who changed what, exportable as CSV or JSON.

Also in the box
Products and plans
Bundle APIs into something a developer subscribes to. Plans set quotas and rate limits; subscriptions are automatic or wait for your approval.
An assistant in every screen
It explains what you are looking at and drafts the YAML or the jq program. Nothing reaches your draft without your click.
Import what you have
An OpenAPI description, a Postman collection or a WSDL becomes an API with its operations. Export a Postman collection ready to call them.
Console, YAML, CLI or API
The same objects four ways. Keep them in Git, review the diff and promote between environments from your pipeline.
More than one copy
With PostgreSQL and Redis several instances run as one: leader election, shared counters, and a publish that reaches all of them.
Or no database at all
apinx gateway run serves one YAML file and nothing else, for GitOps and Kubernetes. The file is watched and reloaded.
Every call takes the same path
In, who, limit, shape, call, cache, then your backend, and a trace of all of it. Security always runs before a transform, whatever order you added them in.
In the console
The path is a drawing you edit. Add a policy and it appears where it will run.
In Git
The same API is YAML with a stable schema and a generated reference.
In a pipeline
apinxctl and the Admin API do everything the console does.
Hover a part to see what it does. Click it to read more.
- Callers speak HTTP/1.1, HTTP/2, gRPC, WebSocket or GraphQL. One port answers all of them.
- In: TLS, your organization's address, and the API and operation that match the path.
- Who: an API key, an access token Apinx issued, a JWT from your identity provider, basic auth, IP lists, CORS.
- Limit: rate limits and quotas per consumer, key or IP, exact across instances through Redis, and requests checked against your schemas.
- Shape: headers, path, status, and request and response bodies with jq.
- Call: other backends called during the request, their answers stitched into one response.
- Cache: repeated requests answered from memory, without the backend.
- Trace: each request shows every policy's decision and its time; analytics keep the totals; OpenTelemetry, Prometheus and the access log take them to Grafana and your other tools.
- Your backends: named upstreams with health checks, load balancing, timeouts and retries. A SOAP service among them is published as JSON.
- The console: design the API, draw the flow, publish, watch traffic.
- Or code: the same objects as YAML, the apinxctl command, an Admin API for everything.
- PostgreSQL keeps what it stores. SQLite is enough for one server.
- Redis shares rate limits between copies. Optional until you run more than one.
Tested on every change
A gateway that falls over takes every API behind it down, so nothing merges until it has passed these checks.
Run on every change
- The race detector on the test suite, against SQLite and PostgreSQL.
- Fuzzing of every parser a caller can reach.
- A vulnerability scan of the dependencies the code actually calls.
- An OWASP API Security Top 10 abuse suite against the running binary.
- A benchmark gate. A change that adds more than a tenth to the memory allocations of the request path fails the build.
Built in
- Secrets sealed at rest with a key per organization, under a master key you hold: a file, Vault or a KMS.
- Isolation in the cloud. A configuration cannot reach a private, loopback or platform address; the check runs after the name resolves.
- Fails closed. A callout that fails answers with a coded error, never half a response.
- Exact limits. A limit of 6,000 a minute under full load let exactly 6,000 calls through.
- Keeps answering. With its database stopped the gateway serves what it has published and recovers without a restart.
Five minutes to a protected API
The console walks you through these three steps the first time. Traffic flows the moment you publish, no restart.
Point at a backend
Give the upstream a name and a URL. Health checks start right away.
Add operations and policies
Pick the paths, then drop in an API key check and a rate limit. The flow gets drawn as you go.
Publish and watch
One click to publish. Send a request, open its trace, and see each policy step with timings.
What happens to one call: the key check, the rate limit, a jq transform, the backend, and the trace it leaves behind.
Choose where it runs
Hosted by us or on your servers: the same binary, the same console, the same YAML, and you can move later. Prices are in USD.
Free
Try Apinx with a daily call allowance on shared infrastructure.
- 10,000 calls a day
- Bursts of 30 calls a second
- Up to 2 upstreams (backends), 2 targets each
- Responses up to 4 MB each
- Service callouts: up to 2 other backends per request, within 3 seconds
- WebSocket sessions up to 1 hour, 4 open at once
- 14 days of analytics and traces
- No response cache
- No AI assistant
- Your own consoleconsole.apinx.io/{your-organization-name}
- Your APIs answer atapi.apinx.io/{your-organization-name}
- For one person
- One environment, at your organization's address
- Community support
Enterprise
Fair-use calls, longer analytics retention, support by email.
- 5,000,000 calls a day
- Bursts of 2,000 calls a second
- Up to 8 upstreams (backends), 4 targets each
- Responses up to 32 MB each
- Service callouts: up to 10 other backends per request, within 10 seconds
- WebSocket sessions up to 24 hours, 500 open at once
- 4 months of analytics and traces
- Response cache up to 64 MB
- AI assistant in the console: 50,000 tokens free, rechargeable
- Your own consoleconsole.apinx.io/{your-organization-name}
- Your APIs answer atapi.apinx.io/{your-organization-name}
- Up to 10 people, with roles
- Up to 3 environments, each at an address of its own
- Email support and a reminder before renewal
On-Premises
Buy it once, run it forever. 12 months of updates are included.
- Unlimited calls, APIs, users and instances
- Every feature. Nothing held back
- SQLite, PostgreSQL, Redis, high availability
- Works air-gapped. The licence never phones home
- Starts on 2 cores and 4 GB of RAM
- The AI assistant in the console, on your own Claude API key
Custom subscription
Need more than a plan offers, or something in between? We set the allowance, people, environments, assistant tokens, support terms and invoicing to fit, hosted by us or on your servers.
Questions about limits, upgrades or moving to your own servers are answered on the pricing page.
What we are building next
In rough order. Dates move; the list does not pretend otherwise. Everything above this line is built and in today's release.
MCP and AI
Publish an API as tools an AI agent can call over the Model Context Protocol, and policies made for traffic to AI models.
GraphQL-aware policies
Depth and complexity limits and schema-aware authorization. Today GraphQL goes through as HTTP.
Your own domain in the cloud
api.yourcompany.com for a hosted organization, with certificates handled for you.
Single sign-on in the cloud
Sign in to a hosted organization through your OpenID Connect provider, as on-premises already does.
A cache shared by a cluster
A Redis-backed response cache, so several instances share one set of entries.
Card payments
Pay the Enterprise invoice online. Today it is a bank transfer.
More languages
The website and the console in Arabic and other languages.
Try the free plan today
Create your organization, publish an API and send your first request. It takes about as long as reading this page did.