Get country policy detail
curl --request GET \
--url https://vcm-fyi-api.fly.dev/v1/countries/{country_code} \
--header 'X-API-KEY: <api-key>'import requests
url = "https://vcm-fyi-api.fly.dev/v1/countries/{country_code}"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://vcm-fyi-api.fly.dev/v1/countries/{country_code}', 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://vcm-fyi-api.fly.dev/v1/countries/{country_code}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://vcm-fyi-api.fly.dev/v1/countries/{country_code}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://vcm-fyi-api.fly.dev/v1/countries/{country_code}")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://vcm-fyi-api.fly.dev/v1/countries/{country_code}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"country_code": "<string>",
"country_name": "<string>",
"region": "<string>",
"subregion": "<string>",
"article6_status": "<string>",
"article6_host_loas": 123,
"article6_bilateral_partners": [
"<string>"
],
"article6_first_loa_date": "2023-12-25",
"article6_buyer_loas": 123,
"corsia_eligible": true,
"corsia_phase": "<string>",
"corsia_commitment": "<string>",
"has_carbon_tax": true,
"carbon_tax_rate_usd": 123,
"has_ets": true,
"ets_name": "<string>",
"eu_eligible": true,
"cbam_exposure": "<string>",
"vcm_regulatory_status": "<string>",
"export_restrictions": true,
"domestic_retention_pct": 123,
"policy_summary": "<string>",
"recent_developments": "<string>",
"market_outlook": "<string>",
"key_risks": "<string>",
"key_opportunities": "<string>",
"last_ai_scan_date": "2023-12-25",
"updated_at": "2023-11-07T05:31:56Z",
"article6_host_signed": 0,
"article6_host_mous": 0,
"host_agreements": [
{}
],
"is_buyer_country": false,
"buyer_host_partners": [
"<string>"
],
"buyer_agreements": [
{}
],
"has_initial_report": false,
"initial_report_date": "2023-12-25",
"cooperative_approach_ids": [
"<string>"
],
"has_dna": false,
"dna_authority_name": "<string>",
"has_participation_requirements": false,
"participation_requirements_date": "2023-12-25",
"jcm_project_count": 0,
"jcm_total_reductions_ktco2e": 123,
"ca_policy": "<string>",
"ca_for_vcm": true,
"ca_first_transfer_date": "2023-12-25",
"country_risk_score": 123,
"country_risk_factors": [
"<string>"
],
"ndc_target_year": 123,
"ndc_reduction_pct": 123,
"ndc_base_year": 123,
"ndc_conditional": true,
"ndc_last_updated": "2023-12-25",
"total_projects": 0,
"total_credits_issued": 0,
"total_credits_retired": 0,
"active_registries": [
"<string>"
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Countries
Get country policy detail
Retrieve comprehensive carbon market policy intelligence for a specific country.
The country_code must be an ISO 3166-1 alpha-2 code (e.g., ID for Indonesia,
BR for Brazil, KE for Kenya).
Returns detailed data across multiple dimensions:
- Article 6: Host/buyer status, LoA counts, bilateral partners, first LoA date
- CORSIA: Eligibility, phase, commitment level
- Carbon pricing: Tax rate (USD), ETS name and status
- Regulatory: VCM status, export restrictions, domestic retention requirements
- Corresponding adjustments: CA policy, CA for VCM, first transfer date
- NDC: Target year, reduction percentage, base year, conditionality
- Project pipeline: Total projects, credits issued/retired, active registries
- AI summaries: Policy summary, recent developments, market outlook, key risks/opportunities
Returns 404 if the country code is not recognized or has no data.
GET
/
v1
/
countries
/
{country_code}
Get country policy detail
curl --request GET \
--url https://vcm-fyi-api.fly.dev/v1/countries/{country_code} \
--header 'X-API-KEY: <api-key>'import requests
url = "https://vcm-fyi-api.fly.dev/v1/countries/{country_code}"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://vcm-fyi-api.fly.dev/v1/countries/{country_code}', 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://vcm-fyi-api.fly.dev/v1/countries/{country_code}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://vcm-fyi-api.fly.dev/v1/countries/{country_code}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://vcm-fyi-api.fly.dev/v1/countries/{country_code}")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://vcm-fyi-api.fly.dev/v1/countries/{country_code}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"country_code": "<string>",
"country_name": "<string>",
"region": "<string>",
"subregion": "<string>",
"article6_status": "<string>",
"article6_host_loas": 123,
"article6_bilateral_partners": [
"<string>"
],
"article6_first_loa_date": "2023-12-25",
"article6_buyer_loas": 123,
"corsia_eligible": true,
"corsia_phase": "<string>",
"corsia_commitment": "<string>",
"has_carbon_tax": true,
"carbon_tax_rate_usd": 123,
"has_ets": true,
"ets_name": "<string>",
"eu_eligible": true,
"cbam_exposure": "<string>",
"vcm_regulatory_status": "<string>",
"export_restrictions": true,
"domestic_retention_pct": 123,
"policy_summary": "<string>",
"recent_developments": "<string>",
"market_outlook": "<string>",
"key_risks": "<string>",
"key_opportunities": "<string>",
"last_ai_scan_date": "2023-12-25",
"updated_at": "2023-11-07T05:31:56Z",
"article6_host_signed": 0,
"article6_host_mous": 0,
"host_agreements": [
{}
],
"is_buyer_country": false,
"buyer_host_partners": [
"<string>"
],
"buyer_agreements": [
{}
],
"has_initial_report": false,
"initial_report_date": "2023-12-25",
"cooperative_approach_ids": [
"<string>"
],
"has_dna": false,
"dna_authority_name": "<string>",
"has_participation_requirements": false,
"participation_requirements_date": "2023-12-25",
"jcm_project_count": 0,
"jcm_total_reductions_ktco2e": 123,
"ca_policy": "<string>",
"ca_for_vcm": true,
"ca_first_transfer_date": "2023-12-25",
"country_risk_score": 123,
"country_risk_factors": [
"<string>"
],
"ndc_target_year": 123,
"ndc_reduction_pct": 123,
"ndc_base_year": 123,
"ndc_conditional": true,
"ndc_last_updated": "2023-12-25",
"total_projects": 0,
"total_credits_issued": 0,
"total_credits_retired": 0,
"active_registries": [
"<string>"
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Path Parameters
Response
Full country policy profile with AI-generated summaries
Response model for country policy detail.