fetch_feed
Retrieve the post feed for a specified Arabic category tag on Haraj.com.sa, with optional city, pagination, and image/video filters.
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 | Arabic category/tag name, e.g. 'حراج السيارات' (cars) or 'حراج الأجهزة' (devices). | |
| city | No | Single Arabic region name to filter by, e.g. 'الشرقيه'. | |
| full | No | Return full Post objects instead of compact summaries. | |
| page | No | Zero-based page index. | |
| limit | No | Number of posts to return (clamped to 1-100). | |
| cities | No | List of Arabic region names to filter by (multi-city). | |
| only_with_image | No | Only return posts that have at least one image. | |
| only_with_video | No | Only return posts that have a video. | |
| before_update_date | No | Pagination cursor in Unix seconds — pass the last item's updateDate to get the next page. | |
| order_main_by_post_id | No | Order the main feed by post id instead of update date. |