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

# call, suggest 50)

> call, suggest 50)

call, suggest 50)

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

## Example

```bash theme={null}
curl -X POST "https://api.aisa.one/apis/v1/tikhub/tiktok/web/fetch_gift_names_by_ids" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'  # see request schema below
```


## OpenAPI

````yaml openapi/tikhub-en.json POST /tikhub/tiktok/web/fetch_gift_names_by_ids
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/tiktok/web/fetch_gift_names_by_ids:
    post:
      tags:
        - TikHub - Tiktok
      summary: call, suggest 50)
      description: call, suggest 50)
      operationId: post_tikhub_tiktok_web_fetch_gift_names_by_ids
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchGiftQuery'
              description: >-
                Batch gift query parameters. Recommend 50 IDs per request for
                best value ($0.025/call)
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseModel'
components:
  schemas:
    BatchGiftQuery:
      properties:
        gift_ids:
          items:
            type: string
          type: array
          maxItems: 1000
          minItems: 1
          title: Gift Ids
          description: >-
            Gift ID list, recommend 50/call for best value ($0.025),
            auto-process first 50 if more than 50
          example:
            - '10001'
            - '10002'
            - '10003'
      type: object
      required:
        - gift_ids
      title: BatchGiftQuery
      description: |-
        Batch Gift ID query model
        Billing: $0.025 per call; recommended 50 IDs per request for best value

        Args:
            gift_ids (list[str]): List of gift IDs, recommended 50 per request, e.g. ["10001", "10002", "10003"]
    ResponseModel:
      properties:
        code:
          type: integer
          title: Code
          description: HTTP status code
          default: 200
        request_id:
          title: Request Id
          description: Unique request identifier
          nullable: true
          type: string
        message:
          type: string
          title: Message
          description: Response message (EN-US)
          default: Request successful. This request will incur a charge.
        message_zh:
          type: string
          title: Message Zh
          description: Response message (ZH-CN)
          default: Request successful; this request will be billed.
        support:
          type: string
          title: Support
          description: Support message
          default: 'Discord: https://discord.gg/aMEAS8Xsvz'
        time:
          type: string
          title: Time
          description: The time the response was generated
        time_stamp:
          type: integer
          title: Time Stamp
          description: The timestamp the response was generated
        time_zone:
          type: string
          title: Time Zone
          description: The timezone of the response time
          default: America/Los_Angeles
        docs:
          title: Docs
          description: Link to the API Swagger documentation for this endpoint
          nullable: true
          type: string
        cache_message:
          title: Cache Message
          description: Cache message (EN-US)
          default: >-
            This response is cached and accessible via the URL below for 24
            hours at no extra cost. The cache is for request tracing only — it
            doesn't affect the API's data freshness and won't be returned
            through the API again.
          nullable: true
          type: string
        cache_message_zh:
          title: Cache Message Zh
          description: Cache message (ZH-CN)
          default: >-
            This response has been cached and can be viewed directly via the URL
            below; it is valid for 24 hours and accessing the cached link incurs
            no additional charge. The cache is for request tracing only and does
            not affect the freshness of the API data, nor will it be returned
            again through the API.
          nullable: true
          type: string
        cache_url:
          title: Cache Url
          description: The URL to access the cached result
          nullable: true
          type: string
        router:
          type: string
          title: Router
          description: The endpoint that generated this response
          default: ''
        params:
          title: Params
          description: The parameters used in the request
          default: {}
        data:
          title: Data
          description: The response data
          nullable: true
      type: object
      title: ResponseModel
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: AIsa API key. Get yours at https://aisa.one

````