Developer API
PeekCraft API
Pull niche scores, competition, and pricing straight into your own spreadsheets, scripts, or dashboards. A simple REST endpoint returns the same data that powers Keyword Explorer.
Your API key
Sign in with a Pro plan to get a key
The API is available on the Pro plan. Upgrade to generate your key and start pulling niche data programmatically.
See plansEndpoint
Look up a single keyword. Authenticate with your key in the Authorization header.
GET
/api/v1/niche?keyword={keyword}Example request
curl "https://peekcraft.com/api/v1/niche?keyword=digital+planner" \
-H "Authorization: Bearer pkc_live_xxxxxxxx.xxxxxxxxxxxxxxxx"Example response
{
"success": true,
"data": {
"keyword": "macrame wall hanging",
"category": "home-decor",
"blueOceanScore": 51,
"level": "medium",
"totalResults": 8900,
"avgPrice": 11.2,
"avgViews": 690,
"avgFavorites": 94,
"shopCount": 42,
"signals": {
"demand": 0.62,
"saturation": 0.55,
"concentration": 0.18,
"freshness": 0.41
}
}
}Good to know
- • Keywords are matched against our pre-analyzed niche database (same data as Keyword Explorer).
- • A
404means we don't have data for that exact keyword — try a broader term. - • Requests are logged against your account. Heavy automated use may be rate-limited.
- • Responses are JSON with CORS enabled, so you can call the API from the browser too.