Search listings
The listings of a Facebook Marketplace page, a category with its filters or a search by keywords, page after page: title, price, town, date, seller and photo of each.
facebook_marketplace/listings/search1 credit a callv1.1.0When to use it
You have a Facebook Marketplace page, a category with the filters you set on it (New York's cars from 2018 under 80,000 miles, newest first: facebook.com/marketplace/nyc/vehicles/?minYear=2018&maxMileage=80000&sortBy= creation_time_descend) or a search (facebook.com/marketplace/nyc/search/?query=iphone 15), and need its listings as Facebook ranks them: each one's id and page, title (a car's, Facebook's own from the vehicle, and the seller's), the line under it (a car's mileage), price and the price it was before, town and state, when it was listed, the delivery offered, its seller's name and id, and its photo. The page's address is the search: set the city, the category and the filters on Facebook, and pass the address. No Facebook account is needed: the listings are read as a visitor signed out sees them. For everything one listing says (its description, a car's make, model, mileage and more, its photos), use facebook_marketplace/listings/get with its id.
Try it
The options on the left write the call; the answer on the right is the contract's example. With your API key, the same call returns live data.
curl https://api.lobstr.io/v2/run \ -H "Authorization: Bearer $LOBSTR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": "facebook_marketplace", "operation": "listings/search", "options": { "search": "https://www.facebook.com/marketplace/nyc/vehicles/?minYear=2018&maxMileage=80000&sortBy=creation_time_descend" } }'
An example answer, from the contract. Run it on your own input with your API key.
{ "object": "run", "id": "run_ljqhboluvsigpqqpjx6olreqhq", "livemode": true, "source": "facebook_marketplace", "operation": "listings/search", "version": "1.1.0", "schema_url": "https://api.lobstr.io/v2/catalog/facebook_marketplace/listings/search", "options": { "search": "https://www.facebook.com/marketplace/nyc/vehicles/?minYear=2018&maxMileage=80000&sortBy=creation_time_descend" }, "fields": null, "status": "succeeded", "count": 1, "has_more": false, "next": null, "cost": { "credits": 1 }, "results": [ { "object": "listing", "id": "2406531830150644", "position": 1, "url": "https://www.facebook.com/marketplace/item/2406531830150644/", "title": "2015 Volvo VNL670", "custom_title": "2015 Volvo vnl670", "subtitles": [], "price": { "amount": 11000, "text": "$11,000" }, "original_price": null, "location": { "city": "Port Reading", "state": "NJ", "city_page": { "id": "1423489081204522", "name": "Woodbridge, New Jersey" } }, "category_id": "807311116002614", "created_at": "2026-11-24T12:18:31Z", "is_live": true, "is_pending": false, "is_sold": false, "is_hidden": false, "is_partner": null, "is_job": null, "outside_search": false, "delivery_types": [ "IN_PERSON" ], "seller": { "id": "pfbid0Qs2H4NqC48R8NEePcXp4s9UfTebksbkALmZbGrrwby1fhPJy2zmnEVW1kTDGZNuwl", "name": "Vincenza Ciaramella", "type": "User" }, "photo": { "id": "10245701553656305", "url": "https://scontent.xx.fbcdn.net/v/t39.30808-6/924677812_10245701554376323_8223080080459804305_n.jpg" }, "video_id": "1146253144814845", "source_url": "https://www.facebook.com/marketplace/nyc/vehicles/?minYear=2018&maxMileage=80000&sortBy=creation_time_descend", "observed_at": "2026-11-24T12:30:00Z" } ] }
Options
searchstringrequiredaccount (account_required without). One listing's page is refused, and so is Marketplace's home (invalid_search).accountstringlocalestringDefault encursorstringnext in an answer, as it is: opaque, and only for the search it was given with (otherwise invalid_cursor).Record
Each record of results, in the envelope every call returns (Run an operation).
objectstringidstringpositionintegerurlstringtitlestringcustom_titlestringsubtitleslistprice.amountfloatprice.textstringlocale: $11,000, 40 €.original_price.amountfloatoriginal_price.textstringlocation.citystringlocation.statestringlocation.city_page.idstringlocation.city_page.namestringcategory_idstringcreated_atdateis_livebooleanis_pendingbooleanis_soldbooleanis_hiddenbooleanis_partnerbooleanaccount only, null signed out.is_jobbooleanoutside_searchbooleandelivery_typeslistseller.idstringseller.namestringseller.typestringphoto.idstringphoto.urlstringvideo_idstringsource_urlstringobserved_atdateErrors
Its own, besides those of every call (Errors). A failed call is free.
| Code | Status | What it means |
|---|---|---|
invalid_search | 422 | Pass the address of a Marketplace category or search (facebook.com/marketplace/nyc/vehicles/?...), and a locale Facebook speaks. |
account_required | 422 | Facebook shows this page to logged-in visitors only (Home Sales). Connect a Facebook account with POST /v2/accounts {"site": "facebook", "cookies": ...} and pass its account (https://docs.lobstr.io/accounts). |
account_rate_limited | 429 | This Facebook account cannot read right now: it pauses a few seconds between two calls, makes 1,000 a day, and Facebook can slow it down. retry_after says when it can again, in seconds. Retrying before then gets this same answer: nothing is queued. Leave account out to read signed out. Retryable. |
account_unusable | 409 | Facebook logged this account out or asks it a security check. Open facebook.com in the browser the account comes from, then connect it again with POST /v2/accounts and fresh cookies (the same account keeps its id). |
site_unavailable | 503 | Facebook did not answer properly; retry later (not charged). Retryable. |
unexpected_answer | 424 | Facebook answered in a shape we do not read yet; we are told and fix it (not charged). |
Price
1 credit per page of listings (24, then 10 a page in a category and 24 in a search). An empty page and a failed call are free. What a credit costs on each plan: Credits and pricing.
Each connected account makes one call every 4 seconds, plus 0 to 3 seconds and 1000 a day; a busy account answers at once with account_rate_limited and retry_after.
Changelog
1.1.02026-11-24account: read the list with a connected Facebook account. New field is_partner: a listing from one of Facebook's partners (a retailer's or a dealer's feed), said to a logged-in visitor; null signed out. New field outside_search: the listings Facebook gives from outside the search, which no longer ends the list.1.0.02026-11-24