API · Facebook
GET /facebook/marketplace/items/{id}
One Facebook Marketplace listing: price, description, location, attributes, photos.
| Request | GET /v1/facebook/marketplace/items/{id} |
| Operation id | facebook.marketplace.item |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
One Facebook Marketplace listing: price, description, location, attributes, photos.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Listing id or facebook.com/marketplace/item/<id> URL. Example: 1154689397205553. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The listing. | FacebookMarketplaceItem |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The ad, Page or advertiser is not in the Meta Ad Library. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Facebook is temporarily unavailable. Retryable; nothing was charged. | Error |
FacebookMarketplaceItem fields
| Field | Type | Description |
|---|---|---|
id | string | |
marketplace_listing_title | string | null | |
listing_price | object | null | |
redacted_description | object | null | |
location_text | object | null | |
location | object | |
creation_time | integer | null | When it was listed, Unix seconds (UTC). |
is_sold | boolean | |
delivery_types | string[] | |
attribute_data | object | Condition, brand and other attributes. |
listing_photos | object[] | Photos: image.uri, image.width, image.height, accessibility_caption. |
Errors use one shape everywhere; see Errors for every code and what to do.