Instagram Posts by ID API | EveryInfra avatar

Instagram Posts by ID API | EveryInfra

Pricing

$8.00 / 1,000 result page events

Go to Apify Store
Instagram Posts by ID API | EveryInfra

Instagram Posts by ID API | EveryInfra

Fetch posts from Instagram user by numeric ID. Supports pagination with max_id.

Pricing

$8.00 / 1,000 result page events

Rating

0.0

(0)

Developer

ECHO

ECHO

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Share

Provide a numeric user ID to fetch posts from Instagram. Use OUTPUT.next_cursor as the next run's max_id. One page per run with requested maximum count, default 12, range 1 to 50; actual count may be lower. Numeric ID is distinct from username; no username-to-ID lookup. Media links can expire.

Use Cases

  • Fetch posts by user ID
  • Continue pagination using max_id

Input

The actor accepts flat inputs like user_id and optional count and max_id. Optional params object is supported. The action is fixed to user_posts and may be omitted.

{
"user_id": "25025320",
"count": 12
}

Parameters

  • user_id: Numeric user ID as string, e.g. 25025320.

  • count: Number of posts per page, default 12, range 1 to 50.

  • max_id: Opaque pagination cursor copied unchanged from OUTPUT.next_cursor; NOT an arbitrary maximum post ID.

Pagination

Use the next_cursor from OUTPUT as max_id for the next run with the same user_id. The count is requested page size, actual may be lower. has_more follows source plus available cursor.

Output

The OUTPUT contains schema_version, platform, action, has_data, record_count, records, next_cursor, has_more. Copy next_cursor unchanged to next run's max_id. Records include record_id, url, text, posted_at, author_id, author_username, author_name, like_count, comment_count, view_count, video_duration, media_type, product_type, image_urls, video_urls (one image/video candidate per media item when supplied; media links can expire). Missing source fields are omitted. No result count guarantee.

Records are one per Apify dataset row. Export via Apify JSON or CSV; OUTPUT is a summary with cursor.

Pricing

Price is US$0.008 per successful NONEMPTY page, independent of row count. Empty/failed requests result in zero result events. No actor-start or per-row event charge. A paid run requires maximum charge budget >= $0.008 before requesting data. Apify platform charges may apply. One record is stored per dataset row.

Trial

The first 3 accepted data-request attempts per Apify account are free of result-event charges across all EveryInfra Actors combined, lifetime total with no reset. Invalid input consumes none, accepted empty or failed source attempts consume a trial. After the third trial, a paid Apify plan is required for continued use, with billing at the stated page event price.

Limitations

Actual count can be lower than requested; media links can expire. One media candidate per media type per item; no username-to-ID lookup performed.

Support

For technical support and updates, visit https://apify.com/blushing_parachute.