idstring
Facebook Marketplace item ID.
https://api.sandbase.ai/v1/api/facebook/marketplace-itemFetch full details for a single Facebook Marketplace listing by ID or URL (title, price, location, photos, and attributes) as normalized JSON.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns the details of one Facebook Marketplace listing as JSON. You pass either the item id or the item url. The response includes the title, price, location, photos, seller, and item attributes.
curl -X POST "https://api.sandbase.ai/v1/api/facebook/marketplace-item" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.facebook.com/marketplace/item/1656586118821988/"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | Facebook Marketplace item ID. |
url | string | No | Facebook Marketplace item URL. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"attributes": [
{
"label": "Used - Good",
"name": "Condition",
"value": "used_good"
}
],
"categoryId": "1658310421102081",
"creationTime": "2026-05-15T16:57:39.000Z",
"currency": "USD",
"deliveryTypes": [
"IN_PERSON"
],
"description": "Was going to hang on to this one bc I absolutely love how it looks, but the 20” …",
"id": "1656586118821988",
"isBuyNowEnabled": false,
"isHidden": false,
"isLive": true,
"isPending": false,
"isShippingOffered": false
},
"found": true
}
| Field | Meaning |
|---|---|
data.title / data.description | Listing title and the seller's description text. |
data.priceAmount / data.currency / data.priceFormatted | Asking price as a number, its currency code, and the display string such as $220. |
data.strikethroughPriceFormatted | The earlier price shown crossed out, as a display string. It is $380 in this listing. |
data.isSold / data.isPending / data.isLive / data.isHidden | Flags for the current state of the listing. |
data.locationText / data.latitude / data.longitude | Place name of the listing and its coordinates. |
data.attributes[].name / data.attributes[].label / data.attributes[].value | Item attributes such as Condition, Bicycle Type, and Material. label is the display text and value is the raw value. |
data.photos[].url / data.photos[].width / data.photos[].height | Photo link with its width and height. |
data.seller.name / data.seller.rating / data.seller.ratingCount | Seller name, rating value, and the number of ratings. |
data.creationTime / data.listingDateText | Creation time as an ISO 8601 timestamp and the relative listing text such as Listed 5 months ago. |
data.deliveryTypes / data.isShippingOffered / data.isBuyNowEnabled | How the item can be handed over and whether shipping or buy now is offered. |
id or url. The id is the number at the end of the item URL, for example 1656586118821988.found flag. It is true when the listing was found.Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/facebook/marketplace-item" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.facebook.com/marketplace/item/1656586118821988/"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
idstringFacebook Marketplace item ID.
urlstringFacebook Marketplace item URL.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Facebook | $0.0012 प्रति कॉल से | JSON |
Facebook | $0.0012 प्रति कॉल से | JSON |
Facebook | $0.00462 प्रति कॉल से | JSON |
Facebook | $0.0012 प्रति कॉल से | JSON |
Facebook | $0.0011 प्रति कॉल से | JSON |
Facebook | $0.0011 प्रति कॉल से | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/facebook/marketplace-item पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.0012 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
कोई parameters आवश्यक नहीं हैं। वैकल्पिक: id (string) और url (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Facebook Marketplace Item SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Facebook API access के लिए आवेदन करने की आवश्यकता नहीं है।