# Instagram Paid Partnership Scraper: Brand Collabs (`automation_craft/instagram-paid-partnership-scraper`) Actor

Instagram paid partnership scraper, no login: every post Meta's branded content library labels Paid partnership for any brand or creator, back to August 2023. Each row: creator, brand partners, reel, post or story, date, link; add captions, likes, reel plays, profiles. Pay per post, CSV or API.

- **URL**: https://apify.com/automation_craft/instagram-paid-partnership-scraper.md
- **Developed by:** [Automation Craft](https://apify.com/automation_craft) (community)
- **Categories:** Social media, Marketing, Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.23 / 1,000 partnerships

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### Instagram Paid Partnership Scraper: Brand Collabs

**Instagram paid partnership scraper**: type an Instagram brand or creator and get its collabs back as rows. Each reel, post or
story that Meta's public branded content library lists under the Paid partnership label becomes one row (who posted it, which
brands paid, which day, and where to open it), newest first, from 17 August 2023 on, with no login.

Map a brand's **Instagram brand collaborations** and the creators it pays, check a creator's **brand deals** and **influencer
partnerships** before you sign a collab, or see how a sponsored reel did. Three optional extras go further: each post's caption,
likes and comments; the play count of each reel; and the creator's own profile with the interaction rate of its
recent posts, so a paid post can be set against the creator's usual posts.

#### What it does

- **Takes Instagram accounts as you know them**: a name (Glossier), an @handle (@lindsaysilb), a profile URL, the library's
  creator link (`instagram.com/_u/<handle>`), a branded content library URL with `target=instagram`, or an account id. Up to
  200 a run.
- **One row per Instagram paid partnership post**, reel, post or story, for the account as creator or as brand partner, with
  the role it plays on that post and the library page that shows it.
- **An account row** per account with partnerships: followers and the verified flag from the library's search box.
- **Post details** (optional): caption, like count, comment count, exact posting time, media kind, coauthors, and the
  interaction rate of posts the searched account made itself.
- **Reel play counts** (optional): the play count of each reel, also of reels whose creator hid the counts (marked).
- **Profile details** (optional): one profile row per account with partnerships in the run: biography, followers,
  following, post and reel counts, the median interaction rate of its recent posts, the accounts on the other side of its
  partnerships, and its website and bio links with Include personal data on.
- **A free coverage row per input** with the pages read, the newest and oldest day, and whether the history was read to its
  first day.
- **A free row for everything that is not a result**: an unknown name, a name several accounts carry, an account with no
  partnerships, a Facebook link, a post link, a repeated account.

### Quick start

1. Open the Actor and type one or more accounts in **Instagram brands or creators**, one per line: `glossier`,
   `@lindsaysilb`, `https://www.instagram.com/gymshark/`.
2. Optionally set **From date** and **To date** (for example `1 year` and `today`) and **Most partnerships per account**.
3. Tick the extras you want under **Extra data**: Post details, Reel play counts, Profile details.
4. Click **Start**. Rows reach the dataset as each account is read; export them as JSON, CSV or Excel, or read them through the
   API.

### What you get

