# Instagram user posts

Get user's post list with forward/backward pagination. Needs username. Served by TikHub.

Purpose:
- Get user's post list with forward/backward pagination

Parameters:
- **username**: Username string (e.g. `99brasil`), **NOT numeric user_id**
- **first**: Posts per page for forward pagination (default 12, max 50)
- **after**: Forward pagination cursor, from previous response `page_info.end_cursor`
- **before**: Backward pagination cursor, from previous response `page_info.start_cursor`
- **last**: Posts per page for backward pagination, use with `before`
- **count**: Number of posts for first request (default 12)

Pagination:
- **Forward**: Use `first` + `after`
- **Backward**: Use `last` + `before`

示例/Example
```
第一页 / First page
GET /get_user_posts?username=99brasil&first=12

第二页 / Second page (forward)
GET /get_user_posts?username=99brasil&first=12&after=QVFCcmN1YlF...
```

- Tool ID: `tikhub/instagram-v3-get-user-posts`
- Variant: API v3
- Name in the catalog: Instagram, Get user posts
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [Instagram posts](/tools/instagram/posts.md)
- Price: $0.008 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.008
}
```

Pricing source: [https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info](https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info). Official per-success route price USD 0.008; daily upstream discounts may reduce provider cost. No discount invented for the customer. 10/second.

Price verification date: 2026-10-05.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "username": {
      "type": "string",
      "description": "Instagram 用户名（不含 @）/Instagram username (without @)",
      "title": "Username"
    },
    "first": {
      "type": "integer",
      "maximum": 50,
      "minimum": 1,
      "description": "向后翻页时每页数量/Number of posts per page (forward)",
      "default": 12,
      "title": "First"
    },
    "after": {
      "type": "string",
      "description": "向后翻页游标（end_cursor）/Forward pagination cursor (end_cursor)",
      "title": "After"
    },
    "before": {
      "type": "string",
      "description": "向前翻页游标（start_cursor）/Backward pagination cursor (start_cursor)",
      "title": "Before"
    },
    "last": {
      "type": "integer",
      "description": "向前翻页时每页数量/Number of posts per page (backward)",
      "title": "Last"
    },
    "count": {
      "type": "integer",
      "description": "首次请求数量/Number of posts for first request",
      "default": 12,
      "title": "Count"
    }
  },
  "required": [
    "username"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "tikhub/instagram-v3-get-user-posts",
  "input": {
    "username": "99brasil",
    "first": 12,
    "count": 12
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://api.tikhub.io/#/Instagram-V3-API/get_user_posts_api_v1_instagram_v3_get_user_posts_get)

[REST inspection](https://api.agentik.cc/v1/tools/tikhub/instagram-v3-get-user-posts) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/tikhub/instagram-v3-get-user-posts) · [Agent index](/llms.txt)
