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

# DOU+ cost estimation

> DOU+ cost estimation

DOU+ cost estimation

**Pricing** — base \$0.00145 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 -X POST "https://api.aisa.one/apis/v1/tikhub/douyin/douplus/calculate_cost" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'  # see request schema below
```


## OpenAPI

````yaml openapi/tikhub-en.json POST /tikhub/douyin/douplus/calculate_cost
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/douyin/douplus/calculate_cost:
    post:
      tags:
        - TikHub - Douyin
      summary: DOU+ cost estimation
      description: DOU+ cost estimation
      operationId: post_tikhub_douyin_douplus_calculate_cost
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CostEstimateRequest'
            example:
              cookie: Your_Cookie_Here
              sec_uid: >-
                MS4wLjABAAAA9fe7vGjwyiaOjL6REhX8rvmSb32VzA_XsKca9F3_YSHRXlEqgT2cpX54WGbtgnsA
              item_ids: '7651166972160446949'
              target_id: 31
        required: true
      responses:
        '200':
          description: >-
            Successful response. Response structure varies; refer to the actual
            API response.
components:
  schemas:
    CostEstimateRequest:
      properties:
        cookie:
          type: string
          title: Cookie
          description: User www.douyin.com web Cookie
          example: Your_Cookie_Here
        sec_uid:
          type: string
          title: Sec Uid
          description: Delivery account sec_uid
          example: >-
            MS4wLjABAAAA9fe7vGjwyiaOjL6REhX8rvmSb32VzA_XsKca9F3_YSHRXlEqgT2cpX54WGbtgnsA
        item_ids:
          type: string
          title: Item Ids
          description: Item ID(s), comma separated
          example: '7651166972160446949'
        target_id:
          title: Target Id
          description: >-
            Promotion target ID. 31=Likes & Comments, 32=Followers, 33=Profile
            visits, 37=Video views, 45=Comment link clicks, 78=High-quality
            engagement
          default: 31
          example: 31
          nullable: true
          type: integer
      type: object
      required:
        - cookie
        - sec_uid
        - item_ids
      title: CostEstimateRequest
      description: DOU+ Cost Estimation Request Model
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: AIsa API key. Get yours at https://aisa.one

````