/v1/mat
Mat window & outer size
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/framing-api/v1/mat" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/framing-api/v1/mat", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/framing-api/v1/mat");
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/framing-api/v1/mat",
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": {
"note": "The mat window is the artwork minus the overlap on each edge (so the mat holds it). Outer size = window + the borders. A heavier bottom border (weighted/bottom-weighted mat) looks balanced to the eye.",
"inputs": {
"overlap": 0.25,
"border_top": 2,
"border_sides": 2,
"artwork_width": 8,
"border_bottom": 2,
"artwork_height": 10
},
"outer_width": 11.5,
"outer_height": 13.5,
"window_width": 7.5,
"window_height": 9.5
},
"meta": {
"timestamp": "2026-06-06T07:14:09.406Z",
"request_id": "d6d924f4-8472-4c59-bdc7-7d72b185d6bd"
},
"status": "ok",
"message": "Mat board",
"success": true
}