How to get company data from a domain
The fastest way to get company data from a domain is to use the domain as the key: an organization search filtered by domains returns the firmographic record, and a website lookup by domain returns web rank, traffic and detected technologies. Names are ambiguous; domains are not.
Why the domain, not the name
Company names collide. There are many companies called Apex, two spellings of most Scandinavian names, and a rebrand every quarter somewhere. A domain is unique by construction and it is already on the lead form, the email signature and the CRM record. Start from it.
Normalize before you look up: lowercase, strip "www.", drop any path. If the domain redirects (old brand to new brand, country site to global site), follow the redirect once and store both: the domain you were given and the one the company uses.
Free routes
The company's own site tells you what it sells and where it is. Its professional profile page gives a size band and an industry label. For the legal entity behind a trading name, public registers (Companies House in the UK, OpenCorporates across registries, SEC filings for US public companies) are free and authoritative, and they are the right source for a legal name or a registration number.
What the free routes do not give you is a record you can join on at scale, with the same fields for every company. That is what the two lookups below are for.
Firmographics by API
Send an organization search with the domain as the only filter. The response lists the matching organizations with the fields the API reference documents: name, legal_name, website, domain, domain_rank, description, founded_date, operating_status and employees_range, with industry and location.
Organization search by domain
curl -X POST https://api-v2.forager.ai/api/{account_id}/datastorage/organization_search/ \ -H "X-API-KEY: $FORAGER_API_KEY" \ -H "Content-Type: application/json" \ -d '{"domains":["example.com"]}'
import os, requests r = requests.post( f"https://api-v2.forager.ai/api/{os.environ['FORAGER_ACCOUNT_ID']}/datastorage/organization_search/", headers={"X-API-KEY": os.environ["FORAGER_API_KEY"]}, json={"domains": ["example.com"]}, timeout=30, ) r.raise_for_status() data = r.json() if r.content else [] # an empty body means nothing was found
// illustrative values, not a record
{ "search_results": [{ "name": "Example Corp", "domain": "example.com", "employees_range": "51-200", "founded_date": "2012-01-01", "operating_status": "active" }], "total_search_results": 1 } One search costs 1 credit per request. The same body with other filters (industries, locations, employees_start and employees_end, web_technologies, founded_date_start) turns the lookup into a list builder; see the technology guide for that.
Website rank, traffic and technologies by API
The website lookup answers a different question: not who the company is, but how its site performs and what it runs on. Identify the site by domain, organization_id or the organization's LinkedIn public identifier.
Website lookup
curl -X POST https://api-v2.forager.ai/api/{account_id}/datastorage/website_detail_lookup/ \ -H "X-API-KEY: $FORAGER_API_KEY" \ -H "Content-Type: application/json" \ -d '{"domain":"example.com"}'
import os, requests r = requests.post( f"https://api-v2.forager.ai/api/{os.environ['FORAGER_ACCOUNT_ID']}/datastorage/website_detail_lookup/", headers={"X-API-KEY": os.environ["FORAGER_API_KEY"]}, json={"domain": "example.com"}, timeout=30, ) r.raise_for_status() data = r.json() if r.content else [] # an empty body means nothing was found
// illustrative values, not a record
{ "domain": "example.com", "domain_rank": 48210, "technologies": ["Shopify", "Klaviyo", "Google Analytics"] } It returns the domain, its web rank, traffic and the detected web technologies, for 1 credit per request. Technology names in the sample are real products used as examples; no claim is made about any real site.
Size the question first
When the filter is broader than one domain, call the organization search totals endpoint with the same body before you page. It returns the match counts, so you know whether a query is 40 companies or 40,000 before you spend on pages. Its credit cost is not yet documented in the credit table, so check the docs before you rely on it being free.
Edge cases
- Subsidiaries and holding companies: the domain you hold may belong to a brand, not the legal parent. Keep the record you get and note the parent separately; enrich.so's vendor list (May 20, 2026) flags this as the most common miss across company APIs.
- Redirecting domains: look up the destination domain, keep the original as an alias.
- Parked or dead domains: the website lookup returns little or nothing; the organization record may still exist with an operating_status that says so.
- Education, government and personal domains: there is no company to find. Do not retry.
- Not found: a clean miss for a real domain is an answer. Try the LinkedIn page identifier before you give up, then mark it and move on.
From the company to its people
With the domain confirmed, the people at the company are one search away: a person role search filtered by organization_domains and a role title returns each match with their current role and profile. The employees guide below shows the count-first pattern and the contact lookups that follow.
At scale: a feed instead of lookups
If you need every company in a market, not one at a time, license the company data feed: 65M+ companies delivered to your warehouse or storage as files, so you join on domain in SQL instead of calling an API per row. Refresh terms are written into the agreement.
The pieces this guide uses
Recipes
- $5 free credits
- No credit card
- Run your sample
Questions about this guide
How do I find a company's number of employees from its domain?
Run an organization search with the domain as the filter and read employees_range on the result. It is a size band, not a headcount, which is what public sources can stand behind. For people counts by role, use a person role search totals call.
Can I look up a company by name instead of a domain?
Yes. The organizations autocomplete takes a name or a domain as q and returns matches whose text reads "name - domain", so you can confirm the right one and take its id or domain into the search. Autocomplete is free, limited to 10 requests a second.
How fresh is the company record?
Lookups run against the current record at request time. For feeds, the refresh schedule is written into the agreement. Run a sample of domains you know and compare the fields before you build on them.
What if the domain redirects to another one?
Follow the redirect once and look up the destination domain; that is the one the company uses. Keep the original as an alias on your record so a later import of the old domain matches the same company.
Is company data personal data?
A company record (name, industry, size band, location, technologies) is not personal data. The people at the company are. The moment you move from the company to its employees, the rules for personal data apply.
What does a company lookup cost?
An organization search costs 1 credit per request and a website lookup 1 credit per request, charged whether or not a record comes back. The autocomplete that resolves a name to a domain is free.
What does company enrichment cost for teams following this guide?
Company enrichment: 1 credit per request, charged whether or not data comes back. 1,000 company lookups use 1,000 credits: about $13 of Starter credits month to month, or about $10 on Pro with yearly billing. Self-serve plans are Starter, Growth, Pro and Scale. See plans and prices
Am I charged when nothing is found?
Yes. Company enrichment is charged per request, whether or not data comes back. Only mobile and email lookups are free when nothing is found, so try your inputs on a small run before you scale.
Can teams following this guide test company enrichment for free?
Yes. Create a free account at app.forager.ai: it comes with $5 in free credits and an API key, and there is no credit card to sign up. Run it on records you already know, or book a demo and send us a list: we run it and show you what we find.
How do I know the data is right?
The test that counts is your own: send a list of profiles you care about. We run it and show you what we find, number by number, so you can measure hit rate and connect rate yourself.
How is the data sourced, and what about privacy?
Bring your legal and security questions to a call with our team, and we take you through how Forager data is sourced and the terms that cover company enrichment for teams following this guide. Forager's privacy policy is public, and anyone can send a request about their own personal data through the consumer rights form on forager.ai.
Do I need a subscription?
Not to test: a free account comes with $5 in credits. To keep using company enrichment, choose a monthly or yearly plan. Monthly plans cancel anytime and unused credits roll over; yearly plans grant all credits upfront and cost 10% less. Larger volumes are agreed with our team.
Written answers are not available right now. The matching pages above still help, or book a demo and ask the team.
- $5 free credits
- No credit card
- Run your sample
Keep reading
Related guides
Sources
- Forager docs: Company search with the API (read Nov 1, 2026)
- Forager docs: Look up a website's traffic and tech (read Nov 1, 2026)
- Forager docs: B2B data feeds overview (read Nov 1, 2026)
- Forager docs: API credits and pricing (read Nov 1, 2026)
- enrich.so: 10 Best Company Data APIs (May 20, 2026) (read Nov 1, 2026)