GET
/
api
/
v1
/
exchanges
List All Exchanges
curl --request GET \
  --url https://api.example.com/api/v1/exchanges
{
  "error": "Unauthorized",
  "message": "Invalid or missing API key"
}

Overview

This endpoint returns a comprehensive list of all exchanges available in the Rulebook Company database.
Authorization Required - You must include a valid Bearer token in the Authorization header. Contact sales@rulebook.company to obtain API access.

Request

curl -X GET https://api.rulebook.company/v1/exchanges \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Response

exchanges
array
Array of exchange objects

Example Response

{
  "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
}

Error Responses

{
  "error": "Unauthorized",
  "message": "Invalid or missing API key"
}