/v1/search
Search questions
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/quiz-api/v1/search" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/quiz-api/v1/search", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/quiz-api/v1/search");
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/quiz-api/v1/search",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"count": 20,
"limit": 20,
"query": "planet",
"total": 98,
"offset": 0,
"results": [
{
"id": 28052,
"options": [
"Uranus",
"Mars",
"Saturn",
"Venus"
],
"category": "science-technology",
"question": "This planet is slightly smaller than Earth and its closest neighbor (excluding the Moon)."
},
{
"id": 28053,
"options": [
"Neptune",
"Saturn",
"Venus",
"Mars"
],
"category": "science-technology",
"question": "This planet is has the largest group of moons - 31, but it is best known for its ring system."
},
{
"id": 28054,
"options": [
"Pluto",
"Uranus",
"Neptune",
"Mercury"
],
"category": "science-technology",
"question": "This planet of the Solar System was named after a Greek god of the sea and earthquakes. The name is actually the Roman translation of the gods name."
},
{
"id": 28055,
"options": [
"Mercury",
"Venus",
"Neptune",
"Pluto"
],
"category": "science-technology",
"question": "As this is the closest planet to the Sun, its temperatures at the surface range between -300 and 800 F (hot enough for lead to melt)."
},
{
"id": 28056,
"options": [
"Pluto",
"Mars",
"Saturn",
"Earth"
],
"category": "science-technology",
"question": "The surface of this planet is unique, it is the only one which has water in large quantities."
},
{
"id": 28058,
"options": [
"Mars",
"Jupiter",
"Saturn",
"Neptune"
],
"category": "science-technology",
"question": "This is the largest planet in our solar system. It is most famous for its Great Red Spot."
},
{
"id": 28059,
"options": [
"Uranus",
"Venus",
"Saturn",
"Jupiter"
],
"category": "science-technology",
"question": "Miranda, Ariel, Umbriel, Titania, Oberon, Caliban, and Sycorax are names of the icy moons
…