# Facebook Marketplace Item API

Get one public Facebook Marketplace listing by its id, plus the listings Facebook shows alongside it. The item record carries the title, canonical URL, description and image; the response also returns about 22 related listings in the same shape as the browse feed. Real listing ids come from the Marketplace search or browse endpoint. Facebook exposes no seller object on the anonymous item page, so seller name, join date and gallery are not returned rather than being returned empty.

- **Documentation:** [https://scrappa.co/docs/facebook-api/facebook_marketplace_item](https://scrappa.co/docs/facebook-api/facebook_marketplace_item)
- **API group:** Facebook API
- **Endpoint:** `GET https://scrappa.co/api/facebook/marketplace/item`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `listing_id` | string | Yes | Marketplace listing id, as returned by /api/facebook/marketplace/search or /api/facebook/marketplace/browse. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/facebook/marketplace/item?listing_id=1901234567890123"
```

## Example response

```json
{
    "success": true,
    "item": {
        "id": "1901234567890123",
        "title": "Blue road bike",
        "url": "https://www.facebook.com/marketplace/item/1901234567890123/",
        "description": "Barely used road bike.",
        "image": "https://..."
    },
    "related_listings": [
        {
            "id": "1901234567890124",
            "title": "Green road bike",
            "price": {
                "amount": 15000,
                "currency": "USD",
                "formatted": "$150",
                "strikethrough": null
            },
            "is_live": true
        }
    ],
    "related_listings_count": 1,
    "meta": {
        "classification": "ok",
        "billable": true,
        "endpoint_family": "facebook_marketplace_item",
        "duration_ms": 9900
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required parameter is missing or malformed, for example a handle with characters Facebook does not allow or a non-numeric id. |
| 404 | Not Found | The page, profile, group, event, photo, reel, post or listing does not exist, is not public, or was served by Facebook without the requested record. This is the truthful answer, not a temporary fault: it is never billed and retrying the same permalink will not change it. |
| 503 | Records Not Read | Facebook returned records for this request that the parser could not read. The origin status is 502 and it is reported here as 503 because Cloudflare replaces 502 and 504 bodies with its own page. This request is never billed: the customer received no data. |
| 503 | Temporarily Unavailable | The upstream service is temporarily unavailable. Please retry shortly. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
