Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

Levels.fyi Popular Companies

Документация API
https://api.sandbase.ai/v1/api/levels-fyi/popular-companies

Retrieve a list of popular companies from the Levels.fyi directory with their slugs and salary page URLs. Returns approximately 24 top companies.

Цена
$0.01USD / вызов
Метод
POST
Ответ
Асинхронный JSON
Параметры
0 обязательных · 0 необязательных

Песочница

Ввод
Схема ввода недоступна
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

README по API

Levels.fyi Popular Companies

Returns a list of popular companies from the Levels.fyi directory, about 24 in total. Each entry has a company slug, a display name, and a relative salary page URL. The API takes no input.

Use cases

  • Build a company picker or autocomplete list for a salary comparison tool.
  • Collect valid company slugs to feed into other Levels.fyi calls.
  • Link users straight to the salary page of a well-known employer.
  • Seed a tracking list of top tech employers for regular salary checks.

Request

curl -X POST "https://api.sandbase.ai/v1/api/levels-fyi/popular-companies" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

The result is returned in outputs[0].data.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "popular_companies": [
      {
        "slug": "google",
        "url": "/companies/google/salaries",
        "value": "Google"
      }
    ]
  },
  "status": "success"
}

Response fields

FieldMeaning
data.popular_companies[]One popular company in the directory. The list holds about 24 entries.
data.popular_companies[].slugShort lowercase identifier for the company, such as google. Use it as the company identifier in other Levels.fyi calls.
data.popular_companies[].valueDisplay name of the company, such as Google.
data.popular_companies[].urlRelative path to the company salary page on Levels.fyi, such as /companies/google/salaries.
statusResult status of the call. The value is success when the list was returned.

Notes

  • The url value is a relative path. Add the Levels.fyi site origin to open the page in a browser.
  • Use slug as the company identifier when you call Levels.fyi Company Overview or Levels.fyi Company Benefits.
  • The request has no parameters, so there is no pagination. Send an empty JSON object {}.

Pricing

$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
Levels.fyi$0.01 за запросАсинхронный JSON
Levels.fyi$0.01 за запросАсинхронный JSON
Levels.fyi$0.01 за запросАсинхронный JSON
Levels.fyi$0.01 за запросАсинхронный JSON
Levels.fyi$0.01 за запросАсинхронный JSON
Levels.fyi$0.01 за запросАсинхронный JSON

Вопросы

FAQ

Как использовать API Levels.fyi Popular Companies?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/levels-fyi/popular-companies, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Levels.fyi Popular Companies?

$0.01 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API Levels.fyi Popular Companies?

Levels.fyi Popular Companies не принимает входных параметров; отправьте пустое тело JSON.

Что возвращает API Levels.fyi Popular Companies?

JSON-результат. Этот endpoint работает асинхронно, поэтому ответ подсказывает, как получить готовый результат. В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика Levels.fyi или API key?

Нет. Levels.fyi Popular Companies работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Levels.fyi.