# Instagram user's posts by user id

Recent posts of an Instagram user (keyed by numeric user id)

by TikHub Ready to run $0.0025 per request · $0.25 per 100 requests

## Example

### You ask your agent

“Get the five latest posts from Instagram's own account, @instagram.”

### You get

**Taken at:** 2026-09-28 15:59 UTC

**Username:** instagram

**Caption text:** nature’s tiniest water cup 🌷💜⁣ ⁣ #InTheMoment⁣ ⁣ Video by @anthemis_sp

**What your agent sends and gets back (JSON)**

Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.

### Request

```
{
  "tool_id": "tikhub.instagram-user-posts",
  "input": {
    "count": 5,
    "user_id": "25025320"
  }
}
```

### Response

```
{
  "data": {
    "items": [
      {
        "id": "3996258097967742733_25025320",
        "pk": "3996258097967742733",
        "code": "Dd1j5EoJT8N",
        "user": {
          "id": "25025320",
          "username": "instagram"
        },
        "caption": {
          "text": "nature’s tiniest water cup 🌷💜⁣\n⁣\n#InTheMoment⁣\n⁣\nVideo by @anthemis_sp"
        },
        "taken_at": 1790611157,
        "media_type": 2
      }
    ]
  }
}
```

## Use it with your agent

Copy the prompt and paste it into your agent, then tell it what you need.

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use Instagram user's posts by user id (tool ID: tikhub.instagram-user-posts). Ask me for the details you need, then show me the result.

Provider access is included. If your agent isn't connected to Scrollport yet, it will help you set that up.

## Other tools for this job

[Compare all 24 →](https://scrollport.com/tools/instagram-api)

- [Instagram location posts by location id](https://scrollport.com/tools/providers/tikhub/instagram-v1-fetch-location-posts) TikHub $0.0025 per request $0.0025 per request
- [Instagram music posts by music id or URL](https://scrollport.com/tools/providers/tikhub/instagram-v1-fetch-music-posts) TikHub $0.0025 per request $0.0025 per request
- [Instagram post details by post URL](https://scrollport.com/tools/providers/tikhub/instagram-v1-fetch-post-by-url) TikHub $0.0025 per request $0.0025 per request

## Questions

**Is Instagram user's posts by user id (TikHub) free?**

Scrollport has no free tier: it costs $0.0025 per request ($0.25 per 100 requests), paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try it before adding funds.

**Do I need an API key from TikHub?**

No. Your agent runs it through your Scrollport connection (MCP, the Scrollport CLI or the HTTP API), and Scrollport handles access to TikHub, so you don't sign up with TikHub or manage an API key.

## Details

**About this tool**

Recent posts of an Instagram user (keyed by numeric user id) Retrieve one bounded result or page. Pagination is explicit; each follow-up page is another call. The catalog price is the maximum per request. Quotes use the selected limits. Completed requests cost their quote, including valid empty pages and no-match answers. Failed requests are uncharged. Read public social data without a connected social account. Results include reviewed business data and available pagination. The worked example shows selected fields from a recorded response, with at most one selected item from each list. Photo, video and carousel posts have different media fields. video_versions is optional for photos; captions can be empty. The example retains post and author identity, publication time and media type.

**All inputs and outputs**

### Input

`count` integer · optional

items per page (default 12)

minimum: 1 · maximum: 20

`max_id` string · optional

pagination cursor

minLength: 1 · maxLength: 500

`user_id` string · required

numeric Instagram user id — resolve a username via instagram.user.profile first

minLength: 1 · maxLength: 500

### Output

`data` object

Main result payload.

**Errors and limits**

- `invalid_input`: The lookup fields or limits are invalid.example: {"user_id":"25025320","count":5}
- `upstream_error`: The provider could not complete a verified result; the wallet was not charged.Check the documented fields and contact Scrollport support with the run ID if needed.

---

Canonical page: https://scrollport.com/tools/providers/tikhub/instagram-user-posts
