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.
- Prix
- $0.01USD / appel
- Méthode
- POST
- Réponse
- JSON asynchrone
- Paramètres
- 0 obligatoires · 0 facultatifs
Bac à sable
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
README de l'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.
Commencer à construire
Envoyez votre première requête
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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. Authentification
Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
3. Paramètres
Aucun schéma de paramètres n'a été publié pour cette API.
4. Réponse
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
APIs associées
| API | Prix | Réponse |
|---|---|---|
Levels.fyi Popular CompaniesCette API Levels.fyi | $0.01 par appel | JSON asynchrone |
Levels.fyi | $0.01 par appel | JSON asynchrone |
Levels.fyi | $0.01 par appel | JSON asynchrone |
Levels.fyi | $0.01 par appel | JSON asynchrone |
Levels.fyi | $0.01 par appel | JSON asynchrone |
Levels.fyi | $0.01 par appel | JSON asynchrone |
Questions
FAQ
Comment utiliser l’API Levels.fyi Popular Companies ?
Envoyez une requête POST à https://api.sandbase.ai/v1/api/levels-fyi/popular-companies avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
Combien coûte l’API Levels.fyi Popular Companies ?
$0.01 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Quels paramètres l’API Levels.fyi Popular Companies accepte-t-elle ?
Levels.fyi Popular Companies n’accepte aucun paramètre d’entrée ; envoyez un corps JSON vide.
Que renvoie l’API Levels.fyi Popular Companies ?
Un résultat JSON. Ce point de terminaison s’exécute de manière asynchrone, donc la réponse vous indique comment récupérer le résultat final. Le README sur cette page inclut un exemple de réponse.
Ai-je besoin d’un compte développeur ou d’une clé API Levels.fyi ?
Non. Levels.fyi Popular Companies fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Levels.fyi séparément.
