Facebook API endpoint
Use Crawlora's Get Facebook Marketplace listing API to extract supported public Facebook data as structured JSON. This page includes request parameters, cURL examples, response schema, error behavior, credit cost, and a Playground link for testing before integration.
/facebook/marketplace/item/{id}Fetches public data for a single Facebook Marketplace listing given its numeric listing id: title, price, description, condition, a representative photo, and approximate (city/state) location. Facebook's own logged-out payload withholds seller identity entirely, so this response has no seller field by design. Developers commonly use this endpoint for data enrichment, monitoring, research dashboards, internal automation, and agent-native workflows that need repeatable structured public web data. Authentication uses the documented Crawlora headers, and usage is metered with the credit cost shown on this page.
Request parameters are generated from the active endpoint catalog. Required values must be sent before Crawlora can call the upstream public web data source.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| id (path) | string | Yes | Facebook Marketplace numeric listing id | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/facebook/marketplace/item/example" \ -H "x-api-key: $CRAWLORA_API_KEY"
Send your scraping API key in the x-api-key header. Use the console API Keys page to rotate or select the active key.
Endpoint usage is metered in credits. The plan prices, included credits, limits, and overage rates below match the active backend billing configuration.
| Plan | Price | Included credits | Daily cap | Rate limit | Overage |
|---|---|---|---|---|---|
| Free | $0/mo | 2,000 | 500 daily credits | 5/min | No overage |
| Starter | $9/mo | 20,000 | 5,000 daily credits | 15/min | $0.75/1,000 overage credits when enabled |
| Growth | $29/mo | 100,000 | 25,000 daily credits | 45/min | $0.45/1,000 overage credits when enabled |
| Pro | $79/mo | 400,000 | No daily cap | 120/min | $0.30/1,000 overage credits |
| Business | $199/mo | 1,200,000 | No daily cap | 300/min | $0.20/1,000 overage credits |
| Enterprise | $499/mo | 5,000,000 | No daily cap | 1,000/min | $0.12/1,000 overage credits |
This endpoint is executed through Crawlora's managed scraping infrastructure.
identity entirely at this transport tier, so this response has no seller field by design — there is nothing to omit. `locationText` is already city/state-level; Facebook's own listing page labels this "Location is approximate", never an exact address. `image` is a single representative photo (`og:image`); the full photo gallery loads via a separate client-side call that isn't present in this transport tier. `categoryId` is Facebook's internal numeric category id — it has no stable, human-readable name in this payload and is not a documented global taxonomy, so treat it only as an opaque grouping key. `productType` is Facebook's internal listing-type classifier when the detail page exposes one (e.g. `AUTOS_VEHICLE`, `FOR_SALE_ITEM`) — not a complete or documented taxonomy. A removed, unavailable, or nonexistent listing id returns `404`. Example response: ```json { "code": 200, "msg": "OK", "data": { "id": "1435631148377071", "title": "2003 Toyota Sequoia · SR5 Sport Utility 4D", "description": "2003 Toyota Sequoia SR5 2WD\n\n* 227,490 miles\n* 4.7L V8\n* Automatic transmission\n* Clean title", "price": { "formatted": "$4,500", "amount": "4500.00", "currency": "USD", "isFree": false }, "condition": "USED", "productType": "AUTOS_VEHICLE", "categoryId": "807311116002614", "locationText": "Daly City, CA", "image": "https://scontent.fsgn12-1.fna.fbcdn.net/v/t39.30808-6/763299014_1050401254209069_111052989002879713_n.jpg", "isLive": true, "isPending": false, "isSold": false, "createdAt": "2026-08-01T12:00:14Z", "url": "https://www.facebook.com/marketplace/item/1435631148377071/", "sourceUrl": "https://www.facebook.com/marketplace/item/1435631148377071/" } } ```
Crawlora does not silently return bad data when the upstream page cannot be used.
| Status | Common failure case |
|---|---|
| 400 | Invalid input or missing required parameter |
| 429 | Plan or endpoint rate limit exceeded |
| 500 | Internal execution error |
| 502 | Upstream platform failed, returned unusable HTML, or served a challenge page that could not be resolved |
When possible, Crawlora returns structured error context so your integration can retry, back off, or inspect the request.
| Status | Description | Schema |
|---|---|---|
| 400 | Bad request — missing or non-numeric listing id | #/definitions/app.Response |
| 404 | Listing not found, removed, or unavailable | #/definitions/app.Response |
| 500 | Internal server error while fetching listing data | #/definitions/app.Response |
{
"code": 200,
"msg": "OK",
"data": {
"id": "1435631148377071",
"title": "2003 Toyota Sequoia · SR5 Sport Utility 4D",
"description": "2003 Toyota Sequoia SR5 2WD\n\n* 227,490 miles\n* 4.7L V8\n* Automatic transmission\n* Clean title",
"price": {
"formatted": "$4,500",
"amount": "4500.00",
"currency": "USD",
"isFree": false
},
"condition": "USED",
"productType": "AUTOS_VEHICLE",
"categoryId": "807311116002614",
"locationText": "Daly City, CA",
"image": "https://scontent.fsgn12-1.fna.fbcdn.net/v/t39.30808-6/763299014_1050401254209069_111052989002879713_n.jpg",
"isLive": true,
"isPending": false,
"isSold": false,
"createdAt": "2026-08-01T12:00:14Z",
"url": "https://www.facebook.com/marketplace/item/1435631148377071/",
"sourceUrl": "https://www.facebook.com/marketplace/item/1435631148377071/"
}
}Request schema
No body schema
Response schema
#/definitions/facebook.marketplaceItemResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | facebook.MarketplaceItem | No | ||||
| data.categoryId | string | No | 807311116002614 | CategoryID is Facebook's internal numeric category id. It has no stable, human-readable name in this credential-free payload and is not a documented global taxonomy (the same numeric id observed for one location did not match the equivalent category in another location during research) -- expose only as an opaque grouping key. | ||
| data.condition | string | No | USED | Condition is Facebook's own listing condition value when present (e.g. "NEW", "USED"), not a normalized enum. | ||
| data.createdAt | string | No | 2026-08-01T12:00:00Z | |||
| data.description | string | No | 2003 Toyota Sequoia SR5 2WD * 227,490 miles * 4.7L V8 | |||
| data.id | string | No | 1435631148377071 | |||
| data.image | string | No | https://scontent.fsgn12-1.fna.fbcdn.net/v/t39.30808-6/763299014_1050401254209069_111052989002879713_n.jpg | Image is a single representative photo (og:image). The full photo gallery is not present in this transport tier -- see file doc comment. | ||
| data.isLive | boolean | No | true | |||
| data.isPending | boolean | No | false | |||
| data.isSold | boolean | No | false | |||
| data.locationText | string | No | Daly City, CA | LocationText is Facebook's own display string for the listing's location, already city/state-level -- the listing page itself labels this "Location is approximate", never an exact address. | ||
| data.price | facebook.MarketplacePrice | No | ||||
| data.price.amount | string | No | 4500.00 | |||
| data.price.currency | string | No | USD | |||
| data.price.formatted | string | No | $4,500 | Formatted is Facebook's own display string, e.g. "$4,500" or "FREE". | ||
| data.price.isFree | boolean | No | false | IsFree is true when the listing has no price (Formatted == "FREE"). | ||
| data.productType | string | No | AUTOS_VEHICLE | ProductType is Facebook's internal listing-type classifier when the detail page exposes one (e.g. "AUTOS_VEHICLE", "FOR_SALE_ITEM"). Not a complete or documented taxonomy -- treat as best-effort metadata. | ||
| data.sourceUrl | string | No | https://www.facebook.com/marketplace/item/1435631148377071/ | |||
| data.title | string | No | 2003 Toyota Sequoia · SR5 Sport Utility 4D | |||
| data.url | string | No | https://www.facebook.com/marketplace/item/1435631148377071/ | |||
| msg | string | No | OK |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/facebook/marketplace/item/example" \
-H "x-api-key: $CRAWLORA_API_KEY"Crawlora is designed for responsible structured public web data workflows. Customers are responsible for using Crawlora in compliance with applicable laws, third-party rights, target-platform rules, and Crawlora terms.
Read Crawlora terms