Ce guide est disponible en anglais.
Fetch Local Keyword Rankings via API
Read the monthly rank trend and sampled grid positions for a keyword already tracked at a location.
En bref
- Ce que ce guide permet
- Fetch saved rank results for one tracked keyword at a location.
- API utilisées
- get
/api/v1/seo/keywordsObtenir la synthèse de classement d'un établissement - get
/api/v1/seo/rollupObtenir la synthèse de classement tous établissements
- get
- Référence
- SEO
- Prérequis
- An API key with the seo:read scope
- The locationId and an existing keywordId for that location
- Cas d'usage typiques
- Adding a rank-tracking tab to your product
- Monitoring how a location ranks around its address
- Reporting keyword movement to a business owner
Once keywords are being tracked for a location (see the
setup and grid guide), read the ranking data back with
GET /api/v1/seo/keywords.
curl "https://ai.synup.com/api/v1/seo/keywords?locationId=LOCATION_ID&keywordId=KEYWORD_ID&month=2026-08" \
-H "Authorization: Bearer $SYNUP_API_KEY"The response includes tracked keywords, the monthly rank trend, the grid and stat cards. This example shows
three entries from data.months:
{
"months": [
{ "key": "2026-06", "avgRank": 8.3 },
{ "key": "2026-07", "avgRank": 6.1 },
{ "key": "2026-08", "avgRank": 5.4 }
]
}If data.center is null, the grid has no configured center point. If data.grid is an empty array, there
are no results to plot. In both cases, set up the keyword's grid first -- see the
setup and grid guide -- before attempting a write.
For a client dashboard, GET /api/v1/seo/rollup gives one row per location instead of one location's full
detail. Because the scan is asynchronous, treat rank data as something you read on a schedule, not something you
block a page render on.
Rankings sit alongside profile analytics and AI visibility in the local marketing guide. The AI agent guide uses these same reads as the signal an agent acts on.