Maximus's Arthashastra

Developers

Two APIs, kept apart.

One returns your own trading data and can never place an order. The other renders data into video for creators. They share authentication conventions and absolutely no data.

Neither API is generally available. The desk API is issued to QuantDesk clients once their desk is live. The creator API is in development and has no public endpoint yet. Everything on this page is the shape of the thing, published early so it can be argued with.


Desk API

Read-only by construction.

Every QuantDesk client gets an API key alongside their dashboard. Pull your own positions, statements and profit and loss into a spreadsheet, a script, or whatever you already use to keep records.

The key cannot place an order, move funds or change a risk setting. This is not a permission that has been switched off. There is no write endpoint in the service at all, so there is nothing to switch on by mistake.

Bearer authentication over HTTPS only. Rate limited per key. Keys are revocable from Settings and rotate without downtime.

GET/v1/status
GET/v1/positions
GET/v1/orders?from=&to=
GET/v1/pnl?period=
GET/v1/reports/:date
GET/v1/statements.csv
GET/v1/events SSE
# your own book, as JSON
curl -H "Authorization: Bearer $MTG_KEY" \
     https://api.maximusthegladiator.com/v1/positions

# a month of statements, straight into a spreadsheet
curl -H "Authorization: Bearer $MTG_KEY" \
     "https://api.maximusthegladiator.com/v1/statements.csv?from=2026-08-01"

# a live stream of fills and risk events
curl -N -H "Authorization: Bearer $MTG_KEY" \
     https://api.maximusthegladiator.com/v1/events

Response shape

Every response carries a request_id, and every list is paginated by cursor rather than page number, so a result set that changes underneath you does not silently skip a row.

{
  "request_id": "req_01J9F2K...",
  "data": [
    { "symbol": "RELIANCE", "qty": 12, "avg": 2841.5, "stop": 2760.0 }
  ],
  "next_cursor": null
}

Errors and limits

StatusMeaningWhat to do
401Key missing, malformed or revokedReissue from Settings
403Key is valid but the desk is not liveFinish onboarding
404No such resource for this keyCheck the identifier
429Rate limit exceededHonour Retry-After
503Broker upstream unavailableRetry with backoff

Default limit 60 requests per minute per key, burst 120. The event stream does not count against it.


Creator Toolkit

Data in, short video out.

A subscription API for creators who explain markets, travel or anything else that arrives as numbers. Post a dataset and a template; receive a rendered clip with charts, captions and a voice track already timed to them.

The point is the boring part. Assembling the same explainer every week by hand is what stops most channels from publishing consistently, and consistency is most of what growth on those platforms actually is.

Unrelated to the trading desk. It shares no data, no infrastructure and no account with QuantDesk. It appears on this site because it is being built by the same hands, not because it is part of what a trading client buys.

What it does

  • Data to video: charts, figures and captions rendered to a clip
  • Templates matched to a channel's existing look
  • Scheduled generation from a live data feed
  • Voice track, or your own audio dropped in
  • Vertical and landscape masters from one render
  • Webhook on completion, so it drops into an existing pipeline
POST/v1/render/video
GET/v1/render/:id
POST/v1/templates
GET/v1/usage
# queue a render; returns immediately with an id
curl -X POST https://api.maximusthegladiator.com/v1/render/video \
  -H "Authorization: Bearer $MTG_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "weekly-market-recap",
    "aspect": ["9:16", "16:9"],
    "voice": "en-IN-calm",
    "data": { "series": "NIFTY50", "from": "2026-08-01", "to": "2026-08-07" },
    "webhook": "https://example.com/hooks/mtg"
  }'

Subscription

Priced per finished minute rather than per API call, because a call that fails should not cost anything. Figures below are indicative and not yet chargeable.

Trial

No card

Free / 10 min

  • Ten rendered minutes, once
  • Watermarked output
  • Stock templates only
Ask for access

Studio

Planned

₹9,600 / month

  • 600 rendered minutes monthly
  • Unlimited templates
  • Five seats
  • Priority render queue
  • Bring your own storage
Talk it through

Nothing is chargeable today and there is no checkout to click. Prices are published this early so that the first people who use it are not surprised by them.


Want a key?

Say which API, and what you are trying to build with it.