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

# General search (with pagination)

> General search (with pagination)

General search (with pagination)

**Pricing** — base \$0.0116 per successful call (provider cost × 1.45; final charge scales by your plan multiplier). Charged only when the upstream response body `code` is `200`.

<Note>
  Response structure is not yet fully documented — **refer to the actual API response**.
</Note>

## Example

```bash theme={null}
curl "https://api.aisa.one/apis/v1/tikhub/instagram/v3/general_search?query=justin" \
  -H "Authorization: Bearer YOUR_API_KEY"
```


## OpenAPI

````yaml openapi/tikhub-en.json GET /tikhub/instagram/v3/general_search
openapi: 3.0.0
info:
  title: TikHub API
  description: >-
    Multi-platform social media data via TikHub — Douyin, TikTok, Bilibili,
    Kuaishou, Weibo, Xiaohongshu, Zhihu, and commercial
    (Xingtu/Huahuo/Billboard) endpoints.
  version: 1.0.0
servers:
  - url: https://api.aisa.one/apis/v1
security:
  - bearerAuth: []
paths:
  /tikhub/instagram/v3/general_search:
    get:
      tags:
        - TikHub - Instagram
      summary: General search (with pagination)
      description: General search (with pagination)
      operationId: get_tikhub_instagram_v3_general_search
      parameters:
        - name: query
          in: query
          required: true
          schema:
            type: string
            description: Search keyword
            title: Query
          description: Search keyword
          example: justin
        - name: next_max_id
          in: query
          required: false
          schema:
            type: string
            description: >-
              Pagination ID, omit for first request, get from previous response
              next_max_id
            title: Next Max Id
          description: >-
            Pagination ID, omit for first request, get from previous response
            next_max_id
        - name: rank_token
          in: query
          required: false
          schema:
            type: string
            description: Rank token, omit for first request, get from previous response
            title: Rank Token
          description: Rank token, omit for first request, get from previous response
        - name: enable_metadata
          in: query
          required: false
          schema:
            type: boolean
            description: Enable metadata
            default: true
            title: Enable Metadata
          description: Enable metadata
      responses:
        '200':
          description: >-
            Successful response. Response structure varies; refer to the actual
            API response.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: AIsa API key. Get yours at https://aisa.one

````