Marketplace Search
facebook_marketplace_marketplace_searchSearch Facebook Marketplace listings by keyword and location, then filter and paginate results by price, condition, category, availability, and dates.
Instructions
Searches Facebook Marketplace listings by keyword and lat/lng. Each page contains up to 24 listings. Each listing includes creation_time as an ISO 8601 UTC timestamp when Facebook exposes an exact listing timestamp, plus listing_date_text when available; either field can be null. Pass category_id to restrict results to the numeric Facebook Marketplace category ID returned on listing results. Supports pagination with the returned cursor. Pass the cursor value back as-is. The sort and date filters use the same values as Facebook's Marketplace UI. creation_time_descend usually orders the first pages newest first, but Facebook can insert newer listings on later cursor pages. date_listed uses Facebook's calendar-day buckets, so last_24_hours can include listings from the prior calendar day rather than enforcing an exact rolling 24-hour cutoff. For alerting/new-item workflows, continue paging while has_next_page is true and dedupe by listing id. Potentially consumes paid API credits; requires confirm=true. Read-like POST requests do not publish to social platforms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude for the search location | |
| lng | Yes | Longitude for the search location | |
| query | Yes | Search keyword | |
| cursor | No | Opaque pagination cursor returned from the previous response. Pass it back as-is. | |
| account | No | Named private ScrapeCreators account; selects credentials, not a remote account ID. | |
| confirm | No | Must be true for the specific approved credit-consuming research call. | |
| sort_by | No | Facebook Marketplace sort option. creation_time_descend usually orders the first pages newest first, but Facebook can insert newer listings on later cursor pages. | |
| condition | No | Condition filter | |
| max_price | No | Maximum listing price | |
| min_price | No | Minimum listing price | |
| radius_km | No | Search radius in kilometers | |
| category_id | No | Numeric Facebook Marketplace category ID. Listing results include this value as category_id. | |
| date_listed | No | Facebook Marketplace date filter. Uses the same calendar-day buckets as the UI, so last_24_hours can include listings from the prior calendar day. | |
| availability | No | Availability filter | |
| delivery_method | No | Delivery filter |