Instagram Poster avatar

Instagram Poster

Pricing

from $0.01 / 1,000 results

Go to Apify Store
Instagram Poster

Instagram Poster

Automate posting images to Instagram! Supports captions and hashtags. Image Posts - Post photos from URL. Captions - Add descriptions to your posts. Hashtags - Include relevant hashtags. Location Tags - Add location (when available).

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

The Howlers

The Howlers

Maintained by Community

Actor stats

1

Bookmarked

24

Total users

3

Monthly active users

12 days ago

Last modified

Features

Limited permissions

Share

Instagram Automation Tool - Post images to Instagram with captions and hashtags. No API required - uses secure browser automation. Perfect for social media marketing, content scheduling, and brand management. Supports feed posts with optimal image handling.

Bring your own account. You post to your own Instagram account, so you provide cookies from a logged-in browser (recommended) or a username and password.


Before You Start

You need one of the following:

  • cookies: cookies exported from a browser where you are logged in to Instagram. Use the Cookie-Editor extension on an instagram.com tab, click Export, choose JSON, and paste the whole array. The export must include the sessionid cookie.
  • cookieStorageKey: the key of a session saved earlier by the Cookie Manager actor. Enter the store name or ID in cookieKvStoreName too, so this run is allowed to read it.
  • username + password: least reliable. Instagram often blocks automated password logins or asks for a security check. Prefer cookies.

Quick Start

Run with real data

{
"cookies": "[{\"name\":\"sessionid\",\"value\":\"...\",\"domain\":\".instagram.com\"}]",
"imageUrl": "https://example.com/photo.jpg",
"caption": "Behind the scenes at the shop today",
"hashtags": ["smallbusiness", "localshop"],
"timeout": 120
}

Input Parameters

ParameterTypeDefaultRequiredDescription
usernamestring-NoInstagram username (not needed if using cookies)
passwordstring-Yes*Instagram password (not needed if using cookies)
cookiesstring-NoJSON array of cookies from logged-in browser session. Recommended for 2FA accounts. Not needed if using Cookie Manager.
cookieStorageKeystring-NoKey to load cookies from the Cookie Manager KV store (e.g. 'instagram-myaccount'). Use this instead of pasting cookies manually. Requires a prior run of the Cookie Manager actor to capture and store your session.
cookieKvStoreNamestring"cookie-sessions"NoName of the Key-Value store where Cookie Manager saved the session. Defaults to 'cookie-sessions'.
imageUrlstring-NoURL of the image to post (required - Instagram requires an image)
captionstring-NoPost caption text
hashtagsarray-NoHashtags to add (with or without # prefix)
timeoutinteger120NoMaximum time to wait for operations
webhookUrlstring-NoURL to receive a POST request when the actor run finishes. Useful for integrations with Zapier, Make, n8n, or custom automation workflows.
indexNowKeystring-NoOptional IndexNow API key for instant search engine indexing of posted content. Get your key at https://www.bing.com/indexnow

Pricing

This actor uses pay-per-event billing:

EventWhen it is chargedPrice
Actor startOnce when the run starts, one event per GB of memory (minimum one). At the default 2 GB of memory a run starts at $0.20$0.10 per GB
Post CreatedPer post created$0.05
ResultEach item written to the default dataset$0.00001

If the maximum cost per run is too low to cover one created post, the run posts nothing, ends with one row whose status is max_charge_too_low, and charges no Post Created event.


Webhook

Set webhookUrl and the actor sends one POST request with a JSON body when the run finishes, after the result is saved. The run waits for the delivery, and a failed delivery is logged without failing the run.

{
"status": "success",
"actorId": "...",
"runId": "...",
"result": { "success": true, "postId": "...", "postUrl": "https://www.instagram.com/p/..." }
}

status is error when nothing was posted, and result then holds the same row as the dataset, including the reason. A run that fails with an error (for example an image URL that cannot be downloaded) still sends the webhook, with status set to error and the reason in result.error, before the run ends.


Troubleshooting

"Not logged in: Instagram did not accept the cookies"

Your Instagram session expired or was signed out. Log in to instagram.com in your browser, export fresh cookies with Cookie-Editor (Export, then JSON), and paste them into cookies. If you use Cookie Manager, run it again to capture a fresh session. The run ends with one row whose status is not_logged_in, nothing is posted, and no Post Created event is charged.

"The Instagram cookies do not include sessionid"

The export was made from a tab that was not logged in, or only part of it was pasted. Export again from a logged-in instagram.com tab and paste the whole array.

Check the key spelling, run Cookie Manager in capture mode for that key, and enter the store name or ID in cookieKvStoreName.

"Instagram sent the session to a security check"

Open Instagram in your browser, complete the check, then export fresh cookies.

The post failed after login

The row's error says which step failed, and screenshotUrl links to a screenshot of the page at that moment. Check that imageUrl is a direct link to a JPG or PNG file.

How do I test without posting?

Run the actor without credentials, or set demoMode to true. You get a labeled sample result, nothing is posted, and no Post Created event is charged.


Built by John Rippy | Actor Arsenal

Running without credentials

If you run this actor without credentials, it returns clearly labeled sample data instead of posting. Each sample item includes demo: true and a notice field. Nothing is posted to Instagram and no task events are charged. Provide your own credentials in the input to post for real. Setting demoMode to true behaves the same way.