GET /sites/sources
Returns citation domains from AI responses, showing which sources are most frequently cited.
Request
Endpoint
https://app.knowatoa.com/api/v2/sites/sources
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| site_id | string | Yes | Site prefix ID (e.g., tpc_abc123) - must be a target site |
| api_key | string | Yes | Your API authentication key |
| flat | string | No | Set to "true" for flat JSON format |
| format | string | No | Set to "csv" for CSV export |
Response
Nested JSON Format
{
"site": {
"id": "tpc_abc123",
"name": "Example Site",
"external_id": "example.com"
},
"refresh_date": "2025-01-15",
"sources": [
{
"domain": "wikipedia.org",
"count": 45,
"percentage": 22.5
},
{
"domain": "example.com",
"count": 30,
"percentage": 15.0
}
]
}
Response Fields
| Field | Type | Description |
|---|---|---|
| domain | string | Citation domain |
| count | integer | Number of times cited |
| percentage | float | Percentage of total citations |
Notes
- Only available for target sites (not competitors)
- Sources sorted by count (descending)
- Percentages rounded to 1 decimal place
- Returns 400 Bad Request if site is a competitor