Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Levels.fyi Popular Companies

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

Harga
$0.01USD / panggilan
Metode
POST
Respons
JSON Asinkron
Parameter
0 wajib · 0 opsional

Playground

Input
Tidak ada skema input yang tersedia
OutputSiap

Output Anda akan muncul di sini

Lengkapi input, lalu klik Run.

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.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
Levels.fyi$0.01 per panggilanJSON Asinkron
Levels.fyi$0.01 per panggilanJSON Asinkron
Levels.fyi$0.01 per panggilanJSON Asinkron
Levels.fyi$0.01 per panggilanJSON Asinkron
Levels.fyi$0.01 per panggilanJSON Asinkron
Levels.fyi$0.01 per panggilanJSON Asinkron

Pertanyaan

FAQ

Bagaimana cara menggunakan API Levels.fyi Popular Companies?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/levels-fyi/popular-companies dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Levels.fyi Popular Companies?

$0.01 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API Levels.fyi Popular Companies?

Levels.fyi Popular Companies tidak memiliki parameter input; kirim body JSON kosong.

Apa yang dikembalikan API Levels.fyi Popular Companies?

Hasil JSON. Endpoint ini berjalan secara asinkron, jadi responsnya memberi tahu cara mengambil hasil yang sudah selesai. README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API Levels.fyi?

Tidak. Levels.fyi Popular Companies berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Levels.fyi secara terpisah.