cURL
curl --request GET \ --url https://api.example.com/api/v1/exchanges
{ "error": "Unauthorized", "message": "Invalid or missing API key" }
Retrieve a list of all available exchanges
curl -X GET https://api.rulebook.company/v1/exchanges \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json"
Show Exchange Object
{ "success": true, "data": { "exchanges": [ { "id": "1", "name": "New York Stock Exchange", "code": "NYSE", "country": "United States", "status": "active" }, { "id": "2", "name": "NASDAQ", "code": "NASDAQ", "country": "United States", "status": "active" } ] }, "count": 2 }