Facebook API

Facebook Marketplace item API

Fetch full details for a single Facebook Marketplace listing by ID or URL (title, price, location, photos, and attributes) as normalized JSON.

$1.20/1k req, pay per request, no subscription.

What the API returned
{
"id":ย "1656586118821988",
"url":ย "https://www.facebook.com/marketplace/item/1656586118821988/",
"title":ย "Trek FX 2 Hybrid Bike - Size Medium",
"description":ย "Selling my Trek FX 2 hybrid bike, size medium, frame is 17.5 inches. Ridden maybe 15 times, kept indoors. New tires and tune-up done in the spring. Comes with a rear rack and kickstand. Cash or Venmo, pickup only in East Austin.",
"creationTime":ย "2026-09-20T14:32:00Z",
"locationText":ย "Austin, TX",
"priceFormatted":ย "$285",
"priceAmount":ย 285,
... 18 more fields
}
Uptime
99.86%
30d ยท 23,562 calls
Requests
23,563
30d ยท weekly, last 12 wks
Response
2.6s
median ยท 30d

Pricing

Facebook Marketplace item API pricing

You pay
$12.00
$1.20/1k req, only for what you use. No monthly plan.
Your first 83 requests are free with the $0.10 starting balance.

Try it

Get Facebook marketplace item in one request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.

This sample shows 25 of 43 fields. See every field

{
  "found": true,
  "data": {
    "id": "1656586118821988",
    "url": "https://www.facebook.com/marketplace/item/1656586118821988/",
    "title": "Trek FX 2 Hybrid Bike - Size Medium",
    "description": "Selling my Trek FX 2 hybrid bike, size medium, frame is 17.5 inches. Ridden maybe 15 times, kept indoors. New tires and tune-up done in the spring. Comes with a rear rack and kickstand. Cash or Venmo, pickup only in East Austin.",
    "creationTime": "2026-09-20T14:32:00Z",
    "locationText": "Austin, TX",
    "priceFormatted": "$285",
    "priceAmount": 285,
    "currency": "USD",
    "categoryId": "1020384756192837",
    "isSold": false,
    "isLive": true,
    "listingDateText": "Listed 4 days ago",
    "latitude": 30.2677,
    "longitude": -97.7475,
    "strikethroughPriceFormatted": "$350",
    "shareUrl": "https://www.facebook.com/marketplace/item/1656586118821988/",
    "deliveryTypes": [
      "IN_PERSON",
      "SHIPPING"
    ],
    "isHidden": false,
    "isPending": false,
    "isShippingOffered": true,
    "isBuyNowEnabled": false,
    "messagingEnabled": true
  }
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-10-31 ยท uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • idstring

    Facebook Marketplace item ID.

  • urlstring

    https://www.facebook.com/marketplace/item/1656586118821988/

    Facebook Marketplace item URL.

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

each attributedata.attributes[]

Item specifics Facebook publishes for the listing.

  • labelstring

    Display label for the value, e.g. "Used - Good".

  • namestring

    Attribute name, e.g. "Condition".

  • valuestring

    Raw attribute value, e.g. "used_good".

datadata
  • categoryIdstring

    1020384756192837

    Populated whenever the provider has data for the entity.

  • creationTimestring

    2026-09-20T14:32:00Z

    Populated whenever the provider has data for the entity.

  • currencystring

    USD

    Populated whenever the provider has data for the entity.

  • deliveryTypesstring[]

    Delivery options the seller offers, e.g. "IN_PERSON" or "SHIPPING".

  • descriptionstring

    Selling my Trek FX 2 hybrid bike, size medium, frame is 17.5 inches. Ridden maybe 15 times, kept indoors. New tires and tune-up done in the spring. Comes with a rear rack and kickstand. Cash or Venmo, pickup only in East Austin.

    Populated whenever the provider has data for the entity.

  • idstring

    1656586118821988

    Populated whenever the provider has data for the entity.

  • isBuyNowEnabledboolean

    false

    Whether buy-now checkout is enabled on the listing.

  • isHiddenboolean

    false

    Whether the listing is hidden.

  • isLiveboolean

    true

  • isPendingboolean

    false

    Whether the listing is marked pending.

  • isShippingOfferedboolean

    true

    Whether the seller offers shipping.

  • isSoldboolean

    false

  • latitudenumber

    30.2677

    Latitude of the listing's location.

  • listingDateTextstring

    Listed 4 days ago

    Human-readable listing age Facebook shows, e.g. "Listed 4 months ago".

  • locationTextstring

    Austin, TX

    Populated whenever the provider has data for the entity.

  • longitudenumber

    -97.7475

    Longitude of the listing's location.

  • messagingEnabledboolean

    true

    Whether buyers can message the seller about the listing.

  • priceAmountnumber

    285

    Populated whenever the provider has data for the entity.

  • priceFormattedstring

    $285

    Populated whenever the provider has data for the entity.

  • shareUrlstring

    https://www.facebook.com/marketplace/item/1656586118821988/

    Canonical shareable Marketplace URL of the listing.

  • strikethroughPriceFormattedstring

    $350

    Previous price shown struck through, formatted for display.

  • titlestring

    Trek FX 2 Hybrid Bike - Size Medium

    Populated whenever the provider has data for the entity.

  • urlstring

    https://www.facebook.com/marketplace/item/1656586118821988/

    Populated whenever the provider has data for the entity.

each photodata.photos[]

Photos attached to the listing.

  • captionstring

    Accessibility caption Facebook generated for the photo.

  • heightinteger

    Pixel height of the photo.

  • idstring

    Numeric Facebook id of the photo, as a string.

  • urlstring

    Image URL of the photo.

  • widthinteger

    Pixel width of the photo.

sellerdata.seller

The person or business selling the item. Empty when Facebook does not show the seller on the listing.

  • idstring

    Facebook id of the seller, as a string.

  • imagestring

    URL of the seller's profile picture.

  • joinedUtcnumber

    UTC epoch timestamp in seconds (Unix time) the seller joined Facebook. Multiply by 1000 for a JS Date in milliseconds.

  • namestring

    The seller's display name.

  • ratingnumber

    The seller's average rating as a seller, out of 5. Absent when the seller has no ratings or keeps them private.

  • ratingCountinteger

    Number of ratings the seller has received as a seller. Absent when the seller has no ratings or keeps them private.

top level
  • foundboolean

    true

  • 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.

You get back. Named, typed fields in the same shape whichever source answers.

FAQ

About the Facebook Marketplace item API

The AnyAPI Facebook Marketplace item API returns Facebook marketplace item data as normalized JSON from one POST call to /v1/run/facebook.marketplace_item. Fetch full details for a single Facebook Marketplace listing by ID or URL (title, price, location, photos, and attributes) as normalized JSON. AnyAPI returns one normalized schema whichever source serves it. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 99.9% of Facebook marketplace item calls through AnyAPI succeeded, with a median response time of 2.6 seconds across 23,562 measured calls.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

Fetch full details for a single Facebook Marketplace listing by ID or URL (title, price, location, photos, and attributes) as normalized JSON. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 99.9% of Facebook marketplace item calls through AnyAPI succeeded, with a median response time of 2.6 seconds across 23,562 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 83 Facebook Marketplace item calls at $0.0012 each.

Send a POST request to https://api.getanyapi.com/v1/run/facebook.marketplace_item with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.