Skip to main content
POST
/
api
/
homebrew
/
casks
/homebrew/casks
curl --request POST \
  --url https://api.anysite.io/api/homebrew/casks \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "cask": "<string>",
  "timeout": 300
}
'
[
  {
    "token": "<string>",
    "@type": "HomebrewCask",
    "full_token": "",
    "old_tokens": [],
    "tap": "",
    "names": [],
    "description": "<string>",
    "homepage": "<string>",
    "download_url": "<string>",
    "version": "<string>",
    "bundle_version": "<string>",
    "bundle_short_version": "<string>",
    "sha256": "<string>",
    "auto_updates": false,
    "apps": [],
    "binaries": [],
    "pkgs": [],
    "depends_on_formulae": [],
    "depends_on_casks": [],
    "macos_requirement": "<string>",
    "conflicts_with": [],
    "languages": [],
    "caveats": "<string>",
    "is_deprecated": false,
    "deprecation_date": "<string>",
    "deprecation_reason": "<string>",
    "deprecation_replacement": "<string>",
    "is_disabled": false,
    "disable_date": "<string>",
    "disable_reason": "<string>",
    "disable_replacement": "<string>",
    "install_count_30d": 0,
    "install_count_90d": 0,
    "install_count_365d": 0,
    "source_path": "<string>",
    "generated_date": "<string>",
    "web_url": ""
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
cask
string
required

Cask token, old token or Homebrew cask URL

Minimum string length: 1
Examples:

"firefox"

"google-chrome"

"https://formulae.brew.sh/cask/visual-studio-code"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

token
string
required
@type
string
default:HomebrewCask
full_token
string
default:""
old_tokens
string[]
tap
string
default:""
names
string[]
description
string | null
homepage
string | null
download_url
string | null
version
string | null
bundle_version
string | null
bundle_short_version
string | null
sha256
string | null
auto_updates
boolean
default:false
apps
string[]
binaries
string[]
pkgs
string[]
depends_on_formulae
string[]
depends_on_casks
string[]
macos_requirement
string | null
conflicts_with
string[]
languages
string[]
caveats
string | null
is_deprecated
boolean
default:false
deprecation_date
string | null
deprecation_reason
string | null
deprecation_replacement
string | null
is_disabled
boolean
default:false
disable_date
string | null
disable_reason
string | null
disable_replacement
string | null
install_count_30d
integer
default:0
install_count_90d
integer
default:0
install_count_365d
integer
default:0
source_path
string | null
generated_date
string | null
web_url
string
default:""