Developer Docs
TheNicheGap API Reference
RESTful API with Bearer Token authentication. Quota is shared with your web dashboard.
Authentication
Include a Bearer Token in the Authorization header (generate in Dashboard → Settings):
Authorization: Bearer YOUR_API_KEY
Base URL
https://thenichegap.com
Endpoints
POST
/api/analyzeAUTH REQUIREDRun SEO content gap analysis
Request Body (JSON)
{
"keyword": "best standing desk",
"location": "United States"
}Response Example
{
"success": true,
"report": {
"intent": { "type": "Commercial Investigation", "confidence": 94, "oneLiner": "..." },
"mustHaves": [...],
"contentGaps": [...],
"outline": { "h1": "...", "sections": [...] }
}
}GET
/api/analyze?keyword=...Quick demo (no auth required)
Response Example
{ "success": true, "report": { ... } }Rate Limits
| Plan | Monthly Quota | Rate Limit |
|---|---|---|
| Free | 1 | 1 req/min |
| Basic ($15) | 100 | 10 req/min |
| Pro ($49) | 500 | 30 req/min |