API to Find a Company Website

Find a company website by name, location, or industry — manually or at scale using WebCrawler Agent API.

Written byAndrii
Published on

How to Find a Company Website

You've got a company name, maybe a city, maybe an industry like "manufacturing" or "banking." You need their website URL. And you need it for hundreds of companies, not just one.

That's where WebCrawler Agent comes in. You send a prompt with whatever data you have, and it searches the web, finds the company, and returns the website URL.

What is WebCrawler Agent

curl --request POST \
  --url https://api.webcrawlerapi.com/v1/agent \
  --header 'Authorization: Bearer <YOUR_API_KEY>' \
  --data '{
    "prompt": "Find the official website URL for Acme Corp, a logistics company in Houston, TX. Return a JSON object with company_name and website_url fields.",
    "max_spend_usd": 0.5
  }'

WebCrawler Agent is an API that takes a plain-language prompt and does the searching for you. You tell it what you're looking for, it browses the web, follows links, and comes back with structured JSON.

The typical flow looks like this:

  1. You send a POST request with a prompt and a budget (max_spend_usd).
  2. The agent searches, reads pages, clicks through results.
  3. You poll for the result. When it's done, you get JSON back.

You don't need to give it any URLs. If you just say "find the website of Acme Corp in Houston, TX," the agent will figure out where to look. You can also pass seed URLs if you want it to start from a specific directory or listing page.

The output is always JSON, so you can pipe it straight into your database, spreadsheet, or whatever pipeline you're building.

Writing a good prompt

The agent works best when you give it everything you know. A company name alone works, but it's ambiguous. There are probably 50 companies called "Atlas" in the US. If you also say "Atlas, logistics company in Denver, Colorado," the agent has a much easier time finding the right one.

Here's what helps:

  • Company name (required, obviously)
  • Location: city, state, country. Even a rough region helps.
  • Industry or domain: "construction," "fintech," "food delivery." Narrows it down fast.
  • Any other detail: founder name, product they sell, a keyword from their site. Anything.

The prompt should also tell the agent what to return. Don't leave it guessing. Say "return the company's official website URL" and you'll get a clean result. If you also want the company's full name or a confidence note, ask for that too.

One thing to keep in mind: the agent returns JSON, so phrase your prompt in a way that maps to fields. "Find the website" is fine. "Tell me about the company" is too vague and you'll get unpredictable output.

Prompt template

Here's a template you can use. Replace the placeholders with real data for each company in your list.

Find the official website URL for the following company.

Company name: {company_name}
Location: {city}, {state_or_country}
Industry: {industry}
Additional context: {any_other_detail}

Return a JSON object with these fields:
- "company_name": the full official company name
- "website_url": the company's primary website URL
- "confidence": "high", "medium", or "low" based on how certain you are this is the right company

You don't have to fill every placeholder. If you don't know the industry, drop that line. The more you give, the better the result, but the agent can work with just a name and a city.

The confidence field is useful when you're processing a big list. You can filter out the "low" results and review them manually instead of trusting everything blindly.

Best API to search company's homepage

For finding a company's homepage specifically, Webcrawler Agent is the best option out there. No custom scraper to build, no search API to babysit, no HTML to parse for the right link. You send a prompt, it goes and finds the site, and hands you back structured JSON with the URL and a confidence score.

But that's just one use case. The same API handles any prompt you throw at it. Extract pricing pages, pull job listings, grab contact info, compare product features across competitors. The prompt is the interface, you decide what to ask, so it's not a single-purpose tool you'll outgrow once this task is done.

Since it returns structured JSON, it fits naturally into any pipeline. Feed results into your CRM, plug it into an AI agent that needs live web data, or chain it with other API calls in an automation workflow. It's an API call, so it works anywhere your code runs.

If you want to try it, grab an API key and start with a single company lookup. Once that works, scale it up to your full list.

Full Agent API docs are here.

The same agent also works for other use cases: extracting SaaS pricing, finding customers of a SaaS company, or pulling contact emails from any website.


About the Author

Andrii Mazurian
Andrew Mazurian@andriixzvf

Founder, WebCrawlerAPI · 🇳🇱 Netherlands

Engineer with 15 years of experience in APIs, big data, and infrastructure. Founded WebCrawlerAPI in 2024 with a single goal: to build the best data API, and have been shipping it every day since.