Every row has a `type`: `partnership` (one paid partnership post, the Partnership event), `account` (the searched account, the
Account event), `profile` (its Instagram profile, Profile details only, the Profile detail event), `coverage` (what was read per
input, free), `status` (a free note) or `summary` (the run's counters, free, always last).

#### Partnership rows

| Field | What it holds | Filled |
|---|---|---|
| `platform` | instagram | 497 of 497 |
| `contentId` | Meta's id of the post (a string) | 497 of 497 |
| `contentType` | reel, post or story | 497 of 497 (446 reels, 27 posts, 24 stories) |
| `date` | the post's day as the library shows it (YYYY-MM-DD, US Pacific time) | 497 of 497 |
| `contentUrl` | the reel, post or story address | 497 of 497 |
| `creatorName`, `creatorHandle`, `creatorUrl` | the creator who posted it | 497 of 497 |
| `brandPartners`, `brandPartnerNames`, `brandPartnerCount` | each brand partner: name, handle and profile URL | 497 of 497 (20 rows name two or more) |
| `accountId`, `accountHandle`, `accountName` | the account you searched | 497 of 497 |
| `accountRole` | creator, brand_partner or creator_and_brand_partner | 497 of 497 |
| `libraryUrl` | the library page of that account and day, which shows the row | 497 of 497 |
| `input`, `inputPosition` | the account as the run read it (an @handle, a name, a library URL's id) and its place in your list | 497 of 497 |

Counted over the 497 distinct partnership rows of the 25 platform runs of the final build on 2026-11-06 (its matrix,
cost shapes and health runs).

With **Post details** on, each row also carries `postDetails` (read, not_available, post_not_shown, could_not_read or not_read),
`postedAt` (exact time, UTC), `caption`, `likeCount`, `likesHidden`, `commentCount`, `mediaKind` (reel, post, carousel or video),
`coauthors` and `interactionRatePct`. Over the 112 rows asked in those runs (summed run by run: a row asked in two runs counts
in each): read 107, not_available 5 (stories and rows whose link is a Facebook video, not an Instagram post); caption, comment
count, posting time and media kind 107 of 107; likes shown on 82 of 107 (the creator hides them on 25: `likeCount` null,
`likesHidden` true). `interactionRatePct` is (likes + comments) / followers x 100, set only on posts the searched account made
itself, with the followers from the library's search box: on a creator's 12 newest partnerships it was set on the 8 whose likes
were shown.

With **Reel play counts** on, each row carries `playCount`, `playCountStatus` (read, not_a_reel, not_available, not_shown when
neither the reel's sound page nor the 12 newest reels of its owner's Reels tab list it, could_not_read or not_read) and
`countsHiddenByCreator` (true when the creator hid the counts; its play count is still read from the reel's sound page or its owner's Reels tab). Over the 138 reel rows asked
in those runs (summed run by run): read 125 (41 of them with counts hidden by the creator), not_shown 6, not_available 7.

Example row (a real row of a platform run of the final build with every extra on; the caption is shortened and `scrapedAt` left
out):

```json
{
  "type": "partnership",
  "platform": "instagram",
  "contentId": "18129906301808772",
  "contentType": "reel",
  "date": "2026-10-09",
  "contentUrl": "https://www.instagram.com/reel/DeSghfYSyUZ/",
  "creatorName": "flawlesskevin",
  "creatorHandle": "flawlesskevin",
  "creatorUrl": "https://www.instagram.com/flawlesskevin/",
  "brandPartners": [
    {
      "name": "sephora",
      "handle": "sephora",
      "url": "https://www.instagram.com/sephora/"
    }
  ],
  "brandPartnerNames": "sephora",
  "brandPartnerCount": 1,
  "accountId": "17841405281764641",
  "accountHandle": "flawlesskevin",
  "accountName": "Kevin Ninh",
  "accountRole": "creator",
  "input": "@flawlesskevin",
  "inputPosition": 1,
  "libraryUrl": "https://www.facebook.com/ads/library/branded_content/?id=17841405281764641&target=instagram&start_date=2026-10-09&end_date=2026-10-10",
  "postDetails": "read",
  "postedAt": "2026-10-09T21:54:19.000Z",
  "caption": "#ad No one should ever be bullied or harassed for who they are which is why I’m partnering up wi ...",
  "likeCount": 4121,
  "likesHidden": false,
  "commentCount": 105,
  "mediaKind": "reel",
  "coauthors": [],
  "interactionRatePct": 0.2997,
  "playCount": 104644,
  "playCountStatus": "read",
  "countsHiddenByCreator": false
}
```

#### Profile rows (Profile details)

One `profile` row per searched account with paid partnerships in the days asked (the accounts that get an `account` row), read
once after all of your inputs. Every rate on it uses the profile's own follower count.

| Field | What it holds | Filled |
|---|---|---|
| `username`, `fullName`, `biography`, `profileUrl`, `profilePicUrl` | who the account is | 15 of 15 |
| `externalUrl`, `bioLinks` | the website and the bio links (the addresses with `includePersonalData` on; bio link titles always) | bio links on 15 of 15 (the addresses: no run below turned the switch on) |
| `category`, `accountType` | the profile's category, and its type: business, creator or personal | category 3 of 15, type 15 of 15 |
| `verified`, `private` | the profile's flags | 15 of 15 |
| `followers`, `following`, `postsCount`, `reelsCount` | the profile's counts (the post count comes from the profile's embed: not on a private profile or one with embedding switched off) | 15 of 15 |
| `recentPostsRead`, `medianRecentInteractionRatePct`, `medianRecentPostInteractionRatePct`, `medianRecentReelInteractionRatePct` | the median interaction rate of the newest posts its profile embed lists (up to six, pinned posts left out), without the posts Instagram marks as paid partnerships | 14 of 15 |
| `partnershipsInRun`, `counterparts`, `counterpartCount` | the run's partnership rows on which the account appears (whichever of your inputs delivered them: a brand and its creators searched together share rows) and the accounts on the other side of them | 15 of 15 |
| `partnershipsWithMetrics`, `partnershipMetricCoveragePct`, `medianPartnershipInteractionRatePct`, `partnershipVsRecentMultiplier` | with Post details on: the median interaction rate of its own partnership posts and its ratio to the recent posts' median | where the account posted partnerships itself and their likes are shown |
| `profileParts` | which profile reads answered | 15 of 15 |

Counted over the 15 profile rows of the final build's runs (an account profiled in two runs counts in each). The creator of the example row above got
`medianRecentInteractionRatePct` 0.8634, `medianPartnershipInteractionRatePct` 0.2921 and `partnershipVsRecentMultiplier` 0.338:
its paid posts drew about a third of the interaction of its other recent posts. A profile Instagram does not show logged out,
or one not read in full, gets no row, is not charged, and is named with its reason in one free `profile_not_delivered` status row:
not_shown, could_not_read, handle_unknown (the run found no Instagram handle for an account given by id: send its @handle),
base_not_charged, charge_limit, work_allowance, not_read or counts_before_restart. When two of your accounts appear on one post (a
brand and its creator), each profile counts it.

#### Account, coverage and status rows

The `account` row carries `accountId`, `accountHandle`, `accountName`, `followers` and `verified` (30 of 30 account rows of the final
build's runs, 12 accounts), `category` (0 of 30), `profileUrl` and the account's `libraryUrl`; `pageLikes` is a Facebook field and stays null here.

The free `coverage` row says, per input: `windowStart` and `windowEnd`, `resultsPages`, `partnershipsRead`,
`partnershipsDelivered`, `deliveredEarlierInRun`, `newestDate`, `oldestDate`, `busyDays`, `complete`, `stopReason`
(end_of_window, max_per_account, max_partnerships, charge_limit, work_allowance, lookup_failed, aborted, timeout or push_failed),
`accountRowDelivered` and `accountCharged`. `partnershipsKnown` and `daysSkippedFromMemory` are always 0 and the summary's
`memory` is null: this listing keeps no memory between runs.

The free `status` rows: `account_not_found` (with the suggestions the library's search box showed), `account_ambiguous` (with
the candidates), `account_not_on_platform`, `no_partnerships`, `duplicate_account`, `other_app_not_read` (Facebook links),
`post_link_not_read`, `invalid`, `lookup_failed`, `skipped` and `profile_not_delivered`.

### How much does it cost to scrape Instagram paid partnerships?

Pay per event. You pay for partnership rows, account rows and the extras you switch on; status, coverage and summary rows are
free.

| Event | Free | Bronze | Silver | Gold |
|---|---|---|---|---|
| Partnership (one paid partnership post) | $4.52 / 1,000 | $4.13 / 1,000 | $3.75 / 1,000 | $3.23 / 1,000 |
| Account (one account with partnerships, once per run) | $1.50 / 1,000 | $1.50 / 1,000 | $1.35 / 1,000 | $1.20 / 1,000 |
| Post detail (optional, per post read) | $1.00 / 1,000 | $1.00 / 1,000 | $0.90 / 1,000 | $0.80 / 1,000 |
| Reel play count (optional, per count delivered) | $1.50 / 1,000 | $1.50 / 1,000 | $1.35 / 1,000 | $1.20 / 1,000 |
| Profile detail (optional, per profile row) | $2.50 / 1,000 | $2.50 / 1,000 | $2.25 / 1,000 | $2.00 / 1,000 |
| Actor start (once per run) | $0.007 | $0.007 | $0.007 | $0.007 |

Platinum and Diamond plans pay the Gold price. The Actor start event has no plan discount.

The Store pricing card shows these same prices per 1,000 events: "$4.13 / 1,000" on the Partnership row means one partnership
post costs 0.413 cents on the Bronze plan, and "$2.50 / 1,000" on the Profile detail row means one profile row costs a quarter
of a cent.

**Worked examples (Bronze):**

- The 25 newest paid partnerships of one brand: $0.007 + $0.0015 + 25 x $0.00413 = **$0.112**.
- One creator's 12 newest partnerships with every extra on (the run behind the example row: 10 posts read, 10 play counts
  read, 1 profile): $0.007 + $0.0015 + 12 x $0.00413 + 10 x $0.001 + 10 x $0.0015 + $0.0025 = **$0.086**.
- A brand's whole history: Sephora's 433 Instagram paid partnerships since 2023 cost $0.007 + $0.0015 + 433 x $0.00413 =
  **$1.80**.

What is never charged: a post delivered earlier in the same run (a post found for two of your accounts), accounts the library
does not know, names several accounts carry, accounts with no partnership in the days asked (about five a run, see "Accounts
without partnerships"), Facebook links, post links, and every status, coverage and summary row. Post detail is never charged for
stories or rows without an Instagram post link; Reel play count only for a count delivered; Profile detail only for a profile
row delivered. The Account event is charged only for an account that has paid partnership posts in the days you asked.

### Input

| Field | What it does |
|---|---|
| `accounts` | Instagram brands or creators, one per line: a name, an @handle, a profile URL, the library's `_u` creator link, a branded content library URL with `target=instagram`, or an account id. Up to 200. |
| `startDate`, `endDate` | The days to read, both included: YYYY-MM-DD, today, yesterday, or "30 days", "6 months", "1 year". Empty: 2023-08-17 to today. |
| `maxPartnershipsPerAccount` | Partnership rows per account, newest first (default 1,000, up to 100,000). |
| `maxPartnerships` | Partnership rows for the whole run (default 10,000, up to 100,000). |
| `postDetails` | Caption, likes, comments, posting time, media kind, coauthors and interaction rate per post (Post detail event). |
| `reelPlays` | The play count of each reel, also of reels whose creator hid the counts (Reel play count event). |
| `profileDetails` | One profile row per account with partnerships (Profile detail event). |
| `includePersonalData` | Off by default. On: profile rows carry the profile's website and the address of every bio link. Off: those addresses are left out as a whole (`externalUrl` null, each bio link with its title and `url` null), since a profile's outside links often reach the person directly (a messenger, a chat invite, a phone, a mail address, a booking page). |

The input also accepts these key names: `startUrls`, `urls`, `usernames`, `profiles`, `brands`, `creators` and `libraryUrl` for
the accounts; `onlyPostsNewerThan`, `postedAfter`, `dateFrom` and `since` for the start; `onlyPostsOlderThan`, `postedBefore`,
`dateTo` and `until` for the end; `resultsLimit` and `maxCollaborationsPerProfile` for the per account cap; `maxItems` and
`maxResults` for the run cap. A library URL keeps the days written in it unless you set your own dates. A run with no accounts at
all reads the 10 newest paid partnerships of Sephora as a sample.

#### How names are matched

A name is looked up in the library's own search box. It is read only when exactly one Instagram account there has that exact
handle or that exact name (capital letters aside). Otherwise you get a free row: `account_not_found` with the suggestions the
search box showed, or `account_ambiguous` with the accounts that carry the name. Send the one you mean as @handle or profile
URL. An account id is read directly, and its followers and verified flag come from the search box.

#### Accounts without partnerships

A quiet account (no paid partnership in the days asked) takes the same requests as a busy one, yet pays nothing: only an account
with partnerships pays its Account event and its rows. The Actor start fee carries a fixed allowance of quiet accounts per run,
about five, and every billed row widens it. Once it is used up the run ends there, and a free `skipped` row names the inputs it
did not reach (some of them may have partnerships). Put the accounts you need most first, give a list of mostly quiet accounts a wider date
window, or split it into smaller runs.

#### Very large brands

The library sometimes answers a long window of a very large brand without its results. The Actor then reads that window again
in halves, newest first, and asks no wider window of that account afterwards (the summary's `windowSplits` counts these). Such a
history comes back slowly and the run may stop on its work allowance: the account's coverage row then says `complete: false`
with `stopReason` work_allowance, and a free `skipped` row names what was not read. Give that account a date window (for
example `startDate` "1 year") and run it again.

### How complete is it?

The library shows 20 posts per page, newest first, for the days asked. The Actor reads the days in windows: each next window
ends on the oldest day of the page before (that day is read again in full), until the first day asked, and every post the
library showed at read time is delivered once. Measured on 2026-11-06 on the final build: Sephora's whole Instagram history came back as 433
posts in 24 pages, from 2026-11-05 back to 2023-08-20, with `complete: true`; those posts name 164 distinct creators.

- The library's own "N results" figure is not used: on long windows it is far higher than the posts it shows.
- A day with more than 20 posts of one account cannot be split: its first 20 are delivered and the day is listed in `busyDays`.
- Dates are the library's US Pacific day of the post; `postedAt` (Post details) is the exact time in UTC.

### What this Actor does not do

- It reads Instagram only. Facebook profile and library links get a free `other_app_not_read` row. For Facebook paid
  partnerships as well, use the Meta Branded Content Scraper (linked below).
- It keeps no memory between runs and has no "new posts only" mode: every run delivers every partnership the library shows in
  the days asked. To follow an account, schedule runs with a short `startDate` such as "7 days" and keep the `contentId` values
  you already hold.
- It does not find creators by audience, niche or country, and gives no audience demographics, deal values or brand spend: Meta's
  library publishes none. You name the accounts.
- It gives no play count for photos, carousels and stories (they have none).
- It reads only what the library shows logged out. Meta says some branded content needs a logged in age and location check;
  that content is not delivered.
- It delivers only posts the library lists. In a check of 84 recent posts of library creators, 11 were marked as paid and 10 of
  them were in the library; the missing one had no brand tagged.
- It does not read single posts by link (a post or reel link gets a free `post_link_not_read` row), comments or ads.

### FAQ

#### How can I check an Instagram influencer's brand deal history?

Put the creator's @handle in `accounts`. Every paid partnership the library shows for that creator, back to 2023-08-17, is a row
naming each brand partner with `accountRole` creator. With Profile details on, the creator's profile row lists every brand of
the run in `counterparts`.

#### How can I see which creators a brand pays on Instagram?

Put the brand's @handle in `accounts`. Each row where the brand is the paid partner names the creator and says `accountRole`
brand_partner (Sephora's whole history names 164 distinct creators). With Profile details on, the brand's profile row lists
every creator of the run in `counterparts`.

#### Can I see the views of someone else's Instagram reel?

Yes, with Reel play counts on: `playCount` is the play count Instagram shows for the reel, read without a login. It is read for
reels whose creator hid the counts under them too, marked `countsHiddenByCreator`; photos, carousels and stories have no play
count.

#### How is the interaction rate calculated?

(likes + comments) / followers x 100. On partnership rows (Post details) it is set only on posts the searched account made
itself, against its followers from the library's search box; on profile rows it uses the profile's own followers and takes the
median over up to six recent posts, paid partnerships left out.

#### Why does this Actor run with limited permissions?

It needs nothing but its own run's storages: the dataset it writes and the run's own key-value store. It opens no named store
and keeps nothing between runs, and limited permissions keep it from touching any other data in your account.

### API

```bash
curl -X POST "https://api.apify.com/v2/acts/automation_craft~instagram-paid-partnership-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"accounts": ["glossier", "@lindsaysilb"], "startDate": "1 year", "maxPartnershipsPerAccount": 50, "postDetails": true}'
```

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('automation_craft/instagram-paid-partnership-scraper').call({ accounts: ['@lindsaysilb'], reelPlays: true, profileDetails: true });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.filter((x) => x.type === 'profile'));
```

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_TOKEN")
run = client.actor("automation_craft/instagram-paid-partnership-scraper").call(run_input={"accounts": ["gymshark"], "startDate": "90 days"})
rows = [x for x in client.dataset(run["defaultDatasetId"]).iterate_items() if x["type"] == "partnership"]
```

### Changelog

- 0.1 (2026-11-06): first version: Instagram paid partnerships with Post details, Reel play counts and Profile details.

### More data tools by Automation Craft

- [Meta Branded Content Scraper: Paid Partnerships](https://apify.com/automation_craft/meta-branded-content-scraper)
- [Instagram Ads Library Scraper - Creatives, Video](https://apify.com/automation_craft/instagram-ads-library-scraper)
- [Meta Ads Library Scraper - Meta Ad Library API](https://apify.com/automation_craft/meta-ads-library-scraper)
- [Instagram Profile Scraper: Followers, Bio, Posts](https://apify.com/automation_craft/instagram-profile-scraper)
- [Instagram Reels Scraper: Play Counts, No Login](https://apify.com/automation_craft/instagram-reels-scraper)
- [Instagram Posts Scraper: Profiles, Reels, No Login](https://apify.com/automation_craft/instagram-posts-scraper)
- [Instagram Related Profiles & Similar Accounts](https://apify.com/automation_craft/instagram-related-profiles-scraper)
- [Instagram User Search Scraper: Profiles by Keyword](https://apify.com/automation_craft/instagram-user-search-scraper)
- [Threads Scraper: Posts, Search, Tags, Replies](https://apify.com/automation_craft/threads-scraper)

# Changelog

This Actor's version history is a separate document: https://apify.com/automation_craft/instagram-paid-partnership-scraper/changelog.md

# Actor input Schema

## `accounts` (type: `array`):

One per line: an Instagram brand or creator name as written on Instagram (Sephora), an @handle (@sephora), a profile URL (https://www.instagram.com/sephora/), a branded content library URL with target=instagram, or an account id. A name is read only when exactly one Instagram account in the library's search box has that exact handle or name; otherwise you get a free row with the accounts it suggests. Facebook links are skipped free. Up to 200 per run; accounts without partnerships in the days asked are read free, about five per run (the README's "Accounts without partnerships").

## `startDate` (type: `string`):

The first day to include: YYYY-MM-DD, today, yesterday, or a relative date such as 30 days, 6 months or 1 year. Days are the library's own, in US Pacific time. Left empty: 2023-08-17, the first day the library holds.

## `endDate` (type: `string`):

The last day to include (inclusive): YYYY-MM-DD, today, yesterday or a relative date. Left empty: up to today.

## `maxPartnershipsPerAccount` (type: `integer`):

Partnership rows per account, newest first. Left empty: 1,000.

## `maxPartnerships` (type: `integer`):

Partnership rows for the whole run. Left empty: 10,000.

## `postDetails` (type: `boolean`):

Read each delivered post or reel from Instagram's own post data and add its caption, like count, comment count, exact posting time, media kind and coauthors, plus the interaction rate (likes and comments against the followers) on posts the searched account made itself. Charged per row read (the Post detail event); stories and rows without an Instagram post link are not read and never charged for it.

## `reelPlays` (type: `boolean`):

Add each reel's play count as Instagram shows it, read from the reel's own sound page or its owner's Reels tab; a reel whose creator hid the counts under it still gets its play count, marked countsHiddenByCreator. Charged per play count delivered (the Reel play count event). Photos, carousels, stories and reels neither page lists get playCount null with the reason in playCountStatus, free.

## `profileDetails` (type: `boolean`):

Add one profile row per searched account with paid partnerships in the days asked (the accounts that get an account row), read after all your inputs: full name, biography, its website and bio links (with Include personal data on), category, account type, verified, private, followers, following, reel count, and where Instagram shows them (not on a private profile or one with embedding switched off) the post count and the median interaction rate of the newest posts its profile embed lists (up to six, pinned posts left out) without the ones Instagram marks as paid partnerships, the accounts on the other side of its partnerships, and, with Post details on, the median interaction rate of its own partnership posts and the ratio of the two. Charged once per profile row (the Profile detail event); profiles not shown logged out or not read in full are free and named in a status row.

## `includePersonalData` (type: `boolean`):

Off by default. On: profile rows carry the profile's website and the address of every bio link. Off: those addresses are left out as a whole (`externalUrl` null, each bio link with its title and `url` null), since a profile's outside links often reach the person directly (a messenger, a chat invite, a phone, a mail address, a booking page); every other field is the same. You are responsible for a lawful use of personal data, GDPR included.

## Actor input object example

```json
{
  "accounts": [
    "sephora"
  ],
  "maxPartnershipsPerAccount": 10,
  "reelPlays": false,
  "profileDetails": false,
  "includePersonalData": false
}
```

# Actor output Schema

## `items` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "accounts": [
        "sephora"
    ],
    "maxPartnershipsPerAccount": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("automation_craft/instagram-paid-partnership-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "accounts": ["sephora"],
    "maxPartnershipsPerAccount": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("automation_craft/instagram-paid-partnership-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "accounts": [
    "sephora"
  ],
  "maxPartnershipsPerAccount": 10
}' |
apify call automation_craft/instagram-paid-partnership-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,automation_craft/instagram-paid-partnership-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/zFLufHONr3h3i8fPd/builds/JRYzjLfMdsW0cB227/openapi.json
