Integrate LocalSpy AI intelligence directly into your own tools and workflows.
๐ API access requires an Agency plan. Generate your API key from Dashboard โ Agency โ API Keys. Keys are prefixed with lspy_
All requests must include your API key as a Bearer token in the Authorization header.
/api/scan
Find top competitors
Returns: top competitors with names, ratings, review counts, place IDs, and top reviews.
/api/analyze
Deep Intel report
Returns: full intelligence report โ weaknesses, negative reviews, ad strategies, steal scripts.
/api/keywords
Keyword gap analysis
Returns: 30+ keyword opportunities across 6 categories with opportunity scores.
/api/ad-intelligence
Messaging intelligence
Returns: messaging pillars, emotional triggers, USPs, ad copy ideas, counter-positioning.
| Code | Meaning |
|---|---|
| 401 | Invalid or missing API key |
| 403 | Feature requires Agency plan upgrade |
| 404 | Competitor not found on Google |
| 429 | Rate limit exceeded |
| 500 | Server error โ please retry |
โ Need help with the API? Email support@localspyai.com with "API Support" in the subject.