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

# How do I retrieve website visitor and crawler analytics through the API?

> Read website visitor and crawler analytics for the workspace.

Read website visitor and crawler analytics for the workspace.

Read [authentication](https://chatobserver.com/docs/developers/authentication.md), [pagination and filters](https://chatobserver.com/docs/developers/pagination-and-filters.md), and [safe writes and retries](https://chatobserver.com/docs/developers/safe-writes.md) before integrating. Each endpoint below includes its request parameters, response schema, and code examples.

## Endpoints

* [Get crawler activity trends](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-analytics-crawler-activity-trends.md) — `GET /api/v2/analytics/crawler-activity-trends`
* [Get referrer statistics](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-analytics-referrer-stats.md) — `GET /api/v2/analytics/referrer-stats`
* [Get sentiment time series](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-analytics-sentiment-time-series.md) — `GET /api/v2/analytics/sentiment-time-series`
* [Get top browsers](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-analytics-top-browsers.md) — `GET /api/v2/analytics/top-browsers`
* [Get top crawler pages](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-analytics-top-crawler-pages.md) — `GET /api/v2/analytics/top-crawler-pages`
* [Get top devices](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-analytics-top-devices.md) — `GET /api/v2/analytics/top-devices`
* [Get top locations](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-analytics-top-locations.md) — `GET /api/v2/analytics/top-locations`
* [Get top pages](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-analytics-top-pages.md) — `GET /api/v2/analytics/top-pages`
* [Get top sources](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-analytics-top-sources.md) — `GET /api/v2/analytics/top-sources`
* [Get total visits](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-analytics-total-visits.md) — `GET /api/v2/analytics/total-visits`
* [Get visitor trends](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-analytics-visitor-trends.md) — `GET /api/v2/analytics/visitor-trends`
* [Read ai referrals overview](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-ai-referrals-overview.md) — `GET /api/v2/ai-referrals/overview`
* [Read ai referrals series](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-ai-referrals-series.md) — `GET /api/v2/ai-referrals/series`
* [Read ai referrals landing pages](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-ai-referrals-landing-pages.md) — `GET /api/v2/ai-referrals/landing-pages`
* [Read ai referrals referrers](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-ai-referrals-referrers.md) — `GET /api/v2/ai-referrals/referrers`
* [Read ai referrals devices](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-ai-referrals-devices.md) — `GET /api/v2/ai-referrals/devices`
* [Read ai referrals events](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-ai-referrals-events.md) — `GET /api/v2/ai-referrals/events`
* [Read ai referrals sessions](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-ai-referrals-sessions.md) — `GET /api/v2/ai-referrals/sessions`
* [Read crawler logs overview](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-crawler-logs-overview.md) — `GET /api/v2/crawler-logs/overview`
* [Read crawler logs chart series](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-crawler-logs-chart-series.md) — `GET /api/v2/crawler-logs/chart-series`
* [Read crawler logs top pages](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-crawler-logs-top-pages.md) — `GET /api/v2/crawler-logs/top-pages`
* [Read crawler logs top crawlers](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-crawler-logs-top-crawlers.md) — `GET /api/v2/crawler-logs/top-crawlers`
* [Read crawler logs events](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-crawler-logs-events.md) — `GET /api/v2/crawler-logs/events`
* [Export crawler events as CSV](https://chatobserver.com/docs/api-reference/visitor-analytics/get-v2-crawler-logs-events-export.md) — `GET /api/v2/crawler-logs/events/export`

[Download the complete OpenAPI specification](https://chatobserver.com/docs/openapi.json) for client generation and schema validation.


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