---
updatedAt: 2025-06-12T20:34:11.000Z
agentTools:
  projectIndex: https://docs.zondacrypto.exchange/llms.txt
---

# Approximate rate

Subscription informs you of changes in the approximate rate for a given currency pair.

```json Request
{
 "action": "subscribe-public",
 "module": "cantor_service",
 "path": "rates/{source_currency}/{destination_currrency}"
}
```
```json Push
{
  "action": "push",
  "topic": "cantor_service/rates/usd/eur",
  "message": {
    "rate": 1.164875,
    "rateCurrency": "USD"
  },
  "timestamp": "1576845911374",
  "seqNo": 4317604
}
```

**Response details:**

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Key
      </th>

      <th style={{ textAlign: "left" }}>
        Type
      </th>

      <th style={{ textAlign: "left" }}>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        rate
      </td>

      <td style={{ textAlign: "left" }}>
        decimal
      </td>

      <td style={{ textAlign: "left" }}>
        Approximate rate.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        rateCurrency
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Currency rate.
      </td>
    </tr>
  </tbody>
</Table>