fetch_feed
Fetch post feeds from Haraj classifieds by category tag, with filters for city, images, video, and pagination. Returns compact or full post details and next-page cursor.
Instructions
Fetch the post feed for a tag (the homepage + category pages). Required: tag (Arabic category name like 'حراج السيارات' or 'حراج الأجهزة'). Optional: city (Arabic region like 'الشرقيه'), cities (list of regions), page (default 0), limit (default 21), before_update_date (Unix seconds cursor — pass the last item's updateDate to get the next page), only_with_image (default true), only_with_video (default false), order_main_by_post_id (default false), full (return full Post objects, default false = compact). Returns {count, has_next_page, view_options, posts}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | ||
| city | No | ||
| full | No | ||
| page | No | ||
| limit | No | ||
| cities | No | ||
| only_with_image | No | ||
| only_with_video | No | ||
| before_update_date | No | ||
| order_main_by_post_id | No |