curl --request GET \
--url https://api.tryfuse.ai/api/v1/business/companies/autocomplete \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.tryfuse.ai/api/v1/business/companies/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/companies/autocomplete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"field": "company",
"suggestions": [
{
"name": "BrightPay",
"domain": "brightpay.in"
},
{
"name": "BrightPay"
},
{
"name": "BrightPay Health Corp.",
"domain": "brightpay.org"
},
{
"name": "BrightPay Technologies Ltd."
},
{
"name": "BRIGHT PAYROLL LIMITED",
"domain": "brightstarpayroll.co.uk"
},
{
"name": "BRIGHT PAY LIMITED"
},
{
"name": "Bright Payroll Solutions Limited",
"domain": "brightps.co.uk"
}
]
}{
"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 company and location filters
Resolves free-text input to canonical company-filter values; two characters minimum. field=company returns company names with their domain when known — send name to nameLike, or domain to domains; add orgType=investor to search investors instead, whose domain is the value the investors filter takes. field=location returns fully qualified place names (“Dallas, Texas, United States”) which are exactly what the headquartersCity filter takes — the qualification is what lets the geocoder tell six same-named cities apart, so send the whole string. Note that officeLocationsV2 is a different filter and takes country apiCodes from GET /companies/filter-options, not these place names. Same vocabulary as the product’s type-ahead; free.
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.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: companies.
curl --request GET \
--url https://api.tryfuse.ai/api/v1/business/companies/autocomplete \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.tryfuse.ai/api/v1/business/companies/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/companies/autocomplete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"field": "company",
"suggestions": [
{
"name": "BrightPay",
"domain": "brightpay.in"
},
{
"name": "BrightPay"
},
{
"name": "BrightPay Health Corp.",
"domain": "brightpay.org"
},
{
"name": "BrightPay Technologies Ltd."
},
{
"name": "BRIGHT PAYROLL LIMITED",
"domain": "brightstarpayroll.co.uk"
},
{
"name": "BRIGHT PAY LIMITED"
},
{
"name": "Bright Payroll Solutions Limited",
"domain": "brightps.co.uk"
}
]
}{
"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
company suggests company names (each with its domain when known); location suggests fully qualified place names (e.g. Dallas, Texas, United States) to send as headquartersCity values.
company, location Text fragment to complete (2-200 chars).
2 - 200investor narrows field=company to investors, for the investors filter; not allowed with field=location.
investor