Skip to content
Skip to Content

Get niche

A niche as the head of its app page: running now, longest and median run, its share of the last 30 days, and its top 5 formats, hooks and brands. Read its ads with List ads and niche. The same answer as the MCP tool get_niche.

get/api/v1/niches/{slug}

Authentication

API key, OAuth token or signed-in session, sent as Authorization: Bearer <key or token> (a session rides on its cookie). An OAuth token needs mcp:read. See authentication.

Path parameters

  • slugstringrequired

    The niche's slug from List niches, or its plain name. 1 to 120 characters.

Responses

  • 200

    The niche in brief. Body: TagSummary.

  • 400

    A parameter is missing or out of range. Body: Problem.

  • 401

    No credentials, or the token is invalid or expired. The oauth2 security scheme says how to get one. Body: Problem.

  • 403

    The token lacks the mcp:read scope. Body: Problem.

  • 404

    No such brand, niche, format, visual format, hook tactic or ad. Body: Problem.

  • 429

    rate_limited: more than 60 requests a minute from this account. quota_exceeded: the plan's MCP/API allowance is used up (10,000 a month on Pro, 50,000 a month on Agency, 200 a day on the 7-day free trial, UTC), or an account with no plan has used its 20 preview calls. detail says which limit and when it resets. resolution says what to do next and links to the plans page. Show both to the person. Body: Problem.

  • 503

    The library could not be read; retry shortly. Body: Problem.