Is there a Facebook Marketplace API?

Checked on 2026-11-19.

Not a public one. Meta documents two interfaces to Marketplace, and neither is open to an ordinary developer: a partner API for publishing listings, and a research library that can search public listings from inside a controlled research environment. For searching listings from your own code there is no official route. Here is what exists, who can use it, and what an unofficial HTTP API returns.

What Meta documents: an API for partners to publish listings

The Marketplace Platform section of Meta's developer documentation lists one product, Marketplace Partnerships: "Enable partners to distribute their products on the Facebook platform." It has two APIs.

  • Product Item API: "How to upload, update, or delete products on Facebook Marketplace". A call is a POST to /{product-catalog-id}/items_batch with up to 300 items, each with the method CREATE, UPDATE or DELETE, and the page asks for no more than 30 calls per minute.
  • Seller API: "How to upload, update, or delete sellers on Facebook Marketplace". Every product in a partner's catalogue must have a seller.

Both write a partner's own catalogue. Neither page describes a call that searches Marketplace or reads other sellers' listings.

Who is a partner? Meta's announcement of 13 February 2025 launched the Facebook Marketplace Partner Program "to enable eligible third-party partners to distribute listings on Facebook Marketplace to users in the European Economic Area", and it says whom it means: "online classified ad service providers as defined in the European Commission's decision". In May 2025 Meta named Catawiki and Vendora as the first European partners. A test with eBay had started that January.

Where it stops: if you run a classifieds platform with consumer-to-consumer listings, this programme is your route. It is not an API for a seller's own Marketplace account, and it does not read listings.

The official search: Meta Content Library, for researchers

Meta does have a search over Marketplace listings, in the Meta Content Library API. Its data includes "Public listings on Facebook Marketplace from Pages or profiles", and the search takes keywords, categories, countries, a price range and a sort order. This search is put together from the examples in Meta's guide:

Python
from metacontentlibraryapi import MetaContentLibraryAPIClient as client

client.set_default_version(client.LATEST_VERSION)
response = client.get(
    path="facebook/marketplace-listings/preview",
    params={"listing_countries": ["US"], "price_max": "10000", "q": "rentals"},
)
display(response.json())  # Display first page

Where it stops: it is for research, and it does not run on your server. To be eligible, "applicants must be affiliated with a qualified academic institution or a qualified non-academic research institution", both of them not-for-profit. An independent body reviews each application. The API is used from a notebook in Meta's Secure Research Environment or in an approved third-party cleanroom, and Meta charges no fee for access or computation in its own environment. For a study of Marketplace it is the right route. For a price tracker or a resale tool it is not available.

Searching listings from your own code

Pipefetch has a Marketplace search as one HTTPS request: a search term and a place in, the listings Facebook shows near that place out, as JSON. It returns what Marketplace shows a visitor who is not logged in. It is an independent service, not an official API, and it is not affiliated with or endorsed by Meta.

Python
import os
import requests

res = requests.get(
    "https://pipefetch.com/v1/facebook/marketplace",
    params={"q": "bike", "location": "10001", "sort": "newest", "maxPrice": 200},
    headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
    timeout=90,
)
if res.status_code == 404:
    print(res.json()["error"]["code"])  # no_results or location_not_found: not charged
else:
    res.raise_for_status()
    data = res.json()["data"]
    print("Searched around:", data["search"]["location"])  # check that it is the place you meant
    for item in data["listings"]:
        print(item["priceFormatted"], item["title"], item["city"], item["url"])

Each listing has its title, the price as a number and as Facebook writes it, the currency, the earlier price of a listing that was marked down, city and state, the time it was listed, one photo, whether it is available, pending or sold, the seller's public name, how the item changes hands and whether shipping is offered.

The filters are a price range (minPrice and maxPrice, in whole units of the local currency) and four orders: best, newest, price_low and price_high. A search returns up to 20 listings and costs 1 credit whatever the limit. A new account has 100 free credits and needs no card. The reference lists every parameter and field.

Name the place with a postal code

The location parameter is text, and Facebook decides which place it means. A postal code is the dependable way to say it: 10001 was understood as "New York, NY". A city name works too, but Facebook can match it to a smaller place with a similar name: in an earlier run of ours, "New York, NY" became New City, New York.

Whatever you send, search.location in the answer says which place Facebook understood, so check it before you trust the prices. The area searched around that place is Facebook's choice, and a radius cannot be set. A location Facebook knows no place for answers 404 location_not_found, a search that finds nothing answers 404 no_results, and neither is charged.

What it leaves out

A search returns what Marketplace shows in its list of results. Descriptions, further photos, exact coordinates, item condition and seller ratings are on each listing's own page and are not included; url is the address of that page. There is no category filter, no radius and no second page of results. And it only reads: it cannot publish a listing, change one or message a seller.

Which one is for you?

You areUse
A classifieds platform that wants its listings on MarketplaceThe Marketplace Partner Program, with its Product Item and Seller APIs
A researcher at a university or a not-for-profit research instituteMeta Content Library API
A developer who needs current listings and prices in codeAn unofficial HTTP API such as Pipefetch
A seller who wants to manage their own listings by APIMeta documents no API for this

Listings are posted by people

A listing carries the public name of its seller and, for some sellers, a link to their Marketplace profile. When the seller is a person, that is personal data under laws such as the GDPR, whichever route fetched it. Price research needs the items and the prices, not the sellers: leave the names out of what you store.

Meta's terms of service say you "may not access or collect data from our Products using automated means (without our prior permission)". The partner API and the Content Library come with that permission. An unofficial route does not, and you are responsible for how you use what it returns.

Try it with 100 free credits. No card needed. No scraper to build or maintain. Get an API key or read the docs.

Every source

YouTube

Instagram

Websites

TikTok

Google

Threads

LinkedIn

App stores

Steam

X

Pinterest

Airbnb

Real estate

Keywords

Job boards

Eventbrite

Shopify stores

Public tenders

All guides