# exchangeratesapi/exchangeratesapi

Exchange Rates API

Repository: https://github.com/exchangeratesapi/exchangeratesapi
Canonical: https://ross.abutalabs.com/products/exchangeratesapi
Homepage: https://exchangeratesapi.io
Language: Python
License: MIT
License Family: permissive
Last push: 2022-12-08T02:53:47+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3082, "days_push": 1364, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1935, forks 305 (observed 2026-08-28T04:05:56.954591+00:00)

## What it is
A self-hostable REST API service that serves current and historical foreign exchange rates published by the European Central Bank, built on Python's Sanic async framework with PostgreSQL via GINO/asyncpg. An hourly scheduler keeps the database updated with the latest ECB reference rates, and the hosted version at exchangeratesapi.io is now a commercial APILayer product.

## Use cases
- get latest and historical currency exchange rates via a REST API
- self-host a free exchange rates API backed by ECB data
- convert currencies client-side with money.js using fetched rates
- query historical forex rates for a date range
- power a finance dashboard with daily ECB reference rates

## When to choose
- you want a free, self-hosted exchange rate API based on ECB daily reference rates
- you need historical rates back to 1999 without paying for a commercial forex API
- you need high-throughput async serving of currency rates

## When to avoid
- you need real-time intraday rates updated every minute - ECB data updates once per working day
- you need currencies beyond the ECB reference set or precious metals
- you want a maintained turnkey service - the hosted product is now commercial and the repo's last release was 2022

## Facets
- artifact type: service
- maturity: maintenance
- function: http-server, api-framework, scheduling, caching
- domain: fintech, apis, self-hosted, backend
- platform: python, self-hosted
- tags: exchange-rates, currency-conversion, forex, rest-api, european-central-bank, sanic, heroku-deployable, docker, web-server

## Member repositories
- exchangeratesapi/exchangeratesapi (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:56.954591+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:08:27.412415+00:00, confidence not recorded.
  - readme: https://github.com/exchangeratesapi/exchangeratesapi (fetched 2026-08-28T04:05:56.954591+00:00, sha 24250c73fc98)
  - homepage: https://exchangeratesapi.io (fetched 2026-08-29T10:47:48.240481+00:00, sha 4d8244fac731)
  - site_page: https://exchangeratesapi.io/billing-overages-documentation (fetched 2026-08-29T10:47:48.252393+00:00, sha aa897011a3c4)
  - site_page: https://exchangeratesapi.io/faq (fetched 2026-08-29T10:47:48.249613+00:00, sha 474097fab307)
- Data as of 2026-08-30T08:39:29.467469+00:00.
