/v1/search
Search & filter breweries
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"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
}