AgentAPIGate
Back to Catalog
GET /v1/registry/homebrew/caskPack: intel·MCP Tool: registry_homebrew_cask

Homebrew Cask macOS Application Metadata

Retrieve official Homebrew Cask metadata for any macOS GUI or binary package including latest version, SHA-256 checksum, download URL, macOS requirements, and 30d/90d/365d install counts.

API Key Price:$0.0015 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
Homebrew Cask token (e.g. "visual-studio-code", "docker", "cursor", "iterm2", "firefox")
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/registry/homebrew/cask" \
  --data-urlencode "token=visual-studio-code" \
  --data-urlencode "format=md" \
  -H "Authorization: Bearer aag_live_YOUR_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-89% tokens
# Homebrew Cask macOS Application Metadata (`registry.homebrew.cask`)
**token**: visual-studio-code · **desc**: Open-source code editor · **homepage**: https://code.visualstudio.com/ · **version**: 1.149.0 · **sha256**: 5e93e551fefb60e6eda2766b5a7e04f856b510bb9d55a9a6783a4a483dba63b0

## name
- [1] Microsoft Visual Studio Code
- [2] VS Code
## analytics
- **install_30d**: 82321
- **install_90d**: 137147
- **install_365d**: 526768
- **raw**: 30d: visual-studio-code: 82321, 90d: visual-studio-code: 137147, 365d: visual-studio-code: 526768

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: registry.homebrew.cask · Method: GET
ParameterTypeReqSample / DefaultDescription
tokenstringoptionalvisual-studio-codeHomebrew Cask token (e.g. "visual-studio-code", "docker", "cursor", "iterm2", "firefox")
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0015 / call$0/mo · Balance never expires
Remote MCP Toolregistry_homebrew_caskOAuth 2.1 Hub & /mcp/intel
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency900 ms$0 billed on empty or 4xx/5xx
Token Economy1250t → 140t (-89%)Partner credit: eligible
Data AttributionSource: Homebrew Formulae & Cask Public JSON API (formulae.brew.sh — BSD-2-Clause)

More registry.homebrew Sibling Endpoints

Frequently Asked Questions

How do I call Homebrew Cask macOS Application Metadata (registry.homebrew.cask) over REST and Remote MCP?

Send GET requests to https://api.agentapigate.ai/v1/registry/homebrew/cask with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool registry_homebrew_cask on https://mcp.agentapigate.ai/mcp.

What does registry.homebrew.cask cost per call and are failed calls billed?

Each successful HTTP 200 response costs $0.0015 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.

How does ?format=md or ?format=compact optimize AI agent token usage on registry.homebrew.cask?

Passing ?format=md transforms the response into normalized Markdown (~140 tokens vs ~1250 raw tokens, saving 89% of LLM context budget) while preserving structured JSON via ?format=json.

Can I restrict an AI agent key to only intel endpoints with a daily USD cap?

Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["intel"], optional allowed_endpoints: ["registry.homebrew.cask"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.