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.
Output Anda akan muncul di sini
Lengkapi input, lalu klik 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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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/"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
idstringFacebook Marketplace item ID.
urlstringFacebook Marketplace item URL.
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Facebook Marketplace ItemAPI ini Facebook | Dari $0.0012 per panggilan | JSON |
Facebook | Dari $0.0012 per panggilan | JSON |
Facebook | Dari $0.00462 per panggilan | JSON |
Facebook | Dari $0.0012 per panggilan | JSON |
Facebook | Dari $0.0011 per panggilan | JSON |
Facebook | Dari $0.0011 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/facebook/marketplace-item dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
Mulai dari $0.0012 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Tidak ada parameter yang wajib. Opsional: id (string) dan url (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Facebook Marketplace Item berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Facebook secara terpisah.