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

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# comments

> 帖子评论

通过 URL 获取帖子的评论线程。

## 示例

```bash theme={null}
curl "https://api.aisa.one/apis/v1/instagram/post/comments?url=VALUE" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## 请求规范

* **方法与路径:** GET /apis/v1/instagram/post/comments
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/instagram/post/comments`
* **cursor:** query; 可选
* **include\_replies:** query; 可选
* **url:** query; 必填

[完整 OpenAPI 定义](https://aisa.one/docs/openapi-public/zh/scrape-creators.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "get_instagram_post_comments",
  "method": "GET",
  "path": "/apis/v1/instagram/post/comments",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "description": "The cursor to get more comments. Get 'cursor' from previous response.",
      "in": "query",
      "name": "cursor",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Set to true to include replies for every returned comment. You will still be charged if no replies are returned. This is much slower and may time out at 29 seconds.",
      "in": "query",
      "name": "include_replies",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "description": "The URL of the post or reel to get comments from",
      "in": "query",
      "name": "url",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

按实际计费结果数量收费。 默认请求预估费用：\$0.00188 USD。 最终费用以实际用量为准。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi-public/zh/scrape-creators.json GET /apis/v1/instagram/post/comments
openapi: 3.1.0
info:
  description: ''
  title: Scrape Creators
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    scrape-creators:
      description: ''
      title: Scrape Creators
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: fdf0a203e7ec628291b62272da7b8bbbe431c8f77f251ea2e65c19cd3c98fa37
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/instagram/basic-profile
    - /apis/v1/instagram/media/transcript
    - /apis/v1/instagram/post
    - /apis/v1/instagram/post/comments
    - /apis/v1/instagram/profile
    - /apis/v1/instagram/reels/search
    - /apis/v1/instagram/reels/trending
    - /apis/v1/instagram/search/hashtag
    - /apis/v1/instagram/search/profiles
    - /apis/v1/instagram/song/reels
    - /apis/v1/instagram/user/embed
    - /apis/v1/instagram/user/highlight/detail
    - /apis/v1/instagram/user/highlights
    - /apis/v1/instagram/user/posts
    - /apis/v1/instagram/user/reels
    - /apis/v1/pinterest/board
    - /apis/v1/pinterest/pin
    - /apis/v1/pinterest/search
    - /apis/v1/pinterest/user/boards
    - /apis/v1/reddit/post/comments
    - /apis/v1/reddit/search
    - /apis/v1/reddit/subreddit
    - /apis/v1/reddit/subreddit/details
    - /apis/v1/reddit/subreddit/search
  x-aisa-document:
    composer_version: '31'
    facts_hash: fdf0a203e7ec628291b62272da7b8bbbe431c8f77f251ea2e65c19cd3c98fa37
    generator_version: '3'
    identity_base_document_hash: sha256:21febe84645944ab208ea05f701b4ecaea05ab9ed69b91f52ad772689b28c9a1
    identity_compatibility_hash: sha256:6c09ef0bdf18266535eb126de4c7347ff1c7d0e62dd283fee668032d3d4408c5
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    public_projection:
      version: '4'
      source_document_hash: sha256:87aa34bccc72f58a27229703aa754633dcaa68f6f0853760a5802b05937f0382
    document_hash: sha256:d2edf3d8f6a0f31b23ac101de9592d2ace3b1712e538b01ec6a02e75a68b8490
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: scrape-creators
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/instagram/post/comments:
    get:
      tags:
        - default
      summary: comments
      description: >-
        Returns the comments on a public post or reel by URL in an
        already-normalised shape: comments, each with id, text,
        comment_like_count, child_comment_count, created_at and a nested user,
        plus cursor to page. Measured at about 10 KB, one of the few small
        responses in this API. Only top-level comments are returned;
        child_comment_count reports how many replies a comment has but the
        replies themselves are not included, and there is no endpoint that
        expands them. For the post itself, its caption, view counts and video
        URL, call get_instagram_post with the same URL.
      operationId: get_instagram-post-comments
      parameters:
        - description: 用于获取更多评论的游标。请从上一个响应中获取 'cursor'。
          in: query
          name: cursor
          required: false
          schema:
            type: string
        - description: >-
            Set to true to include replies for every returned comment. You will
            still be charged if no replies are returned. This is much slower and
            may time out at 29 seconds.
          in: query
          name: include_replies
          required: false
          schema:
            type: boolean
        - description: 要获取评论的帖子或短视频的 URL
          in: query
          name: url
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              example:
                comments:
                  - comment_like_count: 0
                    created_at: '2025-09-16T17:03:04.000Z'
                    id: '18051843701642870'
                    text: >-
                      "...but who wants to know people who don't love animals
                      anyway?". ❤️
                    user:
                      fbid_v2: '17841446780736699'
                      id: '46773599357'
                      is_unpublished: null
                      is_verified: false
                      pk: '46773599357'
                      profile_pic_url: >-
                        https://scontent-dfw5-1.cdninstagram.com/v/t51.2885-19/542013919_18051324464559358_4060586438619554592_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-dfw5-1.cdninstagram.com&_nc_cat=110&_nc_oc=Q6cZ2QEVOAPWq7DXE6cVfhoMQb0GTMvPo_vizELP9TUgQylvA5jBW1WSonDzvjeTQpAGJ3w&_nc_ohc=b__bzrMG6kYQ7kNvwGXM67R&_nc_gid=oDBffhoPbGLAq2tbCGpGKg&edm=AKp6CbIBAAAA&ccb=7-5&oh=00_AflThVwZ86n6DiACA5-zJCNFQZWBwHfaG6AXZclgea57BA&oe=695A3139&_nc_sid=d62176
                      username: catherina_thijs
                credits_remaining: 33929114
                cursor: AQHSpoi6HyDbzYRMzrD.........
                success: true
              schema:
                $ref: >-
                  #/components/schemas/ResponseE433E0E9Acbc_InstagramCommentsResponse
          description: 成功响应
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    ResponseE433E0E9Acbc_InstagramCommentsResponse:
      additionalProperties: true
      properties:
        comments:
          items:
            additionalProperties: true
            type: object
          type: array
        credits_remaining:
          type: integer
        cursor:
          type:
            - string
            - 'null'
        success:
          type: boolean
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.