Povides metadata on available options trades across various exchanges. This includes information on instruments (specific options contracts) such as their exchange, underlying asset, and the time period during which the trade data is available.

get/options/trades/information

Request

  • Base URL
    https://api.amberdata.com/markets
  • URL
    https://api.amberdata.com/markets/options/trades/information
  • Auth
    API key in header x-api-key

Query parameters

exchangestring

[Optional] The exchange(s) for which to retrieve the most current data (comma separated). [Default] All available exchanges.

instrumentstring

Only return data for the given pair.

includeInactiveboolean

[Optional] If true, endpoint returns all instruments, including delisted ones. [Defaults] false* | true

timeFormatstring

[Optional] Time format of the timestamps in the return payload. [Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable

Headers

Accept-Encodingstring required
api-versionstring

Response

200

statusinteger
titlestring
descriptionstring

Example response

{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": {
    "metadata": {
      "next": "https://api.amberdata.com/markets/options/trades/information?cursor=N4IglgdgxgNgrgEwKYEkIEMoBcwDckgBcAZujAM5IA0408yAqhOXAA6sD2ATlkggKIAPKAAt0EAOZJyRUhWogcAWyQAxbkvRYiIJWBgwwlKBwgIZNYhq06AVuVMgardFKIBGGuTAAvAoQBWAAYggF8gA",
      "api-version": "2023-09-30"
    },
    "data": [
      {
        "exchange": "bybit",
        "instrument": "BTC-16AUG24-50000-P",
        "underlying": "BTC",
        "startDate": 1721916316594,
        "endDate": 1722412049804
      }
    ]
  }
}

Changes