Skip to main content
POST
Data

Request contract

  • Method and path: POST /apis/v1/v-dem-net/democracy/data
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/v-dem-net/democracy/data
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
countries
string[]
required

ISO3 codes or V-Dem country_text_id values (ZZB, PSG, SML, XKX, DDR, VDR, YMD, PSB are V-Dem-only).

variables
string[]
required

Variable tags, e.g. v2x_polyarchy.

cursor
string

Opaque cursor from a previous page's next_cursor (format o). null or omitted starts at the first page.

include_uncertainty
boolean

include_uncertainty

page_size
number
default:100

page_size

Provider reference: minimum 1; maximum 2000; default 100.

version
string
default:v16

Dataset release to pin, e.g. v16. Live observations are served for the current release only (v16, March 2026); variable metadata can be filtered for any release via the codebook's data-release line. Pattern: ^v?[0-9]{1,2}$.

Provider reference: default "v16".

year_from
number

year_from

Provider reference: minimum 1789; maximum 2100.

year_to
number

year_to

Provider reference: minimum 1789; maximum 2100.

Response

Country-year observations for up to 5 variables and 50 countries (ISO3 or V-Dem country_text_id) from v-dem.net's official graphing API for the pinned release (v16, 1789-2025), optionally year-bounded, with codelow/codehigh bounds. Sorted by variable, country_id, year; paginated with next_cursor.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.