Facebook Marketplace Item API
The Facebook Marketplace Item API returns one Facebook Marketplace listing: an item for sale, a vehicle, a home or
room, or a listing by a partner of Facebook such as eBay. It carries the price, description, condition, category,
location, photos, videos and seller, and where Facebook has them the vehicle's details, the home's details,
shipping, related searches and similar items. Shipping costs are the ones Facebook quotes to its default
destination in San Francisco. An item Facebook does not show, and a share link that opens something other than a
Marketplace item, answer 200 with an error and cost a credit.
The item_id can come from organic_results[].item_id of the
Facebook Marketplace API.
API Parameters
Marketplace Item
-
- Name
-
item_id - Required
- Optional
- Description
-
The number in the link of a Facebook Marketplace item, e.g.
40952160867715613inhttps://www.facebook.com/marketplace/item/40952160867715613/. It is alsoorganic_results[].item_idfrom the Facebook Marketplace API. Required unlessurlis provided.
-
- Name
-
url - Required
- Optional
- Description
-
The link of a Facebook Marketplace item, or a
facebook.com/share/link that opens one. Pass it in place ofitem_id.
Engine
-
- Name
-
engine - Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
facebook_marketplace_item.
API key
-
- Name
-
api_key - Required
- Required
- Description
-
The
api_keyauthenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).
Zero Data Retention
-
- Name
-
zero_retention - Enterprise Only
- Enterprise Only
- Required
- Optional
- Description
-
Set this parameter to
trueto disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.
API Examples
Item for Sale
Pass the number in the item's link as item_id.
https://www.searchapi.io/api/v1/search?engine=facebook_marketplace_item&item_id=40952160867715613
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "facebook_marketplace_item",
"item_id": "40952160867715613"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_9jGd7bMw38EDu0vpmJ8v5YAR",
"status": "Success",
"created_at": "2026-11-26T04:07:36Z",
"request_time_taken": 3.14,
"parsing_time_taken": 0.02,
"total_time_taken": 3.16,
"request_url": "https://www.facebook.com/marketplace/item/40952160867715613/",
"html_url": "https://www.searchapi.io/api/v1/searches/search_9jGd7bMw38EDu0vpmJ8v5YAR.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_9jGd7bMw38EDu0vpmJ8v5YAR"
},
"search_parameters": {
"engine": "facebook_marketplace_item",
"item_id": "40952160867715613"
},
"item": {
"item_id": "40952160867715613",
"title": "12x24 Gable Storage shed",
"link": "https://www.facebook.com/marketplace/item/40952160867715613/",
"type": "for_sale",
"price": "$4,999",
"extracted_price": 4999,
"currency": "USD",
"condition": "new",
"condition_label": "New",
"description": "Everything included",
"attributes": [
{
"name": "Condition",
"value": "New"
}
],
"iso_date": "2026-11-23T20:40:55Z",
"category": {
"id": "800089866739547",
"name": "Garden",
"slug": "garden"
},
"location": {
"id": "104034589633484",
"name": "Willis, TX",
"latitude": 30.423889160156,
"longitude": -95.498657226562
},
"delivery_options": [
"in_person"
],
"is_live": true,
"is_sold": false,
"is_pending": false,
"has_buy_now": false,
"has_purchase_protection": false,
"badges": [
"Highly rated on Marketplace"
],
"images": [
{
"id": "1162925076109252",
"image": "https://scontent-iad3-1.xx.fbcdn.net/v/t39.84726-6/914923593_1162925079442585_423998223222425527_n.jpg?stp=dst-jpg_s960x960_tt6&_nc_cat=100&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=92e707&_nc_ohc=xnMA29GCU3cQ7kNvwF0rPAa&_nc_oc=Adqgnz9llYiT06_5TH_dhlf8dKeIUu3GPDxDWE5nJVo8r5PNAb3YMqRYlINntSC2er0&_nc_zt=14&_nc_ht=scontent-iad3-1.xx&_nc_gid=54WaBA1_NIjpjChCQb_tFg&_nc_ss=7a389&oh=00_AQSQ9SMngTVNou9Gi2eId40xLosOjTd0snEv1Dr0ewkBzw&oe=6B0D90B4",
"width": 960,
"height": 720,
"accessibility_caption": "No photo description available."
}
],
"seller": {
"name": "Prominent",
"type": "user",
"rating": 4.6,
"reviews": 42,
"joined_year": 2017
},
"related_searches": [
{
"query": "storage sheds"
}
],
"similar_items": [
{
"item_id": "1511512430843284",
"link": "https://www.facebook.com/marketplace/item/1511512430843284/"
},
...
]
}
}
Home
Homes and rooms carry property with beds, baths, area and scores of the address. The item's link
works as url too.
https://www.searchapi.io/api/v1/search?engine=facebook_marketplace_item&url=https%3A%2F%2Fwww.facebook.com%2Fmarketplace%2Fitem%2F1807963153799923%2F
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "facebook_marketplace_item",
"url": "https://www.facebook.com/marketplace/item/1807963153799923/"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_rWMBG04LgyPXTQ7pb6NQzqD7",
"status": "Success",
"created_at": "2026-11-26T04:07:39Z",
"request_time_taken": 2.89,
"parsing_time_taken": 0.06,
"total_time_taken": 2.96,
"request_url": "https://www.facebook.com/marketplace/item/1807963153799923/",
"html_url": "https://www.searchapi.io/api/v1/searches/search_rWMBG04LgyPXTQ7pb6NQzqD7.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_rWMBG04LgyPXTQ7pb6NQzqD7"
},
"search_parameters": {
"engine": "facebook_marketplace_item",
"url": "https://www.facebook.com/marketplace/item/1807963153799923/"
},
"item": {
"item_id": "1807963153799923",
"title": "1 Bed 1 Bath Apartment",
"link": "https://www.facebook.com/marketplace/item/1807963153799923/",
"type": "real_estate",
"price": "$1,325",
"extracted_price": 1325,
"currency": "USD",
"description": "A1 Upgraded Available Sep 22. Security deposit $500. Pets welcome. Pet rent $20/mo. 12-month lease. Message us to schedule a tour.",
"category": {
"id": "1468271819871448",
"name": "Rentals",
"slug": "propertyrentals"
},
"location": {
"name": "Fort Worth, TX",
"address": "6700 Sandshell Blvd",
"city": "Fort Worth",
"state": "TX",
"latitude": 32.86255,
"longitude": -97.30927
},
"delivery_options": [
"in_person"
],
"is_live": true,
"is_sold": false,
"is_pending": false,
"has_buy_now": false,
"has_purchase_protection": false,
"property": {
"home_type": "Apartment",
"rooms": "1 bed · 1 bath",
"beds": 1,
"baths": 1,
"area": "674 square feet",
"extracted_area": 674,
"listed": "Listed 2 days ago",
"walk_score": 70,
"transit_score": 0,
"bike_score": 46
},
"images": [
{
"id": "1427768622674343",
"image": "https://scontent-hou1-1.xx.fbcdn.net/v/t39.84726-6/916245502_1427768632674342_4859793468778711917_n.jpg?stp=dst-jpg_p640x640_tt6&_nc_cat=108&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=92e707&_nc_ohc=IYnqxqbhfkkQ7kNvwFNMdu8&_nc_oc=AdrCke4QK8vfA0-RIluoGBsMD92XJnqYlfmIq9GwuJzXj2RJQPvnC_CMBOzZpZ_ev4M&_nc_zt=14&_nc_ht=scontent-hou1-1.xx&_nc_gid=y65I1s9qcHLRofZ3f592_g&_nc_ss=79389&oh=00_AQTO1Xw4bqP9iMpXvFm3lvGmr_DMT1Ud-auvNk9C9vdv_Q&oe=6B0D920C",
"width": 960,
"height": 640,
"accessibility_caption": "No photo description available."
},
...
],
"seller": {
"name": "Wst",
"type": "user",
"joined_year": 2022
}
}
}
Partner Listing
A listing by a partner of Facebook carries partner with the link and the seller on the partner's
site. When Facebook shows a guarantee, partner.guarantee gives its title.
https://www.searchapi.io/api/v1/search?engine=facebook_marketplace_item&item_id=39225363970411438
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "facebook_marketplace_item",
"item_id": "39225363970411438"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_RqXLK4ZloPW8iq5gxM8z2jE9",
"status": "Success",
"created_at": "2026-11-26T04:08:16Z",
"request_time_taken": 1.23,
"parsing_time_taken": 0.0,
"total_time_taken": 1.23,
"request_url": "https://www.facebook.com/marketplace/item/39225363970411438/",
"html_url": "https://www.searchapi.io/api/v1/searches/search_RqXLK4ZloPW8iq5gxM8z2jE9.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_RqXLK4ZloPW8iq5gxM8z2jE9"
},
"search_parameters": {
"engine": "facebook_marketplace_item",
"item_id": "39225363970411438"
},
"item": {
"item_id": "39225363970411438",
"title": "Fender american Professional Classic Jaguar, Rosewood Board, Faded Firemist Gol",
"link": "https://www.facebook.com/marketplace/item/39225363970411438/",
"type": "partner_listing",
"price": "$1,599.99",
"extracted_price": 1599.99,
"description": "Fender American Professional Classic Jaguar, Rosewood board, Faded Firemist Gold. This exceptional instrument is the perfect blend of vintage charm and modern performance, built to inspire today's musicians from the studio to the stage. It weighs 8 pounds, 7.45 ounces, with serial number US25095144. Features vintage-inspired Coastline™ '65 Jaguar® pickups, a Modern \"C\" neck for exceptional comfort, Fender Staggered ClassicGear™ tuners for precise tuning stability, and custom-faded vintage finishes. Includes gigbag. Right-hand, color Faded Firemist Gold, made in the US.",
"attributes": [
{
"name": "Condition",
"value": "New"
},
{
"name": "Brand",
"value": "Fender"
},
...
],
"category": {
"id": "676772489112490"
},
"location": {
"name": "Harrisonville, Missouri, United States"
},
"shipping": {
"label": "Free shipping",
"extracted_price": 0,
"delivery": "Delivery estimated between Sat, Nov 28 and Tue, Dec 1"
},
"partner": {
"name": "eBay",
"link": "https://www.ebay.com/itm/920020265864?mkcid=1&mkrid=711-53200-19255-0&siteid=0&campid=5339093527&toolid=10052&mkevt=1&meta_mrktplce_action=view_item&isLimitedPage=true",
"listing_type": "fixed_price",
"return_policy": "30 days returns. Buyer pays for return shipping.",
"guarantee": "eBay Money Back Guarantee",
"seller": {
"name": "butlermusic",
"reviews": 123296,
"positive_feedback_percent": 99.9,
"joined_year": 2001
}
},
"images": [
{
"id": "843950744897646",
"image": "https://scontent-ord5-2.xx.fbcdn.net/v/t39.84726-6/848616042_1091348163491235_3983499072599183745_n.jpg?stp=dst-jpg_s960x960_tt6&_nc_cat=103&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=92e707&_nc_ohc=wqZ8H16FXbkQ7kNvwGGIr9r&_nc_oc=AdpcjVYBRKezDnCECG3ytLri52FLnJV2lY5YgvI3XuAGeEivb8zrpIk06UkAcXtSKNA&_nc_zt=14&_nc_ht=scontent-ord5-2.xx&_nc_gid=8n-W6VDowwTAxpCo3n_t6A&_nc_ss=7b389&oh=00_AQR2PwqLrm5DUWUuG30iUUGctPsXP0geCqdokTN0qgsiFw&oe=6B0D9066",
"width": 360,
"height": 960,
"accessibility_caption": "No photo description available."
},
...
],
"seller": {
"id": "323025340883974",
"link": "https://www.facebook.com/profile.php?id=323025340883974",
"type": "page"
}
}
}