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.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
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.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
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 anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
idstringFacebook Marketplace item ID.
urlstringFacebook Marketplace item URL.
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
Facebook | Kullanım başına $0.0012'den itibaren | JSON |
Facebook | Kullanım başına $0.0012'den itibaren | JSON |
Facebook | Kullanım başına $0.00462'den itibaren | JSON |
Facebook | Kullanım başına $0.0012'den itibaren | JSON |
Facebook | Kullanım başına $0.0011'den itibaren | JSON |
Facebook | Kullanım başına $0.0011'den itibaren | JSON |
Kılavuzlar:Best Facebook API in 2026: Pricing Compared
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/facebook/marketplace-item adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.0012'dan başlayan, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli parametre yoktur. İsteğe bağlı: id (string) ve url (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. Facebook Marketplace Item, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Facebook API erişimi için ayrıca başvuru yapmanız gerekmez.