How to run a Facebook marketplace search
GET request to /v1/facebook/marketplace-search with your input. You get clean JSON back in seconds for ~28 credits (1.4/result) per call — no OAuth, scraping or platform SDKs. Search Facebook Marketplace by keyword and location — listing title, price, and link for each result (details=true doubles cost).How to run a Facebook marketplace search (step by step)
- 1
Get a free API key
Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.
- 2
Call the Facebook Marketplace Search API
Send an authenticated GET request to /v1/facebook/marketplace-search with your input. No OAuth, no scraping setup.
- 3
Read the JSON response
Parse the clean JSON response. Pass cache=true for a free 24h cache hit; default is always fresh.
Code example
curl "https://api.captapi.com/v1/facebook/marketplace-search?q=desk%20chair&location=Austin%2C%20TX" \
-H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."What the response looks like
{
"success": true,
"data": {
"query": "desk chair",
"location": "Austin, TX",
"totalReturned": 5,
"listings": [
{
"platform": "facebook",
"id": "877314832116342",
"title": "Desk chair",
"url": "https://www.facebook.com/marketplace/item/877314832116342/",
"price": 20,
"priceFormatted": "$20",
"currency": "USD",
"location": "Washington D.C.",
"city": "Washington",
"state": "DC",
"latitude": null,
"longitude": null,
"isSold": false,
"isLive": true,
"deliveryTypes": [
"IN_PERSON"
],
"image": "https://scontent-bos5-1.xx.fbcdn.net/v/t39.84726-6/749629401_1344371334550487_4988145909938674869_n.jpg?stp=c0.43.261.261a_dst-jpg_p261x260_tt6&_nc_cat=108&ccb=1-7&_nc_sid=92e707&_nc_ohc=LmF34sVytpEQ7kNvwGfnz2c&_nc_oc=AdpEfJLNq688r77eP9kYje9th9pl6XTuRWdsjf6fVKK1tG0c6n0dM-GK_9Cho5OBLDk&_nc_zt=14&_nc_ht=scontent-bos5-1.xx&_nc_gid=nqDHzkc0tjqu_uHaL98-KQ&_nc_ss=7f289&oh=00_AQD6aXmi_LA2nwKymSvTNTLl5Bl7xP-eugI8jcDSSy5N0A&oe=6A61AA71",
"photos": [
"https://scontent-bos5-1.xx.fbcdn.net/v/t39.84726-6/749629401_1344371334550487_4988145909938674869_n.jpg?stp=c0.43.261.261a_dst-jpg_p261x260_tt6&_nc_cat=108&ccb=1-7&_nc_sid=92e707&_nc_ohc=LmF34sVytpEQ7kNvwGfnz2c&_nc_oc=AdpEfJLNq688r77eP9kYje9th9pl6XTuRWdsjf6fVKK1tG0c6n0dM-GK_9Cho5OBLDk&_nc_zt=14&_nc_ht=scontent-bos5-1.xx&_nc_gid=nqDHzkc0tjqu_uHaL98-KQ&_nc_ss=7f289&oh=00_AQD6aXmi_LA2nwKymSvTNTLl5Bl7xP-eugI8jcDSSy5N0A&oe=6A61AA71"
],
"description": null,
"createdAt": null
},
{
"platform": "facebook",
"id": "883983214303962",
"title": "Black Mesh Office Chair",
"url": "https://www.facebook.com/marketplace/item/883983214303962/",
"price": 20,
"priceFormatted": "$20",
"currency": "USD",
"location": "Silver Spring, Maryland",
"city": "Silver Spring",
"state": "MD",
"latitude": null,
"longitude": null,
"isSold": false,
"isLive": true,
"deliveryTypes": [
"IN_PERSON"
],
"image": "https://scontent-bos5-1.xx.fbcdn.net/v/t39.84726-6/749981442_887595293936148_610596500381494264_n.jpg?stp=c0.43.261.261a_dst-jpg_p261x260_tt6&_nc_cat=106&ccb=1-7&_nc_sid=92e707&_nc_ohc=myCvH6tzYI4Q7kNvwH3nBO2&_nc_oc=AdoPziN88aStcHIXPqEh8BFgTeg2oADU7UD8vPoHdHSem_KdwNn652PV4XW1pO6DGso&_nc_zt=14&_nc_ht=scontent-bos5-1.xx&_nc_gid=nqDHzkc0tjqu_uHaL98-KQ&_nc_ss=7f289&oh=00_AQCykmrerS60-Mm0vJWHcPbxz8VJxMO2m0a_MB1jOjALSQ&oe=6A61A8F9",
"photos": [
"https://scontent-bos5-1.xx.fbcdn.net/v/t39.84726-6/749981442_887595293936148_610596500381494264_n.jpg?stp=c0.43.261.261a_dst-jpg_p261x260_tt6&_nc_cat=106&ccb=1-7&_nc_sid=92e707&_nc_ohc=myCvH6tzYI4Q7kNvwH3nBO2&_nc_oc=AdoPziN88aStcHIXPqEh8BFgTeg2oADU7UD8vPoHdHSem_KdwNn652PV4XW1pO6DGso&_nc_zt=14&_nc_ht=scontent-bos5-1.xx&_nc_gid=nqDHzkc0tjqu_uHaL98-KQ&_nc_ss=7f289&oh=00_AQCykmrerS60-Mm0vJWHcPbxz8VJxMO2m0a_MB1jOjALSQ&oe=6A61A8F9"
],
"description": null,
"createdAt": null
},
{
"platform": "facebook",
"id": "27670772145888872",
"title": "Grey Desk Chair",
"url": "https://www.facebook.com/marketplace/item/27670772145888872/",
"price": 20,
"priceFormatted": "$20",
"currency": "USD",
"location": "Washington D.C.",
"city": "Washington",
"state": "DC",
"latitude": null,
"longitude": null,
"isSold": false,
"isLive": true,
"deliveryTypes": [
"IN_PERSON"
],
"image": "https://scontent-bos5-1.xx.fbcdn.net/v/t39.84726-6/749301026_2094675114593677_7526860975966890692_n.jpg?stp=c0.101.261.261a_dst-jpg_p261x260_tt6&_nc_cat=101&ccb=1-7&_nc_sid=92e707&_nc_ohc=nmh6-3GShL8Q7kNvwHKFlTr&_nc_oc=Adprq6YzVLBaviCeyNraQHFK6J81goBvRXNwKgWvCwVgyLb4daI5qkLKjNmy1c4w1YA&_nc_zt=14&_nc_ht=scontent-bos5-1.xx&_nc_gid=nqDHzkc0tjqu_uHaL98-KQ&_nc_ss=7f289&oh=00_AQDZF3-WvZuv_07Q-mr_jULLe-AkWAns3YvE9X5BmY5c6g&oe=6A618D0E",
"photos": [
"https://scontent-bos5-1.xx.fbcdn.net/v/t39.84726-6/749301026_2094675114593677_7526860975966890692_n.jpg?stp=c0.101.261.261a_dst-jpg_p261x260_tt6&_nc_cat=101&ccb=1-7&_nc_sid=92e707&_nc_ohc=nmh6-3GShL8Q7kNvwHKFlTr&_nc_oc=Adprq6YzVLBaviCeyNraQHFK6J81goBvRXNwKgWvCwVgyLb4daI5qkLKjNmy1c4w1YA&_nc_zt=14&_nc_ht=scontent-bos5-1.xx&_nc_gid=nqDHzkc0tjqu_uHaL98-KQ&_nc_ss=7f289&oh=00_AQDZF3-WvZuv_07Q-mr_jULLe-AkWAns3YvE9X5BmY5c6g&oe=6A618D0E"
],
"description": null,
"createdAt": null
},
{
"platform": "facebook",
"id": "1684056162810328",
"title": "Desk chair",
"url": "https://www.facebook.com/marketplace/item/1684056162810328/",
"price": 35,
"priceFormatted": "$35",
"currency": "USD",
"location": "Washington D.C.",
"city": "Washington",
"state": "DC",
"latitude": null,
"longitude": null,
"isSold": false,
"isLive": true,
"deliveryTypes": [
"IN_PERSON"
],
"image": "https://scontent-bos5-1.xx.fbcdn.net/v/t39.84726-6/729099259_2600662523665021_2872679799686599261_n.jpg?stp=c0.43.261.261a_dst-jpg_p261x260_tt6&_nc_cat=100&ccb=1-7&_nc_sid=92e707&_nc_ohc=LMXVOzWNN3kQ7kNvwG2cBSn&_nc_oc=AdopbG5xP8koQZx8pzfAyEWtTQqYiicUltTjRtt1Hktxv5UxbOEZjBJfLal6XxUiM20&_nc_zt=14&_nc_ht=scontent-bos5-1.xx&_nc_gid=nqDHzkc0tjqu_uHaL98-KQ&_nc_ss=7f289&oh=00_AQDyvjzUIa62_yZK1y23xUMx_3t-JIVWermq-VgrLsMvsw&oe=6A618C3D",
"photos": [
"https://scontent-bos5-1.xx.fbcdn.net/v/t39.84726-6/729099259_2600662523665021_2872679799686599261_n.jpg?stp=c0.43.261.261a_dst-jpg_p261x260_tt6&_nc_cat=100&ccb=1-7&_nc_sid=92e707&_nc_ohc=LMXVOzWNN3kQ7kNvwG2cBSn&_nc_oc=AdopbG5xP8koQZx8pzfAyEWtTQqYiicUltTjRtt1Hktxv5UxbOEZjBJfLal6XxUiM20&_nc_zt=14&_nc_ht=scontent-bos5-1.xx&_nc_gid=nqDHzkc0tjqu_uHaL98-KQ&_nc_ss=7f289&oh=00_AQDyvjzUIa62_yZK1y23xUMx_3t-JIVWermq-VgrLsMvsw&oe=6A618C3D"
],
"description": null,
"createdAt": null
},
{
"platform": "facebook",
"id": "1713084716476094",
"title": "Desk chair",
"url": "https://www.facebook.com/marketplace/item/1713084716476094/",
"price": 40,
"priceFormatted": "$40",
"currency": "USD",
"location": "Washington D.C.",
"city": "Washington",
"state": "DC",
"latitude": null,
"longitude": null,
"isSold": false,
"isLive": true,
"deliveryTypes": [
"IN_PERSON"
],
"image": "https://scontent-bos5-1.xx.fbcdn.net/v/t39.84726-6/744662062_1716995909342166_3278591268559740732_n.jpg?stp=c0.43.261.261a_dst-jpg_p261x260_tt6&_nc_cat=104&ccb=1-7&_nc_sid=92e707&_nc_ohc=DDGF1u2_t_wQ7kNvwHPXyKX&_nc_oc=AdoKaFl7f6i0GmVmbkt3YQwUmXQzUkZ1-Y_9toIDJ1Asb3yz_AHEoVk6yKqYVu7DUME&_nc_zt=14&_nc_ht=scontent-bos5-1.xx&_nc_gid=nqDHzkc0tjqu_uHaL98-KQ&_nc_ss=7f289&oh=00_AQAFeqkcOmvOw1VsSHWyEZ_OjIE-gI-WigSeYrE2FAKPaQ&oe=6A619E38",
"photos": [
"https://scontent-bos5-1.xx.fbcdn.net/v/t39.84726-6/744662062_1716995909342166_3278591268559740732_n.jpg?stp=c0.43.261.261a_dst-jpg_p261x260_tt6&_nc_cat=104&ccb=1-7&_nc_sid=92e707&_nc_ohc=DDGF1u2_t_wQ7kNvwHPXyKX&_nc_oc=AdoKaFl7f6i0GmVmbkt3YQwUmXQzUkZ1-Y_9toIDJ1Asb3yz_AHEoVk6yKqYVu7DUME&_nc_zt=14&_nc_ht=scontent-bos5-1.xx&_nc_gid=nqDHzkc0tjqu_uHaL98-KQ&_nc_ss=7f289&oh=00_AQAFeqkcOmvOw1VsSHWyEZ_OjIE-gI-WigSeYrE2FAKPaQ&oe=6A619E38"
],
"description": null,
"createdAt": null
}
]
}
}Billing metadata (credits charged, cache hit/miss) is returned in the X-Captapi-Credits and X-Captapi-Cache response headers.
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| q | string | Yes | Product or keyword to search Facebook Marketplace for. |
| location | string | Yes | City or place name, e.g. 'Austin, TX'. |
| limit | integer | No | Max items to return (default 20, max 200). Billed per result. |
| details | boolean | No | When true, fetches full description, photos, and coordinates per listing. details=false → 1.4 credits/result (~28 at 20); details=true doubles cost → 2.8/result (~56 at 20). |
| cache | boolean | No | Set true to serve from the 24h response cache. Default false — always fetch fresh data. |
Frequently asked questions
What does the Facebook Marketplace Search API do?
The Facebook Marketplace Search API lets you search and return matching results from a public Facebook query using one GET request to /v1/facebook/marketplace-search. It returns clean JSON — no OAuth or infrastructure setup required.
How many credits does the Facebook Marketplace Search API cost?
At the default limit this endpoint costs 28 credits (1.4 per result). Billing scales with how many results you request. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Failed or empty results are never charged.
Do I need a Facebook API key or OAuth?
No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.
Is the Facebook Marketplace Search API suitable for production use?
Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Use it for analytics, monitoring, and content automation.
Ready to run a Facebook marketplace search?
Start free with 100 credits — no credit card required.
Get your free API key