Skip to main content
POST
/
api
/
levelsfyi
/
companies
/
benefits
/levelsfyi/companies/benefits
curl --request POST \
  --url https://api.anysite.io/api/levelsfyi/companies/benefits \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "company": "<string>",
  "timeout": 300
}
'
[
  {
    "name": "<string>",
    "@type": "@levelsfyi_benefit",
    "category": "<string>",
    "tag": "<string>",
    "description": "<string>",
    "fields": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
company
string
required

Company alias (the URL segment, e.g. 'google') or a full company profile URL

Minimum string length: 1
Pattern: ^(?:https?://[^\s]+|[A-Za-z0-9][A-Za-z0-9._-]*)$
Examples:

"google"

"microsoft"

"https://www.levels.fyi/companies/google"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

name
string
required
@type
string
default:@levelsfyi_benefit
category
string | null
tag
string | null
description
string | null
fields
LevelsfyiBenefitField · object[]