/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/opentdb-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/opentdb-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/opentdb-api/v1/meta");
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/opentdb-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"service": "opentdb-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/count": "Question-count breakdown for a category (category=<id>).",
"GET /v1/random": "A single random question (same filters as /questions).",
"GET /v1/questions": "Trivia questions (amount=1-50, category=<id>, difficulty=easy|medium|hard, type=multiple|boolean).",
"GET /v1/categories": "All 24 trivia categories with ids."
},
"description": "Trivia questions via the open Open Trivia Database (OpenTDB): fetch multiple-choice and true/false questions filtered by category, difficulty and type; list the 24 categories; read a category's question-count breakdown; or pull a single random question. Answers are decoded to clean text. Real trivia data, no key."
},
"meta": {
"timestamp": "2026-06-08T09:48:50.402Z",
"request_id": "94872fd4-5e38-4e3a-97f9-092640f8614c"
},
"status": "ok",
"message": "Meta",
"success": true
}