/v1/meta
Spec
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/wkt-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wkt-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wkt-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/wkt-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"name": "WKT API",
"notes": "Coordinates use [longitude, latitude] order in GeoJSON and (x y) = (lon lat) in WKT. Pass a single geometry; a FeatureCollection is not a single WKT geometry. Send large geometries via POST.",
"version": "v1",
"endpoints": [
{
"path": "/v1/to-geojson",
"params": {
"wkt": "a WKT string, e.g. POINT (30 10) (required)"
},
"returns": "the GeoJSON geometry"
},
{
"path": "/v1/to-wkt",
"params": {
"geojson": "a GeoJSON geometry or Feature (required)"
},
"returns": "the WKT string"
},
{
"path": "/v1/meta",
"params": [],
"returns": "this document"
}
],
"description": "Convert geometry between WKT (Well-Known Text, as used by PostGIS, GEOS, Shapely and OGC) and GeoJSON, in both directions. Supports Point, LineString, Polygon, their Multi* variants and GeometryCollection. Pure local, no key."
},
"meta": {
"timestamp": "2026-06-02T16:51:46.682Z",
"request_id": "6112d8fa-7ae4-474a-a9c9-83c327c8b2b6"
},
"status": "ok",
"message": "Meta",
"success": true
}