# Get posts by section

Get Instagram Get posts by section data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by TikHub, pass parameters such as section_id, and retrieve structured data including business status code, business payload, response message, returned params field, and request identifier for content research and account lookup, and integration reference.

Documentation: https://openany.si/instagram/instagram-get-posts-by-section/7e11e349-f597-42fc-992a-b83c581afa0e/
API ID: 7e11e349-f597-42fc-992a-b83c581afa0e
Provider: tikhub
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/tikhub/api/v1/instagram/v1/fetch_section_posts
Page update time: 2026-12-03T02:52:36.534Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.001 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:52:35.552Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "1000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Instagram Get posts by section API

Retrieve posts by section with the Instagram API. Provide section\_id in query. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Content research and account lookup**: Keep source records connected to their content and account identifiers.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Response Envelope

| Field | Meaning |
| --- | --- |
| `code` | Business status code |
| `data` | Business payload (nullable in the reference) |
| `message` | Response message |
| `params` | Returned params field |
| `request_id` | Request identifier |
| `time_stamp` | Returned time stamp field |
| `time_zone` | Returned time zone field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Get posts by section request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "section_id": {
          "type": "string",
          "description": "分类ID（从fetch_explore_sections获取）/Section ID (from fetch_explore_sections)"
        },
        "count": {
          "type": "integer",
          "description": "每页数量/Count per page",
          "minimum": 1,
          "maximum": 50
        },
        "max_id": {
          "type": "string",
          "description": "分页游标，用于获取下一页/Pagination cursor for next page"
        }
      },
      "required": [
        "section_id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cache_message": {
      "type": "string"
    },
    "cache_message_zh": {
      "type": "string"
    },
    "cache_url": {
      "type": "string"
    },
    "code": {
      "type": "integer"
    },
    "data": {
      "type": "null"
    },
    "docs": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "message_zh": {
      "type": "string"
    },
    "params": {
      "type": "object",
      "properties": {}
    },
    "request_id": {
      "type": "string"
    },
    "router": {
      "type": "string"
    },
    "support": {
      "type": "string"
    },
    "time": {
      "type": "string"
    },
    "time_stamp": {
      "type": "integer"
    },
    "time_zone": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Schema template (HTTP assumed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/tikhub/api/v1/instagram/v1/fetch_section_posts?section_id=10156104410190727' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Response template · not a real response · Configured HTTP 200; actual status is unverified.
```json
{
  "cache_message": "This response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.",
  "cache_message_zh": "本次响应已缓存，可通过下方 URL 直接查看，有效期 24 小时，访问缓存链接无额外费用。缓存仅用于请求溯源，不影响接口数据的时效性，也不会再次通过接口返回。",
  "cache_url": "<cache_url>",
  "code": 200,
  "data": null,
  "docs": "<docs>",
  "message": "Request successful. This request will incur a charge.",
  "message_zh": "请求成功，本次请求将被计费。",
  "params": {},
  "request_id": "<request_id>",
  "router": "",
  "support": "Discord: https://discord.gg/aMEAS8Xsvz",
  "time": "<time>",
  "time_stamp": 0,
  "time_zone": "America/Los_Angeles"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which inputs identify this request?
Provide section_id in query (string). Keep identifiers and URLs in the formats documented for this implementation.

### Which pagination or result-size inputs are exposed?
count is integer with minimum 1 and maximum 50. Use only the exposed inputs and the continuation metadata returned by this endpoint; a size limit is not automatically a page or cursor.

### What type does count use?
count uses the JSON type integer in query. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.

### Where do URL parameters belong?
Use the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- tikhub: https://openany.si/instagram/instagram-get-posts-by-section/7e11e349-f597-42fc-992a-b83c581afa0e/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
