# ShareChat Scraper: Posts, Profiles, Tags & Comments (`scrapingmonkey/sharechat-scraper`) Actor

Search ShareChat creators and topic tags, collect profile posts, tag feeds and related posts, and export post comments. Get captions, media links, authors, audience counts and engagement for Indian regional-language content research.

- **URL**: https://apify.com/scrapingmonkey/sharechat-scraper.md
- **Developed by:** [ScrapingMonkey](https://apify.com/scrapingmonkey) (community)
- **Features:** Limited permissions
- **Stats:** 5 total users, 4 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

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

**ShareChat Scraper** helps you discover ShareChat creators and topic communities, then research their public posts and comments. Search profiles or tags, collect tag feeds and creator posts, or explore related content with captions, media references and engagement for Indian social media research.

Find creators and tags relevant to your audience, compare the posts they surface and review comment feedback. Build a focused dataset for regional content planning and creator evaluation.

| At a glance | Details |
|---|---|
| 📥 Input | Search fields or links to the selected items; see the examples below |
| 📤 Output | One row per post, profile, tag or comment, depending on the mode |
| 📄 Pagination | Automatic up to `maxResults` for each input, when more results are available |
| 🔐 Login required | No |
| ⚡ Processing | Multiple inputs per run with automatic retries for temporary errors |
| 💾 Delivery | One complete Apify dataset table; CSV, JSON and Excel export |

### What the ShareChat scraper collects 📱

Search ShareChat creators and topic tags, collect profile posts, tag feeds and related posts, and export post comments. Get captions, media links, authors, audience counts and engagement for Indian regional-language content research.

| Collection | What you receive |
|---|---|
| ShareChat creator search scraper | Search public ShareChat creators by keyword and collect profile identities, biographies and audience counts. |
| ShareChat post comments scraper | Collect public ShareChat post comments with text, author profiles, publication times and like counts. |
| ShareChat profile posts scraper | Collect public posts from ShareChat profiles with captions, images, videos, authors and engagement counts. |
| ShareChat related posts scraper | Collect public posts recommended by ShareChat alongside a selected publication with media and author details. |
| ShareChat tag posts scraper | Collect public posts from ShareChat trending tag feeds while excluding advertising cards and duplicate posts. |
| ShareChat tag search scraper | Search ShareChat topic tags with tag links, categories, post counts and view counts. |

Data can include:

- Creators: Profile identities, biographies and available audience counts.
- Tags: Tag links, categories, post counts and view counts.
- Posts: Captions, identifiers, source links and author details.
- Media: Image, video and preview references.
- Engagement: Available post reactions, views and comment figures.
- Comments: Comment text, author profiles, publication times and likes.

### How to scrape ShareChat 🚀

1. Choose **Profile Search** in **What to collect**, or select another collection mode.
2. Fill in the search fields, or paste links to the items you want to collect.
3. Set the maximum results and any optional filters.
4. Start the Actor and review the collected rows.
5. Export the dataset or connect it to your application.

#### ShareChat creator search scraper — input example

```json
{
  "mode": "profile_search",
  "searchQueries": [
    "love"
  ],
  "maxResults": 10
}
```

`maxResults: 10` means up to 10 results for **each input**. It does not guarantee that the website has that many matches. You can set the limit as low as 1.

#### ShareChat post comments scraper — input example

```json
{
  "mode": "post_comments",
  "postUrls": [
    "https://sharechat.com/post/gpZawpM"
  ],
  "maxResults": 10
}
```

#### ShareChat profile posts scraper — input example

```json
{
  "mode": "profile_posts",
  "profileUrls": [
    "https://sharechat.com/profile/friendzoneacademyhindi_01"
  ],
  "maxResults": 10
}
```

#### ShareChat related posts scraper — input example

```json
{
  "mode": "related_posts",
  "postUrls": [
    "https://sharechat.com/post/5aaVxx14"
  ],
  "maxResults": 10
}
```

#### ShareChat tag posts scraper — input example

```json
{
  "mode": "tag_posts",
  "tagUrls": [
    "https://sharechat.com/tag/wlyKjM"
  ],
  "maxResults": 10
}
```

#### ShareChat tag search scraper — input example

```json
{
  "mode": "tag_search",
  "searchQueries": [
    "cricket"
  ],
  "maxResults": 10
}
```

### ShareChat data fields and complete output 📦

| Field group | Included data |
|---|---|
| Creators | Profile identities, biographies and available audience counts. |
| Tags | Tag links, categories, post counts and view counts. |
| Posts | Captions, identifiers, source links and author details. |
| Media | Image, video and preview references. |
| Engagement | Available post reactions, views and comment figures. |
| Comments | Comment text, author profiles, publication times and likes. |

Each collected item is a separate row. `input` identifies the submitted value and `result_type` identifies the selected mode. All returned fields appear in one table; columns that do not apply to a mode can be empty.

A complete JSON result is shown for every collection mode below, in the same order as the input examples. Each example includes every field for its mode; text and lists are not shortened. Values are representative and can change.

#### ShareChat creator search scraper — complete JSON result

```json
{
  "result_type": "profile_search",
  "input": "love",
  "status": "success",
  "url": "https://sharechat.com/profile/_sri_midu_nirmolia",
  "query": "love",
  "id": "38340482",
  "handle": "_sri_midu_nirmolia",
  "name": "🎀Antony-●l love you my life 🎀",
  "bio": "💞❤Please_Follow_ mee❤💞 ",
  "avatar_url": "https://cdn-im.sharechat.com/33d5318_1c8/342a5a62_1760076692430_sc.jpeg?referrer%3Duser-profile-service-ues%26tenant%3Dsc",
  "cover_url": "https://cdn-im.sharechat.com/3225c639_1693428327964_sc.jpeg?referrer%3Duser-profile-service-ues%26tenant%3Dsc",
  "verified": null,
  "followers_count": 331579,
  "posts_count": 60794
}
```

#### ShareChat post comments scraper — complete JSON result

```json
{
  "result_type": "post_comments",
  "input": "https://sharechat.com/post/gpZawpM",
  "status": "success",
  "post_id": "5103833616",
  "post_url": "https://sharechat.com/post/gpZawpM",
  "comment_id": "65",
  "text": "Hi",
  "type": "text",
  "published_at": "2026-06-25T08:22:01Z",
  "timestamp": 1782375721,
  "like_count": 0,
  "media_url": null,
  "author.id": "1232519938",
  "author.handle": "who_like_love_me",
  "author.name": "🕴️ കർഷകൻ 🌾",
  "author.bio": "🤝🕉️🤝☪️🤝✝️🤝\n🕴️ സിംഗിൾ ബോയ് 😌",
  "author.url": "https://sharechat.com/profile/who_like_love_me",
  "author.avatar_url": "https://cdn-im.sharechat.com/33d5318_1c8/original_media/2fc006f4_1785304890428_sc.jpeg?referrer%3Dcomment-service-ues%26tenant%3Dsc",
  "author.cover_url": "https://cdn-im.sharechat.com/33d5318_1c8/1b9c8caf_1779175592529_sc.jpeg?referrer%3Dcomment-service-ues%26tenant%3Dsc",
  "author.verified": false,
  "author.followers_count": 310,
  "author.posts_count": 194
}
```

#### ShareChat profile posts scraper — complete JSON result

```json
{
  "result_type": "profile_posts",
  "input": "https://sharechat.com/profile/friendzoneacademyhindi_01",
  "status": "success",
  "post_id": "5103833616",
  "type": "image",
  "published_at": "2024-04-12T13:53:36Z",
  "timestamp": 1712930016,
  "like_count": 87,
  "author.id": "1108015828",
  "author.handle": "friendzoneacademyhindi_01",
  "author.name": "Share chat live academy ",
  "author.bio": "",
  "author.url": "https://sharechat.com/profile/friendzoneacademyhindi_01",
  "author.avatar_url": "https://cdn-im.sharechat.com/b55e054_1648553893450_sc.png?referrer%3Dpost-rendering-service-ues%26tenant%3Dsc=&tenant=sc&referrer=user-profile-service%2FrequestType50&f=450_sc.png",
  "author.cover_url": "https://cdn-im.sharechat.com/33d5318_1c8/creation/36812feb_1718809795356_sc.bin?referrer%3Dpost-rendering-service-ues%26tenant%3Dsc=&tenant=sc&referrer=user-profile-service%2FrequestType50&f=356_sc.bin",
  "author.verified": true,
  "author.followers_count": 1186,
  "author.posts_count": 96,
  "post_hash": "gpZawpM",
  "url": "https://sharechat.com/post/gpZawpM",
  "caption": "अब हर मुफ्त कॉल एक बोनस कॉल हो जाएगा #Friendzone Hindi",
  "language": "Hindi",
  "comment_count": 58,
  "image_url": "https://cdn-img.sharechat.com/33d5318_1c8/compressed_gm_40_img_17281_b5b8a41_1712929927300_sc.jpg?tenant=sc&referrer=user-profile-service%2FrequestType50&f=300_sc.jpg",
  "video_url": null,
  "thumbnail_url": "https://cdn-img.sharechat.com/33d5318_1c8/creation/b5b8a41_1712929927300_sc_thumbnail.jpeg?tenant=sc&referrer=user-profile-service%2FrequestType50&f=bnail.jpeg",
  "width": 1120,
  "height": 1120,
  "duration_seconds": 0,
  "tags.id": [
    "19467389"
  ],
  "tags.name": [
    "Friendzone Hindi"
  ],
  "tags.hash": [
    "J5DXEA"
  ],
  "tags.url": [
    "https://sharechat.com/tag/J5DXEA"
  ],
  "tags.bucket_id": [
    "393"
  ],
  "tags.bucket_name": [
    "शेयरचैट trends"
  ],
  "tags.is_group": [
    null
  ]
}
```

#### ShareChat related posts scraper — complete JSON result

```json
{
  "result_type": "related_posts",
  "input": "https://sharechat.com/post/5aaVxx14",
  "status": "success",
  "post_id": "3896008796",
  "type": "image",
  "published_at": "2026-03-09T12:15:53Z",
  "timestamp": 1773058553,
  "like_count": 17,
  "author.id": "55873084",
  "author.handle": "55873084",
  "author.name": "एस्ट्रो मनोज कौशिक बहल यंत्र मंत्र तंत्र विशेषज्ञ",
  "author.bio": "मुझे ShareChat पर फॉलो करें! Radhe Radhe",
  "author.url": "https://sharechat.com/profile/55873084",
  "author.avatar_url": "https://cdn-im.sharechat.com/30c94f8a_1680762786213_sc.jpeg?referrer%3Dpost-rendering-service-ues%26tenant%3Dsc=&tenant=sc&referrer=feed-service&f=13_sc.jpeg",
  "author.cover_url": "https://cdn-im.sharechat.com/1fbbaeac_1680792084857_sc.jpeg?referrer%3Dpost-rendering-service-ues%26tenant%3Dsc=&tenant=sc&referrer=feed-service&f=57_sc.jpeg",
  "author.verified": false,
  "author.followers_count": 20215,
  "author.posts_count": 41173,
  "post_hash": "6g50Ez0",
  "url": "https://sharechat.com/post/6g50Ez0",
  "caption": "#🔯ज्योतिष #🔯दैनिक वास्तु टिप्स✅ #🔯ग्रह दोष एवं उपाय🪔 #🔯वास्तु दोष उपाय #🔯नक्षत्रों के प्रभाव✨",
  "language": "Hindi",
  "comment_count": 0,
  "image_url": "https://cdn4.sharechat.com/bd5223f_s1w/compressed_gm_40_img_554349_1304243c_1773058552640_sc.jpg?tenant=sc&referrer=feed-service&f=640_sc.jpg",
  "video_url": null,
  "thumbnail_url": "https://cdn4.sharechat.com/bd5223f_s1w/compressed_gm_40_img_554349_1304243c_1773058552640_sc_thumb.jpg?tenant=sc&referrer=feed-service&f=_thumb.jpg",
  "width": 1080,
  "height": 1924,
  "duration_seconds": 0,
  "tags.id": [
    "106905",
    "359310",
    "16099796",
    "13268858",
    "14596106"
  ],
  "tags.name": [
    "🔯ज्योतिष",
    "🔯दैनिक वास्तु टिप्स✅",
    "🔯ग्रह दोष एवं उपाय🪔",
    "🔯वास्तु दोष उपाय",
    "🔯नक्षत्रों के प्रभाव✨"
  ],
  "tags.hash": [
    "r1GKD",
    "Bb4ek",
    "64Kww0",
    "PelBKw",
    "3DqOM5"
  ],
  "tags.url": [
    "https://sharechat.com/tag/r1GKD",
    "https://sharechat.com/tag/Bb4ek",
    "https://sharechat.com/tag/64Kww0",
    "https://sharechat.com/tag/PelBKw",
    "https://sharechat.com/tag/3DqOM5"
  ],
  "tags.bucket_id": [
    "1061",
    "1061",
    "1061",
    "1061",
    "1061"
  ],
  "tags.bucket_name": [
    "ज्योतिष",
    "ज्योतिष",
    "ज्योतिष",
    "ज्योतिष",
    "ज्योतिष"
  ],
  "tags.is_group": [
    false,
    false,
    false,
    false,
    false
  ]
}
```

#### ShareChat tag posts scraper — complete JSON result

```json
{
  "result_type": "tag_posts",
  "input": "https://sharechat.com/tag/wlyKjM",
  "status": "success",
  "post_id": "1405894417",
  "type": "image",
  "published_at": "2026-09-20T06:46:24Z",
  "timestamp": 1789886784,
  "like_count": 20,
  "author.id": "3327058",
  "author.handle": "devilofcricket",
  "author.name": "ᴅᴇᴠɪʟ ᴏꜰ ᴄʀɪᴄᴋᴇᴛ😈",
  "author.bio": "Follow & Support me . Thanks 🙏🏻🙏🏻🙏🏻\n",
  "author.url": "https://sharechat.com/profile/devilofcricket",
  "author.avatar_url": "https://cdn-im.sharechat.com/33d5318_1c8/388c83c0_1762862195073_sc.jpeg?referrer%3Dpost-rendering-service-ues%26tenant%3Dsc=&tenant=sc&referrer=feed-service&f=73_sc.jpeg",
  "author.cover_url": "https://cdn-im.sharechat.com/33d5318_1c8/original_media/3737191a_1786734849215_sc.jpeg?referrer%3Dpost-rendering-service-ues%26tenant%3Dsc=&tenant=sc&referrer=feed-service&f=15_sc.jpeg",
  "author.verified": false,
  "author.followers_count": 27830,
  "author.posts_count": 24976,
  "post_hash": "QJGmbvM",
  "url": "https://sharechat.com/post/QJGmbvM",
  "caption": "𝐌𝐀𝐈𝐃𝐄𝐍 𝐓𝟐𝟎𝐈 𝐂𝐄𝐍𝐓𝐔𝐑𝐘 𝐅𝐎𝐑 𝐒𝐇𝐀𝐅𝐀𝐋𝐈 𝐕𝐄𝐑𝐌𝐀 🇮🇳 👏\n\nShe reaches the milestone in just 49 balls, smashing 3 fours and 9 sixes 🔥\n\nIndia post 195/4 (20) against Bangladesh 👏\n #🏏 शेफाली वर्मा #🔥महिला टीम इंडिया 🇮🇳 #🏏बांग्लादेश #🏆 एशियाड गेम्स 🔥 #🥈एशियाड गेम्स: शूटिंग में भारत ने जीता सिल्वर",
  "language": "Hindi",
  "comment_count": 0,
  "image_url": "https://cdn4.sharechat.com/bd5223f_s1w/compressed_gm_40_img_784511_2f42a022_1789886783134_sc.jpg?tenant=sc&referrer=feed-service&f=134_sc.jpg",
  "video_url": null,
  "thumbnail_url": "https://cdn4.sharechat.com/bd5223f_s1w/compressed_gm_40_img_784511_2f42a022_1789886783134_sc_thumb.jpg?tenant=sc&referrer=feed-service&f=_thumb.jpg",
  "width": 1080,
  "height": 1350,
  "duration_seconds": 0,
  "tags.id": [
    "17425946",
    "16442371",
    "13168383",
    "21387980",
    "21398743"
  ],
  "tags.name": [
    "🏏 शेफाली वर्मा",
    "🔥महिला टीम इंडिया 🇮🇳",
    "🏏बांग्लादेश",
    "🏆 एशियाड गेम्स 🔥",
    "🥈एशियाड गेम्स: शूटिंग में भारत ने जीता सिल्वर"
  ],
  "tags.hash": [
    "ngb8R0",
    "8nE15Z",
    "EykOP5",
    "ZPlxJV",
    "VlR7OO"
  ],
  "tags.url": [
    "https://sharechat.com/tag/ngb8R0",
    "https://sharechat.com/tag/8nE15Z",
    "https://sharechat.com/tag/EykOP5",
    "https://sharechat.com/tag/ZPlxJV",
    "https://sharechat.com/tag/VlR7OO"
  ],
  "tags.bucket_id": [
    "1992",
    "1992",
    "1769",
    "1992",
    "1992"
  ],
  "tags.bucket_name": [
    "एशियाड गेम्स",
    "एशियाड गेम्स",
    "क्रिकेट कार्निवल",
    "एशियाड गेम्स",
    "एशियाड गेम्स"
  ],
  "tags.is_group": [
    false,
    false,
    false,
    false,
    false
  ]
}
```

#### ShareChat tag search scraper — complete JSON result

```json
{
  "result_type": "tag_search",
  "input": "cricket",
  "status": "success",
  "url": "https://sharechat.com/tag/wlyKjM",
  "thumbnail_url": "https://cdn.sharechat.com/1ee23476_1626092270158_sc_thumbnail.jpeg",
  "query": "cricket",
  "id": "9543035",
  "name": "🔥 टीम इंडिया 🇮🇳",
  "posts_count": 291521,
  "hash": "wlyKjM",
  "bucket_id": "1992",
  "bucket_name": "एशियाड गेम्स",
  "is_group": false,
  "view_count": 1013719409
}
```

Images, tags and other lists stay with their parent result instead of creating extra rows. Invalid or unavailable inputs, inputs with no results, and requests that fail after all retries produce a row with `status: failed`. At most one failed row is saved per input; it includes `error_code` and `error_message` explaining the outcome. A normal end of pagination after collected results does not add a failed row.

### Input requirements and collection settings ⚙️

| Setting | What to enter |
|---|---|
| **What to collect** (`mode`) | Choose the information to collect. |
| **Maximum results per search or link** (`maxResults`) | Collect up to this many results for each search or link. Minimum: 1. |
| **Search keywords** (`searchQueries`) | Enter one search phrase per line. For Profile Search, Tag Search. |
| **Post links** (`postUrls`) | Paste one link per line. Example: https://sharechat.com/post/gpZawpM For Post Comments, Related Posts. |
| **Profile links** (`profileUrls`) | Paste one link per line. Example: https://sharechat.com/profile/friendzoneacademyhindi_01 For Profile Posts. |
| **Tag page links** (`tagUrls`) | Paste one link per line. Example: https://sharechat.com/tag/wlyKjM For Tag Posts. |

| Collection mode | Fields to use |
|---|---|
| Post Comments | **Post links** |
| Profile Posts | **Profile links** |
| Profile Search | **Search keywords** |
| Related Posts | **Post links** |
| Tag Posts | **Tag page links** |
| Tag Search | **Search keywords** |

The result limit applies separately to each search or supplied link. Collection ends earlier when no more matching results are available.

### ShareChat scraping use cases 🎯

#### Regional creator discovery

Search for creators relevant to a language community or content niche.

#### Topic research

Find tags and compare the posts appearing in their feeds.

#### Campaign content monitoring

Collect selected creator posts and examine captions and engagement.

#### Audience feedback

Review comments beneath posts relevant to a product or theme.

#### Content recommendation research

Compare posts recommended alongside selected publications.

### Pricing and saved-result behavior 💰

See the Actor's **Pricing** tab for the active pricing model and current rate. Store settings may change, so this README does not claim a fixed cost.

Under dataset-item pricing:

- Each collected item saved in the dataset is one result.
- Images, tags and other values attached to that item do not create additional rows.
- Automatic retry attempts do not create extra dataset rows.
- A saved `failed` row is also one billable dataset item, including invalid inputs, unavailable items, no results, or exhausted retries. At most one failed row is saved per input, including when some results were already collected.
- `maxResults` caps all saved rows for each input, including its failed row. Repeated copies of the same input are processed once. More inputs or a higher limit can produce more saved results.

### ShareChat scraper API and integrations 🔌

Replace `$ACTOR_ID` with the ID shown in the Actor API tab and `$APIFY_TOKEN` with your token.

```bash
curl -X POST "https://api.apify.com/v2/acts/$ACTOR_ID/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode":"profile_search","searchQueries":["love"],"maxResults":10}'
```

Use schedules for recurring collection, webhooks for completion notifications, and Apify integrations for Google Sheets, Make, Zapier, cloud storage, a CRM or your own application.

### Reliability, retries, and public-data limits ⚠️

Temporary connection errors, timeouts and access restrictions are retried automatically, up to five attempts. Invalid inputs save a failed row without an HTTP request; confirmed unavailable items save a failed row without unnecessary retries. Exhausted retries also save a failed row. Results already collected remain available if a later request fails, and normal pagination completion adds no error row. Collection also stops after two consecutive fully processed pages add no new results, even if the website provides another cursor. Required detail lookups are completed before checking a page; new results reset the counter, and independent reply branches are checked separately. Failures while initializing the Actor, saving data or scheduling requests stop the run instead of being reported as a failed website result.

Search modes cover profiles and tags; there is no general post-keyword search mode.

ShareChat controls which information is publicly available. Removed, private or restricted items may be unavailable, and optional values can be null or empty. A run can still fail if the results cannot be saved.

### Frequently asked questions ❓

#### Does it require an account on ShareChat?

No. You do not need to provide an account, password or login cookies. Only publicly available information is collected.

#### How does maxResults work?

It limits the number of saved results separately for every input. The minimum is 1. With maxResults set to 10, each input returns at most 10 available results.

#### Can I search individual posts by keyword?

The actor searches profiles and tags. Collect posts from a profile, tag or related-post list.

#### Are advertising cards included in tag results?

Tag Posts excludes advertising cards and repeated posts from its output.

#### Why are some fields empty?

The website may not publish that value, or the field may belong to a different collection mode. Missing values remain null or empty instead of being guessed.

#### Can I export the results to a spreadsheet?

Yes. Download CSV, Excel or JSON from the Apify dataset. All returned fields are included in the same results table.

### Support and responsible use 🛟

For a reproducible issue, share the run ID, selected mode, result limit and a safe public example through the support channel. Never disclose access tokens, passwords or proxy credentials.

Use public ShareChat information lawfully and responsibly. Follow applicable privacy, copyright, data-protection, contractual and platform requirements when storing, analyzing or redistributing results.

# Actor input Schema

## `mode` (type: `string`):

Choose the information to collect.

## `maxResults` (type: `integer`):

Collect up to this many results for each search or link. Minimum: 1.

## `searchQueries` (type: `array`):

Enter one search phrase per line. For Profile Search, Tag Search.

## `postUrls` (type: `array`):

Paste one link per line. Example: https://sharechat.com/post/gpZawpM For Post Comments, Related Posts.

## `profileUrls` (type: `array`):

Paste one link per line. Example: https://sharechat.com/profile/friendzoneacademyhindi_01 For Profile Posts.

## `tagUrls` (type: `array`):

Paste one link per line. Example: https://sharechat.com/tag/wlyKjM For Tag Posts.

## Actor input object example

```json
{
  "mode": "profile_search",
  "maxResults": 10,
  "searchQueries": [
    "love"
  ],
  "postUrls": [
    "https://sharechat.com/post/gpZawpM"
  ],
  "profileUrls": [
    "https://sharechat.com/profile/friendzoneacademyhindi_01"
  ],
  "tagUrls": [
    "https://sharechat.com/tag/wlyKjM"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

Collected entities and failed input outcomes, with all available fields and error explanations in one dataset.

# 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 = {
    "mode": "profile_search",
    "maxResults": 10,
    "searchQueries": [
        "love"
    ],
    "postUrls": [
        "https://sharechat.com/post/gpZawpM"
    ],
    "profileUrls": [
        "https://sharechat.com/profile/friendzoneacademyhindi_01"
    ],
    "tagUrls": [
        "https://sharechat.com/tag/wlyKjM"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapingmonkey/sharechat-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 = {
    "mode": "profile_search",
    "maxResults": 10,
    "searchQueries": ["love"],
    "postUrls": ["https://sharechat.com/post/gpZawpM"],
    "profileUrls": ["https://sharechat.com/profile/friendzoneacademyhindi_01"],
    "tagUrls": ["https://sharechat.com/tag/wlyKjM"],
}

# Run the Actor and wait for it to finish
run = client.actor("scrapingmonkey/sharechat-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 '{
  "mode": "profile_search",
  "maxResults": 10,
  "searchQueries": [
    "love"
  ],
  "postUrls": [
    "https://sharechat.com/post/gpZawpM"
  ],
  "profileUrls": [
    "https://sharechat.com/profile/friendzoneacademyhindi_01"
  ],
  "tagUrls": [
    "https://sharechat.com/tag/wlyKjM"
  ]
}' |
apify call scrapingmonkey/sharechat-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapingmonkey/sharechat-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/LzUQcustqmT691Tsj/builds/cukfMkzkeYCRuv4Vs/openapi.json
