{ "opencollection": "1.0.0", "info": { "name": "Business Accounting Trades API", "version": "1.0" }, "items": [ { "info": { "name": "Trades", "type": "folder" }, "items": [ { "info": { "name": "Get all public trades (market history)", "type": "http" }, "http": { "method": "GET", "url": "https://b2b.revolut.com/api/1.0/trades/all/:symbol", "headers": [ { "name": "X-Revx-Timestamp", "value": "" }, { "name": "X-Revx-Signature", "value": "" } ], "params": [ { "name": "symbol", "value": "BTC-USD", "type": "path", "description": "Trading pair symbol (e.g., BTC-USD)." }, { "name": "start_date", "value": "", "type": "query", "description": "Start timestamp for the query range in Unix epoch milliseconds.\n\n:::note\nIf `start_date` is omitted, it defaults to 7 days prior to `end_date`.\nThe difference between `start_date` and `end_date` must be <= 30 days.\n:::" }, { "name": "end_date", "value": "", "type": "query", "description": "End timestamp for the query range in Unix epoch milliseconds.\n\n:::note\nIf `end_date` is omitted, it defaults to `start_date` + 7 days (if `start_date` is provided) or the current date (if `start_date` is missing).\nThe duration between `start_date` and `end_date` must not exceed 30 days.\n:::" }, { "name": "cursor", "value": "", "type": "query", "description": "Pagination cursor obtained from the [`metadata.next_cursor`](https://developer.revolut.com/docs/api/revolut-x-crypto-exchange#get-all-trades#response) property of the previous response." }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of records to return." } ] }, "docs": "Retrieve a list of all trades for a specific symbol, not limited to the current client's activity." }, { "info": { "name": "Get client trades (associated with the provided API key)", "type": "http" }, "http": { "method": "GET", "url": "https://b2b.revolut.com/api/1.0/trades/private/:symbol", "headers": [ { "name": "X-Revx-Timestamp", "value": "" }, { "name": "X-Revx-Signature", "value": "" } ], "params": [ { "name": "symbol", "value": "", "type": "path", "description": "Trading pair symbol (e.g., BTC-USD)." }, { "name": "start_date", "value": "", "type": "query", "description": "Start timestamp for the query range in Unix epoch milliseconds.\n\n:::note\nIf `start_date` is omitted, it defaults to 7 days prior to `end_date`.\nThe difference between `start_date` and `end_date` must be <= 30 days.\n:::" }, { "name": "end_date", "value": "", "type": "query", "description": "End timestamp for the query range in Unix epoch milliseconds.\n\n:::note\nIf `end_date` is omitted, it defaults to `start_date` + 7 days (if `start_date` is provided) or the current date (if `start_date` is missing).\nThe duration between `start_date` and `end_date` must not exceed 30 days.\n:::" }, { "name": "cursor", "value": "", "type": "query", "description": "Pagination cursor obtained from the [`metadata.next_cursor`](https://developer.revolut.com/docs/api/revolut-x-crypto-exchange#get-private-trades#response) property of the previous response." }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of records to return." } ] }, "docs": "Retrieve the trade history (fills) for the authenticated client.\nThe user context is resolved based on the provided API key." } ] } ], "bundled": true }