Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Facebook Marketplace Item

เอกสาร API
https://api.sandbase.ai/v1/api/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.

ราคา
เริ่มต้นที่ $0.0012USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
0 จำเป็น · 2 ไม่บังคับ

Playground

อินพุต
Facebook Marketplace item ID.
Facebook Marketplace item URL.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

Facebook Marketplace Item API

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.

Use cases

  • Track the asking price and sold status of a specific listing over time.
  • Pull photos, description, and attributes of a listing into a resale or price comparison tool.
  • Check whether a seller has a rating and how many ratings they have before you rank listings.
  • Map a listing to its coordinates to group items by area.

Request

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.

Parameters

NameTypeRequiredDescription
idstringNoFacebook Marketplace item ID.
urlstringNoFacebook Marketplace item URL.

Example response

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
}

Response fields

FieldMeaning
data.title / data.descriptionListing title and the seller's description text.
data.priceAmount / data.currency / data.priceFormattedAsking price as a number, its currency code, and the display string such as $220.
data.strikethroughPriceFormattedThe earlier price shown crossed out, as a display string. It is $380 in this listing.
data.isSold / data.isPending / data.isLive / data.isHiddenFlags for the current state of the listing.
data.locationText / data.latitude / data.longitudePlace name of the listing and its coordinates.
data.attributes[].name / data.attributes[].label / data.attributes[].valueItem 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[].heightPhoto link with its width and height.
data.seller.name / data.seller.rating / data.seller.ratingCountSeller name, rating value, and the number of ratings.
data.creationTime / data.listingDateTextCreation time as an ISO 8601 timestamp and the relative listing text such as Listed 5 months ago.
data.deliveryTypes / data.isShippingOffered / data.isBuyNowEnabledHow the item can be handed over and whether shipping or buy now is offered.

Notes

  • Send either id or url. The id is the number at the end of the item URL, for example 1656586118821988.
  • The response has a top-level found flag. It is true when the listing was found.
  • To find listing IDs first, use Facebook Marketplace. To find a location to search in, use Facebook Marketplace Location Search.

Pricing

Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Facebookเริ่มต้นที่ $0.0012 ต่อครั้งJSON
Facebookเริ่มต้นที่ $0.0012 ต่อครั้งJSON
Facebookเริ่มต้นที่ $0.00462 ต่อครั้งJSON
Facebookเริ่มต้นที่ $0.0012 ต่อครั้งJSON
Facebookเริ่มต้นที่ $0.0011 ต่อครั้งJSON
Facebookเริ่มต้นที่ $0.0011 ต่อครั้งJSON

คู่มือ:Best Facebook API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Facebook Marketplace Item API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/facebook/marketplace-item โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Facebook Marketplace Item API ราคาเท่าไร?

เริ่มต้นที่ $0.0012 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Facebook Marketplace Item API รับพารามิเตอร์อะไรบ้าง?

ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: id (string) และ url (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Facebook Marketplace Item API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Facebook ไหม?

ไม่จำเป็น Facebook Marketplace Item ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Facebook API แยกต่างหาก