curl --request POST \
--url https://api.aisa.one/apis/v1/v-dem-net/democracy/variable \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tag": "v2x_polyarchy"
}
'import requests
url = "https://api.aisa.one/apis/v1/v-dem-net/democracy/variable"
payload = { "tag": "v2x_polyarchy" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({tag: 'v2x_polyarchy'})
};
fetch('https://api.aisa.one/apis/v1/v-dem-net/democracy/variable', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/v-dem-net/democracy/variable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'tag' => 'v2x_polyarchy'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/v-dem-net/democracy/variable"
payload := strings.NewReader("{\n \"tag\": \"v2x_polyarchy\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/v-dem-net/democracy/variable")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"tag\": \"v2x_polyarchy\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/v-dem-net/democracy/variable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tag\": \"v2x_polyarchy\"\n}"
response = http.request(request)
puts response.read_body{
"citation": "Coppedge, Michael, John Gerring, Carl Henrik Knutsen, Staffan I. Lindberg, Jan Teorell, David Altman, Fabio Angiolillo, Michael Bernhard, Agnes Cornell, M. Steven Fish, Linnea Fox, Lisa Gastaldi, Haakon Gjerløw, Adam Glynn, Ana Good God, Allen Hicken, Katrin Kinzelbach, Joshua Krusell, Kyle L. Marquardt, Kelly McMann, Valeriya Mechkova, Juraj Medzihorsky, Anja Neundorf, Pamela Paxton, Daniel Pemstein, Josefine Pernes, Johannes von Römer, Brigitte Seim, Rachel Sigman, Svend-Erik Skaaning, Jeffrey Staton, Aksel Sundström, Marcus Tannenberg, Eitan Tzelgov, Yi-ting Wang, Tore Wig, Steven Wilson and Daniel Ziblatt. 2026. \"V-Dem [Country-Year/Country-Date] Dataset v16\" Varieties of Democracy (V-Dem) Project. https://doi.org/10.23696/vdemds26.",
"complete": true,
"count": 1,
"function": "variable",
"license": "CC BY-SA 4.0",
"license_url": "https://creativecommons.org/licenses/by-sa/4.0/",
"next_cursor": null,
"observed_at_ms": 1789444695000,
"offset": 0,
"records": [
{
"aggregation": "The index is formed by taking the average of, on the one hand, the weighted average of the indices measuring freedom of association thick (v2x_frassoc_thick), clean elections (v2xel_frefair), freedom of expression (v2x_freexp_altinf), elected officials (v2x_elecoff), and suffrage (v2x_suffr) and, on the other, the five-way multiplicative interaction between those indices. This is half way between a straight average and strict multiplication, meaning the average of the two. It is thus a compromise between the two most well known aggregation formulas in the literature, both allowing partial \"compensation\" in one sub-component for lack of polyarchy in the others, but also punishing countries not strong in one sub-component according to the \"weakest link\" argument. The aggregation is done at the level of Dahl's sub-components with the one exception of the non-electoral component. The index is aggregated using this formula: begin{equation* begin{aligned v2x_polyarchy = { & .5 * MPI + .5 * API & = .5 * (v2x_elecoff * v2xel_frefair * v2x_frassoc_thick * & v2x_suffr * v2x_freexp_altinf) & + .5 * ((1/8) * v2x_elecoff + (1/4) * v2xel_frefair & + (1/4) * v2x_frassoc_thick + (1/8) * v2x_suffr & + (1/4) * v2x_freexp_altinf) end{aligned end{equation*",
"clarification": "The electoral principle of democracy seeks to embody the core value of making rulers responsive to citizens, achieved through electoral competition for the electorate's approval under circumstances when suffrage is extensive; political and civil society organizations can operate freely; elections are clean and not marred by fraud or systematic irregularities; and elections affect the composition of the chief executive of the country. In between elections, there is freedom of expression and an independent media capable of presenting alternative views on matters of political relevance. In the V-Dem conceptual scheme, electoral democracy is understood as an essential element of any other conception of representative democracy --- liberal, participatory, deliberative, egalitarian, or some other.",
"codebook_url": "https://v-dem.net/documents/70/codebook_v16.pdf",
"cross_coder_aggregation": null,
"data_release": "1-16. Release 1-5 used a different, preliminary aggregation formula.",
"first_release": "v1",
"id": "v16:v2x_polyarchy",
"index_level": "high",
"index_root": "Deliberative Democracy Index",
"last_release": "v16",
"metadata_source": "live",
"name": "Electoral democracy index",
"notes": null,
"parent_tags": [
"v2x_delibdem"
],
"project_managers": "Jan Teorell",
"question": "To what extent is the ideal of electoral democracy in its fullest sense achieved?",
"question_id": 730,
"release_ranges": [
[
1,
16
]
],
"responses": null,
"scale": "Interval, from low to high (0-1).",
"section": "Deliberative Democracy Index",
"snapshot_date": "2026-09-12",
"source_url": "https://v-dem.net/data_analysis/GetCodebookEntry/?question_id=730",
"source_variables": [
"v2x_freexp_altinf",
"v2x_frassoc_thick",
"v2x_suffr",
"v2xel_frefair",
"v2x_elecoff"
],
"tag": "v2x_polyarchy",
"version": "v16",
"years": "1789-2025"
}
],
"retrieved_at": "2026-09-15T03:58:15.000Z",
"schema_version": "1.0.0",
"source_release_date": "2026-03",
"source_updated_at": null,
"source_url": "https://v-dem.net/data_analysis/GetCodebookEntry/?question_id=730",
"source_version": "v16",
"tag": "v2x_polyarchy",
"total": 1,
"warnings": []
}Variable
Live codebook entry for one V-Dem variable tag (question, clarification, scale, aggregation, source variables, data-release line) from v-dem.net, checked against the pinned release; a tag absent from that release is an input error naming the release that introduced or dropped it.
curl --request POST \
--url https://api.aisa.one/apis/v1/v-dem-net/democracy/variable \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tag": "v2x_polyarchy"
}
'import requests
url = "https://api.aisa.one/apis/v1/v-dem-net/democracy/variable"
payload = { "tag": "v2x_polyarchy" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({tag: 'v2x_polyarchy'})
};
fetch('https://api.aisa.one/apis/v1/v-dem-net/democracy/variable', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/v-dem-net/democracy/variable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'tag' => 'v2x_polyarchy'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/v-dem-net/democracy/variable"
payload := strings.NewReader("{\n \"tag\": \"v2x_polyarchy\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/v-dem-net/democracy/variable")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"tag\": \"v2x_polyarchy\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/v-dem-net/democracy/variable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tag\": \"v2x_polyarchy\"\n}"
response = http.request(request)
puts response.read_body{
"citation": "Coppedge, Michael, John Gerring, Carl Henrik Knutsen, Staffan I. Lindberg, Jan Teorell, David Altman, Fabio Angiolillo, Michael Bernhard, Agnes Cornell, M. Steven Fish, Linnea Fox, Lisa Gastaldi, Haakon Gjerløw, Adam Glynn, Ana Good God, Allen Hicken, Katrin Kinzelbach, Joshua Krusell, Kyle L. Marquardt, Kelly McMann, Valeriya Mechkova, Juraj Medzihorsky, Anja Neundorf, Pamela Paxton, Daniel Pemstein, Josefine Pernes, Johannes von Römer, Brigitte Seim, Rachel Sigman, Svend-Erik Skaaning, Jeffrey Staton, Aksel Sundström, Marcus Tannenberg, Eitan Tzelgov, Yi-ting Wang, Tore Wig, Steven Wilson and Daniel Ziblatt. 2026. \"V-Dem [Country-Year/Country-Date] Dataset v16\" Varieties of Democracy (V-Dem) Project. https://doi.org/10.23696/vdemds26.",
"complete": true,
"count": 1,
"function": "variable",
"license": "CC BY-SA 4.0",
"license_url": "https://creativecommons.org/licenses/by-sa/4.0/",
"next_cursor": null,
"observed_at_ms": 1789444695000,
"offset": 0,
"records": [
{
"aggregation": "The index is formed by taking the average of, on the one hand, the weighted average of the indices measuring freedom of association thick (v2x_frassoc_thick), clean elections (v2xel_frefair), freedom of expression (v2x_freexp_altinf), elected officials (v2x_elecoff), and suffrage (v2x_suffr) and, on the other, the five-way multiplicative interaction between those indices. This is half way between a straight average and strict multiplication, meaning the average of the two. It is thus a compromise between the two most well known aggregation formulas in the literature, both allowing partial \"compensation\" in one sub-component for lack of polyarchy in the others, but also punishing countries not strong in one sub-component according to the \"weakest link\" argument. The aggregation is done at the level of Dahl's sub-components with the one exception of the non-electoral component. The index is aggregated using this formula: begin{equation* begin{aligned v2x_polyarchy = { & .5 * MPI + .5 * API & = .5 * (v2x_elecoff * v2xel_frefair * v2x_frassoc_thick * & v2x_suffr * v2x_freexp_altinf) & + .5 * ((1/8) * v2x_elecoff + (1/4) * v2xel_frefair & + (1/4) * v2x_frassoc_thick + (1/8) * v2x_suffr & + (1/4) * v2x_freexp_altinf) end{aligned end{equation*",
"clarification": "The electoral principle of democracy seeks to embody the core value of making rulers responsive to citizens, achieved through electoral competition for the electorate's approval under circumstances when suffrage is extensive; political and civil society organizations can operate freely; elections are clean and not marred by fraud or systematic irregularities; and elections affect the composition of the chief executive of the country. In between elections, there is freedom of expression and an independent media capable of presenting alternative views on matters of political relevance. In the V-Dem conceptual scheme, electoral democracy is understood as an essential element of any other conception of representative democracy --- liberal, participatory, deliberative, egalitarian, or some other.",
"codebook_url": "https://v-dem.net/documents/70/codebook_v16.pdf",
"cross_coder_aggregation": null,
"data_release": "1-16. Release 1-5 used a different, preliminary aggregation formula.",
"first_release": "v1",
"id": "v16:v2x_polyarchy",
"index_level": "high",
"index_root": "Deliberative Democracy Index",
"last_release": "v16",
"metadata_source": "live",
"name": "Electoral democracy index",
"notes": null,
"parent_tags": [
"v2x_delibdem"
],
"project_managers": "Jan Teorell",
"question": "To what extent is the ideal of electoral democracy in its fullest sense achieved?",
"question_id": 730,
"release_ranges": [
[
1,
16
]
],
"responses": null,
"scale": "Interval, from low to high (0-1).",
"section": "Deliberative Democracy Index",
"snapshot_date": "2026-09-12",
"source_url": "https://v-dem.net/data_analysis/GetCodebookEntry/?question_id=730",
"source_variables": [
"v2x_freexp_altinf",
"v2x_frassoc_thick",
"v2x_suffr",
"v2xel_frefair",
"v2x_elecoff"
],
"tag": "v2x_polyarchy",
"version": "v16",
"years": "1789-2025"
}
],
"retrieved_at": "2026-09-15T03:58:15.000Z",
"schema_version": "1.0.0",
"source_release_date": "2026-03",
"source_updated_at": null,
"source_url": "https://v-dem.net/data_analysis/GetCodebookEntry/?question_id=730",
"source_version": "v16",
"tag": "v2x_polyarchy",
"total": 1,
"warnings": []
}Request contract
- Method and path: POST /apis/v1/v-dem-net/democracy/variable
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/v-dem-net/democracy/variable
{
"operationId": "v-dem-net.democracy.variable",
"method": "POST",
"path": "/apis/v1/v-dem-net/democracy/variable",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"tag": "v2x_polyarchy"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"tag": {
"description": "Variable tag, e.g. v2x_polyarchy. Pattern: ^[A-Za-z0-9_]{2,64}$.",
"type": "string"
},
"version": {
"default": "v16",
"description": "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}$.\n\nProvider reference: default \"v16\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"required": [
"tag"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
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
Body
Response
Live codebook entry for one V-Dem variable tag (question, clarification, scale, aggregation, source variables, data-release line) from v-dem.net, checked against the pinned release; a tag absent from that release is an input error naming the release that introduced or dropped it.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
citation | string | |
complete | boolean | |
count | number | |
function | string | |
license | string | |
license_url | string | |
next_cursor | string | |
observed_at_ms | number | |
offset | number | |
records | object[] | |
retrieved_at | string | RFC 3339 UTC time of retrieval. |
schema_version | string | |
source_release_date | string | |
source_updated_at | object | V-Dem publishes a release month only; never copied from retrieval time. |
source_url | string | |
source_version | string | |
tag | string | |
total | number | |
warnings | string[] |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.