OneClickSEO API
With the OneClickSEO API you can pull the same SEO and AI-visibility data that powers the OneClickSEO app into your own integrations, dashboards and automations. The API is JSON over HTTPS, read-oriented, and authenticated with a single API key.
Currently the API lets you query data from these areas:
- Keywords - search volume, difficulty, CPC, intent and 12-month trend, plus keyword ideas, clusters and AEO content briefs.
- SERP - the top organic results for a keyword with domain authority metrics, SERP features, People Also Ask and related searches.
- Domains - domain rating, backlinks, referring domains and spam score for any domain.
- Backlinks - backlink-gap prospects: domains that link to your competitors but not to you.
- Rank Tracker - tracked keywords, their latest positions and full position history.
- Site Audit - projects, crawl results, per-page SEO scores and prioritised issues.
- AI Visibility - whether a domain is cited in AI answers across Google AI Overviews, Perplexity, Gemini, ChatGPT and Claude.
Base URL
Every endpoint is served from a single versioned base URL. All requests must use HTTPS.
https://api.oneclickseo.ai/v1Authentication
Authenticate every request with a bearer token in the `Authorization` header. Create and manage keys in your dashboard under Settings → API. See Authentication for details.
curl https://api.oneclickseo.ai/v1/keywords/overview?keyword=seo%20tools&country=us \
-H "Authorization: Bearer YOUR_API_KEY"Response format
Successful responses return a JSON envelope with a `data` payload and a `meta` object. List endpoints include pagination details in `meta`.
{
"data": { /* resource or array of resources */ },
"meta": {
"request_id": "req_8f2c1a",
"credits_charged": 1
}
}Most data endpoints consume account credits. The amount is returned in `meta.credits_charged`. See Credits & limits for per-operation costs and monthly quotas.
Next steps
- Authentication - create your API key and make your first call.
- Credits & limits - understand quotas and per-operation costs.
- Rate limiting and Errors - build a resilient client.
- Keyword overview - the most common first request.