facebook_marketplace_search
Search Facebook Marketplace listings by location and query or category to get titles, prices, cities, and thumbnails from the first page of results.
Instructions
Search Facebook Marketplace. Fetches Facebook Marketplace search or browse results for a location: listing id, title, price, city/state, and a thumbnail image per result. Only the first page Facebook's own server-rendered results page returns is available — Facebook's own further pagination requires a logged-in session and is out of scope. Omit both query and category to get the location's browse feed instead of running a search. minPrice, maxPrice, sortBy, daysSinceListed, and condition only take effect alongside a query or category (Facebook itself ignores them on the plain browse feed), except for the property_rentals category, which has its own always-filtered listing page. This endpoint can take noticeably longer than other search endpoints (up to roughly a minute in the slowest case) as it retries to get past an intermittent upstream condition; priced accordingly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Free-text search terms; omit (with category) for the location's browse feed | |
| sort_by | No | Result order; requires query or category | |
| category | No | Marketplace category | |
| location | Yes | Facebook Marketplace location vanity slug | |
| condition | No | Comma-separated listing conditions; requires query or category | |
| max_price | No | Maximum price in whole currency units; requires query or category | |
| min_price | No | Minimum price in whole currency units; requires query or category | |
| days_since_listed | No | Restrict to listings posted within this many days; requires query or category |