Skip to content
OperationsFacebook 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.

facebook_marketplace/listings/search1 credit a callv1.1.0

When 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.

It runs with one of your own Facebook Marketplace accounts, connected once: Accounts.

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.

1Request
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= creation_time_descend), or a search (facebook.com/marketplace/nyc/search/?query=iphone 15&maxPrice=600).
A connected Facebook account to read with (partner listings come back marked with one), connected with POST /v2/accounts {"site": "facebook", "cookies": ...} (GET /v2/accounts lists yours).
The language of Facebook's own words: a price as written ($11,000, 11 000 $US).
Where to go on, from next in an answer, as it is: opaque, and only for the search it was given with (otherwise invalid_cursor).
1 credit a call
Code, from the fields above
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"
    }
  }'
2Response

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

searchstringrequired
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= creation_time_descend), 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, signed out and with an account). Home Sales is shown to logged-in visitors only: it needs an account (account_required without). One listing's page is refused, and so is Marketplace's home (invalid_search).
accountstring
A connected Facebook account to read with (partner listings come back marked with one), connected with POST /v2/accounts {"site": "facebook", "cookies": ...} (GET /v2/accounts lists yours). Left out, the call goes out signed out, as a visitor's browser: never an account taken in silence.
localestringDefault en
The language of Facebook's own words: a price as written ($11,000, 11 000 $US). A title is its seller's.
cursorstring
Where to go on, from next 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).

objectstring
idstring
The listing's id on Facebook (its page: facebook.com/marketplace/item/), for facebook_marketplace/listings/get.
positioninteger
Its rank in the list, from 1, the pages before included.
urlstring
The listing's page.
titlestring
The title Marketplace shows; for a car, Facebook's own from the vehicle (2015 Volvo VNL670).
custom_titlestring
The title the seller wrote, when Facebook shows its own (a car's).
subtitleslist
The lines under the title: a car's mileage (1.1K miles), a home's street and town (12th Ave, Paterson, NJ).
price.amountfloat
price.textstring
As the page writes it, in locale: $11,000, 40 €.
original_price.amountfloat
original_price.textstring
location.citystring
Port Reading.
location.statestring
NJ; a region elsewhere (IDF).
location.city_page.idstring
location.city_page.namestring
Woodbridge, New Jersey.
category_idstring
Facebook's id of its category (807311116002614: vehicles).
created_atdate
When it was listed, UTC.
is_liveboolean
Whether it is up on Marketplace.
is_pendingboolean
is_soldboolean
is_hiddenboolean
is_partnerboolean
A listing from one of Facebook's partners (a retailer's or a dealer's feed); with an account only, null signed out.
is_jobboolean
A job offered rather than a thing sold, as Facebook marks it; null when it does not say.
outside_searchboolean
Whether Facebook gives it from outside the search, under "Results from outside your search": when the search has nothing of its own (or nothing more), Facebook goes on with listings from farther away or of other kinds.
delivery_typeslist
IN_PERSON, PUBLIC_MEETUP, SHIPPING...
seller.idstring
Facebook's id of the seller for a visitor signed out (pfbid...).
seller.namestring
seller.typestring
User, or Page for a business.
photo.idstring
photo.urlstring
video_idstring
Its video's id, when it has one.
source_urlstring
The Marketplace page, where a person sees these listings.
observed_atdate
When it was read, UTC.

Errors

Its own, besides those of every call (Errors). A failed call is free.

CodeStatusWhat it means
invalid_search422Pass the address of a Marketplace category or search (facebook.com/marketplace/nyc/vehicles/?...), and a locale Facebook speaks.
account_required422Facebook 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_limited429This 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_unusable409Facebook 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_unavailable503Facebook did not answer properly; retry later (not charged). Retryable.
unexpected_answer424Facebook 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-24
account: 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
First version: the listings of a Facebook Marketplace category with its filters (any of its 18, rentals included), or of a search, page after page, read signed out, in the language you ask.