FACEBOOK SCRAPER API

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
Terminal
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
}'
[ REQUEST AND RESPONSE ]

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

200 OK · application/json
{
"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"
]
}
]
}
}
[ USE CASES ]

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.

[ FAQ ]

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.

Try the Facebook Marketplace API

100 free credits on business email, no card. Your first call takes a minute.

APIMCPSDKCLI
free credits

On business email signup. No credit card required.

Start free with 100 credits