curl --request GET \ --url https://api.rulebook.company/api/v1/exchanges/ \ --header 'x-rulebook-api-access-key: <api-key>'
Copy
{ "message": "You are not authorized to perform this action. Invalid API key.", "data": [], "query_time": null, "success": false, "disable_jsonable_encoder": false, "status_code": 401}
Exchanges
List Exchanges
Get all exchanges available to your account
GET
/
exchanges
List exchanges
Copy
curl --request GET \ --url https://api.rulebook.company/api/v1/exchanges/ \ --header 'x-rulebook-api-access-key: <api-key>'
Copy
{ "message": "You are not authorized to perform this action. Invalid API key.", "data": [], "query_time": null, "success": false, "disable_jsonable_encoder": false, "status_code": 401}
Returns all exchanges available to your account. Each exchange includes a summary of available fee types and the total record count. Use this as your starting point to discover what data you can query.
Authorization Required - Include your API key in the x-rulebook-api-access-key header. Contact sales@rulebook.company to obtain access.
{ "message": "You are not authorized to perform this action. Invalid API key.", "data": [], "query_time": null, "success": false, "disable_jsonable_encoder": false, "status_code": 401}