querystringจำเป็น
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.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
querystringจำเป็นJob 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.
ค่าเริ่มต้น: 20
sortBystringSort order: best match (relevance), most recently posted (date), or highest total compensation (compensation).
ค่าเริ่มต้น: "relevance"
ค่าที่เป็นไปได้: 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.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Levels.fyi JobsAPI นี้ Levels.fyi | เริ่มต้นที่ $0.00085 ต่อครั้ง | JSON |
Levels.fyi | $0.01 ต่อการเรียก | Async JSON |
Levels.fyi | $0.01 ต่อการเรียก | Async JSON |
Levels.fyi | $0.01 ต่อการเรียก | Async JSON |
Levels.fyi | $0.01 ต่อการเรียก | Async JSON |
Levels.fyi | $0.01 ต่อการเรียก | Async JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/levels-fyi/jobs โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
เริ่มต้นที่ $0.00085 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: query (string). ตัวเลือก: limit (integer), sortBy (หนึ่งใน relevance, date, compensation) และ location (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส)
ไม่จำเป็น Levels.fyi Jobs ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Levels.fyi API แยกต่างหาก