blackdark
Marketing

X-Ray META: analyze the last 100 reels of any Instagram account with Claude

X-Ray META gives you an x-ray of the reels of any public profile: performance map, a card for each reel with its hook, hook-type filters, a comparator and a top 10, all in a single HTML file. What you need (Node.js and your own Apify account, which charges per use), what it costs and how to use it with Claude Code.

By Updated on 7 min read
Jump straight to the download

First things first: use YOUR Apify account, and Apify charges per use

X-Ray META pulls the data with Apify, an external service. You need your own Apify account and your own token: Blackdark doesn’t give you any key or pay for your usage, and every analysis is charged to your account. Apify’s free plan includes $5 of credit a month and 100 reels cost about $0.26 (prices from apify.com/pricing and the actor page, 12-Nov-2026; Apify sets them and they may change). You also need Node.js on your computer.

Why do some of that account’s reels blow up and others don’t? Eyeballing the profile doesn’t cut it: you need to see all the reels at once, with their numbers and their hook. That’s what X-Ray META does: you give it a public profile and it gives you back a page with an x-ray of its latest reels.

How it works

  1. You give it an account

    The name of a public Instagram profile, without the @.

  2. Apify pulls the reels

    With your token, on your Apify account: views, likes, comments, caption and thumbnail.

  3. The hooks get tagged

    With rules, with Claude Code or with your Claude API key.

  4. You open the report

    A single HTML file that opens with a double click and that you can save or share.

What you get

  • A counter of analyzed reels.
  • A performance map: each reel is its thumbnail, placed by its views (horizontal axis) and its likes per 1,000 views (vertical axis). The red line is the account average; the green zone shows the ones that blew up (more views than half of its reels and above the average likes).
  • A card for each reel: views, likes, comments, likes per 1,000 views, the post caption and, if you transcribe it, the word-for-word script with the hook highlighted.
  • Hook-type filters: result, story, direct, curiosity, contradiction, identification and mistake.
  • A comparator: you pick two hooks and it tells you which one gets that account more views, likes and comments, with its best reel.
  • A top 10 by views.
  • All in a single HTML file (the thumbnails are embedded): you open it with a double click, save it or send it to whoever you want.

What you need

  1. Node.js 20 or later (free, Windows, Mac or Linux): download the “LTS” version from nodejs.org and install it like any other program.
  2. Your own Apify account: on apify.com → “Sign up” (Google or email both work). The free plan doesn’t ask for a card.
  3. Your Apify token: on console.apify.com → Settings → API & Integrations → copy the Personal API token. It’s yours: don’t share it or paste it into a chat.

What it costs (your Apify account pays)

X-Ray META uses the official apify/instagram-reel-scraper actor, which on the free plan charges $2.60 per 1,000 reels (≈ $0.0026 per reel):

Reels analyzedApproximate cost on Apify
50≈ $0.13
100≈ $0.26
$5 of free credit a month≈ 1,900 reels (about 19 accounts of 100 reels)
  • The script sets a spending cap on every run (the cost of the requested reels + $0.01): if something spikes, Apify stops.
  • The option to have Apify transcribe every reel (--con-guiones) is charged separately, per minute of audio, and comes out quite a bit more expensive. Check its price on the actor page before using it.
  • Apify sets the prices and they may change. If they don’t match this table, whatever apify.com/pricing says wins.

Download

X-Ray META is a free download from its card on the Tools page: leave your email and the link lands in your inbox.

👉 Download X-Ray META

Step by step

  1. Unzip the file and open the rayos-x folder.

  2. Make a copy of .env.ejemplo (the example file), name it .env and paste your token after APIFY_TOKEN=:

    APIFY_TOKEN=your_token_goes_here
    

    On Mac, files starting with a dot are hidden: press Cmd + Shift + . in Finder to see them.

  3. Open the Terminal in that folder (Mac: right-click the folder → “New Terminal at Folder”; Windows: type cmd in the folder’s address bar and press Enter).

  4. Type the account name, without the @:

    node rayos.mjs accountname
    
  5. In a minute or two you’ll have informe-accountname.html (the report) in the folder. Double-click it and you’re done.

Useful options

OptionWhat it doesDoes it cost?
--reels 50Analyzes 50 reels instead of 100.Less
--refrescarAsks Apify for the data again. Without it, the saved data is reused.Yes (without it, nothing)
--transcribir-top 10Transcribes the 10 most-viewed reels on your computer. Needs ffmpeg, whisper-cli and a whisper.cpp model (path in WHISPER_MODEL in the .env).No (it’s local)
--con-guionesApify transcribes every reel.Yes, quite a bit more

