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 REQUIRED

Run 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

PlanMonthly QuotaRate Limit
Free11 req/min
Basic ($15)10010 req/min
Pro ($49)50030 req/min