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

# search-hashtag

> 搜索话题标签

获取某个话题标签的近期和热门帖子。

## 示例

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

## 请求规范

* **方法与路径:** GET /apis/v1/instagram/search/hashtag
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/instagram/search/hashtag`
* **cursor:** query; 可选
* **date\_posted:** query; 可选
* **hashtag:** query; 必填
* **media\_type:** query; 可选

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

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

```json theme={null}
{
  "operationId": "get_instagram_search_hashtag",
  "method": "GET",
  "path": "/apis/v1/instagram/search/hashtag",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "description": "The cursor returned by the previous response. In this version, it is the next Google results page number.",
      "in": "query",
      "name": "cursor",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Only return Google-indexed posts found in this relative window.",
      "in": "query",
      "name": "date_posted",
      "required": false,
      "schema": {
        "enum": [
          "last-day",
          "last-hour",
          "last-month",
          "last-week",
          "last-year"
        ],
        "type": "string"
      }
    },
    {
      "description": "The hashtag to search for. Include or omit the #.",
      "in": "query",
      "name": "hashtag",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Use all to search public posts and reels, or reels to only return reels. Defaults to all.",
      "in": "query",
      "name": "media_type",
      "required": false,
      "schema": {
        "enum": [
          "all",
          "reels"
        ],
        "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/search/hashtag
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/search/hashtag:
    get:
      tags:
        - default
      summary: search-hashtag
      description: >-
        Finds public posts carrying a hashtag through Google, returning hashtag,
        media_type, cursor and posts in the same normalised shape as
        get_instagram_reels_search: shortcode, url, caption, like_count,
        comment_count, video_play_count, video_view_count, owner, location and
        taken_at. The leading # is optional. Set media_type=reels to narrow to
        reels, or all for posts and reels together. Note that cursor here is the
        next Google results page number rather than an Instagram cursor.
        Measured at about 78 KB for ten posts. To search caption keywords rather
        than a hashtag, use get_instagram_reels_search.
      operationId: get_instagram-search-hashtag
      parameters:
        - description: 上一个响应返回的游标。在此版本中，它是下一页 Google 结果的页码。
          in: query
          name: cursor
          required: false
          schema:
            type: string
        - description: 仅返回此相对时间范围内 Google 已编入索引的帖子。
          in: query
          name: date_posted
          required: false
          schema:
            enum:
              - last-day
              - last-hour
              - last-month
              - last-week
              - last-year
            type: string
        - description: '要搜索的话题标签。可包含或省略 #。'
          in: query
          name: hashtag
          required: true
          schema:
            type: string
        - description: 使用 all 搜索公开帖子和短视频，或使用 reels 仅返回短视频。默认为 all。
          in: query
          name: media_type
          required: false
          schema:
            enum:
              - all
              - reels
            type: string
      responses:
        '200':
          content:
            application/json:
              example:
                credits_remaining: 49997308058
                cursor: '2'
                hashtag: funnydogs
                media_type: all
                posts:
                  - __typename: XDTGraphVideo
                    accessibility_caption: null
                    caption: >-
                      Well we tried to be subtle…  #funnydogs #funny #whiteboxer
                      #australianshepherd
                    clips_music_attribution_info:
                      artist_name: _layla_the_boxer
                      audio_id: '1303301604923923'
                      should_mute_audio: false
                      should_mute_audio_reason: ''
                      song_name: Original audio
                      uses_original_audio: true
                    comment_count: 1263
                    comments:
                      - created_at: '2026-01-25T13:33:43.000Z'
                        id: '18099897668494530'
                        like_count: 0
                        owner:
                          id: '70821489119'
                          is_verified: false
                          profile_pic_url: >-
                            https://scontent-ord5-3.cdninstagram.com/v/t51.2885-19/466368394_545365701466258_2087161965910224562_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-ord5-3.cdninstagram.com&_nc_cat=110&_nc_oc=Q6cZ2gGAVcFN0K6MoOopK41K4dWjOeZZaT9xgOadaLiAbdnmQSVNlQgD_lz8yQLaXrtvYeY&_nc_ohc=JxQ38FoXdhsQ7kNvwH3PKC0&_nc_gid=tAUZdiRnIdGjcNvGfTjMvg&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_Af5bZb_HVbD8jFTK8i271c6IoeUyGR3iiKL-YVd-tFY_Yw&oe=6A1D05C8&_nc_sid=d885a2
                          username: jesshman66
                        text: 😂😅🤣😍❤️🥰
                    display_url: >-
                      https://scontent-ord5-2.cdninstagram.com/v/t51.82787-15/542212527_18130644664455761_8262846918103190683_n.jpg?stp=dst-jpg_e35_p1080x1080_sh2.08_tt6&_nc_ht=scontent-ord5-2.cdninstagram.com&_nc_cat=105&_nc_oc=Q6cZ2gGAVcFN0K6MoOopK41K4dWjOeZZaT9xgOadaLiAbdnmQSVNlQgD_lz8yQLaXrtvYeY&_nc_ohc=eV6SPEh2O88Q7kNvwHcNeFx&_nc_gid=tAUZdiRnIdGjcNvGfTjMvg&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_Af6TdnB6cfe_BkRBRYP65isRGJfDrp2evUQY9O_ReUHv2g&oe=6A1D1BB2&_nc_sid=d885a2
                    has_audio: false
                    id: '3714950709444987377'
                    is_ad: false
                    is_affiliate: false
                    is_paid_partnership: false
                    is_video: true
                    like_count: 35854
                    location: null
                    owner:
                      follower_count: 1369176
                      full_name: Layla the Boxer
                      id: '13582495760'
                      is_private: false
                      is_unpublished: false
                      is_verified: true
                      post_count: 1184
                      profile_pic_url: >-
                        https://scontent-ord5-3.cdninstagram.com/v/t51.2885-19/420493539_1460561894498614_4791883467164866946_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-ord5-3.cdninstagram.com&_nc_cat=110&_nc_oc=Q6cZ2gGAVcFN0K6MoOopK41K4dWjOeZZaT9xgOadaLiAbdnmQSVNlQgD_lz8yQLaXrtvYeY&_nc_ohc=aeHo4Q_mApIQ7kNvwERao4Z&_nc_gid=tAUZdiRnIdGjcNvGfTjMvg&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_Af4Fxb_M04AcFcB7JVo3PYiMVir3WS0vIloaPKB0igyV_g&oe=6A1D1119&_nc_sid=d885a2
                      username: _layla_the_boxer
                    product_type: clips
                    shortcode: DOOJ_zSjcnx
                    taken_at: '2025-09-05T12:51:42.000Z'
                    thumbnail_src: >-
                      https://scontent-ord5-2.cdninstagram.com/v/t51.82787-15/542212527_18130644664455761_8262846918103190683_n.jpg?stp=c0.509.1312.1312a_dst-jpg_e35_s640x640_sh2.08_tt6&_nc_ht=scontent-ord5-2.cdninstagram.com&_nc_cat=105&_nc_oc=Q6cZ2gGAVcFN0K6MoOopK41K4dWjOeZZaT9xgOadaLiAbdnmQSVNlQgD_lz8yQLaXrtvYeY&_nc_ohc=eV6SPEh2O88Q7kNvwHcNeFx&_nc_gid=tAUZdiRnIdGjcNvGfTjMvg&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_Af6BLCF7O_laTkSuoqn5Ebg8ZWg57JkaXtBAb6nH0KapPg&oe=6A1D1BB2&_nc_sid=d885a2
                    url: https://www.instagram.com/reel/DOOJ_zSjcnx/
                    video_duration: 65.733
                    video_play_count: 593055
                    video_url: >-
                      https://scontent-ord5-2.cdninstagram.com/o1/v/t2/f2/m86/AQNG_gCzevxl8xiNB2lVRlcV8c3o3r2ZyeLeWfaY4eaHdyRX3_Z1mty2jrHuH5Z66vTC5SXrhmpdG5re9MNyf1jCtWVyPKAWQFQ037o.mp4?_nc_cat=104&_nc_sid=5e9851&_nc_ht=scontent-ord5-2.cdninstagram.com&_nc_ohc=ByTiQjuOr9wQ7kNvwGpBh0x&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uQ0xJUFMuQzMuNzIwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6MTEyMDQ3OTIyMDA0MTUwMSwiYXNzZXRfYWdlX2RheXMiOjI2NCwidmlfdXNlY2FzZV9pZCI6MTAwOTksImR1cmF0aW9uX3MiOjY1LCJ1cmxnZW5fc291cmNlIjoid3d3In0%3D&ccb=17-1&vs=638842146c84456b&_nc_vs=HBksFQIYUmlnX3hwdl9yZWVsc19wZXJtYW5lbnRfc3JfcHJvZC80QTQ2OURBNUJBQTE1RjdFODZFRjQxRThCOUU1RTNBOV92aWRlb19kYXNoaW5pdC5tcDQVAALIARIAFQIYRmlnX3hwdl9yZWVsc19wZXJtYW5lbnRfc3JfcHJvZC83NDQ4NjQwMTg0MjI1MjdfODI5Mjc2OTQ2ODc2ODI3MDk4OC5tcDQVAgLIARIAKAAYABsCiAd1c2Vfb2lsATEScHJvZ3Jlc3NpdmVfcmVjaXBlATEVAAAmupyc3rzE_QMVAigCQzMsF0BQbul41P30GBJkYXNoX2Jhc2VsaW5lXzFfdjERAHX-B2XmnQEA&_nc_gid=tAUZdiRnIdGjcNvGfTjMvg&_nc_ss=7a22e&_nc_zt=28&oh=00_Af6Z6PbM9b2RWG7EdCufc8MOp-pcmhJu3EMKtd_pzJaopw&oe=6A193955
                    video_view_count: 148581
                success: true
              schema:
                $ref: >-
                  #/components/schemas/ResponseE433E0E9Acbc_InstagramHashtagSearchResponse
          description: 成功响应
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    ResponseE433E0E9Acbc_InstagramHashtagSearchResponse:
      additionalProperties: true
      properties:
        credits_remaining:
          type: integer
        cursor:
          type:
            - string
            - 'null'
        hashtag:
          type: string
        media_type:
          type: string
        posts:
          items:
            additionalProperties: true
            type: object
          type: array
        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.