# Ad Creative Analyzer API

> Ad image or video to hook, angle, offer, CTA, transcript, policy risks and 0-100 AI scores.

**Media buyers pull thousands of ads from the Meta Ad Library, TikTok and Google, then read them one by one.** Send an ad **image** or **video** (up to 3 minutes) with its copy, and get the review a senior creative strategist would write, as clean JSON: the **hook** of the first 3 seconds, the **angle**, **offer**, **CTA**, **audience**, the **voice-over transcript**, **policy risks** with the platform policy to check, and **six 0-100 scores** with reasons, fixes and **new hooks**. About **$0.009 per image** and **$0.018 per short video** on PRO.

- Host: `ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com`
- Base URL: `https://ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com/v1/ad-creative`
- Auth: headers `X-RapidAPI-Key` and `X-RapidAPI-Host`
- OpenAPI: https://helenis-api.com/docs/ad-creative/openapi.json

## Endpoints

### 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 | Required | Description | Example |
|---|---|---|---|---|---|
| `primary_text` | body | `string` | no | The ad's primary text (body copy above the creative), as shown. |  |
| `headline` | body | `string` | no | The headline (bold line under the creative), as shown. |  |
| `description` | body | `string` | no | The link description under the headline, as shown. |  |
| `cta` | body | `string` | no | The call-to-action button text, as shown (e.g. 'Shop now'). |  |
| `url` | body | `string` | yes | 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). | `https://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/1928_advertisement_...` |
| `platform` | body | `"meta" \| "tiktok" \| "youtube" \| "google" \| "linkedin"` | no | Where the ad runs: meta (Facebook, Instagram), tiktok, youtube, google or linkedin. Tunes the review and names that platform's policy areas. | `meta` |
| `landing_page_url` | body | `string` | no | 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` | no | The advertiser's brand name, to check its visibility (optional). |  |
| `language` | body | `string` | no | Language of the analysis (e.g. 'English', 'fr', 'Deutsch'). Default English. Transcripts and on-screen text stay in their own language. |  |

```bash
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"
  }'
```

#### 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 | Required | Description | Example |
|---|---|---|---|---|---|
| `file` | form | `file` | yes | Ad image or video, up to 30 MB and 3 minutes. |  |
| `primary_text` | form | `string` | no | The ad's primary text (body copy above the creative), as shown. |  |
| `headline` | form | `string` | no | The headline (bold line under the creative), as shown. |  |
| `description` | form | `string` | no | The link description under the headline, as shown. |  |
| `cta` | form | `string` | no | The call-to-action button text, as shown (e.g. 'Shop now'). |  |
| `platform` | form | `"meta" \| "tiktok" \| "youtube" \| "google" \| "linkedin"` | no | 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` | no | 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` | no | The advertiser's brand name, to check its visibility (optional). |  |
| `language` | form | `string` | no | Language of the analysis (e.g. 'English', 'fr', 'Deutsch'). Default English. Transcripts and on-screen text stay in their own language. |  |

```bash
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"
```

### 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 | Required | Description | Example |
|---|---|---|---|---|---|
| `ads` | body | `object[]` | yes | 1 to 10 ads, each a creative URL with its optional copy. |  |
| `platform` | body | `"meta" \| "tiktok" \| "youtube" \| "google" \| "linkedin"` | no | 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` | no | Language of the free-text tags (audience). Default English. |  |

```bash
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"
  }'
```

## Sample call

Analyze Ad Creative: `POST /v1/ad-creative/analyze`.

```bash
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"
  }'
```

## Response

```json
{
  "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_unavailable` error, not a bill.

## A video ad, with its copy

```json
{
  "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"
}
```

```json
{
  "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:

```json
{
  "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

```json
{
  "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"
}
```

```json
{
  "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. |

## Pricing

Image review 5 credits; video 10 up to 60 s, +4 per extra minute; landing page match +2; quick tags 1 per image, 3 per video minute. Failed calls are never billed.

| Plan | Price | Credits included | Above the quota |
|---|---|---|---|
| BASIC | Free | 10 / day | resets every day |
| PRO | $4.99/month | 2,800 / month | $0.02 per credit |
| ULTRA | $14.99/month | 8,500 / month | $0.02 per credit |
| MEGA | $49.99/month | 29,000 / month | $0.02 per credit |

Apify actor **Ad Creative Analyzer - AI Review of Facebook & TikTok Ads**: billed per event; free-plan users get 10 ads per run.

| Event | Charged for | Price |
|---|---|---|
| `image-analyzed` | each image ad reviewed | $0.008 |
| `video-analyzed` | each video ad reviewed (first 60 s) | $0.016 |
| `extra-video-minute` | each started video minute beyond 60 s | $0.005 |
| `landing-page-matched` | each landing page read and scored | $0.002 |
| `ad-tagged` | each image ad tagged (quick tags) | $0.0016 |
| `video-minute-tagged` | each started video minute tagged | $0.0045 |

## Links

- API reference (HTML): https://helenis-api.com/docs/ad-creative
- OpenAPI: https://helenis-api.com/docs/ad-creative/openapi.json
- Overview and pricing: https://helenis-api.com/apis/ad-creative/
- RapidAPI listing: https://rapidapi.com/helenis-api-helenis-api-business/api/ad-creative-analyzer-ai-hook-angle-score?utm_source=helenis&utm_medium=site&utm_campaign=ad-creative&utm_content=markdown
- Apify actor: https://apify.com/helenisapi/ad-creative-analyzer?utm_source=helenis&utm_medium=site&utm_campaign=ad-creative&utm_content=markdown
- MCP server (Apify): https://mcp.apify.com?tools=helenisapi/ad-creative-analyzer

MCP: Works in Claude, Cursor, VS Code and any MCP client; billed per event through Apify (your Apify token).

## Conventions (every Helenis API)

- Auth: two headers on every call, `X-RapidAPI-Key` (your key) and `X-RapidAPI-Host` (the API's host). One RapidAPI key works for every API you subscribe to.
- Billing in credits: one for a simple call, more for heavier work (a minute of audio, a page read by AI). Each API states its rule.
- Failed calls are never billed: a `4xx` bills zero credits and a `5xx` is never counted.
- Errors share one envelope: `{"error": {"status", "code", "message"}}` with a stable machine-readable `code`.
- `400`: fix the input (validation errors are always 400, never 422); not billed.
- `429`: rate limit; wait for `Retry-After`. `503`: temporary upstream or AI failure (`ai_error`, `upstream_timeout`); retry later, not billed.
- Values the source does not give come back as `null`, never invented.
