curl --request GET \
--url https://api.datadingo.com/v1/company/by-name \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.datadingo.com/v1/company/by-name"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.datadingo.com/v1/company/by-name', 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.datadingo.com/v1/company/by-name",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.datadingo.com/v1/company/by-name"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.datadingo.com/v1/company/by-name")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.datadingo.com/v1/company/by-name")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"best_match": {
"score": 123,
"match_kind": "exact",
"matched_on": {
"name": "<string>",
"kind": "display"
},
"company": {
"id": "<string>",
"name": "<string>",
"website": "<string>",
"summary": "<string>",
"industry": "<string>",
"hq_location": "<string>",
"hq_state": "NSW",
"states": [
"<string>"
],
"employee_range": "<string>",
"matched_office": {
"locality": "<string>",
"state": "<string>",
"postcode": "<string>"
}
}
},
"candidates": [
{
"score": 123,
"match_kind": "exact",
"matched_on": {
"name": "<string>",
"kind": "display"
},
"company": {
"id": "<string>",
"name": "<string>",
"website": "<string>",
"summary": "<string>",
"industry": "<string>",
"hq_location": "<string>",
"hq_state": "NSW",
"states": [
"<string>"
],
"employee_range": "<string>",
"matched_office": {
"locality": "<string>",
"state": "<string>",
"postcode": "<string>"
}
}
}
]
}{
"error": 123,
"message": "<string>"
}{
"error": 123,
"message": "<string>"
}{
"error": 123,
"code": "plan_required",
"message": "<string>",
"subscribe_url": "<string>"
}{
"error": 123,
"message": "<string>",
"limit": 123,
"remaining": 123,
"resets_at": "2023-11-07T05:31:56Z"
}Fuzzy company lookup by name
Look up an Australian company by free-text name. Runs an exact / prefix / words-in-order / trigram match ladder over each company’s searched names (display, legal, trading, trustee names and LinkedIn specialties), returning a best_match candidate (when one dominates) plus the other ranked candidates, every one as a short company card (GET /v1/company?id= for a full card). Every candidate says which name it matched on (matched_on).
curl --request GET \
--url https://api.datadingo.com/v1/company/by-name \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.datadingo.com/v1/company/by-name"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.datadingo.com/v1/company/by-name', 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.datadingo.com/v1/company/by-name",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.datadingo.com/v1/company/by-name"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.datadingo.com/v1/company/by-name")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.datadingo.com/v1/company/by-name")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"best_match": {
"score": 123,
"match_kind": "exact",
"matched_on": {
"name": "<string>",
"kind": "display"
},
"company": {
"id": "<string>",
"name": "<string>",
"website": "<string>",
"summary": "<string>",
"industry": "<string>",
"hq_location": "<string>",
"hq_state": "NSW",
"states": [
"<string>"
],
"employee_range": "<string>",
"matched_office": {
"locality": "<string>",
"state": "<string>",
"postcode": "<string>"
}
}
},
"candidates": [
{
"score": 123,
"match_kind": "exact",
"matched_on": {
"name": "<string>",
"kind": "display"
},
"company": {
"id": "<string>",
"name": "<string>",
"website": "<string>",
"summary": "<string>",
"industry": "<string>",
"hq_location": "<string>",
"hq_state": "NSW",
"states": [
"<string>"
],
"employee_range": "<string>",
"matched_office": {
"locality": "<string>",
"state": "<string>",
"postcode": "<string>"
}
}
}
]
}{
"error": 123,
"message": "<string>"
}{
"error": 123,
"message": "<string>"
}{
"error": 123,
"code": "plan_required",
"message": "<string>",
"subscribe_url": "<string>"
}{
"error": 123,
"message": "<string>",
"limit": 123,
"remaining": 123,
"resets_at": "2023-11-07T05:31:56Z"
}Authorizations
Query Parameters
Optional AU state/territory filter: keeps companies with ANY office in that state (the same rule as search's state), not only those headquartered there. Useful when several companies share a name across jurisdictions.
NSW Response
Fuzzy-name lookup result. best_match is set when one candidate clearly dominates (top score ≥ 0.85 AND a margin to the runner-up: ≥ 0.15 on the exact/words_in_order/trigram rungs, ≥ 0.05 on the graded prefix rung — a word-boundary completion like 'aldi' → 'aldi stores' scores in [0.95, 0.99) and a mid-word one like 'aldi' → 'aldinga …' in [0.85, 0.89), so a boundary hit over a mid-word runner-up resolves and two same-class hits do not) OR when a unique exact match was found; otherwise null and the LLM should ask the user to disambiguate from candidates.
Fuzzy-name lookup result. best_match is set when one candidate clearly dominates (top score ≥ 0.85 AND a margin to the runner-up: ≥ 0.15 on the exact/words_in_order/trigram rungs, ≥ 0.05 on the graded prefix rung — a word-boundary completion like 'aldi' → 'aldi stores' scores in [0.95, 0.99) and a mid-word one like 'aldi' → 'aldinga …' in [0.85, 0.89), so a boundary hit over a mid-word runner-up resolves and two same-class hits do not) OR when a unique exact match was found; otherwise null and the LLM should ask the user to disambiguate from candidates.