Have a domain? We'll tell you which company owns it.
This endpoint routes API clients to company documents. The endpoint accepts a domain
and returns a company slug
and status_code
.
👍 If the status_code
is 2, you can use the company slug
to retrieve a company document.
API Endpoint
URL | Method |
---|---|
https://api.intricately.com/api/v2/companies?domain=domain | GET |
API Parameters
Parameter | Description |
---|---|
domain | A valid domain name. |
status_code values
status_code | Description |
---|---|
0 | Report Queued. We've received your request and queued it for report generation. |
1 | Report In Progress. We are generating a report for this domain. Please check back in 60 seconds. |
2 | Report Available. We have a report for this domain. |
Code Examples
cURL
curl -sv -XGET https://api.intricately.com/api/v2/companies?domain=nike.com -H "X-API-KEY: <YOUR_API_KEY>"
Python
headers = { 'X-API-KEY': <YOUR_API_KEY> }
params = { 'domain': 'nike.com' }
requests.get("https://api.intricately.com/api/v2/companies", params=params, headers=headers).json()
Ruby
require 'RestClient'
domain = 'nike.com'
headers = { 'X-API-KEY' => <YOUR_API_KEY>, content_type: :json, accept: :json }
RestClient.get 'https://api.intricately.com/api/v2/companies?domain=#{domain}", headers
API Response
{
"slug" : "nike",
"status_code" : 2,
"status_message" : "Report Available",
"name" : "Nike",
"logo" : "https://media.licdn.com/media6da440.png"
}
Comments
0 comments
Article is closed for comments.