/v1/features
List features
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/caniuse-api/v1/features" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/caniuse-api/v1/features", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/caniuse-api/v1/features");
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/caniuse-api/v1/features",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"count": 554,
"category": null,
"features": [
{
"id": "audio",
"title": "Audio element",
"status": "ls",
"categories": [
"HTML5"
],
"usage_total": 96.28
},
{
"id": "css-page-break",
"title": "CSS page-break properties",
"status": "rec",
"categories": [
"CSS"
],
"usage_total": 96.28
},
{
"id": "getboundingclientrect",
"title": "Element.getBoundingClientRect()",
"status": "wd",
"categories": [
"JS API"
],
"usage_total": 96.28
},
{
"id": "mp3",
"title": "MP3 audio format",
"status": "other",
"categories": [
"Other"
],
"usage_total": 96.28
},
{
"id": "online-status",
"title": "Online/offline status",
"status": "ls",
"categories": [
"JS API"
],
"usage_total": 96.28
},
{
"id": "svg-css",
"title": "SVG in CSS backgrounds",
"status": "cr",
"categories": [
"CSS3",
"SVG"
],
"usage_total": 96.28
},
{
"id": "video",
"title": "Video element",
"status": "ls",
"categories": [
"HTML5"
],
"usage_total": 96.28
},
{
"id": "wordwrap",
"title": "CSS3 Overflow-wrap",
"status": "cr",
"categories": [
"CSS3"
],
"usage_total": 96.28
},
{
"id": "addeventlistener",
"title": "EventTarget.addEventListener()",
"status": "ls",
"categories": [
"DOM"
],
"usage_total": 96.27
},
{
"id": "background-img-opts",
"title": "CSS3 Background-image options",
"status": "cr",
"categories": [
"CSS3"
],
"usage_total": 96.27
},
{
"id": "border-radius",
"title": "CSS3 Border-radius (rounded corners)",
"status": "cr",
"categories": [
"CSS3"
],
…