/v1/formula
Formula (CLI package) detail
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/brew-api/v1/formula" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/brew-api/v1/formula", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/brew-api/v1/formula");
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/brew-api/v1/formula",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"formula": {
"tap": "homebrew/core",
"desc": "Internet file retriever",
"name": "wget",
"aliases": [],
"caveats": null,
"install": "brew install wget",
"license": "GPL-3.0-or-later",
"version": "1.25.0",
"brew_url": "https://formulae.brew.sh/formula/wget",
"disabled": false,
"homepage": "https://www.gnu.org/software/wget/",
"full_name": "wget",
"deprecated": false,
"has_bottle": true,
"dependencies": [
"libidn2",
"openssl@3",
"gettext",
"libunistring"
],
"conflicts_with": [],
"build_dependencies": [
"pkgconf"
],
"deprecation_reason": null
}
},
"meta": {
"timestamp": "2026-05-31T13:40:25.315Z",
"request_id": "14f8e06c-ace0-474d-8973-6e272d1a3a4c"
},
"status": "ok",
"message": "Formula retrieved",
"success": true
}