API para Facebook

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.

POST/v1/run/facebook.marketplace_item
Disponibilidade
100,00%
30d · 343 chamadas
Requisições
343
30d · semanal, últimas 12 sem.
Resposta
2,2s
mediana · 30d

Preços

Um preço, em dólares

Teste

Faça sua primeira requisição

Abrir em
Obter chave grátis
Resposta de exemplo
Execuções grátis retornam só os primeiros 3 resultados. Recarregue uma chave para receber a resposta completa.
{
  "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 da resposta
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 30d
POST /v1/run/facebook.marketplace_item
curl -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/"}'
CampoTipoValor de exemplo
Corpo da requisição
idstringID do item no Facebook Marketplace.
urlstring"https://www.facebook.com/marketplace/item/1656586118821988/"URL do item no Facebook Marketplace.
Resposta
dataobject
data.attributesobject[]Item specifics Facebook publishes for the listing.
data.attributes[].labelstringDisplay label for the value, e.g. "Used - Good".
data.attributes[].namestringAttribute name, e.g. "Condition".
data.attributes[].valuestringRaw attribute value, e.g. "used_good".
data.categoryIdstringPopulated whenever the provider has data for the entity.
data.creationTimestringPopulated whenever the provider has data for the entity.
data.currencystringPopulated whenever the provider has data for the entity.
data.deliveryTypesstring[]Delivery options the seller offers, e.g. "IN_PERSON" or "SHIPPING".
data.descriptionstringPopulated whenever the provider has data for the entity.
data.idstringPopulated whenever the provider has data for the entity.
data.isBuyNowEnabledbooleanWhether buy-now checkout is enabled on the listing.
data.isHiddenbooleanWhether the listing is hidden.
data.isLiveboolean
data.isPendingbooleanWhether the listing is marked pending.
data.isShippingOfferedbooleanWhether the seller offers shipping.
data.isSoldboolean
data.latitudenumberLatitude of the listing's location.
data.listingDateTextstringHuman-readable listing age Facebook shows, e.g. "Listed 4 months ago".
data.locationTextstringPopulated whenever the provider has data for the entity.
data.longitudenumberLongitude of the listing's location.
data.messagingEnabledbooleanWhether buyers can message the seller about the listing.
data.photosobject[]Photos attached to the listing.
data.photos[].captionstringAccessibility caption Facebook generated for the photo.
data.photos[].heightintegerPixel height of the photo.
data.photos[].idstringNumeric Facebook id of the photo, as a string.
data.photos[].urlstringImage URL of the photo.
data.photos[].widthintegerPixel width of the photo.
data.priceAmountnumberPopulated whenever the provider has data for the entity.
data.priceFormattedstringPopulated whenever the provider has data for the entity.
data.shareUrlstringCanonical shareable Marketplace URL of the listing.
data.strikethroughPriceFormattedstringPrevious price shown struck through, formatted for display.
data.titlestringPopulated whenever the provider has data for the entity.
data.urlstringPopulated whenever the provider has data for the entity.
foundboolean
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çãoUSDUS$ 0,0012
Preço /mil req.USDUS$ 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.

Custa a partir de US$ 1,20 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Você recarrega uma carteira em dólares e cada chamada desconta dela. Algumas requisições pagas pela carteira que falham geram cobranças de processamento, que repassamos pelo custo, sem margem; a resposta de erro mostra o valor cobrado.

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 resposta é JSON normalizado, com o mesmo envelope que todo endpoint da AnyAPI retorna, então processar um segundo endpoint é só trocar a URL, e nada mais.

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. Estas são medições da própria AnyAPI sobre o tráfego que passa pelo gateway, recalculadas continuamente, e não uma meta de nível de serviço publicada.