# Instagram Posts

Get Instagram User Posts data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by LiteScrape, pass parameters such as handle, and retrieve structured data including pagination cursor, business payload, continuation flag, item collection, and title for content research and account lookup, and integration reference.

Documentation: https://openany.si/instagram/instagram-user-posts-b8f9bf37/aea01b4b-258a-42bf-a78b-541f389a79b8/
API ID: aea01b4b-258a-42bf-a78b-541f389a79b8
Provider: litescrape
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/instagram/posts
Page update time: 2026-12-03T02:53:27.822Z
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: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00015 / 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:53:26.026Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "150",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Instagram Posts API

Retrieve posts with the Instagram API. Provide handle in body. 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 |
| --- | --- |
| `cursor` | Pagination cursor (nullable in the reference) |
| `data` | Business payload (nullable in the reference) |
| `has_more` | Continuation flag (nullable in the reference) |
| `items` | Item collection (nullable in the reference) |
| `title` | Title (nullable in the reference) |
| `description` | Description (nullable in the reference) |
| `handle` | Returned handle value (nullable in the reference) |
| `html` | Returned html value (nullable in the reference) |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Instagram Posts 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": {
        "timeout": {
          "type": "number",
          "description": "Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.",
          "maximum": 90
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "examples": [
        {
          "handle": "instagram"
        }
      ],
      "properties": {
        "handle": {
          "description": "Instagram username without @.",
          "pattern": "^[A-Za-z0-9_.]{1,30}$",
          "title": "Handle",
          "type": "string",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "summary": "Instagram username without @."
          }
        },
        "next_max_id": {
          "anyOf": [
            {
              "maxLength": 8192,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "next_max_id from the previous page.",
          "title": "Next Max Id",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "summary": "next_max_id from the previous page."
          }
        },
        "num": {
          "default": 12,
          "description": "Maximum number of posts requested from Instagram.",
          "maximum": 50,
          "minimum": 1,
          "title": "Num",
          "type": "integer",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "summary": "Maximum number of posts requested from Instagram."
          }
        },
        "trim": {
          "default": false,
          "description": "Return a compact profile containing public identity and counts.",
          "title": "Trim",
          "type": "boolean",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "summary": "Return a compact profile containing public identity and counts."
          }
        }
      },
      "required": [
        "handle"
      ],
      "title": "_instagram_common_PostsRequest",
      "type": "object",
      "description": "Retrieve public Instagram posts data."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cursor": {
      "type": "null"
    },
    "data": {
      "type": "null"
    },
    "description": {
      "type": "null"
    },
    "handle": {
      "type": "null"
    },
    "has_more": {
      "type": "null"
    },
    "html": {
      "type": "null"
    },
    "is_estimated": {
      "type": "null"
    },
    "items": {
      "type": "null"
    },
    "media_count": {
      "type": "null"
    },
    "next_max_id": {
      "type": "null"
    },
    "posts": {
      "type": "null"
    },
    "query": {
      "type": "null"
    },
    "sections": {
      "type": "null"
    },
    "submit_feedback_for_this_response_here": {
      "type": "string"
    },
    "suggested_terms": {
      "type": "null"
    },
    "title": {
      "type": "null"
    },
    "total_media_count": {
      "type": "null"
    }
  }
}
```

## Request example
Scenario: Schema template (HTTP assumed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/litescrape/api/instagram/posts' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "handle": "instagram"
}'
```

## 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
{
  "cursor": null,
  "data": null,
  "description": null,
  "handle": null,
  "has_more": null,
  "html": null,
  "is_estimated": null,
  "items": null,
  "media_count": null,
  "next_max_id": null,
  "posts": null,
  "query": null,
  "sections": null,
  "submit_feedback_for_this_response_here": "<submit_feedback_for_this_response_here>",
  "suggested_terms": null,
  "title": null,
  "total_media_count": null
}
```

## 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 handle in body (string). Keep identifiers and URLs in the formats documented for this implementation.

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

### How should I structure the JSON body?
Send the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### 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
- litescrape: https://openany.si/instagram/instagram-user-posts-b8f9bf37/aea01b4b-258a-42bf-a78b-541f389a79b8/
- scrapecreators: https://openany.si/instagram/instagram-user-posts-b8f9bf37/19641ccb-4c41-4ea9-99b1-7b0a5309c4f4/
- tikhub: https://openany.si/instagram/instagram-user-posts-b8f9bf37/012be925-cd87-4d66-b33a-2f5c63bceb3b/
- tikhub: https://openany.si/instagram/instagram-user-posts-b8f9bf37/6d62fb66-c5f5-4777-9e12-97d03d973337/
- tikhub: https://openany.si/instagram/instagram-user-posts-b8f9bf37/a63ae019-172b-490a-9be4-4bb6844f2fea/
- tikhub: https://openany.si/instagram/instagram-user-posts-b8f9bf37/a751f02d-3dcb-439b-b9d7-da61d27427d4/

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