# Exchange Rates

This endpoint fetches the most recent exchange rates between two currencies of countries within Africa.

{% hint style="info" %}
**Endpoint:** <https://settle.africa/rates/{Source}/{Destination}>
{% endhint %}

* Source: Id of Sending Country
* Destination: Id of Receiver's country

{% tabs %}
{% tab title="Request" %}

```
GET https://settle.africa/rates/{Source}/{Destination}
id: 5563678883
token: tegdghh66353l
expiry: 29/11/2024 12:23:23

```

{% endtab %}

{% tab title="Response" %}

```
{
    "status": "success",
    "data": {
        "rate": 195.85088724172127
    },
    "code": 0,
    "fetched": "13/11/2023 02:24:50",
    "message": "The rates is in the destination currency."
}

```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.settle.africa/data-and-details/exchange-rates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
