# Instagram Auto Liker: Like Posts by User, Location & Hashtag (`am_production/instagram-posts-auto-like-tool`) Actor

Instagram auto liker and like bot. Like the newest posts of usernames, of any location (café, neighborhood, whole city) and of any hashtag, from your own account. Newest or top posts, human-like pauses, action-block protection. Free place finder with 9.7M locations. Pay only per verified like.

- **URL**: https://apify.com/am_production/instagram-posts-auto-like-tool.md
- **Developed by:** [NoSite](https://apify.com/am_production) (community)
- **Categories:** Social media, Automation
- **Features:** Limited permissions
- **Stats:** 485 total users, 19 monthly users, 100.0% runs succeeded, 11 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $7.00 / 1,000 like completeds

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 Auto Liker: Like Posts by Username, Location & Hashtag

**Auto like Instagram posts and reels from your own account: the newest posts of the accounts you choose, the newest posts people tagged at any place, and the newest posts under any hashtag.** Paste your Instagram session, pick your targets, run it or put it on a schedule. This Instagram like bot presses Like the way a person would, with random pauses, and charges you only for likes that were verified on Instagram.

Three ways to target, in one run:

- 👤 **Usernames**: like the newest posts and reels of creators, prospects, clients or partners.
- 📍 **Locations**: like the newest posts people tagged at a café, gym, mall, beach, neighborhood, or a whole city like *Austin, Texas*. Reach locals and visitors of any area. Find location links in seconds at **[places.nosite.app](https://places.nosite.app)**: 9.7 million places in the USA, Europe and Egypt.
- \#️⃣ **Hashtags**: like the newest posts under `#yourniche`, in any language.

For locations and hashtags you choose **Newest posts** (minutes to hours old, from people active right now) or **Top posts**.

Typical uses:

- Get discovered by people near your business: like the newest posts tagged at your neighborhood, nearby venues or your city
- Warm up creators, prospects or customers before you DM them
- Engage with a niche every day through its hashtags
- Keep an account active while you are away
- Support an outreach or lead generation workflow with real engagement signals

### Quick start

1. **Step 1: Your Instagram session.** Log in to instagram.com in Chrome, press **F12**, open **Application > Cookies > https://www.instagram.com**, copy the value of the `sessionid` row and paste it in. (Firefox: the **Storage** tab.)
2. **Step 2: Choose your targets**, any mix of:
   - **2a: Track usernames**: `natgeo`, `@natgeo` or `https://www.instagram.com/natgeo/`, one per line. A post or reel link likes just that post.
   - **2b: Track locations**: Instagram location links, one per line (see [how to get them](#liking-posts-at-locations)).
   - **2c: Track hashtags**: `cairocafe` or `#cairocafe`, one per line.
3. Click **Start**. Everything else has safe defaults.

Watch the 50 second walkthrough: [How to export your Instagram cookies](https://api.apify.com/v2/key-value-stores/jjiJaBviIermRzlKc/records/nosite-cookies.mp4)

<video src="https://api.apify.com/v2/key-value-stores/jjiJaBviIermRzlKc/records/nosite-cookies.mp4" controls width="640"></video>

The session box takes whatever you paste: just the `sessionid` value, a `name=value; ...` cookie string, a JSON export from Cookie-Editor, EditThisCookie or Puppeteer, a `cookies.txt` file or rows copied from the browser's cookie table. If what you pasted is not a session, the run stops right away and tells you how to copy the right value. Your session is only used inside the run and is never stored. Do not log out of that browser afterwards, because logging out ends the session.

### Liking posts at locations

Put one Instagram location link per line into **Step 2b: Track locations** (click **Bulk edit** to paste many at once), choose **Which posts at each location** (Newest or Top) and **Posts to like per location**.

**Two ways to get location links:**

1. **From our free Place Finder: [places.nosite.app](https://places.nosite.app).** Search 9.7 million places in the USA, Europe and Egypt by country, state, city, area and neighborhood on a map. Add the places you want, or a whole city's own Instagram tag, click **Copy for Apify**, and paste. Missing a place? Add it there with its Instagram link.
2. **From Instagram itself**, for any place in the world:
   - On a computer: open a post tagged at the place, click the place name under the username, and copy the address. It looks like `https://www.instagram.com/explore/locations/106224666074625/austin-texas/`.
   - In the app: tap the place name on a post, then **⋯** → **Copy link**.

Any form of the link works: with or without `/recent/` or `/top/`, `?hl=` or share parameters, or just the number. For a whole city or country, use its busiest tag (the one with the most posts).

### Liking posts under hashtags

Put one hashtag per line into **Step 2c: Track hashtags** (`cairocafe`, `#cairocafe`, or a hashtag in any language like `#القاهرة`), choose **Which posts under each hashtag** (Newest or Top) and **Posts to like per hashtag**. Hashtag posts are liked one at a time, each on its own page, with the same random pauses as everything else. Specific hashtags (`#zamalekcafe`) reach people better than huge ones (`#love`).

### Newest or top posts

- **Newest posts (Recent)**, the default: posts from minutes to hours ago, by people who are active right now and most likely to notice your like and visit your profile.
- **Top posts**: the most popular posts, often weeks old and already full of likes.

### How it works

1. Opens Instagram in a real browser with your session cookies (no password needed) and checks you are really logged in. If Instagram shows the login page or a checkpoint, the run stops, explains how to fix it, and charges no likes.
2. For each account, location or hashtag, it reads the newest (or top) posts, then likes them one at a time like a person browsing: it opens a post, waits a random pause, presses Like, and moves on to the next post with the arrow, just like you would in the app.
3. A like only counts once Instagram confirms it (the heart turns red). Posts you liked earlier are skipped, for free.
4. It stops on its own at the first sign of trouble: an "Action Blocked" dialog, or likes that silently stop registering. The remaining targets are marked so you know to wait.
5. If Apify moves the run to another server mid-way, it continues where it was: nothing is visited, written or charged twice.

### Input

| Field | Description |
| --- | --- |
| `session_id` | Your Instagram session: the `sessionid` value or any cookie export (see Quick start). |
| `influencers` | **Step 2a.** Accounts to like, one per line. `@name`, profile links and post links are accepted. |
| `posts_per_user` | Newest posts to like on each account (default 2). |
| `places` | **Step 2b.** Instagram location links (or numbers), one per line, e.g. copied from [places.nosite.app](https://places.nosite.app). |
| `places_tab` | `recent` (newest, default) or `top` posts at each location. |
| `posts_per_place` | Posts to like at each location (default 3, up to 50). |
| `hashtags` | **Step 2c.** Hashtags, one per line, with or without `#`. |
| `hashtags_tab` | `recent` (newest, default) or `top` posts under each hashtag. |
| `posts_per_hashtag` | Posts to like under each hashtag (default 3, up to 50). |
| `max_likes_per_run` | **Step 3.** Safety cap for the whole run (default 60, maximum 200). Need more? Schedule several runs a day, see below. |
| `min_delay_seconds` / `max_delay_seconds` | Advanced. Random pause between likes: min 2 to 10 seconds, max 4 to 16 seconds (default 3 to 8). |
| `proxyConfiguration` | Advanced. Optional Apify Proxy, only needed if Instagram keeps asking for verification. |
| `instagram_cookies` | Old field kept for saved tasks. New users can ignore it. |

Targets run in this order: usernames, then locations, then hashtags, all inside the same **Max likes per run**.

### Output

One dataset row per account, location and hashtag:

```json
{
  "username": "place:106224666074625",
  "place_name": "Austin, Texas",
  "profile_url": "https://www.instagram.com/explore/locations/106224666074625/",
  "status": "liked",
  "posts_found": 12,
  "likes_requested": 3,
  "likes_done": 3,
  "already_liked": 0,
  "liked_posts": [
    "https://www.instagram.com/jomo.n821/reel/DeiEX8jq9fi/",
    "https://www.instagram.com/dolphin.98814691/reel/DeiEXe8xwmy/",
    "https://www.instagram.com/jennsalaz/p/DeiEZ3AFtHV/"
  ],
  "error": null,
  "processed_at": "2026-10-16T00:49:39.002Z"
}
```

`username` is the account name, `place:<id>` for a location or `tag:<name>` for a hashtag. `status` is one of `liked`, `partial`, `already_liked`, `no_posts`, `private`, `not_found`, `action_blocked`, `failed`, `limit_reached` (not processed because the run hit **Max likes per run**), or `setup_needed` / `login_failed` when the session is missing or expired (the `error` column then says how to fix it). A run level `SUMMARY` record is stored in the key-value store.

### Pricing

Pay per event. You are charged only for likes that were verified on Instagram.

| Event | What it covers | Price (Free plan) | Paid plans |
| --- | --- | --- | --- |
| Like completed | One post newly liked and confirmed | $0.010 | $0.009 to $0.007 |
| Profile processed | One account, location or hashtag opened and its posts read, even when nothing could be liked (private, not found) | $0.002 | $0.002 |
| Actor start | Browser boot and session check, once per run per GB of memory | $0.010 | $0.005 |

Examples: liking 2 posts on 30 accounts every day costs about $0.70 a day on the Free plan. 100 likes at locations and hashtags cost about $1. A failed login costs one Actor start only.

### More than 200 likes a day: schedule several runs

One run likes at most 200 posts. That is about the most Instagram tolerates per day on an established account, and spreading likes over the day looks far more natural than one burst. To like more, or to engage every day without thinking about it:

1. Fill in the input as usual and click **Save as a new task**.
2. Open the task, go to **Schedules** and click **Create new schedule**.
3. Pick how often it runs, for example 3 runs a day at 9:00, 14:00 and 20:00 with `max_likes_per_run` set to 50 each.

Each run only charges for likes it actually made, and posts already liked by an earlier run are skipped for free, so overlapping schedules never double charge. With **Newest posts**, every run finds fresh posts at your locations and hashtags.

### Staying safe

- Instagram tolerates roughly 100 to 200 likes per day on an established account. Keep `max_likes_per_run` low and schedule several small runs rather than one large one.
- Keep the default pauses (3 to 8 seconds). Faster runs are the main cause of action blocks.
- New or rarely used accounts get blocked much sooner. Warm them up manually first.
- Automation is against Instagram's terms of service. Use this on accounts you own and accept that Instagram may limit them.

### FAQ

**Is this an Instagram auto liker or a like bot?** Both names describe the same thing: a tool that automatically likes posts on Instagram from your account. This one likes the newest posts of accounts, locations and hashtags you choose.

**Can I like posts by location?** Yes. Paste Instagram location links into Step 2b, from Instagram itself or from [places.nosite.app](https://places.nosite.app), and the newest posts tagged there get liked.

**Can I like posts by hashtag?** Yes. Put hashtags into Step 2c. The newest (or top) posts under each hashtag get liked, one at a time.

**Where do I find location links?** At [places.nosite.app](https://places.nosite.app) (9.7 million places in the USA, Europe and Egypt, with a map) or on Instagram by tapping the place name on any post. Both are explained above.

**Does it need my password?** No. It uses the session from a browser where you are already logged in. Nothing is stored after the run.

**Will it like the same post twice?** No. Posts you already liked are detected and skipped, and skipped posts are not charged.

**How many likes per day are safe?** Roughly 100 to 200 on an established account. Keep the per-run cap low and schedule several small runs.

**Why is one run limited to 200 likes?** Larger bursts are the fastest way to get an account action blocked. Schedule several runs a day instead (see above).

**Does it like reels?** Yes, reels and regular posts are handled the same way.

**Why did my run stop with "Action Blocked"?** Instagram temporarily limited likes on your account. The actor stops immediately so it does not make things worse, also when Instagram blocks silently and likes simply stop registering. Wait 24 hours, then run with fewer likes per run.

**My run says "Action needed" or `login_failed`.** Your session is missing or expired. Log in to instagram.com again, copy a fresh `sessionid` (see Quick start) and paste it into Step 1.

### Support

Open an issue on the actor page or email the developer through the Apify Console. Missing a place in Place Finder? Add it at [places.nosite.app](https://places.nosite.app).

# Actor input Schema

## `session_id` (type: `string`):

Lets the actor like posts from YOUR account without your password.<br><br><b>Easiest way (1 minute):</b><br>1. Open <a href="https://www.instagram.com" target="_blank">instagram.com</a> in Chrome and log in.<br>2. Press <b>F12</b> → <b>Application</b> tab (Firefox: <b>Storage</b>) → <b>Cookies</b> → <b>https://www.instagram.com</b>.<br>3. Find the row named <b>sessionid</b>, double-click its Value, copy it and paste it here.<br><br>You can also paste a whole cookie export from any extension (Cookie-Editor, EditThisCookie, Puppeteer JSON) or a <code>name=value; ...</code> cookie string. Anything works. Do not log out of that browser afterwards, logging out ends the session.

## `influencers` (type: `array`):

Instagram accounts whose newest posts and reels should be liked. One per line. Usernames, @usernames and profile links all work, e.g. <code>natgeo</code>, <code>@nasa</code> or <code>https://www.instagram.com/natgeo/</code>. You can also paste a link to one specific post or reel to like just that post. Fill in any of Step 2a, 2b and 2c.

## `posts_per_user` (type: `integer`):

How many of the newest posts or reels to like on each account. Posts you already liked are skipped for free.

## `places` (type: `array`):

<b>One location link per line</b> (or just its number). Paste many at once with <b>Bulk edit</b>.<br><br><b>Option 1, copy from Instagram:</b><br>• On a computer: open a post tagged at the place, click the place name under the username, and copy the address from your browser.<br>• On the phone app: tap the place name on a post, then <b>⋯</b> → <b>Copy link</b>.<br>It looks like <code>instagram.com/explore/locations/<b>106224666074625</b>/austin-texas/</code><br><br><b>Option 2, copy from our website:</b> open <a href="https://places.nosite.app" target="_blank"><b>places.nosite.app</b></a> (9.7 million places in the USA, Europe and Egypt), pick a country and city, click <b>+</b> on the places you want or add the whole city's own tag, then <b>Copy for Apify</b> and paste here.

## `places_tab` (type: `string`):

Newest posts come from people who are active right now and most likely to notice your like. Top posts are the location's most popular posts, often weeks old.

## `posts_per_place` (type: `integer`):

How many of the newest posts to like at each location (1 to 50). Already-liked posts are skipped for free.

## `hashtags` (type: `array`):

One hashtag per line, with or without <b>#</b> (e.g. <code>cairocafe</code>). Any language works (e.g. <code>#القاهرة</code>). Tip: specific hashtags (<code>#zamalekcafe</code>) reach people better than huge ones (<code>#love</code>).

## `hashtags_tab` (type: `string`):

Newest posts are minutes to hours old. Top posts are the hashtag's most popular posts, often weeks old.

## `posts_per_hashtag` (type: `integer`):

How many posts to like under each hashtag (1 to 50). Already-liked posts are skipped for free.

## `max_likes_per_run` (type: `integer`):

Safety cap for the whole run, up to 200. Instagram tolerates roughly 100 to 200 likes per day on an established account, so keep runs small. Need more? Save this as a task and add a schedule that runs it several times a day (Task → Schedules). Already liked posts are skipped for free.

## `min_delay_seconds` (type: `integer`):

Shortest pause between likes, 2 to 10 seconds. Lower is faster but riskier. The default of 3 is safe for most accounts.

## `max_delay_seconds` (type: `integer`):

Longest pause between likes, 4 to 16 seconds. A random pause between min and max is used before each like, so 3 and 8 give about 1 like every 8 to 13 seconds.

## `proxyConfiguration` (type: `object`):

Usually not needed. If Instagram keeps asking this session for verification, a residential proxy from your account's country helps.

## `instagram_cookies` (type: `array`):

Kept so older saved tasks keep working. New users: leave empty and use Step 1 instead, which accepts the same exports.

## Actor input object example

```json
{
  "posts_per_user": 2,
  "places": [
    "https://www.instagram.com/explore/locations/106224666074625/austin-texas/"
  ],
  "places_tab": "recent",
  "posts_per_place": 3,
  "hashtags_tab": "recent",
  "posts_per_hashtag": 3,
  "max_likes_per_run": 60,
  "min_delay_seconds": 3,
  "max_delay_seconds": 8,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One row per account: status, how many posts were liked or skipped, and what to fix if something went wrong.

## `summary` (type: `string`):

Totals for the whole run: likes done, posts already liked and a count per status.

# 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 = {
    "places": [
        "https://www.instagram.com/explore/locations/106224666074625/austin-texas/"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("am_production/instagram-posts-auto-like-tool").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 = {
    "places": ["https://www.instagram.com/explore/locations/106224666074625/austin-texas/"],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("am_production/instagram-posts-auto-like-tool").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 '{
  "places": [
    "https://www.instagram.com/explore/locations/106224666074625/austin-texas/"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call am_production/instagram-posts-auto-like-tool --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,am_production/instagram-posts-auto-like-tool"
        }
    }
}
```

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/AB7heqint8dqcaKQs/builds/CmEXgLAdlTArIzzEv/openapi.json
