v1Ressources/SEO/getObtenir les tendances de classement des concurrents dans le temps
Obtenir les tendances de classement des concurrents dans le temps
Renvoie le classement moyen mensuel de chaque concurrent sur l'historique de classement suivi de cet établissement (jusqu'aux 12 derniers mois mesurés), pour le graphique de tendance de classement. Inclut votre propre entreprise (isYou).
get
seo:read/api/v1/seo/competitors/trendsParamètres de requête
locationIdstringobligatoire
L'établissement à consulter.
clientIdstringfacultatif
Le client de l'établissement.
Réponse
dataobjectfacultatif
monthsarray of stringfacultatif
Mois couverts, du plus ancien au plus récent (YYYY-MM).
competitorsarray of objectfacultatif
Une série par concurrent (plus votre propre entreprise), alignée sur months.
placeIdstringfacultatif
Un identifiant pour cette entreprise (son place ID, ou une clé dérivée).
namestringfacultatif
Nom de l'entreprise.
isYoubooleanfacultatif
Si cette série est votre propre entreprise.
monthlyarray of numberfacultatif
Classement moyen pour chaque mois dans months ; null quand cette entreprise n'a pas été observée ce mois-là.
Erreurs
400Il manque un paramètre requis à la requête, ou elle est invalide.
401Clé API manquante, invalide, expirée ou révoquée.
403La clé n'a pas la permission requise, ou n'est pas autorisée pour ce client/établissement.
429Trop de requêtes. Réessayez après le nombre de secondes indiqué dans l'en-tête Retry-After.
get/api/v1/seo/competitors/trends
Votre clé API
locationId *
clientId
{
"data": {
"months": [
"2026-01",
"2026-02"
],
"competitors": [
{
"placeId": "ChIJtXC2rwgF9YgRNh1YJHlA4vQ",
"name": "Acme Dental — Downtown",
"isYou": true,
"monthly": [
5.1,
4.2
]
}
]
}
}Guides qui utilisent cette ressource
- What Is a Local SEO API?A local SEO API measures how a business ranks in local search, with geo-grid rank tracking, profile analytics and AI visibility, not just backlinks.
- How to Add Local Marketing Features to Your SaaSAdd listings management, reviews, Google posts, profile analytics, rank tracking and AI visibility to a SaaS product with the Synup API, tenant by tenant.
- How to Build an AI Agent for Local SEOBuild an AI agent that audits and fixes listings, tracks local rankings, checks AI visibility and drafts review replies with Synup's MCP server or REST tools.
- How to Build a Multi-Location Marketing DashboardBuild a multi-location marketing dashboard from the API's rollup endpoints, one call per panel, covering listings, reviews, rank, AI visibility and duplicates.
- How to Add Local Marketing Functionality to Vertical SaaSAdd local marketing to a vertical SaaS by mapping existing customers to clients and locations, and shipping only the features your niche needs.
- Local SEO APIs: What Developers Actually NeedA practical checklist of what a local SEO API must cover, from listings and sync status to reviews, rank tracking and AI visibility, mapped to endpoints.
- How to Track Local Rankings with an APITrack local search rankings on a geo grid through an API, add keywords, read the grid and trend, and compare against competitors and citation coverage.
- How to Monitor Local SEO Across Multiple LocationsMonitor local SEO across hundreds of locations through rollup endpoints, with rank and AI visibility per location and the weakest surfaced first.
- Fetch Local Keyword Rankings via APITrack local search rankings on a geo grid with the Synup API, add keywords for a location, and read the rank trend once the background scan lands.