> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lusha.com/llms.txt
> Use this file to discover all available pages before exploring further.

# See which companies are visiting your website

> Identify companies visiting your tracked domains, ranked by engagement score, sessions, unique visitors, and other behavioral metrics.

> [!WARNING]
>
> **Beta.** Website Visits is a new endpoint. Its request and response shape may change before general availability.

Website Visits turns anonymous website traffic into a ranked list of companies. Give it your tracked domains and a date range, and it returns the companies that visited, ranked by engagement - score, total sessions, unique visitors, days visited, high-intent pageviews, and more.

> [card] [API reference](https://docs.lusha.com/api-reference/website-visits/get-website-visits)
>
> `POST /v3/companies/website-visits` - full request/response schema.

> [card] [Buying Group](https://docs.lusha.com/buying-group/overview.md)
>
> Once you know which companies are visiting, find who to contact there.

## Prerequisite: configure domain tracking

Website Visits only returns data for domains you've already set up for tracking in the [Lusha dashboard](https://dashboard.lusha.com). The API resolves each domain you pass to its tracked site ID server-side - it doesn't scan arbitrary websites.

> [!WARNING]
>
> If any domain in your request isn't configured for tracking, the entire request fails with `400`. Set up tracking for a domain in the dashboard before calling this endpoint with it.

## Date range limit

`startDate` and `endDate` must together span **3 months or less**. Request a range longer than that and the call fails with `400`. To cover a longer period, make multiple calls with adjacent date ranges.

## What you get back

Each result combines a company firmographic preview - the same shape [Search Companies](https://docs.lusha.com/enrichment/search-companies.md) returns (name, domain, industry, location, employee count) - with visit-behavior metrics:

| Metric | Description |
| - | - |
| `score` | Overall engagement score |
| `scoreBand` | `cold`, `warm`, or `hot` |
| `totalSessions` | Total sessions in the date range |
| `uniqueVisitors` | Unique visitors in the date range |
| `avgSessionMinutes` | Average session duration |
| `daysVisited` | Distinct days with at least one visit |
| `highIntentPageviews` | Pageviews on high-intent pages |
| `daysSinceLastVisit` | Days since the most recent visit |
| `lastVisit` | Date of the most recent visit |
| `visitorCountry` | Country the visit traffic came from |

## Filtering and sorting

Narrow results with `filters` - by `scoreBands`, visitor country (`visitorCountries.include` / `.exclude`), or range filters (`score`, `totalSessions`, `uniqueVisitors`, `daysVisited`, `highIntentPageviews`, `daysSinceLastVisit`, `avgSessionMinutes`). Sort with `sort.by` / `sort.order` (for example, sort by `score` descending to see your hottest accounts first).

> [!TIP]
>
> Combine `scoreBands: ["hot"]` with a recent date range to build a "companies to contact this week" list, then pass the matched domains into [Buying Group](https://docs.lusha.com/buying-group/overview.md) to find who to reach out to.

## Related pages

* [API reference: Get Website Visits](https://docs.lusha.com/api-reference/website-visits/get-website-visits) - request/response fields, error codes, and examples
* [Buying Group](https://docs.lusha.com/buying-group/overview.md) - find contacts at the companies visiting your site
* [Search Companies](https://docs.lusha.com/enrichment/search-companies.md) - the firmographic shape each result is based on
* [Deep Intelligence data catalog](https://docs.lusha.com/data-catalog/deep-intelligence.md) - coverage and platform availability for Website Visits and Lusha's other recommendation engines and predictive models


## Related topics

- [Explore key features](https://docs.lusha.com/user-guide/explore-key-features.md)
- [MCP tools reference](https://docs.lusha.com/mcp/tools.md)
- [Website Visitors](https://docs.lusha.com/user-guide/shared/features/website-visitors.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.