Zum Inhalt springen
GET /v1/theme

Theme metadata

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/wordpress-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}