search_marketplace
Search live secondhand listings across Facebook Marketplace, eBay, Depop, and Poshmark by keyword, then filter by price, condition, size, color, or location to compare used items and find sellers.
Instructions
Search live listings on secondhand marketplaces by keyword. Marketplaces: . Returns up to limit listings with id, title, price, location, seller and a thumbnail; call get_listing_details with an id for the description, every photo and shipping. Requirements: Facebook Marketplace needs no credentials but is local, so pass location as "City, ST"; eBay needs EBAY_CLIENT_ID and EBAY_CLIENT_SECRET in the server environment; Depop and Poshmark need Chrome or Chromium on the machine. Behavior: read-only, no login, no purchases. Facebook may rate-limit repeated searches from one IP, and results for a query are cached for 90 seconds. Errors: a marketplace that fails returns success:false with the reason instead of throwing; an unknown marketplace name lists the valid ones; an empty result usually means the query was too specific, so widen the keywords or drop a price bound before concluding nothing exists. Not for: buying, messaging sellers, saved searches, or new-retail catalogs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order (Depop, Poshmark). Options: relevance, newest, most_popular, price_low_to_high, price_high_to_low | relevance |
| brand | No | Filter by brand (Poshmark only). e.g. "Nike", "Levi's", "Gucci" | |
| limit | No | Maximum number of results to return (default: 20). eBay paginates automatically to fetch more than 200 (eBay caps offset + limit at 10,000). | |
| query | Yes | Search query (e.g., "stroller", "iPhone 14", "vintage couch") | |
| sizes | No | Filter by sizes (Depop, Poshmark). Example: ["S", "M", "L"] or ["US 9", "US 10"] | |
| colors | No | Filter by colors (Depop, Poshmark). Options: black, white, red, blue, green, yellow, orange, pink, purple, brown, grey, cream, multi, silver, gold | |
| offset | No | Starting result offset for pagination (default: 0). eBay only; other marketplaces ignore it. | |
| category | No | Product category. Depop: tops, bottoms, dresses, coats-jackets, footwear, accessories, bags, jewellery, activewear, swimwear. Poshmark: use underscore-separated names like Jackets_&_Coats, Dresses, Shoes, Accessories, etc. | |
| location | No | City and state for Facebook Marketplace searches, as "City, ST" — e.g. "Austin, TX", "Portland, OR". Resolve neighborhoods, ZIP codes, metro areas and "near me" to a city and state before calling; a bare city name is ambiguous and may return the wrong state. Non-US: pass city and country. Facebook only — other marketplaces ignore it. | san francisco |
| maxPrice | No | Maximum price filter (optional) | |
| minPrice | No | Minimum price filter (optional) | |
| showSold | No | Include sold/unavailable items in results (default: false) | |
| condition | No | Item condition filter. eBay: new, like_new, good, fair. Depop: new, like_new, excellent, good, fair, used. Poshmark: new (NWT), like_new (NWOT), good, fair. Use "any" for no filter. | |
| department | No | Filter by department (Poshmark only). Options: Women, Men, Kids | |
| marketplace | No | Marketplace to search. Options: , or "all" to search all marketplaces | |
| radiusMiles | No | How far around the location to search, in miles (default 25, max 500). Facebook only. Widen it for a metro area or a rural town. | |
| includeImages | No | Include full image URLs in results (default: false). Use get_listing_details for full photos. |