Countries
curl --request POST \
--url https://api.aisa.one/apis/v1/v-dem-net/democracy/countries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"query": "SWE"
}'import requests
url = "https://api.aisa.one/apis/v1/v-dem-net/democracy/countries"
payload = { "query": "SWE" }
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({query: 'SWE'})
};
fetch('https://api.aisa.one/apis/v1/v-dem-net/democracy/countries', 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/countries",
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([
'query' => 'SWE'
]),
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/countries"
payload := strings.NewReader("{\n \"query\": \"SWE\"\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/countries")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"SWE\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/v-dem-net/democracy/countries")
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 \"query\": \"SWE\"\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": "countries",
"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,
"query": "SWE",
"records": [
{
"country_id": 5,
"country_name": "Sweden",
"country_text_id": "SWE",
"first_year": 1900,
"historical_or_non_iso": false,
"id": "country:5",
"iso3": "SWE",
"last_year": 2025,
"region_path": [
"Europe",
"Nordic countries"
],
"source_url": "https://raw.githubusercontent.com/vdeminstitute/ERT/master/inst/ert.csv"
}
],
"retrieved_at": "2026-09-15T03:58:15.000Z",
"schema_version": "1.0.0",
"snapshot_date": "2026-09-12",
"source_release_date": "2026-03",
"source_updated_at": null,
"source_url": "https://raw.githubusercontent.com/vdeminstitute/ERT/master/inst/ert.csv",
"source_version": "v16",
"total": 1,
"warnings": []
}V-Dem
Countries
V-Dem country crosswalk (183 countries served by the graphing API): country_id, country_text_id, name, ISO3 or null with historical/non-ISO entities flagged, coded year span and V-Dem region; optional name/code/region filter. Embedded snapshot; no live request.
POST
https://api.aisa.one
/
apis
/
v1
/
v-dem-net
/
democracy
/
countries
Countries
curl --request POST \
--url https://api.aisa.one/apis/v1/v-dem-net/democracy/countries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"query": "SWE"
}'import requests
url = "https://api.aisa.one/apis/v1/v-dem-net/democracy/countries"
payload = { "query": "SWE" }
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({query: 'SWE'})
};
fetch('https://api.aisa.one/apis/v1/v-dem-net/democracy/countries', 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/countries",
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([
'query' => 'SWE'
]),
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/countries"
payload := strings.NewReader("{\n \"query\": \"SWE\"\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/countries")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"SWE\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/v-dem-net/democracy/countries")
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 \"query\": \"SWE\"\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": "countries",
"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,
"query": "SWE",
"records": [
{
"country_id": 5,
"country_name": "Sweden",
"country_text_id": "SWE",
"first_year": 1900,
"historical_or_non_iso": false,
"id": "country:5",
"iso3": "SWE",
"last_year": 2025,
"region_path": [
"Europe",
"Nordic countries"
],
"source_url": "https://raw.githubusercontent.com/vdeminstitute/ERT/master/inst/ert.csv"
}
],
"retrieved_at": "2026-09-15T03:58:15.000Z",
"schema_version": "1.0.0",
"snapshot_date": "2026-09-12",
"source_release_date": "2026-03",
"source_updated_at": null,
"source_url": "https://raw.githubusercontent.com/vdeminstitute/ERT/master/inst/ert.csv",
"source_version": "v16",
"total": 1,
"warnings": []
}Request contract
- Method and path: POST /apis/v1/v-dem-net/democracy/countries
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/v-dem-net/democracy/countries
{
"operationId": "v-dem-net.democracy.countries",
"method": "POST",
"path": "/apis/v1/v-dem-net/democracy/countries",
"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": {
"query": "SWE"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"include_historical": {
"description": "include_historical",
"type": "boolean",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"query": {
"description": "query",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"type": "object"
}
}
},
"required": false
},
"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
Response
V-Dem country crosswalk (183 countries served by the graphing API): country_id, country_text_id, name, ISO3 or null with historical/non-ISO entities flagged, coded year span and V-Dem region; optional name/code/region filter. Embedded snapshot; no live request.
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 | |
query | string | |
records | object[] | |
retrieved_at | string | RFC 3339 UTC time of retrieval. |
schema_version | string | |
snapshot_date | 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 | |
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.