Vai al contenuto
GET /v1/meta

Spec

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/maptile-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/maptile-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/maptile-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/maptile-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/maptile-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "name": "Map Tile API",
        "notes": "Latitude is limited to the Web Mercator range ±85.05112878°. Tile scheme matches OpenStreetMap / Google / Mapbox XYZ.",
        "version": "v1",
        "endpoints": [
            {
                "path": "/v1/from-latlng",
                "params": {
                    "lat": "required",
                    "lng": "required",
                    "zoom": "0-30, required"
                },
                "returns": "tile x/y/z + quadkey"
            },
            {
                "path": "/v1/to-bbox",
                "params": {
                    "x": "required",
                    "y": "required",
                    "zoom": "required"
                },
                "returns": "tile bounding box (N/S/E/W) + center + quadkey"
            },
            {
                "path": "/v1/quadkey",
                "params": {
                    "quadkey": "string of 0-3, OR",
                    "x_y_zoom": "tile coords"
                },
                "returns": "tile <-> quadkey (bidirectional)"
            },
            {
                "path": "/v1/neighbors",
                "params": {
                    "x": "required",
                    "y": "required",
                    "zoom": "required"
                },
                "returns": "8 neighbouring tiles (x wraps, poles clamped)"
            },
            {
                "path": "/v1/meta",
                "params": [],
                "returns": "this document"
            }
        ],
        "description": "Convert between latitude/longitude, slippy-map XYZ tiles and Bing quadkeys, and get tile bounding boxes. Web Mercator (EPSG:3857). Pure local, no key."
    },
    "meta": {
        "timestamp": "2026-06-02T16:51:49.867Z",
        "request_id": "4dc8d557-59ee-44d3-b244-efdb04cee4fd"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}