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/callAu prix du fournisseur
- Success rate
- 99,2 %Last 30 days · 7 098 calls
- Latency p50
- 2.1 sp95 7.6 s
- Last verified
- 28 juil. 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
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
lat | nombre | Obligatoire | Latitude for the search location | 30.2677 |
lng | nombre | Obligatoire | Longitude for the search location | -97.7475 |
count | nombre | Facultatif | Number of listings to return | 24 |
query | chaîne | Obligatoire | Search keyword | bike |
cursor | chaîne | Facultatif | Opaque pagination cursor returned from the previous response. Pass it back as-is. | eyJwZyI6MCwiYjJjIjp7... |
sort_by | chaîne | Facultatif | Sort order | creation_time_descend |
condition | chaîne | Facultatif | Condition filter | used_good |
max_price | nombre | Facultatif | Maximum listing price | 500 |
min_price | nombre | Facultatif | Minimum listing price | 100 |
radius_km | nombre | Facultatif | Search radius in kilometers | 65 |
date_listed | chaîne | Facultatif | Date listed filter | 7 |
availability | chaîne | Facultatif | Availability filter | available |
delivery_method | chaîne | Facultatif | Delivery filter | local_pickup |
- Paramètres de requête
latnombreObligatoireLatitude for the search location
Exemple :
30.2677lngnombreObligatoireLongitude for the search location
Exemple :
-97.7475countnombreFacultatifNumber of listings to return
Exemple :
24querychaîneObligatoireSearch keyword
Exemple :
bikecursorchaîneFacultatifOpaque pagination cursor returned from the previous response. Pass it back as-is.
Exemple :
eyJwZyI6MCwiYjJjIjp7...sort_bychaîneFacultatifSort order
Exemple :
creation_time_descendconditionchaîneFacultatifCondition filter
Exemple :
used_goodmax_pricenombreFacultatifMaximum listing price
Exemple :
500min_pricenombreFacultatifMinimum listing price
Exemple :
100radius_kmnombreFacultatifSearch radius in kilometers
Exemple :
65date_listedchaîneFacultatifDate listed filter
Exemple :
7availabilitychaîneFacultatifAvailability filter
Exemple :
availabledelivery_methodchaîneFacultatifDelivery filter
Exemple :
local_pickup
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la 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());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.00188/call, frais de service inclus.