Facebook Marketplace: 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.
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.0.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, "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" } ] }
30 fields per listing
Every call returns them for each record, in the results of its JSON answer.
Search listings
30 fields- object
- text
- listing
- id
- id
- The listing's id on Facebook (its page: facebook.com/marketplace/item/<id>), for facebook_marketplace/listings/get.
2406531830150644- position
- number
- Its rank in the list, from 1, the pages before included.
- 1
- title
- text
- The title Marketplace shows; for a car, Facebook's own from the vehicle (2015 Volvo VNL670).
- 2015 Volvo VNL670
What it costs
Billed by the call: 1 credits, whatever the page holds (up to 24 listings). Pick how many calls a month.
1 credit a call
Calls a month
100
Built to run
Every call counts; a day is green at 99.5% successful.
- Successful calls
- 100.00%
- Median call
- 3.8 s
A call fails when the site does not answer or we cannot read its answer; a wrong input is not counted.
Frequently asked questions
What people ask before calling facebook_marketplace/listings/search.
Search listings
When do I 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= creationtimedescend) 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.
What do I give it?
search(required): The address of a Marketplace page as the browser shows it, from facebook.com, m.facebook.com or web.facebook.com: a category with its filters (facebook.com/marketplace/nyc/vehicles/?minYear=2018&sortBy= creationtimedescend), or a search (facebook.com/marketplace/nyc/search/?query=iphone 15&maxPrice=600). The filters are Facebook's, as its page writes them in the address. Every category of Marketplace is read, its rentals included (checked on its 18 on 24/11). One listing's page is refused, and so are Marketplace's home and Home Sales, which Facebook serves as its home to a visitor signed out (invalid_search).locale: The language of Facebook's own words: a price as written ($11,000, 11 000 $US). A title is its seller's.
What does it return?
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. Every record has the same fields, empty ones included: they are all listed above.
How do I get the next page?
Each answer ends with next: the following call, whole. Send it as it is; it is null after the last page. A page holds 24 records at most.
Pricing
What does a call cost?
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.
When is a call free?
- an empty page (past the end, or nothing found)
- a call that fails
Errors
What can go wrong?
invalid_search(422): Pass the address of a Marketplace category or search (facebook.com/marketplace/nyc/vehicles/?...), and alocaleFacebook speaks.site_unavailable(503, retry): Facebook did not answer properly; retry later (not charged).unexpected_answer(424): Facebook answered in a shape we do not read yet; we are told and fix it (not charged).
How long can a call take?
30 seconds at most by default, up to 60 with timeout_s. A call past it answers timeout (408), is not charged, and can be sent again.
API and agents
Can my AI agent run it?
Yes: connect the lobstr.io MCP server (https://api.lobstr.io/v2/mcp, your API key as a Bearer token); its run_operation tool runs facebook_marketplace/listings/search. Its page for agents, in Markdown: facebook_marketplace/listings/search.md.
Where is its full description?
The contract, as JSON: https://api.lobstr.io/v2/catalog/facebook_marketplace/listings/search: every option, every field, the price and the errors. This page is drawn from it.
Ready to call it?
An API key in a minute, then the call above, from your code or your agent.