Skip to content

Stawka API

Stawka exposes four read-only datasets behind a single small JSON API:

  • /rates — current and historical VAT rates for all EU-27 countries, scraped daily from the European Commission’s TEDB.
  • /changes — day-to-day diff of /rates. The materialized changelog of which rates moved when, queryable by date or country.
  • /fx — ECB euro reference rates (the daily 16:00 CET fixing), current and historical.
  • /vies/{country}/{vat} — on-demand VAT-number validation through the European Commission’s VIES service.

If you’d rather subscribe than poll, webhooks push the same events — including rates.changed — to a URL you control.

Every endpoint is GET-only and returns JSON. Errors share a single envelope:

{ "error": "<code>" }

The API surface and response shapes documented here are stable. Breaking changes ship as additive fields plus a deprecation window — see the changelog.