Search Companies with Autocomplete
curl --request GET \
--url https://api.example.com/v1/company-mappings-search/import requests
url = "https://api.example.com/v1/company-mappings-search/"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/company-mappings-search/', 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://api.example.com/v1/company-mappings-search/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/company-mappings-search/"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/v1/company-mappings-search/")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/company-mappings-search/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyCompanies & Data Providers
Search Companies with Autocomplete
Search for companies using prefix-based matching with autocomplete support.
GET
/
v1
/
company-mappings-search
/
Search Companies with Autocomplete
curl --request GET \
--url https://api.example.com/v1/company-mappings-search/import requests
url = "https://api.example.com/v1/company-mappings-search/"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/company-mappings-search/', 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://api.example.com/v1/company-mappings-search/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/company-mappings-search/"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/v1/company-mappings-search/")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/company-mappings-search/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyOverview
The endpoint provides company search using prefix-based matching. This functionality enables users to locate companies through autocomplete-style queries that support partial matching and fuzzy matching for handling typos.Request
Endpoint
GET https://prod.transcrypts.com/v1/company-mappings-search/
Authentication
API authentication requires the following headers:| Header | Description |
|---|---|
X-Access-Client-Id | Your Client ID |
X-Access-Secret | Your Access Key |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Search query to find companies. Searches across company names, domains, and synonyms. Supports partial matching and fuzzy matching for typos. |
product_type | string | No | Product type for success rate calculation. Allowed values: income, employment, deposit_switch, pll |
Response
Success Response (HTTP 200)
The endpoint returns an array of company objects.[
{
"company_mapping_id": "48427a36d43c4d5aa6324bc06c692456",
"name": "Facebook Demo",
"domain": "facebook.com",
"logo_url": "https://citadelid-resources.s3-us-west-2.amazonaws.com/facebook.png",
"success_rate": "high",
"confidence_level": "0.9",
"sso": {
"name": "Microsoft"
}
}
]
Response Fields
| Field | Type | Description |
|---|---|---|
company_mapping_id | string | Company to Payroll Provider mapping ID |
name | string | Company name |
domain | string (nullable) | Company domain |
logo_url | string (nullable) | URL to company logo |
success_rate | string | Values: low, high, unsupported, or null |
confidence_level | string | Range 0 to 1; values >= 0.5 indicate high success rate |
sso | object (nullable) | SSO provider information with name field |
Error Responses
| Status Code | Description |
|---|---|
| 401 | Unauthorized - Authentication failed |
| 403 | Forbidden - Insufficient permissions |