Why the Search Console API and interface can show different data, from anonymised queries and property types to date ranges, filters and row limits.
In this article 4 sections · 3 min read
If you pull Search Console data into dashboards or spreadsheets through the API, you may find days or queries where the API returns nothing, while the interface clearly shows data. The two use the same underlying data, but they do not always present it the same way.
01Common reasons for the difference
1. Anonymised queries
Google hides some rare queries for privacy. The interface’s totals include clicks from those queries, but when you request data grouped by query through the API, those rows are not returned. Totals grouped by query can therefore look lower, or empty for small sites.
2. Data freshness
Recent data is usually delayed by a couple of days. The interface may show preliminary data that the API does not return in the same way, depending on your request settings.
3. Property type
Domain properties and URL-prefix properties contain different sets of data. Make sure your API call uses exactly the same property as the interface you are comparing with, including https and www.
4. Aggregation differences
Data aggregated by property and data aggregated by page can differ, especially for clicks and impressions that involve several URLs.
5. Filters and dimensions
Filters in your API request, such as country, device or search type, may exclude data you see in the interface.
6. Row limits and pagination
Each API request returns a limited number of rows. Large sites need to paginate to get everything.
7. Quotas
Hitting request limits can cause missing results in automated pulls.
02How to troubleshoot
- Confirm the data exists in the interface for the exact property and date range.
- Remove filters and dimensions from the API request, then add them back one at a time.
- Shift the date range back a few days to avoid freshness issues.
- Check you are using the same search type, such as web, image or news.
- Paginate through results.
- Compare totals without a query dimension against the interface totals.
03A typical scenario
A site’s dashboard shows zero clicks for yesterday, but the interface shows dozens. The API request grouped by query and requested only final data, while the interface showed fresh data. Changing the date range by two days and comparing totals without the query dimension resolved the mismatch.
04Tips for working with the API
- Use a Domain property where possible.
- Store daily data in your own database so you have history.
- Expect totals grouped by query to be lower than overall totals.
- Document filters so reports are consistent.
Our marketing reporting dashboards service builds reliable Search Console reporting, and our admin and back-office automation can automate the data pulls.
Our team can review your situation and tell you exactly what to fix first.
