1. Platforms
  2. Facebook Scraper API
  3. Facebook Marketplace listing API

Facebook Marketplace listing API

One listing: title, description, price, location, condition, photos, seller and availability flags.

GET api.socialscrape.dev/v1/facebook/marketplace/item

Cost
1 credit
Cached repeats
0 creditssend max_age_days, results kept 30 days
Failed requests
0 credits

You send one of url or id.

Part of the Facebook Scraper API: 23 Facebook endpoints on one key.

Request

Send your key in the x-api-key header.

1curl -G "https://api.socialscrape.dev/v1/facebook/marketplace/item" \2  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \3  --data-urlencode 'id=1114608241188932'

Parameters

NameTypeRequiredDescription
urlurlone ofListing URL (facebook.com/marketplace/item/<id>).
idstringone ofListing 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 examples, not your data.

200 OKSample response
1{2  "ok": true,3  "credits_charged": 1,4  "credits_remaining": 4999,5  "cached": false,6  "cached_at": null,7  "request_id": "req_545c991e996a94dfbba1ae8d",8  "data": {9    "object": "product",10    "platform": "facebook",11    "id": "1114608241188932",12    "url": "https://www.facebook.com/marketplace/item/1114608241188932/",13    "title": "Bike",14    "description": "Globe bike ",15    "price": {16      "amount": 50,17      "currency": "USD",18      "original_amount": null,19      "display": "$50"20    },21    "seller": {22      "id": "1000000001",23      "handle": null,24      "name": "Sample User",25      "url": null,26      "avatar_url": null,27      "verified": null28    },29    "rating": null,30    "review_count": null,31    "sold_count": null,32    "image_urls": [33      "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...",34      "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..."35    ],36    "category": "Bicycles",37    "in_stock": true,38    "location": {39      "name": "Austin, TX",40      "address": null,41      "city": "Austin",42      "region": "TX",43      "country": null,44      "latitude": 30.270080566406,45      "longitude": -97.75085449218846    },47    "published_at": "2026-10-27T02:47:57Z",48    "extra": {49      "attributes": [50        {51          "label": "Used - Good",52          "name": "Condition",53          "value": "used_good"54        }55      ],56      "category_id": "1658310421102081",57      "category_slug": "bicycles",58      "condition": "Used - Good",59      "delivery_types": [60        "IN_PERSON"61      ],62      "is_live": true63    }64  },65  "cursor": null,66  "has_more": null67}

Fields

One Product in data.

A field the platform does not give is null, never made up. Extra platform details are in extra.

FieldTypeAlwaysNotes
object"product"
platformPlatformyes
idstringyes
urlstring or null
titlestring or null
descriptionstring or null
pricePrice or null
sellerAuthor or null
ratingnumber or null
review_countinteger or null
sold_countinteger or null
image_urlsstring[] or null
categorystring or null
in_stockboolean or null
Show the other 3 fields
FieldTypeAlwaysNotes
locationPlace or null
published_atstring (ISO 8601 date-time) or null
extraobject 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 Python client has client.facebook.marketplace_item(...) and the TypeScript client client.facebook.marketplaceItem(). Both return the same envelope as the HTTP API. Install them from PyPI (socialscrape-sdk) or npm (socialscrape); plain HTTP works in any language.

Can an AI agent call it?

Yes. The MCP server, which you run on your own machine, reaches every built endpoint, with the same prices.