search_promotions
Search current promotions, coupons, sales, and deals aggregated across retailers. Filter by retailer, category, promotion type, coupon availability, or expiry; full-text search over titles/descriptions; cursor pagination via "after". Returns active promotions by default (set active=false to include expired/upcoming).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Signed pagination cursor from the previous response (next_cursor). Omit for the first page. | |
| limit | No | Max promotions per page (1-100, default 25). Paginate via next_cursor for more. | |
| active | No | When true (default), only return promotions currently within their active date window. Set false to include expired/upcoming promotions. | |
| sort_by | No | Sort order. Omit for the default ordering. Must be consistent across paginated requests. | |
| category | No | Filter by category (exact match, e.g. "Apparel"). | |
| retailer_id | No | Filter to one or more retailers. Comma-separated retailer IDs (e.g. "kohls,macys"). Use list_retailers to get valid IDs. Omit to search all retailers. | |
| search_query | No | Full-text search over the promotion title and description. | |
| promotion_type | No | Filter by promotion type (e.g. "coupon", "percentage-off", "free-shipping"). | |
| advertiser_name | No | Filter by the advertiser/brand name (exact match). | |
| has_coupon_code | No | If true, only return promotions that include a coupon code. | |
| expiring_within_days | No | Only return promotions ending within this many days from now. |