querystringobrigatório
Job title, keywords or company name to search, e.g. software engineer or google.
https://api.sandbase.ai/v1/api/levels-fyi/jobsSearch Levels.fyi job listings by title or keyword and get each job with its salary range and estimated total compensation where Levels.fyi has them, plus company, location, listing date and job link. Returns up to 20 jobs per call, grouped by company; filter by location and sort by relevance, date or compensation.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
Search Levels.fyi job listings by title or keyword and get each job with its salary range and estimated total compensation where Levels.fyi has them, plus company, location, listing date and job link. Returns up to 20 jobs per call, grouped by company; filter by location and sort by relevance, date or compensation.
curl -X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "levels-fyi/jobs", "limit": 10, "query": "software engineer", "location": "united-states"}'
The result is returned in outputs[0].data. Lookups that find nothing fail with a not-found error.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Job title, keywords or company name to search, e.g. software engineer or google. |
limit | integer | No | Maximum number of jobs to return (1-20, default 20). Levels.fyi groups jobs by company, up to 3 per company, so several results can come from one employer. |
location | string | No | Levels.fyi location slug as it appears in Levels.fyi URLs, e.g. united-states. Not a free-text city name; omit it to search everywhere. |
sortBy | string | No | Sort order: best match (relevance), most recently posted (date), or highest total compensation (compensation). One of: relevance, date, compensation. |
Billed at the actual cost of each call, about $0.00085 per request. A call can cost more when the first data source fails and another one answers. Failed calls and lookups that find nothing are not charged.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/levels-fyi/jobs" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 10,
"query": "software engineer",
"sortBy": "relevance",
"location": "united-states"
}'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.
querystringobrigatórioJob title, keywords or company name to search, e.g. software engineer or google.
limitintegerMaximum number of jobs to return (1-20, default 20). Levels.fyi groups jobs by company, up to 3 per company, so several results can come from one employer.
Padrão: 20
sortBystringSort order: best match (relevance), most recently posted (date), or highest total compensation (compensation).
Padrão: "relevance"
Valores possíveis: relevance, date, compensation
locationstringLevels.fyi location slug as it appears in Levels.fyi URLs, e.g. united-states. Not a free-text city name; omit it to search everywhere.
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
| API | Preço | Resposta |
|---|---|---|
Levels.fyi JobsEsta API Levels.fyi | A partir de $0.00085 por chamada | JSON |
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
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/levels-fyi/jobs 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.
A partir de $0.00085 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: query (string). Opcionais: limit (integer), sortBy (um de relevance, date, compensation) e location (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona).
Não. Levels.fyi Jobs 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.