Facebook Marketplace API: Listings as JSON | FetchLayer

2,881,965 served today 41 platforms

Unofficial Third-party API
5 endpoints live

Marketplace listings.
Around any place.

Listings & prices Any city or point Vehicles Rentals Full listing detail

One key returns Facebook Marketplace listings by search or category around any city or point, with price, condition and delivery, and any listing in full with vehicle and rental details, all as typed JSON.

Start building free
Free tier included No credit card No scraper maintenance

Trusted by developers shipping real products.

POST /facebook-marketplace/search-listings
200 OK

Request

$ curl -X POST \
  https://api.fetchlayer.dev/facebook-marketplace/search-listings \
  -H "Authorization: Bearer ss-your-key" \
  -H "Content-Type: application/json" \
  -d '{"query":"road bike","city":"london","maxPrice":400}'

Response

{
  "listings": [{
    "title": "Example road bike, 54 cm frame",
    "price": { "amount": 250, "currency": "GBP" },
    "location": { "city": "London" },
    "status": "available", "postedAt": "2026-11-24T09:15:00Z"
  }, …23 more],
  "listingCount": 24,
  "hasMore": true, "nextCursor": "z.eJyrVk…"
}

Used by developers at

Individual developers or teams — not official partnerships

Built for feedback workflows

Fetch the public signal. Use it wherever your team works.

Any city or point

Search around a named city or any latitude and longitude, with a radius up to 500 km.

The filters buyers use

Price range, condition, posted within 1, 7 or 30 days, pickup or shipping, a category, and sort by newest, price or distance.

A listing in full

Description, condition, attributes, shipping price and every photo, read by link or id.

Vehicle details

Make, model, year, mileage, transmission, fuel, and whether a dealer or a private seller lists it.

Rental details

Price, postal code and walk, transit and bike scores for rentals.

Newest first, for alerts

Sort by newest and page with a cursor to catch a listing the hour it appears.

Photos you can download

Every photo of a listing, and a route that streams one by the link a result gave.

Any link, resolved for free

Hand /resolve-url a Marketplace link and it tells you the tool and arguments that read it, filters included.

FetchLayer Research Chat

Find the deals, then export them.

Prefer not to write code? Ask FetchLayer Research Chat for an item around a city and get the listings compared, with a clean table to download.

  • ✓Ask questions in plain English
  • ✓Analyze themes, sentiment, and pain points
  • ✓Download the structured results as CSV or JSON
Search Marketplace in Chat

No code or setup required · Uses your FetchLayer credits

Facebook Marketplace research

Find used road bikes under £400 for sale around London this week, compare price and condition, list the 20 best value with their links, and export as CSV.

Y

I searched the newest listings around London under £400 and read the promising ones in full. The table lists the 20 best value with price, condition, area and link. It is ready to download.

marketplace-road-bikes.csv

20 listings · 7 columns · ready to download

CSV

From raw feedback to action

One request is the start of the workflow.

Store the structured response, run it on a schedule, pass it to an LLM, or feed it into the system your team already uses. FetchLayer handles retrieval so you can focus on the outcome.

  1. 01

    Pick a place

    A city from /locations, or any point and a radius.

  2. 02

    Search or browse

    Words with filters, or a category such as vehicles or rentals, newest first when you are watching.

  3. 03

    Read the ones that matter

    Pull a listing in full for its description, condition, photos and vehicle or rental details. Store what you read: listings change and vanish within days.

One command. Your agent does the rest.

Use the Facebook Marketplace endpoint directly from your MCP-compatible agent. Ask it to retrieve public feedback, identify patterns, and turn the result into a useful brief without writing integration glue.

Claude Code Codex

1 Run one command, then sign in

$ npx fetchlayer

◇  Agents

│  Claude Code and Codex

◇  Signed in as you@company.com

◇  Connected

│  ✓ Claude Code  ✓ Codex

It opens a sign-in page in your browser. New here? Signing in creates your free account.

2 Ask

›Find used road bikes under £400 for sale around London this week, and tell me which look like the best value.

fetchlayer.facebook_marketplace_search_listings

The search returns the newest listings around London under £400, each with price, condition and area. Reading the three most promising in full gives their descriptions and photos, and the comparison picks the best value. Four requests.

No key to copy and nothing to install. New accounts are free, with no credit card.

How it works
The same command connects
Cursor
VS Code
Antigravity
OpenCode
Hermes
ChatGPT, Perplexity, the Claude app and others

Use cases

What teams build with Marketplace data.

Same API, many applications. Here is what teams ship with Marketplace listings.

01

Local price research

Search an item around a city and read what it really sells for nearby, by condition and age, before you price your own.

pricingresearch
02

New-listing alerts

Search newest first on a schedule and act on a listing the hour it appears, before the good ones are gone.

alertscron
03

Used-car market data

Browse vehicles around a city and read each listing’s make, model, year, mileage and whether a dealer or a private seller lists it.

vehiclesdatasets
04

Rental market snapshots

Read the rentals listed around an area with their prices and walk, transit and bike scores, and store them to see the market move.

