> ## 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

> Collect public Instagram posts, reels, search results, and profile statistics.

# Instagram

Use the Instagram endpoints to collect public data for posts, reels, search discovery, and follower statistics.

## Available Endpoints

| API                       | Method | Endpoint                        |
| ------------------------- | ------ | ------------------------------- |
| Instagram Posts           | `POST` | `/v1/instagram/posts`           |
| Instagram Reels           | `POST` | `/v1/instagram/reels`           |
| Instagram Search          | `POST` | `/v1/instagram/search`          |
| Instagram Followers Count | `POST` | `/v1/instagram/followers-count` |

## Workflow

<Steps>
  <Step title="Submit">
    Send a request to an Instagram endpoint.
  </Step>

  <Step title="Receive task ID">
    The API returns a `task_id` immediately.
  </Step>

  <Step title="Check status">
    Poll `GET /v1/tasks/{task_id}` until the task reaches `succeeded` or `failed`.
  </Step>

  <Step title="Read data">
    When the task succeeds, `/v1/tasks/{task_id}` returns normalized rows under `results`. Download raw JSONL from `files` when needed.
  </Step>
</Steps>
