Introducing the Instagram APIRead more →

Facebook Marketplace Search API. Listings matching your search.

Listings by keyword and location, with prices. We handle the proxies, blocks and platform changes.

Facebook Marketplace Search API at a glance

Searches public Facebook Marketplace listings by keyword around a place, given as coordinates or a Marketplace location. Each result has its title, price with the struck-through earlier one, currency, availability, main photo, seller, city, category, the day it was listed and delivery options, and vehicles their mileage. Filter by radius, price, condition, days listed, availability, delivery method and category, and sort by relevance, newest, distance or price.

GET /v1/facebook/search_listings

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 23 typed fields null when unknown
  • 30 listings per page, Marketplace's Suggested order
  • query is all it needs, e.g. couch

Send one request. Get up to 30 listings back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
query = couch
GET /v1/facebook/search_listingsTry in
const params = new URLSearchParams({
  lat: "30.2677",
  lng: "-97.7475",
  query: "couch",
});
const res = await fetch(`https://socialtap.dev/v1/facebook/search_listings?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, page, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/facebook/search_listingsLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 3 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field Facebook Marketplace doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    Keywords to search listings for. Marketplace also returns close matches.

  • Write one parser

    Facebook Marketplace, Amazon and TikTok Shop answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktokshop, facebook, …).
idstring
Platform-native product or listing ID (string).
urlstring
Canonical product page URL.
typestring
product: a catalog product a shop sells in many units, often in variants (TikTok Shop, Instagram and YouTube shopping); listing: a single item a person or business lists for sale (Facebook Marketplace). New values may be added; treat unknown values as product.
titlestring
Product name or listing title, as the seller wrote it.
descriptionstring
Description as plain text (paragraphs separated by blank lines); null when it has none or the source does not show it (lists and search results).
categorystring
The platform's most specific category label (Bicycles, Vitamins & Supplements), as shown; not normalized across platforms.
category_idstring
The platform's ID of that category (what its category browsing and filters take).

What teams build with the Facebook Marketplace Search API.

  • Find underpriced items to resell

  • Compare a product's local prices across cities

  • Monitor new listings for a keyword nearby

  • Build used-goods and vehicle price datasets

Good to know before you build.

  • Every search needs a place: lat and lng, or location.
  • Results show what a Marketplace results page shows. Description, condition, more photos, coordinates and the seller's rating come from the Facebook Marketplace Listing API, sent each result's url.
  • Each listing's currency is read from its price as shown, since a price can be in another currency than the place's.
  • A page holds as many listings as Marketplace served, which varies: fewer than limit is not the end of the list, and has_more says whether more follow.
  • A limit below the default splits one Marketplace page over several requests, and Marketplace can reorder that page in between, so a walk with a small limit can repeat or skip a listing. The default limit avoids it.
  • Marketplace widens a search with few results, so results can be close matches of the keywords and from beyond radius_km.
  • newest sorts by day, so later pages can hold listings newer than earlier ones.
  • period is Marketplace's own filter, which counts more than the day a listing was first posted: a result's published_at can be earlier than the window.

1 credit per page. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful pagePer 1,000 pages
Platform API api1 credit$0.75–$1.97
Public page page1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the Facebook Marketplace Search API.

More in the API reference.

How do I search around a city?
Send its name as Marketplace writes it in links (austin, nyc) as location, or a Marketplace link of the place, or the location_id of any listing there. The Facebook Marketplace Location Search API finds a place's ID by name, and any latitude and longitude works too.
Which currency are min_price and max_price in?
The local currency of the place you search, in major units: 100 near Tokyo means 100 yen.
How much does the Facebook Marketplace Search API cost?
A page of up to 30 listings costs 1 credit. Every successful page is charged, empty pages included. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.
How do I get the next page?
Repeat the same request with cursor set to page.next_cursor from the previous response, keeping the other parameters. When page.has_more is false there are no more pages. Cursors expire after 3 hours.

Try it with your own search.

Type it in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs