AI Traffic Pages
const url = 'https://sitechecker.pro/api/v1/ai-visibility/ai-traffic/pages?project_id=12345&date_from=2026-02-19&date_to=2026-05-19&include_comparison=true&sort=-sessions&limit=100&offset=0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://sitechecker.pro/api/v1/ai-visibility/ai-traffic/pages?project_id=12345&date_from=2026-02-19&date_to=2026-05-19&include_comparison=true&sort=-sessions&limit=100&offset=0' \ --header 'Authorization: Bearer <token>'Returns landing-page rows with AI referral traffic and engagement metrics for the selected period and filters.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Example
12345Project ID.
Example
2026-02-19Start of the monitoring period (inclusive), ISO date (UTC).
Example
2026-05-19End of the monitoring period (inclusive), ISO date (UTC).
Chatgpt|perplexity|gemini|copilot|claude|deepseek
Filter to one AI referral source.
Alpha-2 country code
Filter by country.
Landing page contains filter
Substring filter over the landing page URL.
Return previous-period values alongside the current ones.
Sort as
Page size.
Pagination offset.
Responses
Section titled “Responses”AI traffic landing pages
object
One AI-referral landing page row. *_change fields appear only when include_comparison=true and may be null when the previous value is zero.
object
Landing page URL.
Sessions that started on this page from AI referrals.
Mean session length in seconds.
Fraction 0..1.
Fraction 0..1 (1 - bounce_rate).
GA4 key events recorded in these sessions.
Key events per session for this page.
Percentage change in sessions against the previous period.
Percentage change in average session duration against the previous period.
Percentage change in bounce rate against the previous period.
Percentage change in engagement rate against the previous period.
Percentage change in key events against the previous period.
Percentage change in the key event rate against the previous period.
AI Traffic meta block for list endpoints: the standard block plus pagination.
object
Project the response was built for.
Start of the period the response covers.
End of the period the response covers.
The dataset that was queried, echoed back from the request.
Start of the previous period the *_change fields were computed against. Present only when comparison was included.
End of the previous period the *_change fields were computed against. Present only when comparison was included.
Whether GA4 is connected and usable for this project.
object
Latest GA4 data date available for this project, null when there is none.
object
Reusable OpenAPI response schemas for the Public REST API: the error/meta envelope and one item schema per resource. Property names come from the Field registry so the documented contract and the runtime response shapes stay in lock-step.
Page size that was applied.
Pagination offset that was applied.
Example
{ "data": [ { "page": "https://example.com/free-seo-tools/", "sessions": 512, "average_session_duration_seconds": 88.31, "bounce_rate": 0.3921, "engagement_rate": 0.6079, "key_events": 37, "session_key_event_rate": 0.0723, "sessions_change": 12.5, "average_session_duration_change": -4.2, "bounce_rate_change": -1, "engagement_rate_change": 1, "key_events_change": 3.4, "session_key_event_rate_change": 0.9 } ], "meta": { "project_id": 12345, "date_from": "2026-05-01", "date_to": "2026-05-31", "scope": "overview", "resolved_compare_from": "2026-04-01", "resolved_compare_to": "2026-04-30", "source_status": { "ga4": "connected" }, "data_freshness": { "ga4_date": "2026-06-30" }, "total": 137, "limit": 50, "offset": 0 }}Missing or invalid API key
Returned as INVALID_API_KEY when the key is missing or unknown, and as REVOKED_API_KEY when the key exists but was revoked — the latter needs a new key.
object
object
Example
{ "error": { "code": "INVALID_API_KEY", "message": "Invalid or missing API key." }}No active API entitlement for the account, or the project belongs to another account
Returned as MISSING_PUBLIC_API_ACCESS when the account has no active API entitlement, and as ACCESS_DENIED when the requested project belongs to another account.
object
object
Example
{ "error": { "code": "MISSING_PUBLIC_API_ACCESS", "message": "API access is not available: the account has no active API entitlement." }}Project not found
The exact missing resource is in error.code: PROJECT_NOT_FOUND, SEGMENT_NOT_FOUND, CRAWL_NOT_FOUND, KEYWORD_NOT_FOUND, OPPORTUNITY_NOT_FOUND, SNAPSHOT_UNAVAILABLE or NOT_FOUND.
object
object
Example
{ "error": { "code": "PROJECT_NOT_FOUND", "message": "Project not found." }}GA4 is not connected
object
object
Example
{ "error": { "code": "GA4_NOT_CONNECTED", "message": "Google Analytics 4 is not connected for this project." }}Validation error or unsupported filter
Rejected query parameters. error.code is VALIDATION_ERROR for parameter validation (including a query parameter the endpoint does not accept), or INVALID_DATE_RANGE / INVALID_FILTER / INVALID_EVENT_TYPE / UNSUPPORTED_FILTER / UNSUPPORTED_DIMENSION / UNSUPPORTED_METRIC / UNSUPPORTED_SCOPE / SEGMENT_FILTER_UNSUPPORTED for module-specific rules.
object
object
Example
{ "error": { "code": "VALIDATION_ERROR", "message": "project_id is required." }}Rate limit exceeded — retry after the interval in the Retry-After header
object
object
Example
{ "error": { "code": "RATE_LIMIT_EXCEEDED", "message": "Rate limit exceeded. Try again later." }}Internal server error
object
object
Example
{ "error": { "code": "INTERNAL_ERROR", "message": "Internal server error." }}