Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Levels.fyi Popular Companies

Documentación de la 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.

Precio
$0.01USD / llamada
Método
POST
Respuesta
JSON asíncrono
Parámetros
0 obligatorios · 0 opcionales

Entorno de pruebas

Entrada
No hay esquema de entrada disponible
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la 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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Levels.fyi$0.01 por llamadaJSON asíncrono
Levels.fyi$0.01 por llamadaJSON asíncrono
Levels.fyi$0.01 por llamadaJSON asíncrono
Levels.fyi$0.01 por llamadaJSON asíncrono
Levels.fyi$0.01 por llamadaJSON asíncrono
Levels.fyi$0.01 por llamadaJSON asíncrono

Preguntas

FAQ

¿Cómo uso la API de Levels.fyi Popular Companies?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/levels-fyi/popular-companies con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Levels.fyi Popular Companies?

$0.01 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Levels.fyi Popular Companies?

Levels.fyi Popular Companies no acepta parámetros de entrada; envía un cuerpo JSON vacío.

¿Qué devuelve la API de Levels.fyi Popular Companies?

Un resultado JSON. Este endpoint se ejecuta de forma asíncrona, así que la respuesta indica cómo obtener el resultado final. El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Levels.fyi?

No. Levels.fyi Popular Companies funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Levels.fyi por separado.