Vai al contenuto
GET /v1/theme

Theme metadata

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

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

{
    "data": {
        "theme": {
            "name": "Twenty Twenty-Four",
            "slug": "twentytwentyfour",
            "author": "WordPress.org",
            "rating": 76,
            "version": "1.5",
            "homepage": "https://wordpress.org/themes/twentytwentyfour/",
            "downloaded": 7256309,
            "wp_org_url": "https://wordpress.org/themes/twentytwentyfour/",
            "num_ratings": 38,
            "preview_url": "https://wp-themes.com/twentytwentyfour/",
            "requires_wp": "6.4",
            "last_updated": "2026-05-20",
            "requires_php": "7.0",
            "download_link": "https://downloads.wordpress.org/theme/twentytwentyfour.1.5.zip",
            "screenshot_url": "//ts.w.org/wp-content/themes/twentytwentyfour/screenshot.png?ver=1.5",
            "active_installs": null
        }
    },
    "meta": {
        "timestamp": "2026-05-31T14:16:35.490Z",
        "request_id": "f38d7c7a-5287-459b-85c2-7fd379e9ba90"
    },
    "status": "ok",
    "message": "Theme retrieved",
    "success": true
}