curl --request GET \
--url https://vcm-fyi-api.fly.dev/v1/charts/credits_by_category \
--header 'X-API-KEY: <api-key>'import requests
url = "https://vcm-fyi-api.fly.dev/v1/charts/credits_by_category"
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/charts/credits_by_category', 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/charts/credits_by_category",
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/charts/credits_by_category"
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/charts/credits_by_category")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://vcm-fyi-api.fly.dev/v1/charts/credits_by_category")
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{
"pagination": {
"total_entries": 123,
"current_page": 123,
"total_pages": 123,
"next_page": "<string>"
},
"data": [
{
"category": "<string>",
"retired": 123,
"issued": 123
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Credit totals by category
Get total issued and retired credit quantities grouped by project category.
Returns one entry per category with summed issued and retired credit volumes.
Useful for category-level market share or issuance/retirement comparison charts.
Beneficiary search: When beneficiary_search is provided, the retired values
are dynamically computed from matching retirement transactions (instead of using
pre-aggregated project totals), while issued is set to 0.
Filters: All standard project filters apply.
curl --request GET \
--url https://vcm-fyi-api.fly.dev/v1/charts/credits_by_category \
--header 'X-API-KEY: <api-key>'import requests
url = "https://vcm-fyi-api.fly.dev/v1/charts/credits_by_category"
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/charts/credits_by_category', 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/charts/credits_by_category",
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/charts/credits_by_category"
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/charts/credits_by_category")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://vcm-fyi-api.fly.dev/v1/charts/credits_by_category")
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{
"pagination": {
"total_entries": 123,
"current_page": 123,
"total_pages": 123,
"next_page": "<string>"
},
"data": [
{
"category": "<string>",
"retired": 123,
"issued": 123
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Query Parameters
Case insensitive search string. Currently searches on project_id and name fields only.
Page number
x >= 1Items per page
1 <= x <= 200Registry name
verra, gold-standard, american-carbon-registry, climate-action-reserve, art-trees, isometric, puro-earth, plan-vivo, none Country name
Protocol name
Category name
Whether project is an ARB project
Format: YYYY-MM-DD
Format: YYYY-MM-DD
Minimum number of issued credits
Maximum number of issued credits
Minimum number of retired credits
Maximum number of retired credits
Project type
Project proponent/developer name
UN SDG goals (1-17). Multiple values = AND filter (must have ALL selected goals)
Specific certification labels (e.g., ccb-gold, ccb-biodiversity-gold, corsia). Multiple values = OR filter
Puro.earth CORC durability (100+ or 1000+). Multiple values = OR filter
Has CCB (Climate, Community & Biodiversity) certification
Has ICVCM Core Carbon Principles certification
CORSIA eligible
Has SD VISta certification
Has Social Carbon certification
Authorized under Paris Agreement Article 6
Article 6 authorization types: NDC Use, Intl mitigation purposes, Other purposes
Case insensitive search string. Currently searches on specified beneficiary_search_fields only.
Beneficiary fields to search in. Valid fields are: retirement_beneficiary_harmonized, retirement_beneficiary, retirement_beneficiary_account, retirement_beneficiary_note, retirement_beneficiary_reason