Levels.fyi Popular Companies
https://api.sandbase.ai/v1/api/levels-fyi/popular-companiesRetrieve 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
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
| Field | Meaning |
|---|---|
data.popular_companies[] | One popular company in the directory. The list holds about 24 entries. |
data.popular_companies[].slug | Short lowercase identifier for the company, such as google. Use it as the company identifier in other Levels.fyi calls. |
data.popular_companies[].value | Display name of the company, such as Google. |
data.popular_companies[].url | Relative path to the company salary page on Levels.fyi, such as /companies/google/salaries. |
status | Result status of the call. The value is success when the list was returned. |
Notes
- The
urlvalue is a relative path. Add the Levels.fyi site origin to open the page in a browser. - Use
slugas 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.
Mulai membangun
Kirim permintaan pertama Anda
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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 '{}'2. Autentikasi
Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
3. Parameter
Tidak ada schema parameter yang dipublikasikan untuk API ini.
4. Respons
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
API Terkait
| API | Harga | Respons |
|---|---|---|
Levels.fyi Popular CompaniesAPI ini Levels.fyi | $0.01 per panggilan | JSON Asinkron |
Levels.fyi | $0.01 per panggilan | JSON Asinkron |
Levels.fyi | $0.01 per panggilan | JSON Asinkron |
Levels.fyi | $0.01 per panggilan | JSON Asinkron |
Levels.fyi | $0.01 per panggilan | JSON Asinkron |
Levels.fyi | $0.01 per panggilan | JSON 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.
