# /rfq/leg-prices Calculate leg prices for an RFQ structure Endpoint: POST /rfq/leg-prices Version: 1.0 ## Request fields (application/json): - `rfqId` (integer, required) Unique identifier for the RFQ - `price` (number, required) The total price for the strategy - `legs` (array, required) The strategy legs to calculate the leg prices for - `legs.direction` (string, required) Direction for the leg Enum: "buy", "sell" - `legs.instrumentName` (string, required) Full instrument name Example: "BTC-8AUG25-110000-C" - `legs.ratio` (number, required) Ratio for the leg Example: 1 ## Response 200 fields (application/json): - `legs` (array) - `legs.instrumentName` (string) Full instrument name - `legs.price` (number) Price for the leg ## Response 400 fields (application/json): - `code` (integer) Example: 400 - `message` (string) Example: "Bad Request" - `reason` (array) Example: ["Invalid input"]