Skip to main content
POST
Creates a strategy from a flat list of asset allocations with a rebalance schedule and optional swap preferences. Allocations are validated before the strategy is persisted.
  • Auth: x-api-key header (required)
  • Scope: strategies:write
Asset IDs use CAIP-19 format (e.g., eip155:1/erc20:0xa0b8...). Allocation weights are string percentages that must sum to 100. Schedule and preferences are stored separately and can be updated independently via PUT /v2/strategies/:id/schedule and PATCH /v2/strategies/:id/preferences. The maxApy field returned on strategy reads is managed by Glider. Common error responses:
  • 400 when the request body or allocation is invalid
  • 401 when x-api-key header is missing or the key is invalid
  • 403 when the API key lacks the strategies:write scope
  • 500 on unexpected server errors