# MarginPad Paper trading API

**Canonical:** https://apis.io/apis/marginpad-io/marginpad-io-paper-trading-api/  
**Provider:** MarginPad — https://apis.io/providers/marginpad-io/  
**Base URL:** https://marginpad.io  
**Documentation:** https://marginpad.io/free-crypto-api/

MarginPad Paper trading API is one of 10 APIs that [MarginPad](https://apis.io/providers/marginpad-io/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. Tagged areas include Paper Trading. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

Free simulated trading REST API (test your bot with no real money). Auth via X-API-Key.

## Operations (34)

| Method | Path | Summary |
|---|---|---|
| GET | `/api/bot/v1/price` | Paper price (keyless) |
| GET | `/api/bot/v1/time` | Server time (keyless) |
| POST | `/api/bot/v1/open` | Open a paper position |
| POST | `/api/bot/v1/close` | Close a paper position |
| POST | `/api/bot/v1/sltp` | Move stop-loss / take-profit |
| GET | `/api/bot/v1/orders` | List limit orders |
| POST | `/api/bot/v1/cancel_order` | Cancel a limit order |
| GET | `/api/bot/v1/positions` | List paper positions |
| GET | `/api/bot/v1/trades` | Closed-trade ledger |
| GET | `/api/bot/v1/account` | Paper account |
| POST | `/api/bot/v1/close_all` | Close every open paper position |
| GET | `/api/bot/v1/balance` | Paper balance |
| GET | `/api/bot/v1/markets` | Tradable markets |
| POST | `/api/bot/v1/modify_order` | Modify a resting order |
| GET | `/api/bot/v1/webhooks` | List webhooks (API Pro and above) |
| POST | `/api/bot/v1/webhooks` | Add / delete / test a webhook (API Pro and above) |
| GET | `/api/bot/v1/history` | The market archive (API Premium) |
| GET | `/api/bot/v1/usage` | Your plan, limits and usage |
| GET | `/api/bot/v1/sim` | The simulation profile |
| POST | `/api/bot/v1/sim` | Set the simulation |
| GET | `/api/bot/v1/realism` | Fill realism (read) |
| POST | `/api/bot/v1/realism` | Fill realism (set) |
| GET | `/api/bot/v1/fees` | Fee schedules (venues) and your default |
| POST | `/api/bot/v1/fees` | Set your default fee venue |
| GET | `/api/bot/v1/accounts` | Books (sub-accounts) of this account |
| POST | `/api/bot/v1/reset` | Reset this book to $10,000 |
| GET | `/api/bot/v1/equity` | Equity curve |
| GET | `/api/bot/v1/replay` | Replay status, price and candles |
| POST | `/api/bot/v1/replay` | Start or stop a replay of a past day |
| GET | `/api/arena` | Bot arena (public) |
| GET | `/api/bot/v1/report` | Trading report |
| POST | `/api/whsink/{token}` | Webhook test sink (write) |
| GET | `/api/whsink/{token}` | Webhook test sink (read) |
| GET | `/api/bot/v2/{endpoint}` | Same API, standard envelope |

## Machine-readable artifacts (7)

- **OpenAPI** — https://artifacts.apis.io/marginpad-io/openapi/marginpad-io-paper-trading-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/marginpad-io/json-schema/marginpad-io-sim-profile-schema.json
- **JSONSchema** — https://artifacts.apis.io/marginpad-io/json-schema/marginpad-io-position-schema.json
- **JSONSchema** — https://artifacts.apis.io/marginpad-io/json-schema/marginpad-io-open-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/marginpad-io/json-schema/marginpad-io-account-schema.json
- **JSONSchema** — https://artifacts.apis.io/marginpad-io/json-schema/marginpad-io-balance-schema.json
- **JSONSchema** — https://artifacts.apis.io/marginpad-io/json-schema/marginpad-io-close-request-schema.json

## Other MarginPad APIs (9)

- [MarginPad Calculators API](https://apis.io/apis/marginpad-io/marginpad-io-calculators-api/)
- [MarginPad Derivatives API](https://apis.io/apis/marginpad-io/marginpad-io-derivatives-api/)
- [MarginPad Macro API](https://apis.io/apis/marginpad-io/marginpad-io-macro-api/)
- [MarginPad Market data API](https://apis.io/apis/marginpad-io/marginpad-io-market-data-api/)
- [MarginPad Meta API](https://apis.io/apis/marginpad-io/marginpad-io-meta-api/)
- [MarginPad Order book API](https://apis.io/apis/marginpad-io/marginpad-io-order-book-api/)
- [MarginPad Plans API](https://apis.io/apis/marginpad-io/marginpad-io-plans-api/)
- [MarginPad Regional quotes API](https://apis.io/apis/marginpad-io/marginpad-io-regional-quotes-api/)
- [MarginPad Screener API](https://apis.io/apis/marginpad-io/marginpad-io-screener-api/)

## Tags

Paper Trading

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/marginpad-io` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/marginpad-io/marginpad-io-paper-trading-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/marginpad-io/.
