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 2 credits per call — no OAuth, scraping or platform SDKs. Search Facebook Marketplace by keyword and location — listing title, price, and link for each result.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": "1023091973955138",
"title": "MCM Atomic Chrome Swivel Office Chair",
"url": "https://www.facebook.com/marketplace/item/1023091973955138/",
"price": 150,
"priceFormatted": "$150",
"currency": "USD",
"location": "Austin, TX",
"city": "Austin",
"state": "TX",
"isSold": false,
"isLive": true,
"deliveryTypes": [
"IN_PERSON"
],
"image": "https://scontent-cdg4-1.xx.fbcdn.net/v/t45.5328-4/755951223_1861937971878382_7371499039634355416_n.jpg?stp=c0.82.526.526a_dst-jpg_p526x395_tt6&_nc_cat=108&ccb=1-7&_nc_sid=247b10&_nc_ohc=iS2R-9GEaf0Q7kNvwEL6juq&_nc_oc=AdoqGHjak_iTFrRMTFiTIfP9gJ0C02Lrs8E10_5hr-cGHRGwxE34jj0_d7sc4YVnggo&_nc_zt=23&_nc_ht=scontent-cdg4-1.xx&_nc_gid=buCdo_tqgJzarMXnPPtI0Q&_nc_ss=7b289&oh=00_AQBY7zuItKb-MwsWVAB1gXEbITj-pNmvrR3-tFbTKO8FYA&oe=6A6C2954",
"photos": [
"https://scontent-cdg4-1.xx.fbcdn.net/v/t45.5328-4/755951223_1861937971878382_7371499039634355416_n.jpg?stp=c0.82.526.526a_dst-jpg_p526x395_tt6&_nc_cat=108&ccb=1-7&_nc_sid=247b10&_nc_ohc=iS2R-9GEaf0Q7kNvwEL6juq&_nc_oc=AdoqGHjak_iTFrRMTFiTIfP9gJ0C02Lrs8E10_5hr-cGHRGwxE34jj0_d7sc4YVnggo&_nc_zt=23&_nc_ht=scontent-cdg4-1.xx&_nc_gid=buCdo_tqgJzarMXnPPtI0Q&_nc_ss=7b289&oh=00_AQBY7zuItKb-MwsWVAB1gXEbITj-pNmvrR3-tFbTKO8FYA&oe=6A6C2954"
],
"createdAt": "2026-07-23T21:20:09+00:00"
},
{
"platform": "facebook",
"id": "1533101124374941",
"title": "Serta Office Chair",
"url": "https://www.facebook.com/marketplace/item/1533101124374941/",
"price": 50,
"priceFormatted": "$50",
"currency": "USD",
"location": "Austin, TX",
"city": "Austin",
"state": "TX",
"isSold": false,
"isLive": true,
"deliveryTypes": [
"IN_PERSON"
],
"image": "https://scontent-cdg4-1.xx.fbcdn.net/v/t39.84726-6/757399214_1031644829731524_4603068134504050190_n.jpg?stp=c0.87.526.526a_dst-jpg_p526x395_tt6&_nc_cat=102&ccb=1-7&_nc_sid=92e707&_nc_ohc=zCCGEoZ3sFQQ7kNvwGzIsYW&_nc_oc=AdpnI5LGrygL5GaY33ihdUIkM_Ik5iRVhjFftWTnp9J51H_THzqey8iKLmTK2nlH7lM&_nc_zt=14&_nc_ht=scontent-cdg4-1.xx&_nc_gid=buCdo_tqgJzarMXnPPtI0Q&_nc_ss=7b289&oh=00_AQBcc_63EF_bnVfFnrVeGFYzSp29ye1Wp4xyNJhV11Y_BA&oe=6A6C2FC6",
"photos": [
"https://scontent-cdg4-1.xx.fbcdn.net/v/t39.84726-6/757399214_1031644829731524_4603068134504050190_n.jpg?stp=c0.87.526.526a_dst-jpg_p526x395_tt6&_nc_cat=102&ccb=1-7&_nc_sid=92e707&_nc_ohc=zCCGEoZ3sFQQ7kNvwGzIsYW&_nc_oc=AdpnI5LGrygL5GaY33ihdUIkM_Ik5iRVhjFftWTnp9J51H_THzqey8iKLmTK2nlH7lM&_nc_zt=14&_nc_ht=scontent-cdg4-1.xx&_nc_gid=buCdo_tqgJzarMXnPPtI0Q&_nc_ss=7b289&oh=00_AQBcc_63EF_bnVfFnrVeGFYzSp29ye1Wp4xyNJhV11Y_BA&oe=6A6C2FC6"
],
"createdAt": "2026-07-26T17:31:22+00:00"
},
{
"platform": "facebook",
"id": "1566650898588175",
"title": "Desk Chair",
"url": "https://www.facebook.com/marketplace/item/1566650898588175/",
"price": 30,
"priceFormatted": "$30",
"currency": "USD",
"location": "Austin, TX",
"city": "Austin",
"state": "TX",
"isSold": false,
"isLive": true,
"deliveryTypes": [
"IN_PERSON",
"DOOR_PICKUP"
],
"image": "https://scontent-cdg4-3.xx.fbcdn.net/v/t39.84726-6/754015548_1682037223082191_5648936842361625036_n.jpg?stp=c0.87.526.526a_dst-jpg_p526x395_tt6&_nc_cat=110&ccb=1-7&_nc_sid=92e707&_nc_ohc=Xt7CL7MSfV0Q7kNvwHViL7E&_nc_oc=AdqQ_s3xEOlUDJs59MBQEsPjhXxRBUNT4XSfFG6M0jVFl9gBt6VQJNRCK0OSex4Bmr0&_nc_zt=14&_nc_ht=scontent-cdg4-3.xx&_nc_gid=buCdo_tqgJzarMXnPPtI0Q&_nc_ss=7b289&oh=00_AQDevzQYEUxQjd0MoLR-37bq4-BjrEgoh_RPke8J6O0DLA&oe=6A6C293E",
"photos": [
"https://scontent-cdg4-3.xx.fbcdn.net/v/t39.84726-6/754015548_1682037223082191_5648936842361625036_n.jpg?stp=c0.87.526.526a_dst-jpg_p526x395_tt6&_nc_cat=110&ccb=1-7&_nc_sid=92e707&_nc_ohc=Xt7CL7MSfV0Q7kNvwHViL7E&_nc_oc=AdqQ_s3xEOlUDJs59MBQEsPjhXxRBUNT4XSfFG6M0jVFl9gBt6VQJNRCK0OSex4Bmr0&_nc_zt=14&_nc_ht=scontent-cdg4-3.xx&_nc_gid=buCdo_tqgJzarMXnPPtI0Q&_nc_ss=7b289&oh=00_AQDevzQYEUxQjd0MoLR-37bq4-BjrEgoh_RPke8J6O0DLA&oe=6A6C293E"
],
"createdAt": "2026-07-24T15:57:10+00:00"
},
{
"platform": "facebook",
"id": "2004670837585145",
"title": "Pink desk chair",
"url": "https://www.facebook.com/marketplace/item/2004670837585145/",
"price": 50,
"priceFormatted": "$50",
"currency": "USD",
"location": "Austin, TX",
"city": "Austin",
"state": "TX",
"isSold": false,
"isLive": true,
"deliveryTypes": [
"IN_PERSON",
"DOOR_PICKUP"
],
"image": "https://scontent-cdg4-1.xx.fbcdn.net/v/t39.84726-6/753583645_1039687612146944_6256711315481793218_n.jpg?stp=c0.87.526.526a_dst-jpg_p526x395_tt6&_nc_cat=108&ccb=1-7&_nc_sid=92e707&_nc_ohc=TgNT-PsmgoQQ7kNvwGCI4-m&_nc_oc=AdoXoAjYeQCQq0VPOYJOWPAcbIaMe-o0SZfZUU67qARG1O9UwQpjme1XSm6bF7oelS0&_nc_zt=14&_nc_ht=scontent-cdg4-1.xx&_nc_gid=buCdo_tqgJzarMXnPPtI0Q&_nc_ss=7b289&oh=00_AQBe7BMXFnD-HN-JknCFdw9K3RYJ9DPCvi8_zQtAQgVOhw&oe=6A6C2C09",
"photos": [
"https://scontent-cdg4-1.xx.fbcdn.net/v/t39.84726-6/753583645_1039687612146944_6256711315481793218_n.jpg?stp=c0.87.526.526a_dst-jpg_p526x395_tt6&_nc_cat=108&ccb=1-7&_nc_sid=92e707&_nc_ohc=TgNT-PsmgoQQ7kNvwGCI4-m&_nc_oc=AdoXoAjYeQCQq0VPOYJOWPAcbIaMe-o0SZfZUU67qARG1O9UwQpjme1XSm6bF7oelS0&_nc_zt=14&_nc_ht=scontent-cdg4-1.xx&_nc_gid=buCdo_tqgJzarMXnPPtI0Q&_nc_ss=7b289&oh=00_AQBe7BMXFnD-HN-JknCFdw9K3RYJ9DPCvi8_zQtAQgVOhw&oe=6A6C2C09"
],
"createdAt": "2026-07-24T19:31:45+00:00"
},
{
"platform": "facebook",
"id": "1584011809800878",
"title": "MCM desk chair",
"url": "https://www.facebook.com/marketplace/item/1584011809800878/",
"price": 100,
"priceFormatted": "$100",
"currency": "USD",
"location": "Austin, TX",
"city": "Austin",
"state": "TX",
"isSold": false,
"isLive": true,
"deliveryTypes": [
"IN_PERSON"
],
"image": "https://scontent-cdg4-1.xx.fbcdn.net/v/t39.84726-6/752488797_879146811526501_8218767426310547436_n.jpg?stp=c0.87.526.526a_dst-jpg_p526x395_tt6&_nc_cat=108&ccb=1-7&_nc_sid=92e707&_nc_ohc=sJaQtNKyPKYQ7kNvwEu89ms&_nc_oc=AdobGnX8VaIQdb80CmnYrb5Cfy6JhSlKc2eun-j26T5rJ5bpqq13ITx-fKkzgb1ALfQ&_nc_zt=14&_nc_ht=scontent-cdg4-1.xx&_nc_gid=buCdo_tqgJzarMXnPPtI0Q&_nc_ss=7b289&oh=00_AQAzBl4MNhR9_EkMwe8DKJdNW2shrzeoDoi4FN-P7HgqZA&oe=6A6C3912",
"photos": [
"https://scontent-cdg4-1.xx.fbcdn.net/v/t39.84726-6/752488797_879146811526501_8218767426310547436_n.jpg?stp=c0.87.526.526a_dst-jpg_p526x395_tt6&_nc_cat=108&ccb=1-7&_nc_sid=92e707&_nc_ohc=sJaQtNKyPKYQ7kNvwEu89ms&_nc_oc=AdobGnX8VaIQdb80CmnYrb5Cfy6JhSlKc2eun-j26T5rJ5bpqq13ITx-fKkzgb1ALfQ&_nc_zt=14&_nc_ht=scontent-cdg4-1.xx&_nc_gid=buCdo_tqgJzarMXnPPtI0Q&_nc_ss=7b289&oh=00_AQAzBl4MNhR9_EkMwe8DKJdNW2shrzeoDoi4FN-P7HgqZA&oe=6A6C3912"
],
"createdAt": "2026-07-21T22:20:20+00:00"
}
]
}
}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). Flat 2 credits per call. |
| details | boolean | No | When true, enriches each listing with description/condition/coordinates/photos (2 + 2 credits per listing). Default false → flat 2 credits. |
| 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?
Each successful call costs 2 credits. 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