Enrich a company by website, name or ticker
diffbot.companies.enrichEnrich a company from website, name or ticker — industry, revenue, headcount, rivals
- Price
- $0.0299/call제공업체 원가
- Success rate
- 99.6%Last 30 days · 1,032 calls
- Latency p50
- 337 msp95 1.3 s
- Last verified
- 2026. 7. 28.Verified working
GEThttps://toolswitch.dev/v1/tools/diffbot.companies.enrich?url=https%3A%2F%2Fwww.diffbot.com&size=1&type=OrganizationPreview- Uses platform quota
- Synchronous response
- Reads public data
파라미터
`type` plus at least one identifier; url gives by far the highest match rate. `useCache` appears in older material but is not in the current v3 docs
| 파라미터 | 유형 | 필수 | 설명 | 예시 |
|---|---|---|---|---|
| 쿼리 파라미터 | ||||
id | 문자열 | 선택 | a DiffbotId, when you already have one | |
ip | 문자열 | 선택 | resolve the company from a visitor IP address | |
url | 문자열 | 선택 | the company's homepage — the strongest identifier | https://www.diffbot.com |
name | 문자열 | 선택 | company name; ambiguous alone, pair with location or url | |
size | 정수 | 선택 | candidate entities to return, default 1 — raise it only when the identifier is ambiguous, since you pay 25 credits per record | 1 |
type | 문자열 | 필수 | must be Organization for company enrichment | Organization |
email | 문자열 | 선택 | resolves the company from an employee's email domain | |
phone | 문자열 | 선택 | ||
filter | 문자열 | 선택 | JsonPath expression selecting which parts of the record to return | |
search | 불리언 | 선택 | widen to a search when no exact entity matches; default false | |
refresh | 불리언 | 선택 | force a live re-crawl instead of the cached KG record — QUADRUPLES the price to 100 credits per record; default false | |
customId | 문자열 | 선택 | your own correlation id, echoed back in the response | |
jsonmode | 문자열 | 선택 | 'extended' adds provenance for every fact | |
location | 문자열 | 선택 | disambiguates a common company name | |
threshold | 숫자 | 선택 | match-confidence floor below which no candidate is returned | |
description | 문자열 | 선택 | free-text description, as an extra disambiguator | |
nonCanonicalFacts | 불리언 | 선택 | include facts Diffbot has not canonicalised | |
- 쿼리 파라미터
id문자열선택a DiffbotId, when you already have one
ip문자열선택resolve the company from a visitor IP address
url문자열선택the company's homepage — the strongest identifier
예시:
https://www.diffbot.comname문자열선택company name; ambiguous alone, pair with location or url
size정수선택candidate entities to return, default 1 — raise it only when the identifier is ambiguous, since you pay 25 credits per record
예시:
1type문자열필수must be Organization for company enrichment
예시:
Organizationemail문자열선택resolves the company from an employee's email domain
phone문자열선택filter문자열선택JsonPath expression selecting which parts of the record to return
search불리언선택widen to a search when no exact entity matches; default false
refresh불리언선택force a live re-crawl instead of the cached KG record — QUADRUPLES the price to 100 credits per record; default false
customId문자열선택your own correlation id, echoed back in the response
jsonmode문자열선택'extended' adds provenance for every fact
location문자열선택disambiguates a common company name
threshold숫자선택match-confidence floor below which no candidate is returned
description문자열선택free-text description, as an extra disambiguator
nonCanonicalFacts불리언선택include facts Diffbot has not canonicalised
코드 예제
$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.
curl -X GET 'https://toolswitch.dev/v1/tools/diffbot.companies.enrich?url=https%3A%2F%2Fwww.diffbot.com&size=1&type=Organization' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/diffbot.companies.enrich?url=https%3A%2F%2Fwww.diffbot.com&size=1&type=Organization",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/diffbot.companies.enrich?url=https%3A%2F%2Fwww.diffbot.com&size=1&type=Organization", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());게이트웨이 API는 미리보기 버전이며 URL과 인증 방식이 변경될 수 있습니다. 예제 매개변수는 샘플 데이터입니다. 호출 요금은 $0.0299/call이며 서비스 수수료가 포함되어 있습니다.