Facebook Marketplace Search API
Scrape Facebook Marketplace Search data with one API call. Searches Facebook Marketplace listings by keyword + lat/lng with price, condition, delivery, and date-listed filters. Forward the returned cursor for additional pages. With `sort_by=creation_time_descend`, FB may return slightly different ordering across identical requests — for alerting workflows, scrape multiple pages and dedupe by listing id rather than assuming stable order.
Last updated July 2026Maintained by the SocialCrawl team
Try the Facebook Marketplace Search API
See real data before writing a single line
Searching 44 platforms in parallel
What can you do with the Marketplace Search API?
The Marketplace Search endpoint gives you structured Facebook data with computed fields in a single request. No scraping infrastructure to build or maintain.
Example Request
curl -H "x-api-key: YOUR_API_KEY" \
"https://www.socialcrawl.dev/v1/facebook/marketplace/search?query=bike&lat=40.7128&lng=-74.0060"import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/facebook/marketplace/search",
params={
'query': 'bike',
'lat': '40.7128',
'lng': '-74.0060',
},
headers={"x-api-key": "YOUR_API_KEY"},
)
data = response.json()const response = await fetch(
"https://www.socialcrawl.dev/v1/facebook/marketplace/search?query=bike&lat=40.7128&lng=-74.0060",
{
headers: { "x-api-key": "YOUR_API_KEY" },
},
);
const data = await response.json();Parameters
| Parameter | Required | Description |
|---|---|---|
| query | Yes | Search keyword (e.g., `bike`, `couch`). |
| lat | Yes | Latitude of the search location. |
| lng | Yes | Longitude of the search location. |
| radius_km | No | Search radius in kilometers. |
| min_price | No | Minimum listing price. |
| max_price | No | Maximum listing price. |
| count | No | Number of listings to return per page. |
| sort_by | No | Sort order for results. (suggested | distance_ascend | creation_time_descend | price_ascend | price_descend) |
| delivery_method | No | Delivery filter — local pickup only, shipping only, or all. (all | local_pickup | shipping) |
| condition | No | Filter listings by item condition. (new | used_like_new | used_good | used_fair) |
| date_listed | No | Filter by listing recency (relative window or numeric day count). (all | 1 | 7 | 30 | last_24_hours | last_7_days | last_30_days) |
| availability | No | Filter by listing status — `available`, `sold`, or `all`. (available | sold | all) |
| cursor | No | Opaque pagination cursor returned by the previous response — forward as-is. |
What does the Facebook Marketplace Search API return?
Every response follows one unified schema. Here is a real, unmodified response body, so you can see the exact fields you get back before spending a credit.
Example response
{
"success": true,
"platform": "google",
"endpoint": "/v1/google/search",
"data": {
"items": [
{
"title": "My Top 50 London Restaurants (26 Jan-9 Feb 2025)",
"url": "https://anguscolwell.substack.com/p/my-top-50-london-restaurants-26-jan",
"description": "Feb 9, 2025 · 1) Bouchon Racine, Farringdon. I'm completely obsessed with it, I love it more than anywhere else, it's operating on a level above any other ..."
},
{
"title": "The 38 Best London Restaurants According to Eater's Local Dining ...",
"url": "https://www.eater.com/maps/best-london-restaurants-eater-38",
"description": "The best meals in London, from Michelin fine dining to beloved street food, according to a longtime restaurant editor."
},
{
"title": "LONDON by The MICHELIN Guide",
"url": "https://guide.michelin.com/us/en/travel-guide/london",
"description": "Discover the beloved restaurants and exciting new openings that everyone is talking about: London's bustling pubs, MICHELIN-Starred restaurants that are among ..."
}
]
},
"dropped": 0,
"credits_used": 1,
"credits_remaining": 9999,
"request_id": "req_example000000",
"cached": false,
"pagination": {
"next_cursor": "sc.eyJ2IjoyLCJjIjoiMiIsInAiOiJwYWdlIn0",
"has_more": true,
"page_size": 10
}
}Example captured from the Google Search API. Every SocialCrawl endpoint returns this same unified schema, so your Facebook Marketplace Search response has the same fields.
How does the Facebook Marketplace Search API work?
Send a GET request with your API key and get back clean, structured JSON. Every response follows our unified schema with computed fields.
Method
GET
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 44 platforms covering 10B+ monthly active users.
One schema, every platform
Query 44 platforms with identical response structures. Write your integration once.
Computed fields, not just scraped
Every response includes engagement_rate, estimated_reach, content_category, and language — ready to use.
See your data before you code
Visual Data Explorer — paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Have a question? We got answers
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usWhat is the Facebook Marketplace API?
How do I filter Marketplace listings by price and condition?
How do I get the lat and lng for a city?
How do I paginate through more listings?
Is scraping Facebook Marketplace with this API reliable?
Ask AI about SocialCrawl
Ready to scrape Facebook Marketplace Search data?
Get your API key and start pulling Facebook data in under 60 seconds.
