Get a source summary
curl --request GET \
--url https://data.kushiro.app/api/v1/sources/{id}import requests
url = "https://data.kushiro.app/api/v1/sources/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data.kushiro.app/api/v1/sources/{id}', 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://data.kushiro.app/api/v1/sources/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://data.kushiro.app/api/v1/sources/{id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data.kushiro.app/api/v1/sources/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.kushiro.app/api/v1/sources/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"source_id": "<string>",
"metric_count": 1,
"point_count": 1,
"latest_fetched_at": "2023-11-07T05:31:56Z",
"metrics": [
{
"name": "<string>",
"count": 1,
"unit": "<string>",
"period_range": {
"start": "2026-04-01",
"end": "2026-04-01"
}
}
]
}{
"error": "source not found",
"source_id": "unknown_source"
}{
"error": "internal server error"
}sources
Get a source summary
Returns a single published source summary. Unknown or currently unavailable sources return 404.
GET
/
api
/
v1
/
sources
/
{id}
Get a source summary
curl --request GET \
--url https://data.kushiro.app/api/v1/sources/{id}import requests
url = "https://data.kushiro.app/api/v1/sources/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data.kushiro.app/api/v1/sources/{id}', 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://data.kushiro.app/api/v1/sources/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://data.kushiro.app/api/v1/sources/{id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data.kushiro.app/api/v1/sources/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.kushiro.app/api/v1/sources/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"source_id": "<string>",
"metric_count": 1,
"point_count": 1,
"latest_fetched_at": "2023-11-07T05:31:56Z",
"metrics": [
{
"name": "<string>",
"count": 1,
"unit": "<string>",
"period_range": {
"start": "2026-04-01",
"end": "2026-04-01"
}
}
]
}{
"error": "source not found",
"source_id": "unknown_source"
}{
"error": "internal server error"
}Path Parameters
Source ID, for example kushiro_population_households_monthly.
Minimum string length:
1Response
Published source detail. Includes the summary counts plus a per-metric breakdown.
Required range:
x >= 0Required range:
x >= 0Per-metric breakdown (distinct metric names within the source). Empty for point-only sources.
Show child attributes
Show child attributes