Booleanize job titles
curl --request POST \
--url https://trynormalize.com/api/v1/job-titles/booleanize \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": "<string>",
"inputs": [
"<string>"
],
"exclude": [
"<string>"
],
"include": [
"<string>"
],
"debug": false
}
'import requests
url = "https://trynormalize.com/api/v1/job-titles/booleanize"
payload = {
"input": "<string>",
"inputs": ["<string>"],
"exclude": ["<string>"],
"include": ["<string>"],
"debug": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
input: '<string>',
inputs: ['<string>'],
exclude: ['<string>'],
include: ['<string>'],
debug: false
})
};
fetch('https://trynormalize.com/api/v1/job-titles/booleanize', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://trynormalize.com/api/v1/job-titles/booleanize",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'input' => '<string>',
'inputs' => [
'<string>'
],
'exclude' => [
'<string>'
],
'include' => [
'<string>'
],
'debug' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://trynormalize.com/api/v1/job-titles/booleanize"
payload := strings.NewReader("{\n \"input\": \"<string>\",\n \"inputs\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ],\n \"include\": [\n \"<string>\"\n ],\n \"debug\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://trynormalize.com/api/v1/job-titles/booleanize")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"input\": \"<string>\",\n \"inputs\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ],\n \"include\": [\n \"<string>\"\n ],\n \"debug\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://trynormalize.com/api/v1/job-titles/booleanize")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"input\": \"<string>\",\n \"inputs\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ],\n \"include\": [\n \"<string>\"\n ],\n \"debug\": false\n}"
response = http.request(request)
puts response.read_body{
"boolean": "<string>",
"confidence": 0.5,
"needs_review": true,
"matched_titles": [
{
"title": "<string>",
"title_id": "<string>",
"cluster": "<string>"
}
],
"excluded_terms": [
"<string>"
],
"warnings": [
"<string>"
]
}{
"error": {
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}Job titles
Booleanize job titles
Convert a job description into a boolean search string (OR/AND/NOT).
POST
/
api
/
v1
/
job-titles
/
booleanize
Booleanize job titles
curl --request POST \
--url https://trynormalize.com/api/v1/job-titles/booleanize \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": "<string>",
"inputs": [
"<string>"
],
"exclude": [
"<string>"
],
"include": [
"<string>"
],
"debug": false
}
'import requests
url = "https://trynormalize.com/api/v1/job-titles/booleanize"
payload = {
"input": "<string>",
"inputs": ["<string>"],
"exclude": ["<string>"],
"include": ["<string>"],
"debug": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
input: '<string>',
inputs: ['<string>'],
exclude: ['<string>'],
include: ['<string>'],
debug: false
})
};
fetch('https://trynormalize.com/api/v1/job-titles/booleanize', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://trynormalize.com/api/v1/job-titles/booleanize",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'input' => '<string>',
'inputs' => [
'<string>'
],
'exclude' => [
'<string>'
],
'include' => [
'<string>'
],
'debug' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://trynormalize.com/api/v1/job-titles/booleanize"
payload := strings.NewReader("{\n \"input\": \"<string>\",\n \"inputs\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ],\n \"include\": [\n \"<string>\"\n ],\n \"debug\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://trynormalize.com/api/v1/job-titles/booleanize")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"input\": \"<string>\",\n \"inputs\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ],\n \"include\": [\n \"<string>\"\n ],\n \"debug\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://trynormalize.com/api/v1/job-titles/booleanize")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"input\": \"<string>\",\n \"inputs\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ],\n \"include\": [\n \"<string>\"\n ],\n \"debug\": false\n}"
response = http.request(request)
puts response.read_body{
"boolean": "<string>",
"confidence": 0.5,
"needs_review": true,
"matched_titles": [
{
"title": "<string>",
"title_id": "<string>",
"cluster": "<string>"
}
],
"excluded_terms": [
"<string>"
],
"warnings": [
"<string>"
]
}{
"error": {
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}Authorizations
API key from the dashboard. Pass as Authorization: Bearer <key>.
Body
application/json
Use input or inputs, not both.
Single input string. Use input or inputs, not both.
Maximum string length:
500Batch of inputs. Use input or inputs, not both.
Maximum array length:
100Titles or keywords to exclude from results.
Maximum array length:
25Override parsed include phrases.
Maximum array length:
25Include parse structure and matches in response.
Response
Success (single or batch)
- Option 1
- Option 2
Boolean search string with OR/AND/NOT and quoted terms.
Required range:
0 <= x <= 1Show child attributes
Show child attributes
e.g. TRUNCATED_EXPANSION when boolean is truncated
⌘I