Get GSC traffic stats
Traffic & Analytics
Google Search Traffic
Pull your Google Search Console data — clicks, impressions, keywords, pages, and more.
GET
Get GSC traffic stats
Get your organic search performance data directly from Google Search Console. These endpoints give you the same data that powers the Traffic dashboard’s Google tab — clicks, impressions, CTR, average position, top queries, and top pages.
The
You need a Google Search Console integration connected to your team. You can connect it from Settings → Integrations → SEO & AI Tools.
prev*Trend arrays (e.g. prevClicksTrend) contain the previous period’s data for comparison. *Change objects give you the percentage change and whether it’s a positive movement.
Search Queries
GET /integrations/gsc/website-traffic/search-queries
Get the search queries driving traffic to your site, sorted by clicks.
Top Pages
GET /integrations/gsc/website-traffic/top-pages
Get your best-performing pages in search results.
Traffic by Country
GET /integrations/gsc/website-traffic/countries
See how your search traffic breaks down by country.
Traffic by Device
GET /integrations/gsc/website-traffic/devices
See how your search traffic breaks down by device type.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Team ID
ISO start date (YYYY-MM-DD)
ISO end date (YYYY-MM-DD)
Number of days to look back
Device filter
Search type filter
Country filter
Response
Default Response