With Claude Code (the easiest way)

Open the rayos-x folder with Claude Code and paste this. You still need your Apify token in the .env:

Prompt · Analyze an account and its hooks
Analyze the account @accountname with rayos.mjs (100 reels).
Then export the opening lines (--exportar-frases), classify the hook of each reel yourself (result, story, direct, curiosity, contradiction, identification or mistake), save it as JSON {"shortCode":"hook"} and import it with --importar-ganchos. Important: in the JSON use the exact Spanish labels the script expects (resultado, historia, directo, curiosidad, contradicción, identificación, error).
Then tell me which 3 hooks work best for that account and why.
Don’t ask me to paste my token into the chat: it’s already in the .env.

If you have a Claude API key (ANTHROPIC_API_KEY in the .env, which you pay for on your Anthropic account), the script tags the hooks on its own with Claude. Without either option it tags them with rules: less precise, but it works and it’s free.

What each hook type means

HookHow the reel starts
ResultWith a number or an achievement.
StoryTelling something that happened.
DirectGets straight to the point.
CuriosityOpens a question.
ContradictionBreaks a belief (“stop paying for X”).
Identification“If you’re…”.
MistakeWarns about a mistake or a danger.

How to read the map

  • Top right: lots of views and lots of people liking it. This is what you copy: the format, not the video.
  • Bottom right: lots of views but few likes. A hook that grabs, content that doesn’t convince.
  • Top left: the people who see it love it, but it didn’t travel. Good content with a bad hook or a bad cover.
  • Filter by one hook and see whether its thumbnails land above or below the red line.
  • Use the comparator with the two most-used hooks. Careful: one giant reel can inflate a group’s average; check it under “Best reel”.

If something fails

  • “Falta APIFY_TOKEN” (APIFY_TOKEN missing): you haven’t created the .env or the token is empty.
  • “Apify rechaza el token” (Apify rejects the token): you copied it wrong; copy it again from Settings → API & Integrations.
  • “No te queda saldo” (no balance left): you’ve used up the month’s $5; wait for next month or upgrade your plan on Apify.
  • “Apify no devolvió reels” (Apify returned no reels): the account is private, doesn’t exist or is misspelled.

Notes

  • Public profiles only. It’s not an official Instagram or Meta tool: Apify reads the profile’s public data.
  • You won’t always get every reel: Instagram doesn’t hand over the full history and Apify returns the most recent ones up to the number you ask for. Reels with under 100 views are hidden from the map to keep it clean (untick the box to see them).
  • Instagram video links expire within a few days: if --transcribir-top fails, run --refrescar first.
  • The views Apify reports are the reel’s public plays.
  • Your token stays on your computer, in the .env. It isn’t sent to Blackdark or to anyone other than Apify.

Checklist

  • Node.js installed.
  • Your own Apify account and token copied into .env.
  • X-Ray META downloaded from the Tools page.
  • First report with node rayos.mjs accountname.
  • Hooks tagged (rules, Claude Code or Claude API).
  • Spending checked in your Apify console.

FAQ

The tool is: you download it for free from the Tools page by leaving your email. The data comes from Apify, which charges per use on your own account. Its free plan includes $5 of credit a month and 100 reels cost about $0.26, so if you’re testing with a handful of accounts a month you pay nothing.

No. You need your own Apify account and your own token. Each analysis is charged to your account, not ours. The token stays in the .env file on your computer and is only sent to Apify.

No, only with public profiles. Apify reads the profile’s public data, the same thing you see when you visit it.

No. It’s our own tool that uses an Apify actor to read public data. It has no connection with Instagram or Meta.

No. You install Node.js, paste your token into a file and type one command in the Terminal. If you use Claude Code, you ask it in one sentence and it does it for you.

The script already sets a cap on every run: the cost of the reels you ask for plus $0.01. That way Apify stops if something spikes. Also, without the --refrescar option it reuses the saved data and spends nothing.

Keep digging into the same topic.

Share
Newsletter

Get the next guides in your inbox

AI and marketing ideas and resources, no filler. What works and how to apply it.

Ideas and resources, no spam. Unsubscribe anytime.

Finding this guide useful?

Subscribe