Employee estimate

Our estimated headcount for the organisation behind a hostname. Keyed by the registrable domain, so every host under an apex returns the same figure.

GET /employees/{host}

Costs 1 lookup

Our estimated headcount for the organisation behind a hostname. Keyed by the registrable domain, so every host under an apex returns the same figure.

Base URL https://getdomaindata.com/api/v1

Parameters

NameInTypeRequiredMeaning
hostpathstringyesAny hostname under the organisation's domain.

Request

curl

curl https://getdomaindata.com/api/v1/employees/allbirds.com \ -H "Authorization: Bearer gdd_live_YOUR_KEY"

JavaScript

const KEY = process.env.GDD_API_KEY; const r = await fetch("https://getdomaindata.com/api/v1/employees/allbirds.com", { headers: { Authorization: "Bearer " + KEY } }); const { data } = await r.json(); console.log(r.headers.get("X-Quota-Remaining"), data);

Python

import os, requests h = {"Authorization": "Bearer " + os.environ["GDD_API_KEY"]} r = requests.get("https://getdomaindata.com/api/v1/employees/allbirds.com", headers=h) print(r.headers.get("X-Quota-Remaining"), r.json()["data"])

Response

A real record from the serving database, abridged where marked with an ellipsis. Null stays null.

{ "data": { "host": "allbirds.com", "apex": "allbirds.com", "estimated_employees": { "low": 501, "high": 2000, "point": null }, "as_of": "2026-09-10" } }
FieldTypeMeaning
apexstringThe registrable domain the estimate belongs to.
estimated_employees.lownumberLower bound of the band.
estimated_employees.highnumber | nullUpper bound; null means the top band is open-ended.
estimated_employees.pointnumber | nullA specific figure when we hold one. Still an estimate.
as_ofstring | nullDate of the estimate.

Errors this endpoint returns

All errors
401 invalid_keyThe key is missing, malformed, or revoked. Check the Authorization header and the key on your account page. Revoked keys stop on the next request.
429 rate_limitedToo many requests this minute for your plan. Back off until the reset time in the body, then retry.
402 quota_exhaustedThis month's lookups are spent. Wait for the first of the month, or add a pack from the account page. The API never throttles silently.
400 bad_hostThe hostname is not plausible. Same rule as bad_domain.
404 not_foundWe do not hold that domain or technology. Nothing to retry. The lookup is still spent for domain calls.
503 metering_unavailableThe quota could not be read, so nothing was served. Retry in a moment. No lookup was spent.