Facebook Marketplace listing API
One listing: title, description, price, location, condition, photos, seller and availability flags.
- Cost
- 1 credit
- Cached repeats
- 0 creditssend max_age_days, results kept 30 days
- Failed requests
- 0 credits
- Status
- Betashape may still gain fields
You send one of url or id.
Request
Send your key in the x-api-key header.
curl -G "https://api.socialscrape.io/v1/facebook/marketplace/item" \
-H "x-api-key: $SOCIALSCRAPE_API_KEY" \
--data-urlencode 'id=1114608241188932'import os
import requests
params = {
"id": "1114608241188932",
}
res = requests.get(
"https://api.socialscrape.io/v1/facebook/marketplace/item",
headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},
params=params,
timeout=60,
)
body = res.json()
if body["ok"]:
print(body["data"])
else:
print(body["error"]["code"], body["error"]["message"])const url = new URL("https://api.socialscrape.io/v1/facebook/marketplace/item");
url.search = new URLSearchParams({
id: "1114608241188932",
}).toString();
const res = await fetch(url, {
headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },
});
const body = await res.json();
if (body.ok) {
console.log(body.data);
} else {
console.error(body.error.code, body.error.message);
}{
"nodes": [
{
"name": "SocialScrape Facebook Marketplace listing",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
0,
0
],
"parameters": {
"method": "GET",
"url": "https://api.socialscrape.io/v1/facebook/marketplace/item",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "id",
"value": "1114608241188932"
}
]
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-api-key",
"value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
}
]
}
}
}
],
"connections": {}
}Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | url | one of | Listing URL (facebook.com/marketplace/item/<id>). |
id | string | one of | Listing id. Also accepted as item_id. |
Every request also accepts trim, raw and max_age_days.
Response
Sample from a recorded response, shortened. Values are public data, not yours.
{
"ok": true,
"credits_charged": 1,
"credits_remaining": 4999,
"cached": false,
"cached_at": null,
"request_id": "req_545c991e996a94dfbba1ae8d",
"data": {
"object": "product",
"platform": "facebook",
"id": "1114608241188932",
"url": "https://www.facebook.com/marketplace/item/1114608241188932/",
"title": "Bike",
"description": "Globe bike ",
"price": {
"amount": 50,
"currency": "USD",
"original_amount": null,
"display": "$50"
},
"seller": {
"id": "1000000001",
"handle": null,
"name": "Sample User",
"url": null,
"avatar_url": null,
"verified": null
},
"rating": null,
"review_count": null,
"sold_count": null,
"image_urls": [
"https://scontent-dfw6-2.xx.fbcdn.net/v/t39.84726-6/860426736_1177010601353939_238941087186559718_n.jpg?stp=dst-jpg_p720x720_tt6&_nc_cat=108&ccb=1-7&_nc_sid=9...",
"https://scontent-dfw6-2.xx.fbcdn.net/v/t45.5328-4/868076286_2204178476800949_3428237941662703637_n.jpg?stp=dst-jpg_p720x720_tt6&_nc_cat=108&ccb=1-7&_nc_sid=2..."
],
"category": "Bicycles",
"in_stock": true,
"location": {
"name": "Austin, TX",
"address": null,
"city": "Austin",
"region": "TX",
"country": null,
"latitude": 30.270080566406,
"longitude": -97.750854492188
},
"published_at": "2026-10-27T02:47:57Z",
"extra": {
"attributes": [
{
"label": "Used - Good",
"name": "Condition",
"value": "used_good"
}
],
"category_id": "1658310421102081",
"category_slug": "bicycles",
"condition": "Used - Good",
"delivery_types": [
"IN_PERSON"
],
"is_live": true
}
},
"cursor": null,
"has_more": null
}Fields
One Product in data.
A field the platform does not give is null, never made up. Extra platform details are in extra.
| Field | Type | Always | Notes |
|---|---|---|---|
object | "product" | ||
platform | Platform | yes | |
id | string | yes | |
url | string or null | ||
title | string or null | ||
description | string or null | ||
price | Price or null | ||
seller | Author or null | ||
rating | number or null | ||
review_count | integer or null | ||
sold_count | integer or null | ||
image_urls | string[] or null | ||
category | string or null | ||
in_stock | boolean or null |
Show the other 3 fields
| Field | Type | Always | Notes |
|---|---|---|---|
location | Place or null | ||
published_at | string (ISO 8601 date-time) or null | ||
extra | object or null |
Full field list in the reference for this endpoint and the data models. Errors are listed under Errors.
Questions
Which errors can it return?
invalid_params (do not retry), unsupported_url (do not retry), not_found (do not retry). Account and platform errors from the errors list can also happen. A failure always costs 0 credits.
Is there an SDK call for it?
The preview Python client has client.facebook.marketplace_item(...) and the TypeScript client client.facebook.marketplaceItem(). Both return the same envelope as the HTTP API. The packages are not published yet; plain HTTP works today in any language.
Can an AI agent call it?
Yes. The MCP server reaches every built endpoint, with the same prices.