← labelsys.tech

Public API

The Electoral Support Index is also available as a static JSON endpoint — free to use, no cost, no API key or registration required.

Endpoint

GET https://labelsys.tech/api/v1/electoral-index.json

The file is regenerated automatically every time the site is rebuilt — it always mirrors the same data shown in the index widget on the homepage.

Response format

FieldDescription
versionAPI schema version (string, e.g. "1.0")
licenseData license — CC BY 4.0
attribution_requiredAttribution required on use: "ЛИСТ / labelsys.tech"
updatedDate the index was last updated (ISO, "YYYY-MM-DD")
methodology_urlLink to the index methodology
generated_atTimestamp the API file itself was generated (ISO 8601, UTC)
dataThe full dataset — same schema as /data/electoral-index.json: parties (current per-party values), leaders (leader ratings, A/D), chart (per-party time series)

License

The data is distributed under Creative Commons Attribution 4.0 (CC BY 4.0). You are free to use, share, and adapt it for any purpose, including commercial, provided you credit the source: "ЛИСТ / labelsys.tech" with a link to labelsys.tech.

Example (JavaScript)

fetch('https://labelsys.tech/api/v1/electoral-index.json')
  .then(r => r.json())
  .then(json => {
    console.log(json.license, json.updated)
    console.log(json.data.parties)
  })

Usage limits

The endpoint is a static file (not a database query) — no rate limit is imposed by us; the hosting provider may apply generic infrastructure-level abuse protection.

Methodology

The index methodology itself is described on the homepage, "Data" section and under the index widget on every page of the site.