Sources › Ads › Meta Ad Library › Ad detail

Meta Ad Library Ad detail API
One ad with its full creative snapshot, carousel cards and media.
Request
https://api.zapi.ink/v1/ads:meta/ad-detail/:adIdSend your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 10 minutes.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| adId | string | path | Yes | Ad Library ID, from the search endpoint's `adId` Example: 978481707850213 |
Code examples
curl -X GET "https://api.zapi.ink/v1/ads:meta/ad-detail/978481707850213" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/ads:meta/ad-detail/978481707850213", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/ads:meta/ad-detail/978481707850213", headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "ads:meta", "data": { "adId": "978481707850213", "body": "Riapri TikTok oggi", "cards": [ { "body": "Riapri TikTok oggi", "image": "https://scontent-cgk2-1.xx.fbcdn.net/v/t39.35426-6/592483415_4234700246815127_2725760277796612195_n.jpg?_nc_cat=104&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=P7LpTXH2RN4Q7kNvwEJblZS&_nc_oc=Ad…", "title": "Il tuo feed si è rinfrescato con contenuti che ti piacciono", "caption": "tiktok.com", "ctaText": "Learn More", "ctaType": "LEARN_MORE", "linkUrl": "https://www.tiktok.com/", "imageResized": "https://scontent-cgk2-1.xx.fbcdn.net/v/t39.35426-6/592483415_4234700246815127_2725760277796612195_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=104&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=P7LpTXH2…", "linkDescription": "TikTok - trends start here. On a device or on the web, viewers can watch and discover millions of personalized short videos. Download the app to get started." }, { "body": "Riapri TikTok oggi", "image": "https://scontent-cgk2-1.xx.fbcdn.net/v/t39.35426-6/592903956_1641967966964390_8320276372231565093_n.jpg?_nc_cat=106&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=43XJQ26zibcQ7kNvwFWlaEk&_nc_oc=Ad…", "title": "Il tuo feed si è rinfrescato con contenuti che ti piacciono", "caption": "tiktok.com", "ctaText": "Learn More", "ctaType": "LEARN_MORE", "linkUrl": "https://www.tiktok.com/", "imageResized": "https://scontent-cgk2-1.xx.fbcdn.net/v/t39.35426-6/592903956_1641967966964390_8320276372231565093_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=106&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=43XJQ26z…", "linkDescription": "TikTok - trends start here. On a device or on the web, viewers can watch and discover millions of personalized short videos. Download the app to get started." }, { "body": "Riapri TikTok oggi", "image": "https://scontent-cgk1-2.xx.fbcdn.net/v/t39.35426-6/592570064_25465287146437403_807408166371539269_n.jpg?_nc_cat=107&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=N4Ztfy4avY4Q7kNvwEJuoAx&_nc_oc=Ad…", "title": "Il tuo feed si è rinfrescato con contenuti che ti piacciono", "caption": "tiktok.com", "ctaText": "Learn More", "ctaType": "LEARN_MORE", "linkUrl": "https://www.tiktok.com/", "imageResized": "https://scontent-cgk1-2.xx.fbcdn.net/v/t39.35426-6/592570064_25465287146437403_807408166371539269_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=107&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=N4Ztfy4a…", "linkDescription": "TikTok - trends start here. On a device or on the web, viewers can watch and discover millions of personalized short videos. Download the app to get started." } ], "title": "Il tuo feed si è rinfrescato con contenuti che ti piacciono", "pageId": "101039196037152", "caption": "tiktok.com", "ctaText": "Learn more", "ctaType": "LEARN_MORE", "endDate": 1788332400, "linkUrl": "http://www.tiktok.com/", "isActive": true, "pageName": "TikTok - EU", "gatedType": "ELIGIBLE", "startDate": 1776841200, "categories": [ "UNKNOWN" ], "isReshared": false, "reportCount": 0, "displayFormat": "DPA", "isAaaEligible": true, "pageIsDeleted": false, "pageLikeCount": 45901, "collationCount": 0, "hideDataStatus": "NONE", "pageCategories": [ "Entertainment website" ], "pageProfileUri": "https://www.facebook.com/100084043506456/", "isDeemedFinserv": false, "totalActiveTime": 0, "isLimitedDelivery": false, "pageProfilePicture": "https://scontent-cgk1-2.xx.fbcdn.net/v/t39.35426-6/592401388_1213371510674366_6272704253845623525_n.jpg?stp=dst-jpg_s60x60_tt6&_nc_cat=107&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=UR8hSSfxjD…", "publisherPlatforms": [ "FACEBOOK", "INSTAGRAM", "AUDIENCE_NETWORK" ], "containsSensitiveContent": false, "containsDigitalCreatedMedia": false }, "timestamp": "2026-09-02T07:34:29Z" }
Frequently asked questions
How do I call the Meta Ad Library Ad detail API?
Send a GET request to https://api.zapi.ink/v1/ads:meta/ad-detail/978481707850213 with your Zapi key in the x-api-key header. Parameters — required: adId. The response is JSON in the { project, data, timestamp } envelope.
What does the Meta Ad Library Ad detail API return?
One ad with its full creative snapshot, carousel cards and media. The example response has the fields adId, body, cards, title, pageId, caption, ctaText, ctaType. Each item in cards has fields such as body, image, title, caption, ctaText, ctaType, linkUrl, imageResized.
Is the Meta Ad Library Ad detail API free?
Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 10 Zap. Paid plans raise the limits.
Can an AI assistant call the Meta Ad Library Ad detail API?
Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "meta" and endpoint "ad-detail".
What other Meta Ad Library API endpoints are there?
It has 3 endpoints. Besides Ad detail: Search ads, Ads by advertiser.