Social media5 min readBy Purrkey teamUpdated

How to list an Instagram account's story highlights

Get a table of an Instagram account's story highlight reels with IDs, titles, cover URLs, owner handles, and available media and creation data

On this page

You are auditing five competitor Instagram handles and need the story highlight reels each account keeps pinned, so you can see which campaign themes the brands still put in front of a profile visitor. One call per handle returns the reel list, and the titles and media counts feed a decision about which creative themes to test next

The worksheet below is the deliverable: one row per highlight, with the highlight ID, title, cover URL, owner handle, media count and created time. No run has been executed for this guide, so the value tables are designs, not results

Example input and worksheet design

The input is a handle, taken from the profile URL with the @ removed. The Example account below is a placeholder for your own list

AccountHandle
Example accountnatgeo

The agent fills a table with these columns. Values here are placeholders showing the shape

Highlight IDTitleCover URLOwner handleMedia countCreated UTC
(id)(title)(cover url)(owner handle)(integer or empty)(epoch seconds or empty)

Two columns can come back empty: media count and created time. An empty cell there is a normal outcome, not a failed call, and the row is still usable for the title and cover comparison

Send the handle and name the fields you need

The documented inputs start with handle, the Instagram username without the @ prefix. userId, the numeric Instagram user id, is optional and the contract describes it as faster than the handle. requireFields is an optional array whose enum holds createdUtc and mediaCount; it names the output fields the request must be able to return, and fields you do not name are still returned whenever the serving source has them

Two limits sit on requireFields, and both affect this step. A named field can still be absent on a highlight that genuinely lacks it, so a null mediaCount after naming mediaCount is not a routing failure. Naming a combination that no single source returns together is refused as invalid input, with no charge

Naming a field can also raise the price, because a request that the cheapest source cannot satisfy is served by a dearer source, quoted and charged at that source's price. Check the quote before a large batch

Read the output fields that drive the decision

The response carries found and data. With found true, data.highlights is an array, and each entry has four required fields: id, title, coverUrl and ownerHandle. avatarUrl and userId are strings on the highlight. mediaCount is an integer or null, and createdUtc is a UTC epoch timestamp in seconds, or null when the source does not report it; multiply by 1000 for a JS Date in milliseconds

Two fields drive the theme decision. title is the label the account gave the reel, so repeated words across five accounts point to a theme the brands keep at the top of the profile. mediaCount shows how much content sits behind that title, which separates a heavily stocked reel from a thin one. Sort the worksheet by media count and read the titles in that order

When found is false, reason is present with the value not_found: the source states the target does not exist, or returned nothing for it. The contract states that a found: false answer is a successful call, not an error, and that costUsd is what it actually cost. An account with no pinned reels produces an empty result rather than a failure, which is itself a finding about that competitor

For the account-level lookup step beside this one, the companion guide on Instagram account lookup covers a separate call

The agent prompt

The prompt below uses example handles. Replace them with your five before running it

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to list the story
highlight reels for the five Instagram handles below. Check the current
inputs and price of anyapi.instagram.user_highlights before running
anything. Call it once per handle, pass handle without the @ symbol,
and set requireFields to createdUtc and mediaCount. Return a table with
handle, highlight ID, title, cover URL, owner handle, media count and
created UTC. Leave media count and created UTC empty when the response
gives null. Mark a handle as not_found when found is false. Do not guess
values and do not invent titles.

Example handles, replace them with your own:
natgeo
example_acme_plumbing
example_northwind_bakery
example_lumen_studio
example_harbor_cycle

Estimated tool cost

Prices come from the Purrkey catalog, read on November 13, 2026, through POST /v1/runs with toolId anyapi.instagram.user_highlights. The catalog lists the unit as max_call: Maximum per call. Successful runs settle at the actual AnyAPI charge. The totals below are ceilings, not settled charges, and they use the listed price of up to $0.00164 per call

StepFormulaUnit pricePlanned quantityTotal
Single account checkcalls x max price$0.00164 per call1$0.00164
Five account auditcalls x max price$0.00164 per call5$0.0082

Five competitor accounts mean 5 calls, and one account means 1 call. Naming createdUtc or mediaCount in requireFields can move a request to a dearer source at that source's quoted price, so confirm the current quote before the batch. Model fees for the agent are not counted

Start with one handle

Run a single call on the account whose pinned themes matter most for the next creative test, then send the other four. The tool page is at instagram user_highlights

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with Instagram.
Explore Instagram tools and pricing

FAQ

How do I list an Instagram account's story highlights by handle?

Call anyapi.instagram.user_highlights once per handle and read the data.highlights array. Each entry carries the highlight id, title, coverUrl and ownerHandle, plus mediaCount and createdUtc when the serving source reports them.

What inputs does anyapi.instagram.user_highlights take?

handle is required and is the Instagram username without the leading @. userId is an optional numeric Instagram user id that the contract describes as faster than the handle, and requireFields is an optional array naming createdUtc or mediaCount.

Why are media count or created time empty for some highlights?

mediaCount and createdUtc come back null when the serving source does not report them. Naming a field in requireFields can move the request to a dearer source, and a named field can still be absent on a highlight that genuinely lacks it.

How much does it cost to check five Instagram accounts?

Five calls at the listed price of up to $0.00164 per call total at most $0.0082, and a single account is at most $0.00164. Those totals are ceilings, and naming requireFields fields can raise the quoted price.

What happens when the handle does not exist or has no highlights?

The response returns found as false with reason set to not_found. The contract states that this is a successful call, not an error, and costUsd is what it actually cost.

Can requireFields be refused?

Yes. Naming a combination of output fields that no single source returns together is refused as invalid input, with no charge.

Does this tool return the highlight media items themselves?

No. The output is the highlight reel list, with titles, cover URLs, owner handles and the optional media count and created time. The individual media items are not part of the response.

Next step

Try this with Instagram

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See Instagram tools

Share this article