API reference
Ad Creative Analyzer API
Ad image or video to hook, angle, offer, CTA, transcript, policy risks and 0-100 AI scores.
- Host
ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com- Base path
/v1/ad-creative- Auth
X-RapidAPI-Key,X-RapidAPI-Host- For agents
openapi.json·ad-creative.md
Overview and pricing · Tutorial: Ad Creative Analysis API · RapidAPI playground (opens in a new tab) ↗ · Apify actor (opens in a new tab) ↗
Creative Analysis
One ad image or video, with its copy and landing page, reviewed and scored.
Analyze Ad Creative
POST /v1/ad-creative/analyze
Review an ad image or video from its URL. Review one ad image or video (up to 3 minutes) from its URL: hook, angle, offer, CTA, audience, policy risks, six 0-100 scores, fixes, new hooks and headlines. 400 `not_an_ad` (not billed). Image 5 credits; video 10 up to 60 s, +4 per extra started minute; landing page match +2.
| Parameter | In | Type | Description |
|---|---|---|---|
primary_text |
body | string |
The ad's primary text (body copy above the creative), as shown. |
headline |
body | string |
The headline (bold line under the creative), as shown. |
description |
body | string |
The link description under the headline, as shown. |
cta |
body | string |
The call-to-action button text, as shown (e.g. 'Shop now'). |
url required |
body | string |
Direct link to the creative: an image (JPEG, PNG, WEBP, HEIC, GIF, BMP, TIFF) or a video (MP4, MOV, WEBM...) of up to 3 minutes and 80 MB. Ad library CDN links work while they are valid (Meta's expire after a few days). |
platform |
body | "meta" | "tiktok" | "youtube" | "google" | "linkedin" |
Where the ad runs: meta (Facebook, Instagram), tiktok, youtube, google or linkedin. Tunes the review and names that platform's policy areas. |
landing_page_url |
body | string |
The landing page the ad links to: read and scored for message match (promise, offer, product and tone of the ad vs the page). +2 credits when the page could be read. |
brand |
body | string |
The advertiser's brand name, to check its visibility (optional). |
language |
body | string |
Language of the analysis (e.g. 'English', 'fr', 'Deutsch'). Default English. Transcripts and on-screen text stay in their own language. |
curl -X POST "https://ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com/v1/ad-creative/analyze" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com" \
-H "Content-Type: application/json" \
-d '{
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/1928_advertisement_poster_-_Zenith.jpg/960px-1928_advertisement_poster_-_Zenith.jpg",
"platform": "meta"
}'
import requests
url = "https://ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com/v1/ad-creative/analyze"
payload = {
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/1928_advertisement_poster_-_Zenith.jpg/960px-1928_advertisement_poster_-_Zenith.jpg",
"platform": "meta"
}
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com",
}
r = requests.post(url, json=payload, headers=headers)
print(r.json())
const res = await fetch("https://ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com/v1/ad-creative/analyze", {
method: "POST",
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com",
"Content-Type": "application/json",
},
body: JSON.stringify({
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/1928_advertisement_poster_-_Zenith.jpg/960px-1928_advertisement_poster_-_Zenith.jpg",
"platform": "meta"
}),
});
console.log(await res.json());
Analyze Uploaded Ad Creative
POST /v1/ad-creative/analyze/upload
Review an uploaded ad image or video. Same as /analyze, for a file sent as multipart/form-data (field `file`) with the same optional fields. Same credits.
| Parameter | In | Type | Description |
|---|---|---|---|
file required |
form | file |
Ad image or video, up to 30 MB and 3 minutes. |
primary_text |
form | string |
The ad's primary text (body copy above the creative), as shown. |
headline |
form | string |
The headline (bold line under the creative), as shown. |
description |
form | string |
The link description under the headline, as shown. |
cta |
form | string |
The call-to-action button text, as shown (e.g. 'Shop now'). |
platform |
form | "meta" | "tiktok" | "youtube" | "google" | "linkedin" |
Where the ad runs: meta (Facebook, Instagram), tiktok, youtube, google or linkedin. Tunes the review and names that platform's policy areas. |
landing_page_url |
form | string |
The landing page the ad links to: read and scored for message match (promise, offer, product and tone of the ad vs the page). +2 credits when the page could be read. |
brand |
form | string |
The advertiser's brand name, to check its visibility (optional). |
language |
form | string |
Language of the analysis (e.g. 'English', 'fr', 'Deutsch'). Default English. Transcripts and on-screen text stay in their own language. |
curl -X POST "https://ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com/v1/ad-creative/analyze/upload" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com" \
-F "file=@./my-file"
import requests
url = "https://ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com/v1/ad-creative/analyze/upload"
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com",
}
with open("my-file", "rb") as f:
r = requests.post(url, headers=headers, files={"file": f})
print(r.json())
import { readFile } from "node:fs/promises";
const form = new FormData();
form.append("file", new Blob([await readFile("my-file")]), "my-file");
const res = await fetch("https://ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com/v1/ad-creative/analyze/upload", {
method: "POST",
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com",
},
body: form,
});
console.log(await res.json());
Bulk Tags
Up to 10 ads a call tagged by format, hook, angle, offer, CTA and audience.
Tag Ad Creatives
POST /v1/ad-creative/tags
Tag up to 10 ads by format, hook, angle, offer and CTA. Tag up to 10 ad images or videos (3 minutes each) to sort an ad library at scale: brand, category, style, hook, angle, offer, CTA, audience, policy risks, 0-100 score. A failed ad gets its own error, not billed. Per ad tagged: image 1 credit, video 3 per started minute.
| Parameter | In | Type | Description |
|---|---|---|---|
ads required |
body | object[] |
1 to 10 ads, each a creative URL with its optional copy. |
platform |
body | "meta" | "tiktok" | "youtube" | "google" | "linkedin" |
Where the ad runs: meta (Facebook, Instagram), tiktok, youtube, google or linkedin. Tunes the review and names that platform's policy areas. |
language |
body | string |
Language of the free-text tags (audience). Default English. |
curl -X POST "https://ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com/v1/ad-creative/tags" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com" \
-H "Content-Type: application/json" \
-d '{
"ads": [
{
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/1928_advertisement_poster_-_Zenith.jpg/960px-1928_advertisement_poster_-_Zenith.jpg"
}
],
"platform": "meta"
}'
import requests
url = "https://ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com/v1/ad-creative/tags"
payload = {
"ads": [
{
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/1928_advertisement_poster_-_Zenith.jpg/960px-1928_advertisement_poster_-_Zenith.jpg"
}
],
"platform": "meta"
}
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com",
}
r = requests.post(url, json=payload, headers=headers)
print(r.json())
const res = await fetch("https://ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com/v1/ad-creative/tags", {
method: "POST",
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com",
"Content-Type": "application/json",
},
body: JSON.stringify({
"ads": [
{
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/1928_advertisement_poster_-_Zenith.jpg/960px-1928_advertisement_poster_-_Zenith.jpg"
}
],
"platform": "meta"
}),
});
console.log(await res.json());
Response
{
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/1928_advertisement_poster_-_Zenith.jpg/960px-1928_advertisement_poster_-_Zenith.jpg",
"media": {
"type": "image",
"mime_type": "image/jpeg",
"width": 960,
"height": 1243,
"aspect_ratio": "3:4",
"orientation": "vertical",
"size_bytes": 200753,
"placements": []
},
"language": "en",
"platform": "meta",
"format": {
"style": "static_product",
"has_voice_over": false,
"has_music": false,
"has_captions": false,
"has_text_overlay": true,
"has_people": false,
"ugc_style": false
},
"on_screen_text": [{ "text": "ZENITH" }],
"hook": {
"window": "first glance",
"description": "A striking vintage poster featuring a red winged figure flying out of a vintage Zenith pocket watch against a deep black background.",
"text": "ZENITH",
"type": "product_reveal",
"score": 75,
"reason": "The bold red winged figure and vintage aesthetic easily catch the eye against the black background."
},
"angle": {
"type": "quality",
"summary": "Zenith watches represent timeless precision and legendary heritage."
},
"offer": { "type": "none" },
"cta": { "type": "none" },
"audience": {
"summary": "Watch enthusiasts, collectors, and luxury buyers interested in heritage horology.",
"segments": ["Watch collectors", "Luxury accessories buyers", "Art and vintage poster enthusiasts"],
"awareness_stage": "solution_aware"
},
"emotional_triggers": ["nostalgia", "pride", "curiosity"],
"brand": {
"name": "Zenith",
"logo_visible": true,
"logo_position": "bottom-centre"
},
"product": { "shown": true, "name": "Zenith Pocket Watch", "category": "luxury watch" },
"claims": [],
"policy_risks": [],
"scores": {
"hook": { "score": 75, "reason": "The bold red winged figure and vintage aesthetic easily catch the eye against the black background." },
"clarity": { "score": 70, "reason": "It is clearly an advertisement for Zenith watches, though the specific model or current offering is absent." },
"offer": { "score": 0, "reason": "There is no promotional offer or discount presented." },
"cta": { "score": 0, "reason": "There is no call to action provided in the image." },
"brand": { "score": 90, "reason": "The Zenith brand name is prominently displayed both on the watch face and in large green text at the bottom." },
"overall": { "score": 60, "reason": "A visually captivating vintage brand awareness piece, but lacks modern direct-response elements like a clear offer and CTA." }
},
"strengths": [
"Striking and memorable vintage artistic style",
"High brand visibility with prominent logo placement",
"Evokes a strong sense of heritage and timelessness"
],
"weaknesses": [
"Lacks any call to action or purchasing path",
"No specific product features or modern collection highlighted",
"Static heritage branding may not drive immediate online conversions"
],
"improvements": [
"Add a clear call to action button or text for digital platforms",
"Include a glimpse of a modern timepiece alongside the heritage art to bridge past and present",
"Incorporate a value proposition or collection name to guide interest"
],
"alternative_hooks": [
"Discover the century-old legacy of Zenith timepieces.",
"Time flies, but true craftsmanship lasts forever.",
"Explore the new Zenith collection today."
],
"alternative_headlines": ["Timeless Precision Since 1865", "The Art of Swiss Watchmaking", "Discover Zenith Timepieces"],
"copy_checks": [],
"disclaimer": "AI review of the creative as published. Scores estimate creative quality, not delivery results; policy risks name the policy areas to review, not a platform decision."
}
From a real response (the public-domain 1928 Zenith poster).
Why developers pick this API
- 💸 Cheaper than every AI ad breakdown we found: about $0.009 an image and $0.018 a video up to 60 seconds on PRO, where Apify ad analyzers charge $0.01 to $0.02 an image and $0.03 to $0.075 a video. Quick tags start at $0.0018 an ad. Failed calls use 0 credits.
- 🖼️🎞️ Images and videos in one endpoint: most tools read only videos, or only the ad text. Here the model watches the video with its sound and reads the copy and the landing page together.
- 🚩 Policy risks with the policy to check: each risk names the area (personal attributes, before/after, financial promises...) and the matching Meta, TikTok, Google or LinkedIn policy family, so a reviewer knows where to look.
- 🧪 Measured on real ads: 34 live Meta Ad Library ads (22 videos, 12 images, 27 brands, English, French, German, Spanish, Russian) and 19 hostile or broken inputs. The voice-over transcript agrees with our speech-to-text API on 95% of the words (median of 12 videos).
- 🔁 Stable scores: temperature 0 and anchored scales; a missing offer or CTA always scores 0, and the overall score stays within 5 points of the five others, weighted (hook 30 %, clarity 25 %, brand 20 %, offer 15 %, CTA 10 %).
- 🧰 Built for ad library data: send the CDN links of a Meta, TikTok, Google or LinkedIn ad library scraper as they are; expired links get a clear
media_unavailableerror, not a bill.
A video ad, with its copy
{
"url": "https://video-cdn.example/liberty-mutual-ad.mp4",
"primary_text": "The greatest gift is saving $700 on car insurance.",
"headline": "Customize and save with Liberty Mutual",
"cta": "Get quote",
"platform": "meta"
}
{
"media": {
"type": "video", "mime_type": "video/mp4", "width": 720, "height": 900,
"aspect_ratio": "4:5", "orientation": "vertical", "duration_seconds": 6.1,
"has_audio_track": true, "size_bytes": 562320,
"placements": ["Instagram feed", "Facebook feed", "LinkedIn feed"]
},
"language": "en",
"format": { "style": "lifestyle", "has_voice_over": true, "has_music": true, "has_captions": true, "has_text_overlay": true, "has_people": true, "ugc_style": false },
"on_screen_text": [
{ "second": 0.0, "text": "Doug's voice is high. Your savings could be higher!" },
{ "second": 0.0, "text": "Savings vary." }
],
"transcript": "Doug's voice is high. Your savings could be higher! Switch to car insurance with Liberty Mutual.",
"hook": {
"window": "0-3 s",
"description": "A man blows up a balloon at a birthday party, inhales the helium, and speaks in a high-pitched voice while an emu looks on.",
"text": "Doug's voice is high. Your savings could be higher!",
"type": "humor",
"score": 85,
"reason": "The helium voice and unusual emu companion instantly capture attention in the feed."
},
"offer": { "type": "price", "details": "Save $700 on car insurance" },
"cta": { "text": "Get quote", "type": "get_quote" },
"brand": { "name": "Liberty Mutual", "logo_visible": true, "logo_first_seen_second": 0.0, "logo_position": "bottom-left", "first_mention_second": 2.0 },
"claims": [{ "text": "Saving $700 on car insurance", "type": "financial", "needs_proof": true }],
"scores": {
"hook": { "score": 85, "reason": "The helium voice and unusual emu companion instantly capture attention in the feed." },
"clarity": { "score": 80, "reason": "Quickly communicates car insurance savings through humorous storytelling." },
"offer": { "score": 75, "reason": "Mentions potential savings clearly in the ad copy, though specific terms vary." },
"cta": { "score": 80, "reason": "Standard and clear Get Quote button matching the insurance funnel." },
"brand": { "score": 90, "reason": "Logo is prominent from the start and the recurring emu character builds strong brand recognition." },
"overall": { "score": 80, "reason": "An entertaining, brand-consistent spot that successfully blends humor with a direct insurance proposition." }
},
"improvements": [
"Test an alternate hook focusing immediately on the $700 savings claim.",
"Add a clear end card summarizing the main value proposition.",
"Include customer rating social proof to build additional trust."
]
}
From a real response to a live Meta Ad Library video (6 seconds, 10 credits), shortened: angle, audience, product, strengths, weaknesses and the new hooks and headlines are cut here. Add "landing_page_url" to also get landing_page: a 0-100 score, a reason, and the matches and mismatches between the ad and the page (+2 credits when the page could be read).
Policy risks
The model reads the creative and the copy. Copy with a fake system alert and a countdown:
{
"area": "misleading_urgency",
"severity": "high",
"evidence": "WARNING: your phone is infected with 3 viruses! Only 2 licences left, offer ends in 00:59. Tap to clean now.",
"explanation": "The ad copy uses deceptive scaretactics claiming the user's phone is infected and creating false scarcity/countdown timers, which violates Meta and Google misleading claims and scareware policies.",
"rules": [
{ "platform": "meta", "policy": "Meta Advertising Standards: Unacceptable business practices (deceptive features)" }
]
}
From a real response. "Hate your belly fat?" comes back as personal_attributes, "I lost 30 lbs in 2 weeks" as body_image, "Guaranteed returns, zero risk" as financial_promises. Without platform, each risk lists the Meta, TikTok, Google and LinkedIn policy families. On 34 real Meta ads and a compliant control, no risk was raised: ordinary claims are not flagged.
Bulk tags for an ad library
{
"ads": [
{ "id": "1112351285040176", "url": "https://video-cdn.example/typology-advent.mp4", "headline": "Bientôt épuisé.", "cta": "Shop now" },
{ "id": "1050973360756394", "url": "https://image-cdn.example/expressvpn.jpg", "headline": "Take Control Today" }
],
"platform": "meta"
}
{
"count": 2,
"succeeded": 2,
"results": [
{
"id": "1112351285040176", "url": "https://video-cdn.example/typology-advent.mp4", "success": true,
"media_type": "video", "duration_seconds": 48.6, "aspect_ratio": "9:16", "is_ad": true,
"language": "fr", "brand": "Typology", "product_category": "Skincare and Cosmetics",
"style": "ugc_testimonial", "hook_type": "product_reveal", "angle_type": "novelty",
"offer_type": "limited_time", "cta_type": "shop_now", "awareness_stage": "solution_aware",
"audience": "Skincare and beauty enthusiasts interested in high-quality cosmetic advent calendars.",
"emotional_triggers": ["curiosity", "exclusivity"],
"has_voice_over": true, "has_captions": true, "has_people": true, "ugc_style": true,
"policy_risk_areas": [], "overall_score": 85
},
{
"id": "1050973360756394", "url": "https://image-cdn.example/expressvpn.jpg", "success": true,
"media_type": "image", "aspect_ratio": "1:1", "is_ad": true,
"language": "en", "brand": "ExpressVPN", "product_category": "VPN and Cybersecurity",
"style": "static_product", "hook_type": "bold_claim", "angle_type": "problem_solution",
"offer_type": "none", "cta_type": "shop_now", "awareness_stage": "problem_aware",
"audience": "Internet users concerned about online privacy, tracking, and data security",
"emotional_triggers": ["security", "curiosity"],
"has_voice_over": false, "has_captions": false, "has_people": false, "ugc_style": false,
"policy_risk_areas": [], "overall_score": 85
}
]
}
Two items of a real batch (live Meta Ad Library links, shortened here). 1 credit for the image, 3 for the video (one started minute). An ad whose link is dead comes back with "success": false and its error, and is not billed; the others are.
Errors
| Status | code |
Meaning |
|---|---|---|
| 400 | media_unavailable |
The creative link is dead or expired (ad library CDN links last a few days): scrape the ad again. Not billed. |
| 400 | unsupported_file |
Not an image or a video (an HTML page, a PDF, an audio file...). |
| 400 | media_too_long |
The video is longer than 3 minutes. |
| 400 | file_too_large |
Over 80 MB by URL, 30 MB by upload. |
| 400 | not_an_ad |
The media promotes nothing (a landscape, a document) and no ad copy was sent. Not billed. |
| 400 | plan_limit |
The free BASIC plan takes videos up to 60 seconds and 3 ads per tags call. |
| 429 | daily_limit_reached |
Daily safety limit of your plan; resets at 00:00 UTC. |
| 503 | ai_error / capacity_exhausted |
The AI did not answer; retry. Not billed. |
Use it from an AI agent
Add this MCP server and the Ad Creative Analyzer - AI Review of Facebook & TikTok Ads actor becomes a tool your agent can call. Works in Claude, Cursor, VS Code and any MCP client; billed per event through Apify.
https://mcp.apify.com?tools=helenisapi/ad-creative-analyzer
Prefer plain HTTP? Give your agent the OpenAPI document or the Markdown reference.