Search Facebook Marketplace listings by keyword and lat/lng
scrapecreators.x.v1-facebook-marketplace-searchSearches Facebook Marketplace listings by keyword and lat/lng.
- Price
- $0.00188/callAt provider cost
- Success rate
- 99.2%Last 30 days · 7,098 calls
- Latency p50
- 2.1 sp95 7.6 s
- Last verified
- Jul 28, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-marketplace-search?lat=30.2677&lng=-97.7475&query=bikePreview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
lat | number | Required | Latitude for the search location | 30.2677 |
lng | number | Required | Longitude for the search location | -97.7475 |
count | number | Optional | Number of listings to return | 24 |
query | string | Required | Search keyword | bike |
cursor | string | Optional | Opaque pagination cursor returned from the previous response. Pass it back as-is. | eyJwZyI6MCwiYjJjIjp7... |
sort_by | string | Optional | Sort order | creation_time_descend |
condition | string | Optional | Condition filter | used_good |
max_price | number | Optional | Maximum listing price | 500 |
min_price | number | Optional | Minimum listing price | 100 |
radius_km | number | Optional | Search radius in kilometers | 65 |
date_listed | string | Optional | Date listed filter | 7 |
availability | string | Optional | Availability filter | available |
delivery_method | string | Optional | Delivery filter | local_pickup |
- Query parameters
latnumberRequiredLatitude for the search location
Example:
30.2677lngnumberRequiredLongitude for the search location
Example:
-97.7475countnumberOptionalNumber of listings to return
Example:
24querystringRequiredSearch keyword
Example:
bikecursorstringOptionalOpaque pagination cursor returned from the previous response. Pass it back as-is.
Example:
eyJwZyI6MCwiYjJjIjp7...sort_bystringOptionalSort order
Example:
creation_time_descendconditionstringOptionalCondition filter
Example:
used_goodmax_pricenumberOptionalMaximum listing price
Example:
500min_pricenumberOptionalMinimum listing price
Example:
100radius_kmnumberOptionalSearch radius in kilometers
Example:
65date_listedstringOptionalDate listed filter
Example:
7availabilitystringOptionalAvailability filter
Example:
availabledelivery_methodstringOptionalDelivery filter
Example:
local_pickup
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-marketplace-search?lat=30.2677&lng=-97.7475&query=bike' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-marketplace-search?lat=30.2677&lng=-97.7475&query=bike",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-marketplace-search?lat=30.2677&lng=-97.7475&query=bike", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.00188/call, including the service fee.