Count forum posts instead of returning them (GET /seg_api/forums).
Aggregates forum posts by forum, board, author and other supported fields.
Example: which forums and boards talk about bitcoin this week.
This is forums and discussions only. It returns buckets with counts, not posts.
Each underlying field request costs 1 credit.
A response has at most 10 buckets. Returned from_offset values paginate through up to 100 buckets.
q is the same boolean language as search. A space means AND. days is the crawl lookback.
Named site lists are q clauses, for example custom_sites_list:hot_sites.
Default 7 is the past week. The maximum is 31.
field is the bucket. Default is thread.site,thread.site_section, as two requests.
Allowed fields: thread.site, thread.site_suffix, thread.site_full, thread.site_section, thread.site_type, thread.country, thread.url, author, language, site_category, published, rating.
Forums have no person, company, location, or ticker extraction, so those fields are rejected here.
topic, sentiment, category, and trust.* exist on news only.
Separate segmentation arguments: include_syndicated=true includes syndicated copies (default false). webz_reporter=true includes Webz Reporter posts (default false); this is a separate argument, not a q filter. from_offset paginates beyond the first 10 buckets.
Examples:
- q=bitcoin days=7
- q=bitcoin field=author days=7
- q="product recall" field=thread.country language:english days=7
Reference documentation:
Segmentation: https://docs.webz.io/docs/webz/news-blogs-forums-segmentation