Skip to content

What can I do with the Cirrus API?

The Cirrus API is a public OpenAPI for your broker accounts. It covers orders, GTT, triggers, portfolio, a live stream, baskets, margins and option history. Idempotency keys make retries safe, and strategy scopes on API keys let scripts and agents create, backtest and deploy strategies within limits you set.

Place an order across two accounts, with placeholders for credentials

One request, many accounts
Name the accounts on an order and Cirrus fans it out, sized per account.
Idempotency keys
Retry a failed call with the same key and you get the first answer back, never a second order.
Strategy scopes
Give a key the scope to create, backtest and deploy strategies, and nothing more.
curl -X POST https://YOUR_API_HOST/v1/orders \
  -H "Authorization: token YOUR_KEY_ID:YOUR_KEY_SECRET" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: YOUR_UUID" \
  -d '{ "orders": [{
    "instrument_token": "CT:TEST:RELIANCE",
    "side": "BUY", "order_type": "LIMIT",
    "product": "MIS", "quantity": 5, "price": 2500,
    "accounts": ["P1", "Z1"]
  }] }'

How it works

  1. Create an API key

    Pick the scopes the key may use, and optionally the IP addresses it may be used from.

  2. Call the API

    Send an order, a trigger or a read with Authorization: token key_id:secret.

  3. Retry safely

    Send an Idempotency-Key with each order so a retry never repeats it.

  4. Read the docs

    The OpenAPI file lists every route, field and error.

What the API runs on today

As of 27 Nov 2026

  • 103 tools your AI app can use
  • 15 brokers you can connect

What it does not do yet

  • v1 protection routes stop on 30 Dec 2026. Move to v2 triggers; the changelog in the app docs lists each change. Note
  • An API key can do only what its scopes allow. Going live needs its own scope, strategies_live, which you grant yourself. Note
  • Cirrus answers trigger and portfolio requests quickly, but broker calls take as long as your broker takes. Note

Status as of 27 Nov 2026

Answered first.

Where is the API reference?

The reference is at cirrus.trade/docs and the OpenAPI file is at cirrus.trade/docs/openapi.json, so you can generate a client in your language.

What happens to the v1 protection routes?

v1 protection routes stop on 30 Dec 2026. Use the v2 trigger routes instead. The changelog in the app docs has the details.

How do idempotency keys work?

Order requests need an Idempotency-Key header, a new UUID for each request. If you retry with the same key, Cirrus returns the first answer instead of placing a second order.

Can an API key be limited?

Yes. Keys carry scopes, including strategy scopes, and can be limited to chosen IP addresses, so a script can be allowed to backtest but not to place orders.

Does the API work across brokers?

Yes. One request can name accounts at different brokers, and Cirrus sends the right order to each.

Free to start. You choose how much Nimbus does.