Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Levels.fyi Popular Companies

Dokumentacja 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.

Cena
$0.01USD / wywołanie
Metoda
POST
Odpowiedź
Asynchroniczny JSON
Parametry
0 wymaganych · 0 opcjonalnych

Playground

Wejście
Brak dostępnego schematu wejścia
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Levels.fyi$0.01 za wywołanieAsynchroniczny JSON
Levels.fyi$0.01 za wywołanieAsynchroniczny JSON
Levels.fyi$0.01 za wywołanieAsynchroniczny JSON
Levels.fyi$0.01 za wywołanieAsynchroniczny JSON
Levels.fyi$0.01 za wywołanieAsynchroniczny JSON
Levels.fyi$0.01 za wywołanieAsynchroniczny JSON

Pytania

FAQ

Jak używać API Levels.fyi Popular Companies?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/levels-fyi/popular-companies z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Levels.fyi Popular Companies?

$0.01 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Levels.fyi Popular Companies?

Levels.fyi Popular Companies nie przyjmuje żadnych parametrów wejściowych; wyślij pustą treść JSON.

Co zwraca API Levels.fyi Popular Companies?

Wynik JSON. Ten endpoint działa asynchronicznie, więc odpowiedź informuje, jak pobrać gotowy wynik. README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Levels.fyi lub klucza API?

Nie. Levels.fyi Popular Companies działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Levels.fyi.