Facebook Marketplace API
Search Facebook Marketplace listings around a location, optionally within a price range. Each listing includes its title, price, original price, city, photo, seller, date, sold state and delivery options. Page through the results with `cursor`.
- Endpoint
- POST /facebook/search/marketplace
- Price
- 1 credit per request
- SDK
- client.facebook.searchMarketplace()
- MCP tool
- facebook_search_marketplace
curl -X POST "https://api.bridgly.app/facebook/search/marketplace" \ -H "Authorization: Bearer $BRIDGLY_KEY" \ -H "Content-Type: application/json" \ -d '{ "query": "electric bike", "latitude": 40.7142, "longitude": -74.0064, "radiusKm": 40, "count": 10}'import osimport requestsresponse = requests.post( "https://api.bridgly.app/facebook/search/marketplace", headers={"Authorization": f"Bearer {os.environ['BRIDGLY_KEY']}"}, json={ "query": "electric bike", "latitude": 40.7142, "longitude": -74.0064, "radiusKm": 40, "count": 10, },)data = response.json()const response = await fetch("https://api.bridgly.app/facebook/search/marketplace", { method: "POST", headers: { Authorization: `Bearer ${process.env.BRIDGLY_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "query": "electric bike", "latitude": 40.7142, "longitude": -74.0064, "radiusKm": 40, "count": 10 }),});const data = await response.json();import { Bridgly } from "@bridgly/sdk";const client = new Bridgly({ apiKey: "bgly_YOUR_KEY" });const res = await client.facebook.searchMarketplace({ query: "electric bike", latitude: 40.7142, longitude: -74.0064, radiusKm: 40, count: 10});if (res.type === "success") { console.log(res.data);}What does the Facebook Marketplace API return?
Search Facebook Marketplace listings near any location as JSON: title, price, original price, city, photo, seller, date and delivery options. Every response has the same envelope: the result in data, plus timeMs and the creditsCost of the call.
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
querystringrequired- What to search for, e.g. "electric bikes".
latitudenumber · -90–90required- Latitude of the place to search around, e.g. 40.7142.
longitudenumber · -180–180required- Longitude of the place to search around, e.g. -74.0064.
radiusKminteger · 1–500 · default 65- Search radius in kilometers (1–500). Defaults to 65. Facebook shows listings inside it first and can add listings from farther away when few nearby listings match.
minPriceinteger- Lowest price, in the local currency.
maxPriceinteger- Highest price, in the local currency.
countinteger · 1–10 · default 10- Number of results to return (1–10). Defaults to 10.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Example response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "nextCursor": "string", "listings": [ { "id": "string", "url": "string", "title": "string", "price": { "amount": 0, "formatted": "string" }, "originalPrice": { "amount": 0, "formatted": "string" }, "city": "string", "cityPage": { "id": "string", "name": "string" }, "categoryId": "string", "subtitles": [ "string" ], "imageUrl": "string", "seller": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" }, "createdAt": "string", "isSold": true, "isPending": true, "deliveryTypes": [ "string" ] } ] }}What can you build with the Facebook Marketplace API?
Price research
See what items sell for in a city.
Deal alerts
Find new listings under a price in your area.
Market analysis
Compare supply and prices of a product across cities.
Facebook Marketplace API questions
How do I choose the location?
Send the latitude and longitude to search around and an optional radius in kilometers; the Facebook location search returns them for any city. Facebook lists nearby listings first and can add listings from farther away when few nearby ones match. Prices filter in the local currency.
How do I use the Facebook Marketplace API?
Send a POST request to https://api.bridgly.app/facebook/search/marketplace with query, latitude and longitude in the JSON body and your API key in the Authorization header. In the TypeScript SDK, call client.facebook.searchMarketplace(). AI agents connected to Bridgly over MCP can call the facebook_search_marketplace tool.
How much does the Facebook Marketplace API cost?
Costs 1 credit per request. Credits cost $2.00 per 1,000 on pay-as-you-go and as low as $1.67 per 1,000 at volume. New accounts on a business email start with 100 free credits, and failed requests are never charged.
More Facebook endpoints
The same API key works on every endpoint. See all Facebook Scraper API endpoints.
- Facebook Marketplace Item API→Get a Facebook Marketplace listing as JSON: title, description, price, condition, every photo, location, seller and status.
- Facebook Profile API→Get a Facebook profile or Page as JSON: name, bio, category, follower count, verified badge, intro details, websites and pictures, from a link or username.
- Facebook Posts API→List the posts of any public Facebook profile or Page as JSON, newest first: text, photos, videos, links, reactions by type, comment and share counts.
- Facebook Photos API→List the photos a Facebook profile or Page posted, as JSON: full size image URL, dimensions, photo link and the image description, page after page.
Try the Facebook Marketplace API
100 free credits on business email, no card. Your first call takes a minute.