Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

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.

價格
$0.01美元/次呼叫
方法
POST
回應
非同步 JSON
參數
1 個必填 · 0 個選填

Playground

輸入
Partial job title prefix to get suggestions for
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

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.

探索更多

相關 APIs

所有 APIs
API價格回應
Built In每次呼叫 $0.01非同步 JSON

問題

常見問題

我要如何使用 Built In Suggest Job Titles API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/builtin/suggest-job-titles。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Built In Suggest Job Titles API 的費用是多少?

每次 $0.01,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Built In Suggest Job Titles API 接受哪些參數?

必要:query (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Built In Suggest Job Titles API 會回傳什麼?

JSON 結果。此端點為非同步執行,因此回應會告訴您如何取得完成的結果。 本頁的 README 包含範例回應。

我需要 Built In 開發者帳號或 API 金鑰嗎?

不需要。Built In Suggest Job Titles 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Built In API 存取權。