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.
- Preço
- $0.01USD / chamada
- Método
- POST
- Resposta
- JSON assíncrono
- Parâmetros
- 0 obrigatórios · 0 opcionais
Playground
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
README da 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.
Comece a construir
Envie sua primeira solicitação
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
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. Autenticação
Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
3. Parâmetros
Nenhum schema de parâmetros foi publicado para esta API.
4. Resposta
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
APIs relacionadas
| API | Preço | Resposta |
|---|---|---|
Levels.fyi Popular CompaniesEsta API Levels.fyi | $0.01 por chamada | JSON assíncrono |
Levels.fyi | $0.01 por chamada | JSON assíncrono |
Levels.fyi | $0.01 por chamada | JSON assíncrono |
Levels.fyi | $0.01 por chamada | JSON assíncrono |
Levels.fyi | $0.01 por chamada | JSON assíncrono |
Levels.fyi | $0.01 por chamada | JSON assíncrono |
Perguntas
FAQ
Como eu uso a API Levels.fyi Popular Companies?
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/levels-fyi/popular-companies com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
Quanto custa a API Levels.fyi Popular Companies?
$0.01 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Quais parâmetros a API Levels.fyi Popular Companies aceita?
Levels.fyi Popular Companies não recebe parâmetros de entrada; envie um corpo JSON vazio.
O que a API Levels.fyi Popular Companies retorna?
Um resultado JSON. Este endpoint é assíncrono, então a resposta informa como buscar o resultado final. O README desta página inclui um exemplo de resposta.
Preciso de uma conta de desenvolvedor Levels.fyi ou de uma chave de API?
Não. Levels.fyi Popular Companies funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Levels.fyi separadamente.
