---
title: "Create a Strategy"
method: POST
path: "/strategies"
tags: ["Trade Strategy"]
---

# Create a Strategy

`POST /strategies`

Creates a new Strategy under your platform. Synchronous. The `request_id` sent as the `X-REQUEST-ID` header is the idempotency key — re-submitting the same value returns the existing Strategy with its original `id` and `created_at`.

## Headers

- `X-SCX-SIGNED` string, required
- `X-SCX-TIMESTAMP` string, required

## Request body

- CreateTradeStrategyBody
  - `quoted_currency` string, required — Currency the Strategy denominates amounts in.
  - `metadata` object — Arbitrary JSON object for the platform to attach. Echoed back on reads; zerohash does not interpret the contents.

## Response `201`

Strategy created. Body is the created Strategy. On idempotent re-submission, the original Strategy is returned and the status code may be `200` instead.

- TradeStrategyResponse
  - `message` object
    - `id` string, uuid — Unique identifier (UUID v4) for the Strategy.
    - `request_id` string, uuid — Platform's idempotency key for the Strategy (the `X-REQUEST-ID` sent at creation).
    - `quoted_currency` string — Currency the Strategy denominates participant amounts in (e.g., "USD").
    - `metadata` object, nullable — Arbitrary JSON object the platform attached at creation; persisted verbatim and echoed back on reads. zerohash does not interpret the contents.
    - `created_at` string, date-time — When the Strategy was created.
    - `updated_at` string, date-time — When the Strategy was last updated.

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/zerohash/apis/zerohash-api.md) · [All operations](https://skmtc.net/zerohash/apis/zerohash-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zerohash/zerohash-api/revisions/8b647d934363/schema)
