{
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "",
    "title": "TikTok广告库",
    "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": {
      "tiktok-ads-library": {
        "description": "",
        "title": "TikTok广告库",
        "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": "f973412a17e6f14b02893dfb6dfb902e3a082f199bcb6cdaaefe5e8e52e27c11",
          "generator_version": "3",
          "protocol_version": "1",
          "schema_version": "1"
        },
        "x-aisa-plans": {
          "builder": 1.0,
          "display_plan": "payg",
          "payg": 1.0,
          "similarweb_payg": 1.0,
          "team": 1.0,
          "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
        }
      }
    },
    "x-aisa-configured-paths": [
      "/apis/v1/tiktok-ads-library/search"
    ],
    "x-aisa-document": {
      "composer_version": "31",
      "facts_hash": "f973412a17e6f14b02893dfb6dfb902e3a082f199bcb6cdaaefe5e8e52e27c11",
      "generator_version": "3",
      "protocol_version": "1",
      "response_pending": [],
      "schema_version": "1",
      "public_projection": {
        "version": "4",
        "source_document_hash": "sha256:0bb26fe973ee9cadc4e6ac4b417817a2d862df2681410a5cf361d4d0d72f09cb"
      },
      "document_hash": "sha256:0ec96cfa71a8975a2c2da93ab02a8d6f161fde3af536d6b089e56451dda71e0c"
    },
    "x-aisa-plans": {
      "builder": 1.0,
      "display_plan": "payg",
      "payg": 1.0,
      "similarweb_payg": 1.0,
      "team": 1.0,
      "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
    },
    "x-aisa-provider": "tiktok-ads-library"
  },
  "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
  "openapi": "3.1.0",
  "paths": {
    "/apis/v1/tiktok-ads-library/search": {
      "post": {
        "description": "> **Request example pending verification.** The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (`X-AISA-Cost-Mode: quote`) before running it.",
        "operationId": "tiktok-ads-library.search",
        "parameters": [
          {
            "in": "query",
            "name": "maxTotalChargeUsd",
            "required": true,
            "schema": {
              "maximum": 1,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "timeout",
            "required": true,
            "schema": {
              "maximum": 90,
              "minimum": 90,
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "search": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "search"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful response. The payload schema has not been reviewed yet."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Scrape the TikTok ad library by keyword",
        "tags": [
          "TikTok广告库"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "tiktok-ads-library",
        "x-aisa-category": "gtm",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok-ads-library/tiktok-ads-library-search",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "eb046af405d9295f655c458561e0b8613d829a0f083cbffe4a6df6de13ccb5e6",
          "state": "pending"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 1.0,
          "estimate_source": "profile_seed"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
        "x-aisa-review": {
          "request": "reviewed_source",
          "response": "generic",
          "status": "unreviewed"
        },
        "x-aisa-runtime-operation": {
          "method": "POST",
          "operation_id": "tiktok-ads-library.search",
          "path": "/apis/v1/tiktok-ads-library/search"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ]
}
