MagicGEO API documentation
The MagicGEO public API lets developers and agencies run Generative Engine Optimization checks programmatically, without opening the dashboard. All endpoints are HTTPS, JSON in / JSON out.
Available endpoints
- POST /public-geo-audit — run a free GEO audit on any public store URL and get a 0-100 score.
- GET /public-geo-stats — aggregate, anonymised GEO benchmarks across audited stores.
- POST /public-geo-recommendations — ordered list of fixes (schema, meta, alt-text, llms.txt) for a given URL.
- GET /llms/:store — the generated llms.txt file for a connected store.
Conventions
- Rate limited per IP; abusive traffic is throttled rather than billed.
- Request bodies are size-capped and URLs are validated against SSRF.
- Scores are deterministic: the same input always returns the same score.
- No fabricated data is ever returned — every signal maps to something observed on the page.
llms.txt documentation · Contact us for API access