# AllRatesToday

## GET /all-rates-today/v1/historical

> Retrieve historical exchange rates.

```json
{"openapi":"3.1.0","info":{"title":"auor.io","version":"1.0.0"},"servers":[{"url":"https://api.auor.io","description":"auor.io (Oreo) Production server"}],"paths":{"/all-rates-today/v1/historical":{"get":{"operationId":"historicalRatesV1","summary":"Retrieve historical exchange rates.","tags":["AllRatesToday"],"parameters":[{"name":"from","in":"query","description":"Start date and time for historical rates.","required":true,"schema":{"type":"string","format":"date-time"}},{"name":"group","in":"query","description":"Grouping for historical rates.","required":true,"schema":{"type":"string","enum":["day","hour","minute"]}},{"name":"source","in":"query","description":"Source currency (3-letter ISO 4217 code).","required":true,"schema":{"type":"string","minLength":3,"maxLength":3}},{"name":"target","in":"query","description":"Target currency (3-letter ISO 4217 code).","required":true,"schema":{"type":"string","minLength":3,"maxLength":3}},{"name":"to","in":"query","description":"End date and time for historical rates.","required":true,"schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"./schemas/all-rates-today/v1/historical/output.json"}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"402":{"description":"Payment required","content":{"application/json":{}}}}}}},"components":{"schemas":{"ValidationError":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"string"}}},"required":["errors"]}}}}
```

## GET /all-rates-today/v1/rates

> Retrieve current exchange rates.

```json
{"openapi":"3.1.0","info":{"title":"auor.io","version":"1.0.0"},"servers":[{"url":"https://api.auor.io","description":"auor.io (Oreo) Production server"}],"paths":{"/all-rates-today/v1/rates":{"get":{"operationId":"currentRatesV1","summary":"Retrieve current exchange rates.","tags":["AllRatesToday"],"parameters":[{"name":"source","in":"query","description":"Source currency (3-letter ISO 4217 code).","required":true,"schema":{"type":"string","minLength":3,"maxLength":3}},{"name":"target","in":"query","description":"Target currency (3-letter ISO 4217 code).","required":false,"schema":{"type":"string","minLength":3,"maxLength":3}},{"name":"time","in":"query","description":"Specific timestamp for the rate.","required":false,"schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"./schemas/all-rates-today/v1/rates/output.json"}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"402":{"description":"Payment required","content":{"application/json":{}}}}}}},"components":{"schemas":{"ValidationError":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"string"}}},"required":["errors"]}}}}
```


---

# 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://auorio.gitbook.io/docs/api/allratestoday.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.
