mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 20:51:25 +03:00
17 lines
No EOL
1.1 KiB
Markdown
17 lines
No EOL
1.1 KiB
Markdown
## API Base URL
|
|
All requests to our API should be directed to the URL below:
|
|
|
|
```
|
|
https://kekkai-api.redume.su/api/
|
|
```
|
|
|
|
|
|
## API Endpoints
|
|
Kekkai has 3 API endpoints: `getRate`, `getChart` and `metadata`.
|
|
Below you will find a list of parameters that each endpoint requires and a description of what the API does.
|
|
|
|
| Service | API Endpoint | Description |
|
|
|--------------|----------------------------------------------|---------------------------------------------------------------------------------------------|
|
|
| Get Rate | `https://kekkai-api.redume.su/api/getRate/` | Get currency exchange rate for a specific day or period |
|
|
| Create Chart | `https://kekkai-api.redume.su/api/getChart/` | Creating a chart with exchange rate |
|
|
| Metadata | `https://kekkai-api.redume.su/api/metadata/` | Shows the last and first dates of currency rate collection, as well as available currencies | |