Skip to main content
Cloud APIM · for Otoroshi

API management for Otoroshi

An API management console and a developer portal on top of the Otoroshi gateway. Describe your APIs as products, publish them, let consumers subscribe and follow their usage — without ever opening the gateway, and without the product ever standing in the request path.

From a description to traffic

Three objects with three lifetimes — the draft you edit, the snapshots you publish, the deployment that references one of them — and a gateway that only ever receives what was published.

01Describe

An API, its resources and backends, its plans, its documentation in any language — in a draft that never reaches the gateway.

02Publish

Freeze an immutable snapshot of the draft, with the pinned versions of the shared policy groups it uses.

03Deploy

Project the snapshot as an Otoroshi Api entity, after a dry run that shows what changes on the gateway.

04Consume

Consumers subscribe from the portal; accepted subscriptions become apikeys; every call is counted and attributed.

Two faces of one thing

A console where producers describe products and plans and review subscriptions, and a portal where consumers discover, subscribe, try and follow their consumption — over one admin API.

Catalogue
One API, N plans, N auth mechanisms

An API carries its routes once; its plans carry the policy — auth mechanism, rate limit, quotas, resource filtering, visibility. Adding a tier is a catalogue operation, never an infrastructure one.

Lifecycle
Edit a draft, publish a snapshot

You always edit a draft. Publishing freezes an immutable, dated snapshot; deploying pushes that snapshot to the gateway after showing its diff. Rollback is the redeployment of an earlier snapshot.

Subscriptions
An approval workflow that is yours

Automatic or manual review, a usage statement, terms of use, a request form made of typed fields. A subscription becomes an Otoroshi apikey only once it is accepted, and moves to an equivalent plan without changing its key. An application can call every API it subscribes to with one key, each subscription keeping its own quotas.

Gateway
Never in the request path

The product projects policies into Otoroshi through its Admin API, and Otoroshi enforces them. Operations are asynchronous and replayable: if the product is down, traffic still flows.

Gateway
Transparent, not opaque

From any API you reach the Otoroshi entity it projects, read it, and see when someone changed it by hand: drift is detected, readable, and repaired by redeploying. Existing Otoroshi APIs can be adopted without being overwritten.

Portal
One developer portal per workspace

A themable catalogue with multilingual documentation, an OpenAPI reference rendered by Scalar with a try-it that uses the consumer's own credentials, applications, credentials, live quotas and usage.

Analytics
Usage in the catalogue's vocabulary

An ingester receives Otoroshi events and attributes every call to its API, plan, subscription and application at ingestion — dashboards speak of products and plans, not of routes.

GitOps
Everything is administrable by program

The console is a client of the admin API, so every action replays from the CLI. APIs are declarative documents you can apply, and remote catalogs — HTTP, git or S3 — reconcile them on a schedule.

Open
Apache 2.0 across the critical path

Audit, drift, API products, multi-tenancy, shared policy groups — what other platforms gate behind a licence ships open, on top of an open gateway.

An installation in a few commands

The quickstart makes an installation on your machine — PostgreSQL, Otoroshi 18.1 and the product, configured as in production — and calls a first API through the gateway; the tutorial walks through the console and the portal, a screen at each step.

# PostgreSQL, Otoroshi 18.1 and the product, configured as in production
docker run -d --name apim-postgres -p 5432:5432 -e POSTGRES_USER=apim \
-e POSTGRES_PASSWORD=… -e POSTGRES_DB=apim postgres:17
set -a; . ./otoroshi.env; set +a; java -jar otoroshi.jar

# the product: its setup on the gateway, then the server
set -a; . ./apim.env; set +a
./otoroshi-apim setup --only key,exporter --product-url http://localhost:9000
./otoroshi-apim

# a first API, from a file
./otoroshi-apim apply default -f hello.yaml --publish --deploy