Facebook Marketplace API — FetchLayer Docs

Facebook Marketplace API v1

Public Facebook Marketplace listings as JSON, from https://api.fetchlayer.dev/facebook-marketplace: search by words or browse a category around any city or point, and read one listing in full with every photo, vehicle details and rental details. FetchLayer is not affiliated with, endorsed by, or sponsored by Meta or Facebook.

OpenAPI JSON

Facebook Marketplace API at a glance

This is the reference: every endpoint, its parameters and the fields it returns. The essentials first.

Returns
Listings by search or category around any place, and one listing in full, as typed JSON.
Endpoints
6 endpoints, grouped as Listings, Listing detail and Utilities. See them all
Request
POST https://api.fetchlayer.dev/facebook-marketplace/<endpoint> with a JSON body.
Auth
Your FetchLayer API key as a Bearer token. One key works for every platform we support. Authentication
Cost
1 credit per page of results a call returns, half price while the API is in beta; the exact figure is on every response. Credits are $1.99 per 1,000 pay-as-you-go, plans start at $25 a month, and new accounts get 30 free requests.
MCP
Also on our MCP server for AI agents, with the same key and the same billing. Connect an agent

What teams use it for, with worked examples: Facebook Marketplace API

Available endpoints

Where a search looks

Marketplace searches around a point. Give a city (a place /locations lists, or the city key of a Marketplace URL) or latitude and longitude, with radiusKm (1-500, default 65). Facebook treats the radius as a guide, so some listings may lie a little outside it. Best-match order is Facebook’s own and changes between runs; to watch for new listings, sort by newest.

People’s data

Most Marketplace sellers are private people. A listing carries the seller’s display name, photos that can show people and homes, a description they wrote, and on detail an approximate point Facebook publishes for the listing (never an address). Treat these as personal data under the rules that apply to you. Seller contact details, profiles and ratings are never returned.

Billing

Search and category listings are 1 credit per 24 listings returned, minimum 1. A listing detail and each photo download are 1 credit. /locations and /resolve-url are free. A failed request is not billed. When your timeoutMs runs out, a listing walk returns what it has and is billed for what it returned.

What this API does not return

  • A seller’s other listings, profile, ratings or contact details.
  • An exact address. Facebook publishes an approximate point, on detail only.
  • Every listing in an area, or a fixed order across runs.
  • A sold-only filter. A listing’s status (available, pending, sold) is returned when shown.
  • Rooms, baths or size for rentals, and a currency code on every card (a bare $ outside the US is null; detail always has the code).
  • Permanent photo links. They expire after a few days; read the listing again for fresh ones.
Product overview Facebook Marketplace API: what it returns, pricing and use cases