Get all public trades (market history)

Retrieve a list of all trades for a specific symbol, not limited to the current client's activity.

Note

To use this feature, you need an API key generated in the Revolut X web app. Please join the waitlist to get access.

Request

Path parameters
Path parameters

Trading pair symbol (e.g., BTC-USD).

Query parameters
Query parameters

Example: 3318215482991

Start timestamp for the query range in Unix epoch milliseconds.

Note

If start_date is omitted, it defaults to 1 week prior to the end_date. The difference between start_date and end_date must be <= 1 week.

Example: 3318215482991

End timestamp for the query range in Unix epoch milliseconds. Note: If end_date is not specified, it defaults to the current date. The difference between start_date and end_date must be <= 1 week.

Example: "ZGF0ZT0xNzY0OTMxNTAyODU0O2lkPTM3YjExMWJlLTcwMzYtNGYzNC1hYWYyLTM4ZDVjYTEyN2M1Yw=="

Pagination cursor obtained from the metadata.next_cursor of the previous response.

Possible values: >= 1 and <= 100
Example: 100

Default value: 100

Maximum number of records to return.

Response

OK

The list of trades.

Response body
Body object

Example: 3318215482991

Trade date and time, expressed in Unix epoch milliseconds.

Example: "BTC"

Crypto-asset ID code.

Example: "Bitcoin"

Crypto-asset full name.

Example: "116243.32"

Price in major currency units. For example, for USD, 116243.32 represents 116243.32 dollars.

Example: "USD"

Price currency.

Example: "MONE"

Price notation.

Example: "0.24521000"

Quantity.

Example: "BTC"

Quantity currency.

Example: "UNIT"

Quantity notation.

Example: "REVX"

Venue of execution. Always equals REVX.

Example: 3318215482991

Publication date and time, expressed in Unix epoch milliseconds.

Example: "REVX"

Venue of publication. Always equals REVX.

Example: "5ef9648f658149f7ababedc97a6401f8"

Transaction identification code.

Timestamp in Unix epoch milliseconds.

Cursor used to retrieve the next page of results.

To continue paginating through the results, make a new request and pass this value in the cursor query parameter.

Was this page helpful?