Docs Concepts
Paging and search
Filters, search modes and how to walk through long result lists.
Filters
/v1/innovations filters by industry_id, subindustry_id, region_id, country_id, repeatable tag=dimension:slug and the since/until dates. Get the valid values from /v1/industries, /v1/regions and /v1/tags; they change rarely, so cache them.Search
Add
query to search. mode=hybrid (the default) blends meaning and keywords, semantic matches by meaning only and keyword by the words themselves. Without a query, results come back newest first.Pages
limit sets the page size, up to 100. When has_more is true, pass next_cursor back as cursor to get the next page, with the same filters. Treat the cursor as opaque.curl "https://api.trendwatching.com/v1/innovations?industry_id=4&limit=100&cursor=$NEXT_CURSOR" \
-H "Authorization: Bearer $TW_API_KEY"
How far pages go
Search results stop at 10,000; a page past that answers
400 too_deep. Narrow the search with filters or dates instead. To copy the whole database, use the changes feed, which has no such limit.