Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Built In Suggest Job Titles

https://api.sandbase.ai/v1/api/builtin/suggest-job-titles

Returns up to 10 autocomplete suggestions for job title searches, matching the query prefix against Built In's job title index. Useful for building type-ahead search interfaces.

Giá
$0.01USD / lượt gọi
Phương thức
POST
Phản hồi
JSON bất đồng bộ
Tham số
1 bắt buộc · 0 tùy chọn

Phòng thử nghiệm

Đầu vào
Partial job title prefix to get suggestions for
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Built In Suggest Job Titles

Returns up to 10 autocomplete suggestions for job titles on Built In. It needs one input, query, a partial job title prefix such as software engineer.

Use cases

  • Power a type-ahead job title box in a job search form.
  • Normalize free-text job titles typed by users into titles that exist on Built In.
  • Build a list of related title variants to use as keywords in a job board crawler.
  • Check which title wording is common for a role before writing a job post.

Request

curl -X POST "https://api.sandbase.ai/v1/api/builtin/suggest-job-titles" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "software engineer"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
querystringYesPartial job title prefix to get suggestions for

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "suggestions": [
      "Software Engineering"
    ]
  },
  "status": "success"
}

Response fields

FieldMeaning
statusResult of the call. The value success means the request worked.
data.suggestions[]Suggested job titles that match the query prefix. Each item is a plain string, such as Junior Software Engineer.

Notes

  • The API takes no pagination parameter. It returns one list of suggestions per call.
  • Send a short prefix in query. The response in this example includes titles with extra words before or after the prefix, such as Junior Software Engineer and Software Engineering Manager.
  • The call runs asynchronously. Poll GET /v1/run/{id} and read the result from outputs[0].data.

Pricing

$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Built In$0.01 mỗi lần gọiJSON bất đồng bộ

Câu hỏi

FAQ

Làm thế nào để dùng API Built In Suggest Job Titles?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/builtin/suggest-job-titles với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Built In Suggest Job Titles có giá bao nhiêu?

$0.01 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Built In Suggest Job Titles chấp nhận những tham số nào?

Bắt buộc: query (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Built In Suggest Job Titles trả về gì?

Kết quả JSON. Endpoint này chạy bất đồng bộ, nên phản hồi sẽ cho bạn biết cách lấy kết quả hoàn tất. README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Built In không?

Không. Built In Suggest Job Titles chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Built In.