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

Facebook Ad Transcript

เอกสาร API
https://api.sandbase.ai/v1/api/facebook/ad-transcript

Get the spoken-word transcript of a Meta Ad Library video ad by ad ID or URL.

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

Playground

อินพุต
Meta Ad Library ad ID (e.g. "1020359190509080"). Provide either id or url.
Meta Ad Library ad URL (e.g. "https://www.facebook.com/ads/library?id=1020359190509080"). Provide either id or url.
เอาต์พุตพร้อมใช้งาน

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

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

API README

Facebook Ad Transcript API

This API returns the spoken-word transcript of a video ad in the Meta Ad Library. It needs either an ad ID (id) or an Ad Library ad URL (url).

Use cases

  • Pull the script of a competitor's video ad to study its hook and offer.
  • Index ad transcripts to search for repeated claims or phrases across campaigns.
  • Check whether a video ad has a transcript before sending it to a review or translation step.

Request

curl -X POST "https://api.sandbase.ai/v1/api/facebook/ad-transcript" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id": "2045879599391945"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
idstringNoMeta Ad Library ad ID (e.g. "1020359190509080"). Provide either id or url.
urlstringNoMeta Ad Library ad URL (e.g. "https://www.facebook.com/ads/library?id=1020359190509080"). Provide either id or url.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "adId": "2045879599391945",
    "transcript": "",
    "transcriptAvailable": false,
    "url": "https://www.facebook.com/ads/library?id=2045879599391945"
  },
  "found": true
}

Response fields

FieldMeaning
data.adIdThe ID of the ad that was looked up.
data.transcriptThe spoken-word text of the ad. It is an empty string when no transcript exists.
data.transcriptAvailabletrue when a transcript was found for the ad, false when not. Check this before you use transcript.
data.urlThe Meta Ad Library URL for the ad.
foundtrue when the lookup returned a result for the ad.

Notes

  • Send either id or url. The id is the number in the id query parameter of an Ad Library URL, for example 2045879599391945.
  • A response can have found: true and still return an empty transcript with transcriptAvailable: false. Treat this as an ad with no transcript.
  • To find ad IDs, use Facebook Ad Search or Facebook Company Ads. For ad creative data, call Facebook Ad Creative Details.

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.0011 ต่อครั้งJSON
Facebookเริ่มต้นที่ $0.0011 ต่อครั้งJSON
Facebookเริ่มต้นที่ $0.0012 ต่อครั้งJSON

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

คำถาม

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

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

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

Facebook Ad Transcript API ราคาเท่าไร?

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

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

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

Facebook Ad Transcript API ส่งคืนอะไร?

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

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

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