Ir al contenido
GET /v1/search

Full-text page search

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/wikipedia-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "count": 10,
        "pages": [
            {
                "id": 1208,
                "key": "Alan_Turing",
                "title": "Alan Turing",
                "excerpt": "algorithm and computation with the <span class=\"searchmatch\">Turing</span> machine, which can be considered a model of a general-purpose computer. <span class=\"searchmatch\">Turing</span> is widely considered to be the father",
                "thumbnail": "//upload.wikimedia.org/wikipedia/commons/thumb/c/ce/Alan_turing_header.jpg/60px-Alan_turing_header.jpg",
                "description": "English computer scientist (1912–1954)"
            },
            {
                "id": 31093,
                "key": "Turing_Award",
                "title": "Turing Award",
                "excerpt": "Staff (2014). &quot;ACM&#039;s <span class=\"searchmatch\">Turing</span> Award prize raised to $1 million&quot;. Communications of the ACM. 57 (12): 20. doi:10.1145/2685372. &quot;A. M. <span class=\"searchmatch\">Turing</span> Award&quot;. Association",
                "thumbnail": "//upload.wikimedia.org/wikipedia/commons/thumb/7/76/Turing_statue_Surrey.jpg/60px-Turing_statue_Surrey.jpg",
                "description": "American annual computer science prize"
            },
            {
                "id": 54756168,
                "key": "Alan_Turing:_The_Enigma",
                "title": "Alan Turing: The Enigma",
                "excerpt": "Annotated <span class=\"searchmatch\">Turing</span> (2008) Prof: <span class=\"searchmatch\">Alan</span> <span class=\"searchmatch\">Turing</span> Decoded (2015) The <span class=\"searchmatch\">Turing</span> Guide (2017) &quot;<span class=\"searchmatch\">Alan</span> <span class=\"searchmatch\">Turing</span>: The Enigma&quot;. <span class=\"searchmatch\">turing</span>.org.uk. Retrieved 3 August 2017. &quot;<span class=\"searchmatch\">Alan</span> Turing:",
                "thumbnail": null,
                "description": "Biography by Andrew Hodges"
            },
            {
                "id": 51724702,
                "key": "Alan_Turing_law",
                "title": "Alan Turing law",
                "excerpt": "is named after <span class=\"searchmatch\">Alan</span> <span class=\"searchmatch\">Turing</span>, the World War II codebreaker and computing pioneer, who was convicted of gross indecency in 1952. <span class=\"searchmatch\">Turing</span> received a royal",
                "thumbnail": "//upload.wikimedia.org/wikipedia/commons/thumb/0/07/Alan_Turing_portr%C3%A9.jpg/60px-Alan_Turing_portr%C3%A9.jpg",
                "description": "2017 British law pardoning formerly illegal sex acts"
            },
            {
                "id": 30403,
                "key": "Turing_machine",
                "title": "Turing machine",
                "excerpt": "possible for a <span class=\"searchmatch\">Turing</span> machine to go into an infinite loop which will never halt. The <span class=\"searchmatch\">
…