Search facility/location data by proximity
curl --request GET \
--url https://data.kushiro.app/api/v1/points/nearimport requests
url = "https://data.kushiro.app/api/v1/points/near"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data.kushiro.app/api/v1/points/near', 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/points/near",
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/points/near"
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/points/near")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.kushiro.app/api/v1/points/near")
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{
"points": [
{
"id": 1,
"source_id": "kushiro_aed_locations",
"external_id": "aed-1",
"name": "市役所本庁舎",
"category": "aed",
"address": "釧路市黒金町7丁目5番地",
"lat": 42.984,
"lng": 144.381,
"geohash": null,
"attributes": null,
"fetched_at": "2026-04-29T00:00:00.000Z",
"raw_blob_key": "raw/kushiro_aed_locations/2026-04-29T00-00-00.000Z/file.pdf",
"distance_m": 142
}
],
"total": 1,
"limit": 1000,
"query": {
"lat": 42.985,
"lng": 144.382,
"radius_m": 1000
}
}{
"error": "invalid query parameters",
"issues": [
{
"path": "source",
"message": "Invalid input: expected string, received undefined"
}
]
}{
"error": "internal server error"
}points
Search facility/location data by proximity
Returns geocoded fact_point records within radius_m of a center point, ordered nearest-first, each annotated with distance_m. lat, lng, and radius_m are required. source is optional (omit it for a cross-source search); category further narrows results. Points without coordinates are excluded.
GET
/
api
/
v1
/
points
/
near
Search facility/location data by proximity
curl --request GET \
--url https://data.kushiro.app/api/v1/points/nearimport requests
url = "https://data.kushiro.app/api/v1/points/near"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data.kushiro.app/api/v1/points/near', 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/points/near",
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/points/near"
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/points/near")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.kushiro.app/api/v1/points/near")
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{
"points": [
{
"id": 1,
"source_id": "kushiro_aed_locations",
"external_id": "aed-1",
"name": "市役所本庁舎",
"category": "aed",
"address": "釧路市黒金町7丁目5番地",
"lat": 42.984,
"lng": 144.381,
"geohash": null,
"attributes": null,
"fetched_at": "2026-04-29T00:00:00.000Z",
"raw_blob_key": "raw/kushiro_aed_locations/2026-04-29T00-00-00.000Z/file.pdf",
"distance_m": 142
}
],
"total": 1,
"limit": 1000,
"query": {
"lat": 42.985,
"lng": 144.382,
"radius_m": 1000
}
}{
"error": "invalid query parameters",
"issues": [
{
"path": "source",
"message": "Invalid input: expected string, received undefined"
}
]
}{
"error": "internal server error"
}Query Parameters
Center latitude (-90 to 90).
Required range:
-90 <= x <= 90Center longitude (-180 to 180).
Required range:
-180 <= x <= 180Search radius in meters. Capped at 50000 (50km).
Required range:
x <= 50000Source ID. When omitted, the search spans all sources.
Minimum string length:
1Point category exact match.
Minimum string length:
1Maximum number of items to return. Defaults to 1000.
Required range:
1 <= x <= 10000