Search Facebook Marketplace listings by keyword and lat/lng
scrapecreators.x.v1-facebook-marketplace-searchSearches Facebook Marketplace listings by keyword and lat/lng.
- 价格
- $0.00188/call按供应商原价
- 成功率
- 99.2%近 30 天 · 7,098 次
- 延迟 p50
- 2.1 秒p95 7.6 秒
- 最后验证
- 2026年7月28日实测可用
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-marketplace-search?lat=30.2677&lng=-97.7475&query=bike预览在线试用即将上线供应商文档 ↗
- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 查询参数 | ||||
lat | 数字 | 必填 | Latitude for the search location | 30.2677 |
lng | 数字 | 必填 | Longitude for the search location | -97.7475 |
count | 数字 | 可选 | Number of listings to return | 24 |
query | 字符串 | 必填 | Search keyword | bike |
cursor | 字符串 | 可选 | Opaque pagination cursor returned from the previous response. Pass it back as-is. | eyJwZyI6MCwiYjJjIjp7... |
sort_by | 字符串 | 可选 | Sort order | creation_time_descend |
condition | 字符串 | 可选 | Condition filter | used_good |
max_price | 数字 | 可选 | Maximum listing price | 500 |
min_price | 数字 | 可选 | Minimum listing price | 100 |
radius_km | 数字 | 可选 | Search radius in kilometers | 65 |
date_listed | 字符串 | 可选 | Date listed filter | 7 |
availability | 字符串 | 可选 | Availability filter | available |
delivery_method | 字符串 | 可选 | Delivery filter | local_pickup |
- 查询参数
lat数字必填Latitude for the search location
示例:
30.2677lng数字必填Longitude for the search location
示例:
-97.7475count数字可选Number of listings to return
示例:
24query字符串必填Search keyword
示例:
bikecursor字符串可选Opaque pagination cursor returned from the previous response. Pass it back as-is.
示例:
eyJwZyI6MCwiYjJjIjp7...sort_by字符串可选Sort order
示例:
creation_time_descendcondition字符串可选Condition filter
示例:
used_goodmax_price数字可选Maximum listing price
示例:
500min_price数字可选Minimum listing price
示例:
100radius_km数字可选Search radius in kilometers
示例:
65date_listed字符串可选Date listed filter
示例:
7availability字符串可选Availability filter
示例:
availabledelivery_method字符串可选Delivery filter
示例:
local_pickup
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
预览
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());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.00188/call 计费,已含服务费。