> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.stakaba.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.stakaba.com/_mcp/server.

# Environments

Stakaba uses a single base URL for both sandbox and live traffic. The API key you send determines which environment runs.

## Base URL

```
https://api.stakaba.com
```

## Environment separation

| Environment | API Key       | Real money | Dashboard      |
| ----------- | ------------- | ---------- | -------------- |
| Sandbox     | `sk_test_...` | No         | Test workspace |
| Live        | `sk_live_...` | Yes        | Live workspace |

Sandbox and live data are completely isolated. A transaction created with a sandbox key never appears in your live dashboard and vice versa.

## Content-Type

All requests must include:

```http
Content-Type: application/json
Accept: application/json
```

## Rate limits

| Tier    | Limit               |
| ------- | ------------------- |
| Sandbox | 100 requests/minute |
| Live    | 300 requests/minute |

Exceeding the limit returns `HTTP 429 Too Many Requests`. Implement exponential backoff and retry.