rentalsdatasets
05

Resale sourcing

Find underpriced stock across cities, with the filters a reseller uses: price range, condition and pickup or shipping.

resaleresearch
06

Agent workflows

Give an AI agent the Marketplace tools so it can search, compare and summarise listings in one conversation.

agentsmcp

Compare approaches

Spend time on the insight, not the collection layer.

What you needFetchLayerOfficial APIBuild it yourself
Public listings with no Facebook account✓n/aYou maintain it
Any city or point, with a radius✓n/aYou build it
One record shape on every route✓n/aYou design it
Partial results explained, not silent✓n/aYou detect it
Ready for AI and MCP workflows✓n/aYour integration

FetchLayer provides access to publicly available data. It is not affiliated with, endorsed by, or sponsored by the platform.

Start free. Scale when ready.

Try it free, buy credits as you go, or take a monthly plan when your volume is steady.

Free

30 requests
  • Every platform and endpoint
  • REST and MCP
  • No credit card

You pay

$0

30 req × $0
$0
credit card
none
Start free

Pay as you go

never expire
  • No monthly commitment
  • Same access as subscribers
  • ∞ req/min, ∞ API keys

You pay

$1.99per 1,000

1,000 req × $1.99/1k
$1.99
monthly fee
$0
expires
never
Get API key

Monthly plan

Starter

15,000

  • ∞ req/min, ∞ API keys

You pay

$25per month

15,000 req × $1.67/1k
$25/mo
on credits × $1.99/1k
$29.85
you save
$4.85/mo
Get started
  • One page fetched costs one credit.
  • A request that returns no usable data costs 0 credits.
Not sure? Book a 15-min call

Not sure which volume fits?

15 minutes with the founder. Tell us the workload, we tell you what it needs.

Book a call

Guaranteed throughput on the platform you run on

A dedicated platform from $400/mo, plus $500 for each ~21 req/s. Every other platform on the same key. 99.95% uptime, 24-hour support on Slack or Telegram.

Build your plan

API reference

Every parameter, documented.

All requests are POST with a JSON body and Bearer auth header.

/facebook-marketplace/search-listings 3 params

Listings matching words around a city or a point, with price, condition, age, delivery and category filters, sorted as you choose.

query* string
Words to search for
city / latitude, longitude string | number
Where; radiusKm 1-500
limit / cursor number | string
Up to 500 listings, 24 to a credit, or resume from nextCursor
/facebook-marketplace/category-listings 1 param

The listings in one category, such as vehicles or rentals, around a place, with a price range.

category* string
A category key such as vehicles
/facebook-marketplace/listing-detail 1 param

One listing in full: description, condition, every photo, and vehicle or rental details.

listing* string
A Marketplace link or listing id
/facebook-marketplace/locations 1 param

The places a search can be centred on by name, with the slug to pass as city. Free.

query string
A place name or part of one
/facebook-marketplace/resolve-url 1 param

What a Marketplace link is, and the tool and arguments that read it. Free.

url* string
Any Marketplace link

Fields marked * are required. Full API reference →

FAQ

Common questions.

What is a Facebook Marketplace API?

Here it means one HTTP endpoint that returns public Facebook Marketplace listings as clean JSON: a search by words or a category around any city or point, and one listing in full. The same routes are MCP tools, so an AI agent can call them too.

Do I need a Facebook account?

No. You send your FetchLayer key and nothing else. FetchLayer is not affiliated with, endorsed by, or sponsored by Meta or Facebook, and the name is used only to identify where the data comes from.

Where can I search?

Around a city (one /locations lists, or the city key of a Marketplace link) or around any latitude and longitude, with a radius up to 500 km. Facebook treats the radius as a guide, so some listings may lie a little outside it.

Which filters are there?

On a search: price range, condition, posted within 1, 7 or 30 days, pickup or shipping, a category, and sort by best match, newest, price or distance. A category feed takes a price range.

What does a listing in full include?

The description, condition, other attributes, every photo, the category, shipping price, an approximate point Facebook publishes for it (never an address), and for vehicles the make, model, year, mileage and whether a dealer or a private seller lists it; for rentals the postal code and walk, transit and bike scores.

What about the sellers?

Most Marketplace sellers are private people. A listing carries the seller’s display name and the photos they posted, and those are personal data: handle them under the rules that apply to you. Seller contact details, profiles and ratings are never returned.

How does billing work?

Searches and category listings are 1 credit per 24 listings returned, minimum 1. A listing in full and each photo download are 1 credit. Places and link lookups are free, and a failed request is not billed.

Can my AI agent use it?

Yes. All 5 routes are MCP tools on the same FetchLayer MCP server, named facebook_marketplace_ plus the route. Tools answer in Markdown by default.

What is not available?

A seller’s other listings, profile, ratings or contact details; an exact address; every listing in an area or a fixed order across runs; a sold-only filter; rooms or size for rentals; permanent photo links (they expire after a few days).

Start pulling Marketplace data today.

Get a free API key, make your first request, and put public feedback to work in your own product or research workflow.