/v1/resolve
Pixels / DPI / size (give any two)
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/dpi-api/v1/resolve" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dpi-api/v1/resolve", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dpi-api/v1/resolve");
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/dpi-api/v1/resolve",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"cm": 25.4,
"mm": 254,
"dpi": 300,
"inches": 10,
"pixels": 3000,
"points": 720
},
"meta": {
"timestamp": "2026-06-03T17:42:13.158Z",
"request_id": "c38fac87-af0d-48a7-bd2c-aaa501bf86da"
},
"status": "ok",
"message": "Resolve",
"success": true
}