Autocomplete

Autocomplete job titles

Auto complete the job title search.

Cost: 1 credit per request if a result is returned.

POST
/v2/autocomplete/job-titles

Query Parameters

apiToken?string | null

Header Parameters

x-api-token?string | null
querystring

Beginning of the job title

Example"developer"
limit?integer

Number of job titles to return. Default is 5 if not specified, maximum is 15.

Default5
Example5
Range1 <= value <= 15

Response Body

curl -X POST "https://api.ocean.io/v2/autocomplete/job-titles?apiToken=string" \
  -H "x-api-token: string" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "developer"
  }'
{
  "jobTitles": "Software Engineer"
}
{
  "detail": "Conflicting API tokens provided in query parameters and headers"
}
{
  "detail": "Insufficient credits"
}
{
  "detail": "API token should be provided in headers or query parameters"
}
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}