/v1/meta
Spec
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/geojson-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/geojson-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/geojson-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/geojson-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"name": "GeoJSON API",
"notes": "Coordinates are GeoJSON order [longitude, latitude]. Area uses the spherical earth model; pass real-world WGS84 lon/lat.",
"version": "v1",
"endpoints": [
{
"path": "/v1/area",
"params": {
"geojson": "Polygon/MultiPolygon/Feature(Collection) (required)"
},
"returns": "area in m², km², hectares, acres, sq miles"
},
{
"path": "/v1/centroid",
"params": {
"geojson": "any GeoJSON (required)"
},
"returns": "centroid {lat,lng}"
},
{
"path": "/v1/bbox",
"params": {
"geojson": "any GeoJSON (required)"
},
"returns": "bounding box (W/S/E/N) + center"
},
{
"path": "/v1/length",
"params": {
"geojson": "LineString/MultiLineString (required)"
},
"returns": "length in km, m, miles, nm"
},
{
"path": "/v1/point-in-polygon",
"params": {
"lat": "required",
"lng": "required",
"polygon": "GeoJSON polygon (required)"
},
"returns": "inside: true/false"
},
{
"path": "/v1/meta",
"params": [],
"returns": "this document"
}
],
"description": "Geospatial metrics on GeoJSON — true earth-surface area, centroid, bounding box, line length and point-in-polygon tests. Powered by Turf. Pure local, no key."
},
"meta": {
"timestamp": "2026-06-02T16:51:48.222Z",
"request_id": "b7bd55fc-b491-44b5-86ac-71a8535752e9"
},
"status": "ok",
"message": "Meta",
"success": true
}