List all Niches
Changed onRetrieves a paginated list of Niches. Each Niche represents a market segment or product category being tracked. Supports narrowing by name (searchText) or by a competitor ASIN (searchAsin), and ordering by last dive date or name. Walk the pages with currentPage until hasNext is false.
Request
- Base URLhttps://api.datadive.tools
- URLhttps://api.datadive.tools/v1/niches
- AuthAPI key in header x-api-key
Query parameters
Only items in at least one of these Spaces (ids from GET /v1/spaces). Repeat the parameter or use spaces[]=1&spaces[]=2. At most 100. Combines with labels and the other filters with AND.
[ 12, 34 ]
Only items with at least one of these labels (ids from GET /v1/labels). Repeat the parameter or use labels[]=1&labels[]=2. At most 100. Combines with spaces and the other filters with AND.
[ 12, 34 ]
Case-insensitive partial match on the Niche label or hero keyword
Only Niches whose competitor set contains this ASIN
Sort field. lastDived orders by latestResearchDate, name by nicheLabel.
Sort direction. Defaults to DESC for lastDived and ASC for name.
Page of items to retrieve (default 1)
Items per page (default 20, max 50)
Response
Example response
{
"currentPage": 1,
"pageSize": 20,
"lastPage": 1,
"total": 1,
"data": [
{
"nicheId": "z515cGOFg3",
"heroKeyword": "dog hat",
"nicheLabel": "Dog-hat opportunity",
"marketplace": "com",
"spaces": [
12,
34
],
"labels": [
7
]
}
]
}Changes
- info
added the new optional
queryrequest parameterlabels - info
added the new optional
queryrequest parameterspaces - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- info
- warning
for the
queryrequest parameterpageSize, the max was set to50.00 - warning
for the
queryrequest parametercurrentPage, the min was set to1.00 - warning
for the
queryrequest parameterpageSize, the min was set to1.00 - info
added the new optional
queryrequest parameterorderBy - info
added the new optional
queryrequest parametersearchAsin - info
added the new optional
queryrequest parametersearchText - info
added the new optional
queryrequest parametersortOrder
- warning