API para Facebook: Item do Marketplace
Obtenha os detalhes completos de um anúncio do Facebook Marketplace por ID ou URL (título, preço, localização, fotos e atributos) em JSON normalizado.
Preços
Um preço, em dólares
Teste
Faça sua primeira requisição
{
"data": {
"attributes": [
{
"label": "Example title",
"name": "Example title",
"value": "19.99"
}
],
"categoryId": "general",
"creationTime": "2024-01-15T09:30:00Z",
"currency": "USD",
"deliveryTypes": [
"general"
],
"description": "A short example description of this item.",
"id": "a1b2c3d4",
"isBuyNowEnabled": true,
"isHidden": false,
"isLive": true,
"isPending": true,
"isShippingOffered": true,
"isSold": true,
"latitude": 37.7749,
"listingDateText": "A short example description of this item.",
"locationText": "A short example description of this item.",
"longitude": -122.4194,
"messagingEnabled": true,
"photos": [
{
"caption": "A short example description of this item.",
"height": 42,
"id": "a1b2c3d4",
"url": "https://example.com/page",
"width": 1024
}
],
"priceAmount": 19.99,
"priceFormatted": "19.99",
"shareUrl": "https://example.com/page",
"strikethroughPriceFormatted": "19.99",
"title": "Example title",
"url": "https://example.com/page"
},
"found": true,
"reason": "not_found"
}interface FacebookMarketplaceItemResponse {
data: {
attributes?: {
label?: string;
name?: string;
value?: string;
}[];
categoryId: string;
creationTime: string;
currency: string;
deliveryTypes?: string[];
description: string;
id: string;
isBuyNowEnabled?: boolean;
isHidden?: boolean;
isLive: boolean;
isPending?: boolean;
isShippingOffered?: boolean;
isSold: boolean;
latitude?: number;
listingDateText?: string;
locationText: string;
longitude?: number;
messagingEnabled?: boolean;
photos?: {
caption?: string;
height?: number;
id?: string;
url?: string;
width?: number;
}[];
priceAmount: number;
priceFormatted: string;
shareUrl?: string;
strikethroughPriceFormatted?: string;
title: string;
url: string;
} | null;
found: boolean;
reason?: "not_found";
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Requisição, resposta e preço
Última verificação em 2026-09-29 · disponibilidade e latência medidas em 30dcurl -X POST https://api.getanyapi.com/v1/run/facebook.marketplace_item \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://www.facebook.com/marketplace/item/1656586118821988/"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| id | string | ID do item no Facebook Marketplace. |
| url | string | "https://www.facebook.com/marketplace/item/1656586118821988/"URL do item no Facebook Marketplace. |
| Resposta | ||
| data | object | |
| data.attributes | object[] | Item specifics Facebook publishes for the listing. |
| data.attributes[].label | string | Display label for the value, e.g. "Used - Good". |
| data.attributes[].name | string | Attribute name, e.g. "Condition". |
| data.attributes[].value | string | Raw attribute value, e.g. "used_good". |
| data.categoryId | string | Populated whenever the provider has data for the entity. |
| data.creationTime | string | Populated whenever the provider has data for the entity. |
| data.currency | string | Populated whenever the provider has data for the entity. |
| data.deliveryTypes | string[] | Delivery options the seller offers, e.g. "IN_PERSON" or "SHIPPING". |
| data.description | string | Populated whenever the provider has data for the entity. |
| data.id | string | Populated whenever the provider has data for the entity. |
| data.isBuyNowEnabled | boolean | Whether buy-now checkout is enabled on the listing. |
| data.isHidden | boolean | Whether the listing is hidden. |
| data.isLive | boolean | |
| data.isPending | boolean | Whether the listing is marked pending. |
| data.isShippingOffered | boolean | Whether the seller offers shipping. |
| data.isSold | boolean | |
| data.latitude | number | Latitude of the listing's location. |
| data.listingDateText | string | Human-readable listing age Facebook shows, e.g. "Listed 4 months ago". |
| data.locationText | string | Populated whenever the provider has data for the entity. |
| data.longitude | number | Longitude of the listing's location. |
| data.messagingEnabled | boolean | Whether buyers can message the seller about the listing. |
| data.photos | object[] | Photos attached to the listing. |
| data.photos[].caption | string | Accessibility caption Facebook generated for the photo. |
| data.photos[].height | integer | Pixel height of the photo. |
| data.photos[].id | string | Numeric Facebook id of the photo, as a string. |
| data.photos[].url | string | Image URL of the photo. |
| data.photos[].width | integer | Pixel width of the photo. |
| data.priceAmount | number | Populated whenever the provider has data for the entity. |
| data.priceFormatted | string | Populated whenever the provider has data for the entity. |
| data.shareUrl | string | Canonical shareable Marketplace URL of the listing. |
| data.strikethroughPriceFormatted | string | Previous price shown struck through, formatted for display. |
| data.title | string | Populated whenever the provider has data for the entity. |
| data.url | string | Populated whenever the provider has data for the entity. |
| found | boolean | |
| reason | "not_found" | Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost. |
| Preço | ||
| Preço por requisição | USD | US$ 0,0012 |
| Preço /mil req. | USD | US$ 1,20 |
Dúvidas frequentes
Sobre o endpoint Item do Marketplace da API para Facebook
O endpoint Item do Marketplace da AnyAPI para Facebook retorna dados de Facebook em JSON normalizado com uma chamada POST para /v1/run/facebook.marketplace_item. Obtenha os detalhes completos de um anúncio do Facebook Marketplace por ID ou URL (título, preço, localização, fotos e atributos) em JSON normalizado. A AnyAPI retorna um schema normalizado, seja qual for a fonte que atende. Custa a partir de US$ 1,20 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 100,0% das chamadas ao endpoint Item do Marketplace da API para Facebook feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 2,2 segundos, em 343 chamadas medidas.