Ir al contenido
GET /v1/search

Search & filter breweries

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/beer-api

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

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/beer-api/v1/search" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/beer-api/v1/search", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/beer-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/beer-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": {
        "page": 1,
        "count": 0,
        "filters": {
            "by_city": "san_diego",
            "by_dist": "32.71,-117.16",
            "by_name": "dog",
            "by_type": "micro",
            "by_state": "california",
            "by_country": "united_states"
        },
        "results": [],
        "per_page": 15
    },
    "meta": {
        "timestamp": "2026-05-30T22:48:45.372Z",
        "request_id": "6bd186a2-a353-4097-ad7f-a802575bf7ac"
    },
    "status": "ok",
    "message": "Search completed",
    "success": true
}