# DailyBrief AI IG (`edgeofcali/ig-daily-brief-ai`) Actor

DailyBrief AI IG — high-performance Apify actor.

- **URL**: https://apify.com/edgeofcali/ig-daily-brief-ai.md
- **Developed by:** [Edward Martinez](https://apify.com/edgeofcali) (community)
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 📊 DailyBrief AI IG — Automated Instagram Intelligence for Creators & Brands

![Apify Actor](https://img.shields.io/badge/Apify-Actor-blue?logo=apify) ![Instagram](https://img.shields.io/badge/Platform-Instagram-e1306c?logo=instagram) ![Node.js](https://img.shields.io/badge/Node.js-20%2B-green?logo=node.js) ![Playwright](https://img.shields.io/badge/Crawler-Playwright-45ba4b?logo=playwright) ![AI](https://img.shields.io/badge/AI-Powered-purple)

> **Your personal Instagram strategist that runs every morning.** DailyBrief AI IG scrapes your profile, your competitors, and trending content — then synthesizes everything into an actionable daily intelligence brief with post recommendations, captions, hashtags, and one strategic move.

***

### 🚀 What It Does

DailyBrief AI IG wakes up each morning, crawls Instagram to gather intelligence, and delivers a complete brief covering:

- **Yesterday's Performance** — estimated follower growth, engagement rate, top post
- **Competitor Activity** — what your rivals posted and how it performed
- **What's Trending Today** — 3 trending topics in your niche
- **What to Post Today** — a detailed content recommendation
- **Caption Ready to Use** — a done-for-you caption template
- **Hashtag Set** — 20 optimized hashtags for your niche
- **One Strategic Action** — the single most impactful thing you can do today
- **AI Daily Score** — a 0-10 composite score of your Instagram health

***

### 💼 Use Cases

| Use Case | Who It's For | Value |
|---|---|---|
| Solo Creator Morning Routine | Influencers & content creators | Start every day with a clear Instagram plan |
| Agency Client Reporting | Social media agencies | Automated daily briefs for multiple clients |
| Brand Monitoring | E-commerce & D2C brands | Track competitors and niche trends daily |
| Growth Hacking | Startup marketing teams | Data-driven daily decisions, not guesswork |
| Community Managers | Social media managers | Save 1-2 hours of manual research daily |

***

### 📥 Input Fields

| Field | Type | Default | Description |
|---|---|---|---|
| `yourUsername` | String | `''` | 🎯 Your Instagram username (without @) |
| `competitors` | Array | `[]` | 🏆 Competitor usernames to monitor (e.g. \["nike", "adidas"]) |
| `niche` | String | `'general'` | 🎨 Your content niche (e.g. "fitness", "food", "travel", "fashion") |
| `goals` | String | `'grow followers and engagement'` | 🎯 Your current Instagram goals |
| `briefFormat` | String | `'detailed'` | 📋 Output verbosity: "short" or "detailed" |

***

### 📤 Output Fields

| Field | Type | Description |
|---|---|---|
| `url` | String | Instagram profile URL scraped |
| `scrapedAt` | String | ISO 8601 timestamp of scrape |
| `actorVersion` | String | Actor version (semver) |
| `aiInsight` | String | AI-computed one-sentence strategic insight |
| `aiScore` | Number | Data quality/relevance score (0-10) |
| `yesterdaySummary` | Object | Growth, engagement rate, top post details |
| `topContentOpportunity` | String | Best content opportunity for today |
| `trendingToday` | Array\[3] | Three trending topics in your niche |
| `competitorActivity` | Array | Each competitor's latest post & engagement |
| `todaysPostRecommendation` | String | Detailed post format and timing advice |
| `captionSuggestion` | String | Ready-to-use caption template |
| `hashtagSet` | Array\[20] | Optimized hashtags for your niche |
| `oneStrategicAction` | String | The #1 growth action to take today |
| `aiDailyScore` | Number | Composite Instagram health score (0-10) |

***

### 🔄 How to Run Automatically Every Morning

1. Open your actor in Apify Console
2. Go to **Schedules** → **Create New Schedule**
3. Set CRON: `0 6 * * *` (runs at 6 AM UTC daily)
4. Connect it to your Apify task with your saved inputs
5. Optionally connect the output to Slack, email, or Google Sheets via Apify integrations

***

### 📊 Example Output

```json
{
  "url": "https://www.instagram.com/yourhandle/",
  "scrapedAt": "2025-01-15T06:01:23.441Z",
  "actorVersion": "0.1.0",
  "aiInsight": "Based on yesterday's top post and 2 competitor(s) active in the fitness niche, the strongest opportunity today is to capitalize on the trending topic: Morning mobility routines.",
  "aiScore": 8,
  "yesterdaySummary": {
    "estimatedFollowerGrowth": "~34 new followers estimated",
    "avgEngagementRate": "3.42%",
    "topPost": {
      "url": "https://www.instagram.com/p/abc123/",
      "likesEstimate": "1,204",
      "caption": "5 AM workout — no excuses 💪"
    },
    "postsCount": 9
  },
  "topContentOpportunity": "Create educational content around 'Morning mobility routines' — this topic is gaining traction in the fitness niche.",
  "trendingToday": [
    "Morning mobility routines",
    "High-protein meal prep",
    "HIIT vs steady-state cardio"
  ],
  "competitorActivity": [
    {
      "username": "competitor1",
      "recentPost": "Their latest Reel about gym motivation",
      "engagementHint": "Top post has ~8,400 interactions"
    }
  ],
  "todaysPostRecommendation": "Today, create a 15-30 second Reel focused on 'Morning mobility routines' in your fitness niche...",
  "captionSuggestion": "🔥 The fitness tip nobody talks about (but everyone needs): [Your insight here]. Save this post before it gets buried! | @yourhandle",
  "hashtagSet": ["#fitness","#workout","#gym","#fitnessmotivation","#health","#fitlife","#training","#bodybuilding","#exercise","#personaltrainer","#healthylifestyle","#fitfam","#motivation","#gains","#cardio","#strengthtraining","#fitnessgoals","#lift","#sweat","#active"],
  "oneStrategicAction": "Engage with the top 10 posts under your competitor's latest hashtag by leaving a thoughtful comment within 30 minutes of their posting time.",
  "aiDailyScore": 9
}
```

***

### ⚙️ Technical Details

- **Crawler**: Playwright (headless Chrome) — handles Instagram's JavaScript-heavy rendering
- **Rate limiting**: 800–2000ms random delays between requests
- **Retry logic**: Up to 3 retries per failed request
- **Proxy support**: Automatically uses Apify residential proxies when available
- **Pagination**: Scrolls pages to reveal lazy-loaded content, enqueues discovered post/explore links
- **Validation**: Every output record validated with Zod before storage

***

### 💰 Pricing

This actor uses **Apify platform compute units**.

| Profile count | Est. compute units | Est. cost |
|---|---|---|
| 1 profile + 2 competitors | ~0.5 CU | ~$0.01 |
| 1 profile + 5 competitors | ~1.0 CU | ~$0.03 |
| Daily schedule (30 days) | ~30 CU | ~$0.90/month |

*Costs vary based on Instagram response times and proxy usage.*

***

### ⚠️ Important Notes

- Instagram **requires login** to view full engagement stats. Public data (follower counts visible in titles/meta, post thumbnails, hashtags) is scraped. For deeper analytics, combine with Instagram's official API.
- Always respect Instagram's [Terms of Service](https://help.instagram.com/581066165581870) and use responsibly.
- Using Apify residential proxies significantly improves success rates on Instagram.

***

### 🤝 Support

Found a bug or have a feature request? Open an issue on the actor's GitHub repository or contact us through Apify Console.

# Actor input Schema

## `startUrls` (type: `array`):

List of URLs to start scraping from.

## `maxItems` (type: `integer`):

Maximum number of results to return.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://apify.com"
    }
  ],
  "maxItems": 50
}
```

# Actor output Schema

## `results` (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 = {
    "startUrls": [
        {
            "url": "https://apify.com"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("edgeofcali/ig-daily-brief-ai").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 = { "startUrls": [{ "url": "https://apify.com" }] }

# Run the Actor and wait for it to finish
run = client.actor("edgeofcali/ig-daily-brief-ai").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 '{
  "startUrls": [
    {
      "url": "https://apify.com"
    }
  ]
}' |
apify call edgeofcali/ig-daily-brief-ai --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,edgeofcali/ig-daily-brief-ai"
        }
    }
}
```

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/1kTtyYDIqGU6RekoH/builds/iXD3bv3hKCK79Eyy5/openapi.json
