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.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
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.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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/"
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
idstringFacebook Marketplace item ID.
urlstringFacebook Marketplace item URL.
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
Facebook Marketplace ItemQuesta API Facebook | Da $0.0012 per chiamata | JSON |
Facebook | Da $0.0012 per chiamata | JSON |
Facebook | Da $0.00462 per chiamata | JSON |
Facebook | Da $0.0012 per chiamata | JSON |
Facebook | Da $0.0011 per chiamata | JSON |
Facebook | Da $0.0011 per chiamata | JSON |
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/facebook/marketplace-item con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
A partire da $0.0012 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Nessun parametro richiesto. Facoltativi: id (string) e url (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
No. Facebook Marketplace Item funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Facebook.