---
title: "Get Ai Sources"
method: GET
path: "/api/v1/reports/search-insights/ai-sources/{website_id}"
tags: ["Reports"]
---

# Get Ai Sources

`GET /api/v1/reports/search-insights/ai-sources/{website_id}`

## Request

- Base URL: `https://api.seoproai.co`
- URL: `https://api.seoproai.co/api/v1/reports/search-insights/ai-sources/{website_id}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://dajosjnaalanhqksxrpe.supabase.co/auth/v1/authorize`, token URL `https://dajosjnaalanhqksxrpe.supabase.co/auth/v1/token`)

Get AI traffic sources for a website.

Data comes from ``search_insights_daily_rollup``. Landing pages are not
stored in that rollup, so per-source ``top_pages`` are intentionally not
returned.

## Path parameters

- `website_id` integer, required

## Query parameters

- `start_date` string, nullable: Start date (YYYY-MM-DD)
- `end_date` string, nullable: End date (YYYY-MM-DD)
- `limit` integer: Maximum number of sources

## Headers

- `X-User-Id` string, nullable
- `X-Organization-Id` string, nullable
- `Authorization` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/seoproai/apis/seopro-ai.md) · [All operations](https://skmtc.dev/seoproai/apis/seopro-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/seoproai/apis/seopro-ai/revisions/5b4b6391ddc9?raw)
