curl --request GET \
--url https://gdeltcloud.com/api/v2/entities/{entity_id}/relationships \
--header 'Authorization: Bearer <token>'import requests
url = "https://gdeltcloud.com/api/v2/entities/{entity_id}/relationships"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gdeltcloud.com/api/v2/entities/{entity_id}/relationships', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"data": {}
}Entity Relationships — partners, customers, suppliers and 8-K counterparties
Which companies an entity does business with, as its SEC filings and theirs state it. Each row is one relationship: partner, customer, supplier, counterparty, or material_event (a counterparty named in an 8-K, with its event_type). direction says whose filing states it: out when the entity’s own filing names the counterpart, in when the counterpart’s filing names the entity. Rows below a confidence of 0.7 are not served (meta.confidence_floor). Every row carries its source: the filing section, the filer CIK and accession, an EDGAR link, the publisher and the licence. Relationships are extracted from filing text by GDELT Cloud, not statements by the filer. Parent and subsidiary links are on /api/v2/entities/{entity_id}/hierarchy. {entity_id} accepts a spine e_ id, a wiki:/llm: id, a Wikipedia URL or a name; aliases merged into the entity are read with it. data.relationships is { total, items, next }; next is a ready URL for the following page.
curl --request GET \
--url https://gdeltcloud.com/api/v2/entities/{entity_id}/relationships \
--header 'Authorization: Bearer <token>'import requests
url = "https://gdeltcloud.com/api/v2/entities/{entity_id}/relationships"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gdeltcloud.com/api/v2/entities/{entity_id}/relationships', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"data": {}
}Authorizations
Query Parameters
Only these kinds. Default: all five. Full value list: https://docs.gdeltcloud.com/reference/enums#entity_relationship
partner, customer, supplier, counterparty, material_event 
