> ## Documentation Index
> Fetch the complete documentation index at: https://docs.socq.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Instagram Post Info

> Collect detailed public Instagram post data.

# Instagram Post Info

Collect detailed public Instagram post data. Results are normalized and billed by the actual saved record count.

```json theme={"system"}
{
  "urls": [
    "https://www.instagram.com/p/ABC123xyz/"
  ]
}
```

## Use with MCP

| Interface      | Value                                                 |
| -------------- | ----------------------------------------------------- |
| REST           | `POST /v1/instagram/post-info`                        |
| Compact MCP    | `socq_execute` with `endpoint: "instagram/post-info"` |
| Typed MCP      | `socq_instagram_post_info`                            |
| Exact-tool URL | `https://api.socq.ai/mcp?tools=instagram_post_info`   |
| CLI            | `socq instagram post-info`                            |

Use the JSON request body above as the nested `input` object for `socq_execute`, or pass the same fields directly to the typed tool. Typed tools also accept `_wait_seconds`, `_result_limit`, and `_idempotency_key`.

<Info>
  A successful submission returns a `task_id`. Continue with `socq_get_task` until the task succeeds, then read normalized records from `results.items`.
</Info>

See [MCP quickstart](/integrations/mcp) for the complete submission and polling flow.

## Completed Task Response

```json theme={"system"}
{
  "code": 200,
  "data": {
    "task_id": "A1B2C3D4E5F6G7H8",
    "status": "succeeded",
    "public_id": "instagram/post-info",
    "result_count": 1,
    "credits_amount": 0.5,
    "results": {
      "limit": 50,
      "next_cursor": null,
      "has_more": false,
      "items": [
        {
          "id": "example-id",
          "platform": "instagram",
          "resource": "post-info",
          "type": "post",
          "url": "https://www.instagram.com/example/item",
          "text": "Example public post content.",
          "author": {
            "id": "author-id",
            "username": "example",
            "name": "Example",
            "url": "https://www.instagram.com/example"
          },
          "metrics": {},
          "media": [],
          "created_at": "2026-07-24T08:00:00",
          "collected_at": "2026-07-24T10:30:00",
          "extra": {}
        }
      ]
    }
  }
}
```


## OpenAPI

````yaml api-manual/agent-api/agent-api.json POST /v1/instagram/post-info
openapi: 3.1.0
info:
  title: SocQ Agent API
  version: v1-9e02c88be86a
  description: Asynchronous social data API generated from the SocQ Capability Registry.
servers:
  - url: https://api.socq.ai
security: []
paths:
  /v1/instagram/post-info:
    post:
      tags:
        - instagram
      summary: Instagram Post Info API
      description: Collect public Instagram post details.
      operationId: socq_instagram_post_info
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              additionalProperties: false
              properties:
                callback_url:
                  type: string
                  format: uri
                urls:
                  type: array
                  items:
                    type: string
                    minLength: 1
                  minItems: 1
                  description: Public profile or content URLs.
              required:
                - urls
      responses:
        '200':
          description: Task accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentSubmitResponse'
      security:
        - bearerAuth: []
        - apiKeyAuth: []
components:
  schemas:
    AgentSubmitResponse:
      type: object
      properties:
        code:
          type: integer
          const: 200
        data:
          type: object
          properties:
            task_id:
              type: string
            status:
              type: string
            created_time:
              type:
                - string
                - 'null'
            idempotent_replay:
              type: boolean
          required:
            - task_id
            - status
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````