Entity Resolution
curl --request POST \
--url https://gateway.creditbenchmark.com/matching/text/match_external \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"entities": [
{
"entity_name": "JPMorgan Chase & Co.",
"industry": "Financials",
"country": "United States"
},
{
"entity_name": "Apple Inc.",
"lei": "5493000X0X4X4X4X4X4X"
}
],
"limit": 3
}
'import requests
url = "https://gateway.creditbenchmark.com/matching/text/match_external"
payload = {
"entities": [
{
"entity_name": "JPMorgan Chase & Co.",
"industry": "Financials",
"country": "United States"
},
{
"entity_name": "Apple Inc.",
"lei": "5493000X0X4X4X4X4X4X"
}
],
"limit": 3
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
entities: [
{
entity_name: 'JPMorgan Chase & Co.',
industry: 'Financials',
country: 'United States'
},
{entity_name: 'Apple Inc.', lei: '5493000X0X4X4X4X4X4X'}
],
limit: 3
})
};
fetch('https://gateway.creditbenchmark.com/matching/text/match_external', 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://gateway.creditbenchmark.com/matching/text/match_external",
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([
'entities' => [
[
'entity_name' => 'JPMorgan Chase & Co.',
'industry' => 'Financials',
'country' => 'United States'
],
[
'entity_name' => 'Apple Inc.',
'lei' => '5493000X0X4X4X4X4X4X'
]
],
'limit' => 3
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://gateway.creditbenchmark.com/matching/text/match_external"
payload := strings.NewReader("{\n \"entities\": [\n {\n \"entity_name\": \"JPMorgan Chase & Co.\",\n \"industry\": \"Financials\",\n \"country\": \"United States\"\n },\n {\n \"entity_name\": \"Apple Inc.\",\n \"lei\": \"5493000X0X4X4X4X4X4X\"\n }\n ],\n \"limit\": 3\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://gateway.creditbenchmark.com/matching/text/match_external")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"entities\": [\n {\n \"entity_name\": \"JPMorgan Chase & Co.\",\n \"industry\": \"Financials\",\n \"country\": \"United States\"\n },\n {\n \"entity_name\": \"Apple Inc.\",\n \"lei\": \"5493000X0X4X4X4X4X4X\"\n }\n ],\n \"limit\": 3\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://gateway.creditbenchmark.com/matching/text/match_external")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"entities\": [\n {\n \"entity_name\": \"JPMorgan Chase & Co.\",\n \"industry\": \"Financials\",\n \"country\": \"United States\"\n },\n {\n \"entity_name\": \"Apple Inc.\",\n \"lei\": \"5493000X0X4X4X4X4X4X\"\n }\n ],\n \"limit\": 3\n}"
response = http.request(request)
puts response.read_body{
"results": [
{
"entity": "JPMorgan Chase & Co.",
"candidates": [
{
"rank": 1,
"CBId": "CB0000022706",
"CBEntityName": "JPMORGAN CHASE & CO",
"CBCountryOfRiskISO": "US",
"isConsensus1M": true,
"confidence": 0.82
},
{
"rank": 2,
"CBId": "CB0000118034",
"CBEntityName": "JPMORGAN CHASE BANK NA",
"CBCountryOfRiskISO": "US",
"isConsensus1M": true,
"confidence": 0.09
}
]
},
{
"entity": "Apple Inc.",
"candidates": [
{
"rank": 1,
"CBId": "CB0000000456",
"CBEntityName": "APPLE INC",
"CBCountryOfRiskISO": "US",
"isConsensus1M": true,
"confidence": 0.97
}
]
}
]
}{
"detail": "Unauthorized request"
}{
"error": "Client-backed analytics inputs require contributor entitlement."
}{
"detail": [
{
"loc": [
"body",
"effective_date"
],
"msg": "Input should be a valid integer",
"type": "int_parsing"
}
]
}{
"error": "An error occurred while processing your request. Please try again later."
}Entity Resolution
Resolves entity names to Credit Benchmark identifiers. Returns ranked candidates with confidence scores.
POST
/
matching
/
text
/
match_external
Entity Resolution
curl --request POST \
--url https://gateway.creditbenchmark.com/matching/text/match_external \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"entities": [
{
"entity_name": "JPMorgan Chase & Co.",
"industry": "Financials",
"country": "United States"
},
{
"entity_name": "Apple Inc.",
"lei": "5493000X0X4X4X4X4X4X"
}
],
"limit": 3
}
'import requests
url = "https://gateway.creditbenchmark.com/matching/text/match_external"
payload = {
"entities": [
{
"entity_name": "JPMorgan Chase & Co.",
"industry": "Financials",
"country": "United States"
},
{
"entity_name": "Apple Inc.",
"lei": "5493000X0X4X4X4X4X4X"
}
],
"limit": 3
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
entities: [
{
entity_name: 'JPMorgan Chase & Co.',
industry: 'Financials',
country: 'United States'
},
{entity_name: 'Apple Inc.', lei: '5493000X0X4X4X4X4X4X'}
],
limit: 3
})
};
fetch('https://gateway.creditbenchmark.com/matching/text/match_external', 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://gateway.creditbenchmark.com/matching/text/match_external",
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([
'entities' => [
[
'entity_name' => 'JPMorgan Chase & Co.',
'industry' => 'Financials',
'country' => 'United States'
],
[
'entity_name' => 'Apple Inc.',
'lei' => '5493000X0X4X4X4X4X4X'
]
],
'limit' => 3
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://gateway.creditbenchmark.com/matching/text/match_external"
payload := strings.NewReader("{\n \"entities\": [\n {\n \"entity_name\": \"JPMorgan Chase & Co.\",\n \"industry\": \"Financials\",\n \"country\": \"United States\"\n },\n {\n \"entity_name\": \"Apple Inc.\",\n \"lei\": \"5493000X0X4X4X4X4X4X\"\n }\n ],\n \"limit\": 3\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://gateway.creditbenchmark.com/matching/text/match_external")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"entities\": [\n {\n \"entity_name\": \"JPMorgan Chase & Co.\",\n \"industry\": \"Financials\",\n \"country\": \"United States\"\n },\n {\n \"entity_name\": \"Apple Inc.\",\n \"lei\": \"5493000X0X4X4X4X4X4X\"\n }\n ],\n \"limit\": 3\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://gateway.creditbenchmark.com/matching/text/match_external")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"entities\": [\n {\n \"entity_name\": \"JPMorgan Chase & Co.\",\n \"industry\": \"Financials\",\n \"country\": \"United States\"\n },\n {\n \"entity_name\": \"Apple Inc.\",\n \"lei\": \"5493000X0X4X4X4X4X4X\"\n }\n ],\n \"limit\": 3\n}"
response = http.request(request)
puts response.read_body{
"results": [
{
"entity": "JPMorgan Chase & Co.",
"candidates": [
{
"rank": 1,
"CBId": "CB0000022706",
"CBEntityName": "JPMORGAN CHASE & CO",
"CBCountryOfRiskISO": "US",
"isConsensus1M": true,
"confidence": 0.82
},
{
"rank": 2,
"CBId": "CB0000118034",
"CBEntityName": "JPMORGAN CHASE BANK NA",
"CBCountryOfRiskISO": "US",
"isConsensus1M": true,
"confidence": 0.09
}
]
},
{
"entity": "Apple Inc.",
"candidates": [
{
"rank": 1,
"CBId": "CB0000000456",
"CBEntityName": "APPLE INC",
"CBCountryOfRiskISO": "US",
"isConsensus1M": true,
"confidence": 0.97
}
]
}
]
}{
"detail": "Unauthorized request"
}{
"error": "Client-backed analytics inputs require contributor entitlement."
}{
"detail": [
{
"loc": [
"body",
"effective_date"
],
"msg": "Input should be a valid integer",
"type": "int_parsing"
}
]
}{
"error": "An error occurred while processing your request. Please try again later."
}Authorizations
JWT bearer token.
Body
application/json
Entities to match using the external route contract. Empty arrays are allowed and return results: [].
Show child attributes
Show child attributes
Maximum candidates to return per entity row. Valid integer values are 1 through 10. Omitted or out-of-range integers are normalized to 3; malformed non-integer values fail validation.
Response
Entity name resolution results
Table-style results keyed by input entity.
Show child attributes
Show child attributes
Last modified on July 10, 2026
Was this page helpful?
⌘I

