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.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
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.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
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/"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
idstringFacebook Marketplace item ID.
urlstringFacebook Marketplace item URL.
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
Facebook Marketplace ItemEsta API Facebook | A partir de $0.0012 por chamada | JSON |
Facebook | A partir de $0.0012 por chamada | JSON |
Facebook | A partir de $0.00462 por chamada | JSON |
Facebook | A partir de $0.0012 por chamada | JSON |
Facebook | A partir de $0.0011 por chamada | JSON |
Facebook | A partir de $0.0011 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/facebook/marketplace-item com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
A partir de $0.0012 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Nenhum parâmetro é obrigatório. Opcionais: id (string) e url (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. Facebook Marketplace Item funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Facebook separadamente.