curl --request POST \
--url https://api.uat.frankie.one/v2/organizations/lookup \
--header 'Content-Type: application/json' \
--header 'X-Frankie-CustomerID: <x-frankie-customerid>' \
--header 'api_key: <api-key>' \
--data '
{
"region": {
"country": "<string>",
"subdivision": "<string>"
},
"organizationName": "<string>"
}
'import requests
url = "https://api.uat.frankie.one/v2/organizations/lookup"
payload = {
"region": {
"country": "<string>",
"subdivision": "<string>"
},
"organizationName": "<string>"
}
headers = {
"api_key": "<api-key>",
"X-Frankie-CustomerID": "<x-frankie-customerid>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
api_key: '<api-key>',
'X-Frankie-CustomerID': '<x-frankie-customerid>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
region: {country: '<string>', subdivision: '<string>'},
organizationName: '<string>'
})
};
fetch('https://api.uat.frankie.one/v2/organizations/lookup', 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.uat.frankie.one/v2/organizations/lookup",
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([
'region' => [
'country' => '<string>',
'subdivision' => '<string>'
],
'organizationName' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Frankie-CustomerID: <x-frankie-customerid>",
"api_key: <api-key>"
],
]);
$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://api.uat.frankie.one/v2/organizations/lookup"
payload := strings.NewReader("{\n \"region\": {\n \"country\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"organizationName\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("api_key", "<api-key>")
req.Header.Add("X-Frankie-CustomerID", "<x-frankie-customerid>")
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://api.uat.frankie.one/v2/organizations/lookup")
.header("api_key", "<api-key>")
.header("X-Frankie-CustomerID", "<x-frankie-customerid>")
.header("Content-Type", "application/json")
.body("{\n \"region\": {\n \"country\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"organizationName\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.uat.frankie.one/v2/organizations/lookup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["api_key"] = '<api-key>'
request["X-Frankie-CustomerID"] = '<x-frankie-customerid>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"region\": {\n \"country\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"organizationName\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"requestId": "01J949482NZT359YHTT07X6GBT",
"matchedOrganizations": [
{
"addresses": [
{
"addressId": "b39ec506-712e-47b6-a0f5-50d9e5fb34e9",
"sourceId": "d37e3af7-8c3b-48c7-8d50-3ec07d4375f9",
"type": "BUSINESS",
"validFrom": {
"year": "2006",
"month": "08",
"day": "07",
"unstructured": "2006-08-07"
},
"unitNumber": "LEVEL 1",
"streetName": "141 BROADWAY",
"locality": "NEDLANDS",
"country": "AUS",
"postalCode": "6009"
}
],
"registrationDetails": [
{
"registry": "ABR",
"registryDescription": {
"code": "ABR",
"description": "Australian Business Register"
},
"class": {
"code": "LMSH",
"description": "Limited By Shares",
"sourceId": "d37e3af7-8c3b-48c7-8d50-3ec07d4375f9"
},
"status": {
"normalized": {
"code": "ACTV",
"description": "ACTIVE"
},
"unstructured": {
"code": "REGD",
"description": "Registered"
},
"sourceId": "d37e3af7-8c3b-48c7-8d50-3ec07d4375f9"
},
"isCurrent": true,
"registeredName": "INSURANCE AUSTRALIA LIMITED",
"registeredNameDetails": {
"validFrom": {
"year": "2006",
"month": "08",
"day": "07",
"unstructured": "2006-08-07",
"normalized": "2006-08-07"
},
"validTo": {
"year": "2006",
"month": "08",
"day": "07",
"unstructured": "2006-08-07",
"normalized": "2006-08-07"
}
},
"registeredDate": {
"year": "2006",
"month": "08",
"day": "07",
"unstructured": "2006-08-07",
"normalized": "2006-08-07"
},
"extractedDate": {
"year": "2006",
"month": "08",
"day": "07",
"unstructured": "2006-08-07",
"normalized": "2006-08-07"
},
"registrationNumber": "11000016722",
"registrationNumberType": "ABN",
"registrationNumberDescription": "Australian Business Number",
"updatedDate": {
"year": "2006",
"month": "08",
"day": "07",
"unstructured": "2006-08-07",
"normalized": "2006-08-07"
}
}
],
"organizationToken": "string",
"country": "string",
"subdivision": "string"
}
],
"queryDetails": {
"organizationName": "INSURANCE AUSTRALIA LIMITED",
"organizationNumber": {
"registrationNumber": "11000016722",
"registryCode": "ABN"
},
"region": {
"country": "AUS"
}
}
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}Lookup organizations
Lookup for a given business name or business number across business registries.
The lookup will return a list of matching companies that you can then potentially run workflows on.
Each lookup result will have a organizationToken that you can use to create an organization or run workflows on
Note: This process will not save any details from the lookup results.
curl --request POST \
--url https://api.uat.frankie.one/v2/organizations/lookup \
--header 'Content-Type: application/json' \
--header 'X-Frankie-CustomerID: <x-frankie-customerid>' \
--header 'api_key: <api-key>' \
--data '
{
"region": {
"country": "<string>",
"subdivision": "<string>"
},
"organizationName": "<string>"
}
'import requests
url = "https://api.uat.frankie.one/v2/organizations/lookup"
payload = {
"region": {
"country": "<string>",
"subdivision": "<string>"
},
"organizationName": "<string>"
}
headers = {
"api_key": "<api-key>",
"X-Frankie-CustomerID": "<x-frankie-customerid>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
api_key: '<api-key>',
'X-Frankie-CustomerID': '<x-frankie-customerid>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
region: {country: '<string>', subdivision: '<string>'},
organizationName: '<string>'
})
};
fetch('https://api.uat.frankie.one/v2/organizations/lookup', 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.uat.frankie.one/v2/organizations/lookup",
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([
'region' => [
'country' => '<string>',
'subdivision' => '<string>'
],
'organizationName' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Frankie-CustomerID: <x-frankie-customerid>",
"api_key: <api-key>"
],
]);
$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://api.uat.frankie.one/v2/organizations/lookup"
payload := strings.NewReader("{\n \"region\": {\n \"country\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"organizationName\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("api_key", "<api-key>")
req.Header.Add("X-Frankie-CustomerID", "<x-frankie-customerid>")
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://api.uat.frankie.one/v2/organizations/lookup")
.header("api_key", "<api-key>")
.header("X-Frankie-CustomerID", "<x-frankie-customerid>")
.header("Content-Type", "application/json")
.body("{\n \"region\": {\n \"country\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"organizationName\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.uat.frankie.one/v2/organizations/lookup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["api_key"] = '<api-key>'
request["X-Frankie-CustomerID"] = '<x-frankie-customerid>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"region\": {\n \"country\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"organizationName\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"requestId": "01J949482NZT359YHTT07X6GBT",
"matchedOrganizations": [
{
"addresses": [
{
"addressId": "b39ec506-712e-47b6-a0f5-50d9e5fb34e9",
"sourceId": "d37e3af7-8c3b-48c7-8d50-3ec07d4375f9",
"type": "BUSINESS",
"validFrom": {
"year": "2006",
"month": "08",
"day": "07",
"unstructured": "2006-08-07"
},
"unitNumber": "LEVEL 1",
"streetName": "141 BROADWAY",
"locality": "NEDLANDS",
"country": "AUS",
"postalCode": "6009"
}
],
"registrationDetails": [
{
"registry": "ABR",
"registryDescription": {
"code": "ABR",
"description": "Australian Business Register"
},
"class": {
"code": "LMSH",
"description": "Limited By Shares",
"sourceId": "d37e3af7-8c3b-48c7-8d50-3ec07d4375f9"
},
"status": {
"normalized": {
"code": "ACTV",
"description": "ACTIVE"
},
"unstructured": {
"code": "REGD",
"description": "Registered"
},
"sourceId": "d37e3af7-8c3b-48c7-8d50-3ec07d4375f9"
},
"isCurrent": true,
"registeredName": "INSURANCE AUSTRALIA LIMITED",
"registeredNameDetails": {
"validFrom": {
"year": "2006",
"month": "08",
"day": "07",
"unstructured": "2006-08-07",
"normalized": "2006-08-07"
},
"validTo": {
"year": "2006",
"month": "08",
"day": "07",
"unstructured": "2006-08-07",
"normalized": "2006-08-07"
}
},
"registeredDate": {
"year": "2006",
"month": "08",
"day": "07",
"unstructured": "2006-08-07",
"normalized": "2006-08-07"
},
"extractedDate": {
"year": "2006",
"month": "08",
"day": "07",
"unstructured": "2006-08-07",
"normalized": "2006-08-07"
},
"registrationNumber": "11000016722",
"registrationNumberType": "ABN",
"registrationNumberDescription": "Australian Business Number",
"updatedDate": {
"year": "2006",
"month": "08",
"day": "07",
"unstructured": "2006-08-07",
"normalized": "2006-08-07"
}
}
],
"organizationToken": "string",
"country": "string",
"subdivision": "string"
}
],
"queryDetails": {
"organizationName": "INSURANCE AUSTRALIA LIMITED",
"organizationNumber": {
"registrationNumber": "11000016722",
"registryCode": "ABN"
},
"region": {
"country": "AUS"
}
}
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}Headers
Open string that can be used to define the "channel" the request comes in from. It can potentially be used in routing and risk calculations upon request. Default values that can be used are: api portal smartui Any alphanumeric string is supported though. Anything over 64 characters will be truncated.
Body
An organization name or a number needs to be provided with region information to lookup in the specific jurisidiction.
Response
OK
Was this page helpful?