# EmidLabs API

**Canonical:** https://apis.io/apis/emidlabs-com/emidlabs-com-api/  
**Provider:** EmidLabs — https://apis.io/providers/emidlabs-com/  
**Base URL:** https://backtest.emidlabs.com/api/public/v1  
**Documentation:** https://emidlabs.com/en/docs/backtesting-api

EmidLabs API is one of 2 APIs that [EmidLabs](https://apis.io/providers/emidlabs-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

EmidLabs API as documented publicly: 25 operations. Contract generated from the documentation by API Evangelist (2026-11-06); not the provider's own document.

## Operations (25)

| Method | Path | Summary |
|---|---|---|
| POST | `/api/public/v1/backtest` | POST /api/public/v1/backtest |
| POST | `/api/public/v1/live/subscriptions` | POST /api/public/v1/live/subscriptions |
| POST | `/api/public/v1/strategies` | POST /api/public/v1/strategies |
| POST | `/backtest` | Submit a new backtest for execution. |
| GET | `/backtest/{id}` | Fetch the status and results of a submitted backtest. |
| GET | `/backtest/{id}/trades` | Page through every trade from a completed backtest, independent of the main result. |
| POST | `/backtest/batch` | Submit ONE strategy against MANY asset pairs at once. |
| GET | `/backtest/batch/{batchid}/results` | Fetch every item's outcome from a batch submission, paginated. |
| POST | `/confirmation-sources` | Run a corroborating strategy against a historical range, without simulating any trade. |
| GET | `/confirmation-sources/{id}` | Poll for status — mirror of GET /backtest/:id, without a result object. |
| GET | `/dsl-core-reference` | The genuinely‑shared slice of the Strategy DSL reference, as plain text/markdown. |
| GET | `/strategies` | List strategies for this account, paginated. |
| POST | `/strategies` | Save a new strategy. |
| DELETE | `/strategies/{id}` | Archives a strategy — soft-delete, never a hard delete. |
| GET | `/strategies/{id}` | Fetch a saved strategy by id, including its full definition. |
| PUT | `/strategies/{id}` | Update a saved strategy's fields. |
| GET | `/subscriptions` | List subscriptions on your account, paginated. |
| POST | `/subscriptions` | Subscribe a strategy to live evaluation on one asset pair. |
| POST | `/subscriptions/batch` | Batch Create – Subscribe the SAME strategy to live evaluation on multiple asset pairs at once. |
| POST | `/subscriptions/stop` | Stops a specific list of subscriptions, in one call. |
| POST | `/subscriptions/stop-all` | Stops every currently active subscription on your account, in one call. |
| DELETE | `/subscriptions/{id}` | Stop a subscription. |
| GET | `/subscriptions/{id}` | Fetch a single subscription's current status. |
| PATCH | `/subscriptions/{id}` | Update a subscription's signal model, position state, or webhook. |
| GET | `/subscriptions/{id}/signals` | The emitted signal log for a subscription, paginated. |

## Machine-readable artifacts (7)

- **OpenAPI** — https://artifacts.apis.io/emidlabs-com/openapi/_ae-authored/emidlabs-com-openapi-generated.yml
- **JSONSchema** — https://artifacts.apis.io/emidlabs-com/json-schema/emidlabs-com-get-backtest-id-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/emidlabs-com/json-schema/emidlabs-com-get-subscriptions-id-signals-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/emidlabs-com/json-schema/emidlabs-com-get-confirmation-sources-id-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/emidlabs-com/json-schema/emidlabs-com-get-subscriptions-id-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/emidlabs-com/json-schema/emidlabs-com-get-backtest-batch-batchid-results-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/emidlabs-com/json-schema/emidlabs-com-post-subscriptions-request-schema.json

## Other EmidLabs APIs (1)

- [Backtesting API](https://apis.io/apis/emidlabs-com/backtesting-api/)

---

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