Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
developers:websocket:markets [2025/03/15 15:16] – created chad | developers:websocket:markets [2025/04/10 21:29] (current) – chad | ||
---|---|---|---|
Line 5: | Line 5: | ||
The Market Data API provides access to all tradable instruments and their associated definitions within the platform. This REST-based API allows you to explore available markets, retrieve instrument specifications, | The Market Data API provides access to all tradable instruments and their associated definitions within the platform. This REST-based API allows you to explore available markets, retrieve instrument specifications, | ||
- | Unlike the real-time trading functionality which utilizes WebSocket and Protocol Buffers, the Market Data API follows REST principles for straightforward data retrieval and exploration. This documentation covers how to authenticate to the API and provides an overview of the available endpoints. | ||
- | ===== Authentication ===== | + | Please see our Instuments API documentation or Swagger with the links below. |
- | The Market Data API supports two authentication methods, depending on your integration scenario: | + | [[developers:markets|Instruments |
- | + | ||
- | * **AuthKey Authentication**: | + | |
- | * **JWT Authentication**: | + | |
- | + | ||
- | ==== JWT Authentication ==== | + | |
- | + | ||
- | To obtain a JWT token: | + | |
- | + | ||
- | - Send a JWT request Protocol Buffer message to the authentication endpoint | + | |
- | - The server will respond with a JWT token that should be included in subsequent | + | |
- | - Include the JWT token in the Authorization header using the Bearer scheme | + | |
- | + | ||
- | ==== AuthKey Authentication ==== | + | |
- | + | ||
- | For B2B integrations: | + | |
- | + | ||
- | - Use your provided AuthKey for direct API access | + | |
- | - Include the AuthKey in the request header as specified in the API documentation | + | |
- | - AuthKeys have configurable permissions and can be managed through the administration portal | + | |
- | + | ||
- | ===== API Documentation ===== | + | |
- | + | ||
- | For a complete reference of all available endpoints, request parameters, and response formats, please refer to our interactive Swagger documentation: | + | |
[[https:// | [[https:// | ||
- | The Swagger interface allows you to: | ||
- | * Browse all available endpoints | ||
- | * Test API calls directly from your browser | ||
- | * View request and response schemas | ||
- | * Understand authentication requirements for each endpoint | ||
- | |||
- | ===== Market Definition Endpoints ===== | ||
- | |||
- | This section will be expanded with detailed information about specific market definition endpoints, including: | ||
- | * How to retrieve available markets | ||
- | * Accessing instrument specifications | ||
- | * Querying trading parameters | ||
- | * Filtering and searching capabilities |