Query Parameters

The Company Data API provides several ways to query information on a company using different identifiers:

  • Company Website Domain

  • Company Name

  • DUNS

  • FIGI

  • Craft Company ID

Here are a few different examples:

Find a company by name:

# Query
query findCompanyByName($name: String!) {
company(nameContains: $name) {
displayName
locationsCount
}
}
# Variables
{ "name": "Stripe" }

Find a company by DUNS:

# Query
query findCompanyByDUNS($duns: String!) {
company(duns: $duns) {
displayName
locationsCount
}
}
# Variables
{ "duns": "966357621" }

Find a company by domain:

# Query
query findCompanyByDomain($domain: String!) {
company(domain: $domain) {
displayName
locationsCount
homepage
}
}
# Variables
{ "domain": "stripe.com" }