Request Details

  • Parameters: None
  • Accept Header: application/json
GET /exchange/rates

Description of Key Fields

  • accepted_at: Timestamp when the rate was accepted.
  • correlation_id: Unique identifier for correlating requests.
  • entity: Contains the entity’s id and type (e.g., “business”).
  • price: Exchange rate in minor units.
  • symbol: The currency pair (e.g., “USD-NGN”).
  • status: Status of the rate (e.g., “filled”).
  • trades: Details of the trades executed for the rate, including price, size, and associated order IDs.

Sample Response

  • Status Code: 200
  • Description: Returns a list of rates with detailed information about each rate and related trades.
{
  "data": [
    {
      "buy": 1200,
      "created_at": "2025-01-21T11:56:45Z",
      "entity": {
        "id": "397752fb-92e6-404a-b6e4-d9d72f1379f9",
        "type": "business"
      },
      "id": "83b16397-d524-4619-b30f-e5e77b1b8d17",
      "pair": "USD-NGN",
      "sell": 1100,
      "ttl": 60,
      "updated_at": "2025-01-21T11:56:46Z"
    }
  ]
}