curl --request GET \
--url https://api.tryfuse.ai/api/v1/business/prospects/autocomplete \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.tryfuse.ai/api/v1/business/prospects/autocomplete"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.tryfuse.ai/api/v1/business/prospects/autocomplete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"field": "region",
"suggestions": [
{
"name": "california",
"countries": [
"united states"
]
},
{
"name": "baja california",
"countries": [
"mexico"
]
},
{
"name": "baja california sur",
"countries": [
"mexico"
]
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}Suggest values for a free-text search field
Type-ahead vocabulary for the free-text people filters — company, website, location, region, title, school, skill — the same suggestions the product’s search UI offers. Send the returned name verbatim as the filter value. field=company rows are one per company (namesakes apart), each with its domain and liOrgId (LinkedIn organization id) when known: send the name back with whichever of them came with it as one entry on job_company_name (current employer) or experience.company.name (past employer, include only), e.g. [{ "status": "include", "value": "Stripe", "liOrgId": "2135371", "domain": "stripe.com" }], and POST /prospects/search matches that company itself; a name sent alone matches every company with exactly that name. Titles, regions and locations come lower-cased (a location as city, state, country); company, school and skill names keep their own spelling; a website is the company’s bare domain. Every field answers from the first character. The enum-backed fields are served in full by GET /prospects/filter-options instead. Only field=region rows carry countries, listing the countries that region name appears in, so identically named regions can be told apart. Free: no credits.
Errors:
422VALIDATION_FAILED— The request failed the declared schema;paramnames the offending key andmessagequotes the rule it broke.429RATE_LIMITED— Per-token rate limit for this bucket exhausted (retry after the window in the RateLimit-Reset header), or the suggestion provider is throttling (retry after a few seconds).500UNEXPECTED_ERROR— The request failed inside the service; nothing was billed and the request_id identifies the failure.
Requires one of the following token scopes: search.
curl --request GET \
--url https://api.tryfuse.ai/api/v1/business/prospects/autocomplete \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.tryfuse.ai/api/v1/business/prospects/autocomplete"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.tryfuse.ai/api/v1/business/prospects/autocomplete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"field": "region",
"suggestions": [
{
"name": "california",
"countries": [
"united states"
]
},
{
"name": "baja california",
"countries": [
"mexico"
]
},
{
"name": "baja california sur",
"countries": [
"mexico"
]
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}Authorizations
Your API token (af_…) as the Basic-auth username, with an empty password.
Query Parameters
Which free-text vocabulary to suggest from: company, website, location, region, title, school or skill (company suggestions also carry the company's domain and liOrgId when known, region suggestions the countries they appear in).
company, website, location, region, title, school, skill Text fragment to complete (1-100 chars); field=company suggests nothing for a single character.
1 - 100