{"adId": "931919822778200","url": "https://www.facebook.com/ads/library/?id=931919822778200","transcript": "Still tossing and turning at 2am? Meet the Solace weighted blanket. Glass microbeads settle evenly, so it feels the same whether you're on your back or your side. Try it for 100 nights, free returns if it's not for you.","transcriptAvailable": true}
价格与服务商
Facebook 广告转录文本 API 价格:一个 API,2 个可互换的服务商
最便宜的服务商优先响应。如果它失败,下一个会在同一次调用中接手。
调用方式
一个请求获取 Facebook 广告转录文本
import os, requests res = requests.post( "https://api.getanyapi.com/v1/run/facebook.ad_transcript", headers={"Authorization": f"Bearer {os.environ['ANYAPI_KEY']}"}, json={ "id": "931919822778200" }, ) print(res.json())
这个示例展示了 7 个字段中的 6 个。查看全部字段
{
"found": true,
"data": {
"adId": "931919822778200",
"url": "https://www.facebook.com/ads/library/?id=931919822778200",
"transcript": "Still tossing and turning at 2am? Meet the Solace weighted blanket. Glass microbeads settle evenly, so it feels the same whether you're on your back or your side. Try it for 100 nights, free returns if it's not for you.",
"transcriptAvailable": true
}
}完整的参数与响应参考:这个接口的每个字段、类型和示例。
参考
一个请求,一种响应结构。
你发送的每个字段和收到的每个字段,都附有真实示例。
最近验证于 2026-11-14 · 可用率和延迟按 30d 统计
请求体
JSON,POST 到这个接口。
- idstring
931919822778200
Meta 广告资料库的广告 ID(例如 "1020359190509080")。提供 id 或 url 之一。
- urlstring
Meta 广告资料库的广告 URL(例如 "https://www.facebook.com/ads/library?id=1020359190509080")。提供 id 或 url 之一。
响应
JSON,每个字段一个示例值。
- adIdstring
931919822778200
Populated whenever the provider has data for the entity.
- transcriptstring
Still tossing and turning at 2am? Meet the Solace weighted blanket. Glass microbeads settle evenly, so it feels the same whether you're on your back or your side. Try it for 100 nights, free returns if it's not for you.
Transcribed ad audio text.
- transcriptAvailableboolean
true
- urlstring
https://www.facebook.com/ads/library/?id=931919822778200
Populated whenever the provider has data for the entity.
- foundboolean
true
- reason"not_found" | "too_long"
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. `too_long`: the video is longer than the source can transcribe, so asking again returns the same answer. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
常见问题
关于 Facebook 广告转录文本 API
AnyAPI 的 Facebook 广告转录文本 API 只需一次 POST 请求 /v1/run/facebook.ad_transcript,就以统一格式的 JSON 返回 Facebook 数据。通过广告 ID 或 URL 获取 Meta 广告资料库中视频广告的语音转录文本。AnyAPI 会在 2 个数据源之间路由每个请求,某个数据源失败时自动切换。费用:每千次请求 US$1.20 起,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 Facebook 广告转录文本 API 调用中有 100.0% 成功,响应时间中位数为 6.0 秒,共测量 5,248 次调用。