{
  "components": {
    "callbacks": {},
    "examples": {},
    "headers": {},
    "links": {},
    "parameters": {},
    "pathItems": {},
    "requestBodies": {},
    "responses": {},
    "schemas": {},
    "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": {
        "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": "0424d237ce9ac91d72c899e856bf8e31bbcfe376d66f9740a6615c49301a6ca3",
          "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/ad-library/ads",
      "/apis/v1/tiktok/ad-library/ads/search",
      "/apis/v1/tiktok/collections/videos",
      "/apis/v1/tiktok/feed/trending",
      "/apis/v1/tiktok/live",
      "/apis/v1/tiktok/music/{clipId}/videos",
      "/apis/v1/tiktok/products",
      "/apis/v1/tiktok/products/reviews",
      "/apis/v1/tiktok/profiles/{handle}",
      "/apis/v1/tiktok/profiles/{handle}/audience",
      "/apis/v1/tiktok/profiles/{handle}/engagement",
      "/apis/v1/tiktok/profiles/{handle}/followers",
      "/apis/v1/tiktok/profiles/{handle}/following",
      "/apis/v1/tiktok/profiles/{handle}/live",
      "/apis/v1/tiktok/profiles/{handle}/region",
      "/apis/v1/tiktok/profiles/{handle}/showcase-products",
      "/apis/v1/tiktok/profiles/{handle}/videos",
      "/apis/v1/tiktok/search",
      "/apis/v1/tiktok/search/hashtags",
      "/apis/v1/tiktok/search/suggestions",
      "/apis/v1/tiktok/search/top",
      "/apis/v1/tiktok/shop/products",
      "/apis/v1/tiktok/shop/products/search",
      "/apis/v1/tiktok/songs",
      "/apis/v1/tiktok/users/search",
      "/apis/v1/tiktok/videos",
      "/apis/v1/tiktok/videos/comments",
      "/apis/v1/tiktok/videos/comments/replies",
      "/apis/v1/tiktok/videos/download",
      "/apis/v1/tiktok/videos/transcript"
    ],
    "x-aisa-document": {
      "composer_version": "31",
      "facts_hash": "0424d237ce9ac91d72c899e856bf8e31bbcfe376d66f9740a6615c49301a6ca3",
      "generator_version": "3",
      "protocol_version": "1",
      "response_pending": [],
      "schema_version": "1",
      "public_projection": {
        "version": "4",
        "source_document_hash": "sha256:8e9b6a276ad49821408b746398b3bae74543d710b864bfdbc64e9333b44541f3"
      },
      "document_hash": "sha256:941dbd71e2389dfb81a6674474af8038a062a6ab5777e77d72033d9d53a651b0"
    },
    "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"
  },
  "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
  "openapi": "3.1.0",
  "paths": {
    "/apis/v1/tiktok/ad-library/ads": {
      "get": {
        "description": "Returns a single TikTok Ad Library or Top Ads creative. Provide `adId` or `url`.\n\n> **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.ad-library.ads",
        "parameters": [
          {
            "in": "query",
            "name": "adId",
            "required": false,
            "schema": {
              "description": "TikTok Ad Library or Top Ads ad id.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "url",
            "required": false,
            "schema": {
              "description": "Public TikTok Ad Library or Top Ads detail URL for the ad.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "found": {
                    "value": {
                      "data": {
                        "ad": {
                          "advertiserBusinessId": "7377365644930662401",
                          "brandName": null,
                          "category": null,
                          "commentCount": 1,
                          "cost": 1,
                          "countries": [
                            "TR",
                            "US"
                          ],
                          "ctr": 0.5,
                          "detailUrl": "https://library.tiktok.com/ads/detail/?ad_id=1872975048695249",
                          "estimatedAudience": "1K-10K",
                          "firstShownAt": "2025-02-13T00:00:00.000Z",
                          "format": "video",
                          "hasVoiceOver": false,
                          "id": "1872975048695249",
                          "imageUrls": [],
                          "industryKey": "label_22108000000",
                          "interactiveAnalysis": {
                            "clicks": {
                              "analysis": [
                                {
                                  "second": 0,
                                  "value": 0.263
                                },
                                {
                                  "second": 1,
                                  "value": 1
                                }
                              ],
                              "duration": 91,
                              "highlight": [
                                1,
                                7,
                                21
                              ],
                              "metric": "click_cnt",
                              "percentile": 0.99
                            },
                            "conversion": {
                              "analysis": [
                                {
                                  "second": 0,
                                  "value": 0
                                }
                              ],
                              "duration": 91,
                              "highlight": [],
                              "metric": "convert_cnt",
                              "percentile": 0.99
                            },
                            "ctr": {
                              "analysis": [
                                {
                                  "second": 0,
                                  "value": 0.048
                                },
                                {
                                  "second": 1,
                                  "value": 1
                                },
                                {
                                  "second": 2,
                                  "value": 0.495
                                }
                              ],
                              "duration": 91,
                              "highlight": [
                                1,
                                4,
                                21
                              ],
                              "metric": "retain_ctr",
                              "percentile": 0.99
                            },
                            "cvr": {
                              "analysis": [
                                {
                                  "second": 0,
                                  "value": 0
                                },
                                {
                                  "second": 1,
                                  "value": 0
                                }
                              ],
                              "duration": 91,
                              "highlight": [],
                              "metric": "retain_cvr",
                              "percentile": 0.99
                            },
                            "remain": {
                              "analysis": [
                                {
                                  "second": 0,
                                  "value": 1
                                },
                                {
                                  "second": 1,
                                  "value": 0.184
                                }
                              ],
                              "duration": 91,
                              "highlight": [],
                              "metric": "play_retain_cnt",
                              "percentile": 0.99
                            }
                          },
                          "isUnavailable": false,
                          "keywords": null,
                          "landingPageUrl": "https://www.amazon.com/dp/B0DRTC8XBW",
                          "lastShownAt": "2026-08-30T00:00:00.000Z",
                          "likeCount": 92,
                          "moderation": {
                            "auditStatus": "1",
                            "rejectionReason": null
                          },
                          "objective": "campaign_objective_reach",
                          "objectives": [
                            {
                              "label": "campaign_objective_reach",
                              "value": 5
                            }
                          ],
                          "patterns": [],
                          "relatedAds": [
                            {
                              "brandName": null,
                              "cost": 0,
                              "ctr": 0.63,
                              "estimatedAudience": null,
                              "firstShownAt": null,
                              "id": "7644102379697602567",
                              "industryKey": "label_22108000000",
                              "lastShownAt": null,
                              "likeCount": 127,
                              "objective": "campaign_objective_reach",
                              "title": "Related ad example title.",
                              "url": null,
                              "video": {
                                "coverUrl": "https://p16-common-sign.tiktokcdn.com/example-related.image",
                                "durationSeconds": 13.213,
                                "height": 1024,
                                "id": "v1c044g50000d86qrfnog65v7nuvf30g",
                                "urls": {
                                  "p1080": null,
                                  "p360": null,
                                  "p480": null,
                                  "p540": null,
                                  "p720": "https://v16m-default.tiktokcdn.com/related-720p.mp4"
                                },
                                "width": 576
                              }
                            }
                          ],
                          "shareCount": 1,
                          "source": "Others",
                          "title": "I thought this was a gimmick until I tried it! A wrinkled shirt, one button, and a few minutes later... ready to wear.",
                          "url": "https://library.tiktok.com/ads/detail/?ad_id=1872975048695249",
                          "video": {
                            "coverUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-p-0068c799-us/example~tplv-noop.image",
                            "durationSeconds": 89.767,
                            "height": 1280,
                            "id": "v12044gd0000d8erq07og65h1cq991gg",
                            "urls": {
                              "p1080": null,
                              "p360": null,
                              "p480": null,
                              "p540": "https://v16m-default.tiktokcdn.com/example-540p.mp4",
                              "p720": "https://v16m-default.tiktokcdn.com/example-720p.mp4"
                            },
                            "width": 720
                          },
                          "videos": [
                            {
                              "coverUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-p-0068c799-us/example~tplv-noop.image",
                              "durationSeconds": 89.767,
                              "height": 1280,
                              "id": "v12044gd0000d8erq07og65h1cq991gg",
                              "urls": {
                                "p1080": null,
                                "p360": null,
                                "p480": null,
                                "p540": "https://v16m-default.tiktokcdn.com/example-540p.mp4",
                                "p720": "https://v16m-default.tiktokcdn.com/example-720p.mp4"
                              },
                              "width": 720
                            }
                          ]
                        },
                        "lookupStatus": "found"
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01tiktok_ad_library_ad_found",
                        "version": "v1"
                      }
                    }
                  },
                  "not_found": {
                    "value": {
                      "data": {
                        "ad": null,
                        "lookupStatus": "not_found"
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01tiktok_ad_library_ad_not_found",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "ad": {
                          "description": "Ad details when found; otherwise null.",
                          "properties": {
                            "advertiserBusinessId": {
                              "description": "TikTok business ID of the ad's advertiser when available. Pass it as `advertiserBusinessId` with `advertiserName` to search only that advertiser.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "brandName": {
                              "description": "Brand or advertiser name when available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "category": {
                              "description": "Ad category as TikTok labels it, such as `News & Entertainment`, when available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "commentCount": {
                              "description": "Comment count when available.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "cost": {
                              "description": "Relative cost signal when available.",
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "countries": {
                              "description": "Countries associated with the ad when available.",
                              "items": {
                                "minLength": 1,
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "ctr": {
                              "description": "Click-through rate when available.",
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "detailUrl": {
                              "description": "Public TikTok ad detail URL when available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "estimatedAudience": {
                              "description": "Estimated audience band when available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "firstShownAt": {
                              "description": "ISO-8601 timestamp for when the ad was first shown, when available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "format": {
                              "description": "Creative format: `video` for video ads, `images` for photo or carousel ads. Null when no creative is reported.",
                              "enum": [
                                "video",
                                "images",
                                null
                              ],
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "hasVoiceOver": {
                              "description": "Whether the ad includes a voice-over when known.",
                              "type": [
                                "boolean",
                                "null"
                              ]
                            },
                            "id": {
                              "description": "Stable identifier for the ad.",
                              "minLength": 1,
                              "type": "string"
                            },
                            "imageUrls": {
                              "description": "Image URLs for photo or carousel ads, in display order. Empty for video ads.",
                              "items": {
                                "minLength": 1,
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "industryKey": {
                              "description": "Industry key reported for the ad when available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "interactiveAnalysis": {
                              "description": "Second-by-second interactive analysis when available.",
                              "properties": {
                                "clicks": {
                                  "description": "Click count analysis when available.",
                                  "properties": {
                                    "analysis": {
                                      "description": "Second-by-second metric samples.",
                                      "items": {
                                        "description": "A single second-level metric sample.",
                                        "properties": {
                                          "second": {
                                            "description": "Second offset within the ad video.",
                                            "minimum": 0,
                                            "type": "integer"
                                          },
                                          "value": {
                                            "description": "Metric value at this second.",
                                            "type": "number"
                                          }
                                        },
                                        "required": [
                                          "second",
                                          "value"
                                        ],
                                        "type": "object"
                                      },
                                      "type": "array"
                                    },
                                    "duration": {
                                      "description": "Analysis duration in seconds when available.",
                                      "minimum": 0,
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "highlight": {
                                      "description": "Highlighted second offsets for this metric.",
                                      "items": {
                                        "minimum": 0,
                                        "type": "integer"
                                      },
                                      "type": "array"
                                    },
                                    "metric": {
                                      "description": "Metric name when available.",
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "percentile": {
                                      "description": "Percentile ranking for this metric when available.",
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "metric",
                                    "analysis",
                                    "duration",
                                    "highlight",
                                    "percentile"
                                  ],
                                  "type": [
                                    "object",
                                    "null"
                                  ]
                                },
                                "conversion": {
                                  "description": "Conversion count analysis when available.",
                                  "properties": {
                                    "analysis": {
                                      "description": "Second-by-second metric samples.",
                                      "items": {
                                        "description": "A single second-level metric sample.",
                                        "properties": {
                                          "second": {
                                            "description": "Second offset within the ad video.",
                                            "minimum": 0,
                                            "type": "integer"
                                          },
                                          "value": {
                                            "description": "Metric value at this second.",
                                            "type": "number"
                                          }
                                        },
                                        "required": [
                                          "second",
                                          "value"
                                        ],
                                        "type": "object"
                                      },
                                      "type": "array"
                                    },
                                    "duration": {
                                      "description": "Analysis duration in seconds when available.",
                                      "minimum": 0,
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "highlight": {
                                      "description": "Highlighted second offsets for this metric.",
                                      "items": {
                                        "minimum": 0,
                                        "type": "integer"
                                      },
                                      "type": "array"
                                    },
                                    "metric": {
                                      "description": "Metric name when available.",
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "percentile": {
                                      "description": "Percentile ranking for this metric when available.",
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "metric",
                                    "analysis",
                                    "duration",
                                    "highlight",
                                    "percentile"
                                  ],
                                  "type": [
                                    "object",
                                    "null"
                                  ]
                                },
                                "ctr": {
                                  "description": "Click-through retention analysis when available.",
                                  "properties": {
                                    "analysis": {
                                      "description": "Second-by-second metric samples.",
                                      "items": {
                                        "description": "A single second-level metric sample.",
                                        "properties": {
                                          "second": {
                                            "description": "Second offset within the ad video.",
                                            "minimum": 0,
                                            "type": "integer"
                                          },
                                          "value": {
                                            "description": "Metric value at this second.",
                                            "type": "number"
                                          }
                                        },
                                        "required": [
                                          "second",
                                          "value"
                                        ],
                                        "type": "object"
                                      },
                                      "type": "array"
                                    },
                                    "duration": {
                                      "description": "Analysis duration in seconds when available.",
                                      "minimum": 0,
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "highlight": {
                                      "description": "Highlighted second offsets for this metric.",
                                      "items": {
                                        "minimum": 0,
                                        "type": "integer"
                                      },
                                      "type": "array"
                                    },
                                    "metric": {
                                      "description": "Metric name when available.",
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "percentile": {
                                      "description": "Percentile ranking for this metric when available.",
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "metric",
                                    "analysis",
                                    "duration",
                                    "highlight",
                                    "percentile"
                                  ],
                                  "type": [
                                    "object",
                                    "null"
                                  ]
                                },
                                "cvr": {
                                  "description": "Conversion retention analysis when available.",
                                  "properties": {
                                    "analysis": {
                                      "description": "Second-by-second metric samples.",
                                      "items": {
                                        "description": "A single second-level metric sample.",
                                        "properties": {
                                          "second": {
                                            "description": "Second offset within the ad video.",
                                            "minimum": 0,
                                            "type": "integer"
                                          },
                                          "value": {
                                            "description": "Metric value at this second.",
                                            "type": "number"
                                          }
                                        },
                                        "required": [
                                          "second",
                                          "value"
                                        ],
                                        "type": "object"
                                      },
                                      "type": "array"
                                    },
                                    "duration": {
                                      "description": "Analysis duration in seconds when available.",
                                      "minimum": 0,
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "highlight": {
                                      "description": "Highlighted second offsets for this metric.",
                                      "items": {
                                        "minimum": 0,
                                        "type": "integer"
                                      },
                                      "type": "array"
                                    },
                                    "metric": {
                                      "description": "Metric name when available.",
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "percentile": {
                                      "description": "Percentile ranking for this metric when available.",
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "metric",
                                    "analysis",
                                    "duration",
                                    "highlight",
                                    "percentile"
                                  ],
                                  "type": [
                                    "object",
                                    "null"
                                  ]
                                },
                                "remain": {
                                  "description": "Playback retention analysis when available.",
                                  "properties": {
                                    "analysis": {
                                      "description": "Second-by-second metric samples.",
                                      "items": {
                                        "description": "A single second-level metric sample.",
                                        "properties": {
                                          "second": {
                                            "description": "Second offset within the ad video.",
                                            "minimum": 0,
                                            "type": "integer"
                                          },
                                          "value": {
                                            "description": "Metric value at this second.",
                                            "type": "number"
                                          }
                                        },
                                        "required": [
                                          "second",
                                          "value"
                                        ],
                                        "type": "object"
                                      },
                                      "type": "array"
                                    },
                                    "duration": {
                                      "description": "Analysis duration in seconds when available.",
                                      "minimum": 0,
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "highlight": {
                                      "description": "Highlighted second offsets for this metric.",
                                      "items": {
                                        "minimum": 0,
                                        "type": "integer"
                                      },
                                      "type": "array"
                                    },
                                    "metric": {
                                      "description": "Metric name when available.",
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "percentile": {
                                      "description": "Percentile ranking for this metric when available.",
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "metric",
                                    "analysis",
                                    "duration",
                                    "highlight",
                                    "percentile"
                                  ],
                                  "type": [
                                    "object",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "ctr",
                                "cvr",
                                "clicks",
                                "conversion",
                                "remain"
                              ],
                              "type": [
                                "object",
                                "null"
                              ]
                            },
                            "isUnavailable": {
                              "description": "Whether TikTok reports the ad as no longer available, when known.",
                              "type": [
                                "boolean",
                                "null"
                              ]
                            },
                            "keywords": {
                              "description": "Keywords associated with the ad when available.",
                              "items": {
                                "minLength": 1,
                                "type": "string"
                              },
                              "type": [
                                "array",
                                "null"
                              ]
                            },
                            "landingPageUrl": {
                              "description": "Landing page URL when available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "lastShownAt": {
                              "description": "ISO-8601 timestamp for when the ad was last shown, when available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "likeCount": {
                              "description": "Like count when available.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "moderation": {
                              "description": "TikTok's review information for the ad.",
                              "properties": {
                                "auditStatus": {
                                  "description": "Review status code exactly as TikTok reports it, such as `1`. TikTok does not document these codes. Null when not reported.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "rejectionReason": {
                                  "description": "Rejection details as TikTok reports them, when the ad was rejected. Null otherwise.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "auditStatus",
                                "rejectionReason"
                              ],
                              "type": "object"
                            },
                            "objective": {
                              "description": "Campaign objective key when available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "objectives": {
                              "description": "Campaign objectives reported for the ad.",
                              "items": {
                                "description": "A campaign objective entry for a TikTok ad.",
                                "properties": {
                                  "label": {
                                    "description": "Objective label when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "value": {
                                    "description": "Objective value when available.",
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "label",
                                  "value"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "patterns": {
                              "description": "Creative pattern labels when available.",
                              "items": {
                                "minLength": 1,
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "relatedAds": {
                              "description": "Related ads recommended alongside this ad.",
                              "items": {
                                "description": "Summary of a TikTok Ad Library ad.",
                                "properties": {
                                  "brandName": {
                                    "description": "Brand or advertiser name when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "cost": {
                                    "description": "Relative cost signal when available.",
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  },
                                  "ctr": {
                                    "description": "Click-through rate when available.",
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  },
                                  "estimatedAudience": {
                                    "description": "Estimated audience band when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "firstShownAt": {
                                    "description": "ISO-8601 timestamp for when the ad was first shown, when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "id": {
                                    "description": "Stable identifier for the ad.",
                                    "minLength": 1,
                                    "type": "string"
                                  },
                                  "industryKey": {
                                    "description": "Industry key reported for the ad when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "lastShownAt": {
                                    "description": "ISO-8601 timestamp for when the ad was last shown, when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "likeCount": {
                                    "description": "Like count when available.",
                                    "minimum": 0,
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  },
                                  "objective": {
                                    "description": "Campaign objective key when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "title": {
                                    "description": "Ad title or caption when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "url": {
                                    "description": "Public TikTok Ads Library detail URL when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "video": {
                                    "description": "Video creative when available.",
                                    "properties": {
                                      "coverUrl": {
                                        "description": "Cover image URL when available.",
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "durationSeconds": {
                                        "description": "Video duration in seconds when available. Null for results from the public TikTok Ads Library, which does not report duration.",
                                        "type": [
                                          "number",
                                          "null"
                                        ]
                                      },
                                      "height": {
                                        "description": "Video height in pixels when available.",
                                        "minimum": 0,
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "id": {
                                        "description": "Video id when available.",
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "urls": {
                                        "description": "Playback URLs by resolution when available.",
                                        "properties": {
                                          "p1080": {
                                            "description": "1080p video URL when available.",
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "p360": {
                                            "description": "360p video URL when available.",
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "p480": {
                                            "description": "480p video URL when available.",
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "p540": {
                                            "description": "540p video URL when available.",
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "p720": {
                                            "description": "720p video URL when available.",
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "p360",
                                          "p480",
                                          "p540",
                                          "p720",
                                          "p1080"
                                        ],
                                        "type": [
                                          "object",
                                          "null"
                                        ]
                                      },
                                      "width": {
                                        "description": "Video width in pixels when available.",
                                        "minimum": 0,
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "durationSeconds",
                                      "coverUrl",
                                      "width",
                                      "height",
                                      "urls"
                                    ],
                                    "type": [
                                      "object",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "id",
                                  "title",
                                  "brandName",
                                  "cost",
                                  "ctr",
                                  "likeCount",
                                  "industryKey",
                                  "objective",
                                  "url",
                                  "firstShownAt",
                                  "lastShownAt",
                                  "estimatedAudience",
                                  "video"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "shareCount": {
                              "description": "Share count when available.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "source": {
                              "description": "Reported ad source when available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "title": {
                              "description": "Ad title or caption when available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "url": {
                              "description": "Public TikTok Ads Library detail URL when available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "video": {
                              "description": "Video creative when available.",
                              "properties": {
                                "coverUrl": {
                                  "description": "Cover image URL when available.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "durationSeconds": {
                                  "description": "Video duration in seconds when available. Null for results from the public TikTok Ads Library, which does not report duration.",
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "height": {
                                  "description": "Video height in pixels when available.",
                                  "minimum": 0,
                                  "type": [
                                    "integer",
                                    "null"
                                  ]
                                },
                                "id": {
                                  "description": "Video id when available.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "urls": {
                                  "description": "Playback URLs by resolution when available.",
                                  "properties": {
                                    "p1080": {
                                      "description": "1080p video URL when available.",
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "p360": {
                                      "description": "360p video URL when available.",
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "p480": {
                                      "description": "480p video URL when available.",
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "p540": {
                                      "description": "540p video URL when available.",
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "p720": {
                                      "description": "720p video URL when available.",
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "p360",
                                    "p480",
                                    "p540",
                                    "p720",
                                    "p1080"
                                  ],
                                  "type": [
                                    "object",
                                    "null"
                                  ]
                                },
                                "width": {
                                  "description": "Video width in pixels when available.",
                                  "minimum": 0,
                                  "type": [
                                    "integer",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "durationSeconds",
                                "coverUrl",
                                "width",
                                "height",
                                "urls"
                              ],
                              "type": [
                                "object",
                                "null"
                              ]
                            },
                            "videos": {
                              "description": "Every video creative reported for the ad. `video` is the first entry. Empty for image ads.",
                              "items": {
                                "description": "Video creative for a TikTok Ad Library ad.",
                                "properties": {
                                  "coverUrl": {
                                    "description": "Cover image URL when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "durationSeconds": {
                                    "description": "Video duration in seconds when available. Null for results from the public TikTok Ads Library, which does not report duration.",
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  },
                                  "height": {
                                    "description": "Video height in pixels when available.",
                                    "minimum": 0,
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  },
                                  "id": {
                                    "description": "Video id when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "urls": {
                                    "description": "Playback URLs by resolution when available.",
                                    "properties": {
                                      "p1080": {
                                        "description": "1080p video URL when available.",
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "p360": {
                                        "description": "360p video URL when available.",
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "p480": {
                                        "description": "480p video URL when available.",
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "p540": {
                                        "description": "540p video URL when available.",
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "p720": {
                                        "description": "720p video URL when available.",
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "p360",
                                      "p480",
                                      "p540",
                                      "p720",
                                      "p1080"
                                    ],
                                    "type": [
                                      "object",
                                      "null"
                                    ]
                                  },
                                  "width": {
                                    "description": "Video width in pixels when available.",
                                    "minimum": 0,
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "id",
                                  "durationSeconds",
                                  "coverUrl",
                                  "width",
                                  "height",
                                  "urls"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            }
                          },
                          "required": [
                            "id",
                            "title",
                            "brandName",
                            "cost",
                            "ctr",
                            "likeCount",
                            "industryKey",
                            "objective",
                            "url",
                            "firstShownAt",
                            "lastShownAt",
                            "estimatedAudience",
                            "video",
                            "commentCount",
                            "shareCount",
                            "countries",
                            "landingPageUrl",
                            "keywords",
                            "objectives",
                            "patterns",
                            "source",
                            "hasVoiceOver",
                            "detailUrl",
                            "interactiveAnalysis",
                            "relatedAds",
                            "advertiserBusinessId",
                            "format",
                            "videos",
                            "imageUrls",
                            "category",
                            "moderation",
                            "isUnavailable"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "lookupStatus": {
                          "description": "Whether the ad was found.",
                          "enum": [
                            "found",
                            "not_found"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "lookupStatus",
                        "ad"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "TikTok Ad Library ad."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get TikTok Ad Library ad",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-ad-library-ads",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "54fe64aa6684fdf094cc15c6646fbad23c3f0b24345b052ae6051aaa36870bb0",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-14",
            "origins": [
              "probe"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "ad": {
                      "additionalProperties": true,
                      "properties": {
                        "advertiserBusinessId": {
                          "type": "string"
                        },
                        "brandName": {
                          "type": "string"
                        },
                        "category": {
                          "type": "null"
                        },
                        "commentCount": {
                          "type": "null"
                        },
                        "cost": {
                          "type": "null"
                        },
                        "countries": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "ctr": {
                          "type": "null"
                        },
                        "detailUrl": {
                          "type": "string"
                        },
                        "estimatedAudience": {
                          "type": "string"
                        },
                        "firstShownAt": {
                          "type": "string"
                        },
                        "format": {
                          "type": "string"
                        },
                        "hasVoiceOver": {
                          "type": "null"
                        },
                        "id": {
                          "type": "string"
                        },
                        "imageUrls": {
                          "items": {},
                          "type": "array"
                        },
                        "industryKey": {
                          "type": "null"
                        },
                        "interactiveAnalysis": {
                          "additionalProperties": true,
                          "properties": {
                            "clicks": {
                              "type": "null"
                            },
                            "conversion": {
                              "type": "null"
                            },
                            "ctr": {
                              "type": "null"
                            },
                            "cvr": {
                              "type": "null"
                            },
                            "remain": {
                              "type": "null"
                            }
                          },
                          "type": "object"
                        },
                        "isUnavailable": {
                          "type": "boolean"
                        },
                        "keywords": {
                          "type": "null"
                        },
                        "landingPageUrl": {
                          "type": "null"
                        },
                        "lastShownAt": {
                          "type": "string"
                        },
                        "likeCount": {
                          "type": "null"
                        },
                        "moderation": {
                          "additionalProperties": true,
                          "properties": {
                            "auditStatus": {
                              "type": "string"
                            },
                            "rejectionReason": {
                              "type": "null"
                            }
                          },
                          "type": "object"
                        },
                        "objective": {
                          "type": "string"
                        },
                        "objectives": {
                          "items": {
                            "additionalProperties": true,
                            "properties": {
                              "label": {
                                "type": "string"
                              },
                              "value": {
                                "type": "null"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "patterns": {
                          "items": {},
                          "type": "array"
                        },
                        "relatedAds": {
                          "items": {},
                          "type": "array"
                        },
                        "shareCount": {
                          "type": "null"
                        },
                        "source": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "url": {
                          "type": "string"
                        },
                        "video": {
                          "additionalProperties": true,
                          "properties": {
                            "coverUrl": {
                              "type": "string"
                            },
                            "durationSeconds": {
                              "type": "null"
                            },
                            "height": {
                              "type": "null"
                            },
                            "id": {
                              "type": "null"
                            },
                            "urls": {
                              "additionalProperties": true,
                              "type": "object"
                            },
                            "width": {
                              "type": "null"
                            }
                          },
                          "type": "object"
                        },
                        "videos": {
                          "items": {
                            "additionalProperties": true,
                            "properties": {
                              "coverUrl": {
                                "type": "string"
                              },
                              "durationSeconds": {
                                "type": "null"
                              },
                              "height": {
                                "type": "null"
                              },
                              "id": {
                                "type": "null"
                              },
                              "urls": {
                                "additionalProperties": true,
                                "type": "object"
                              },
                              "width": {
                                "type": "null"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    },
                    "lookupStatus": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.042,
          "estimate_source": "profile_seed",
          "maximum_units": 3
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:614d1bb15f54b9aadfa030c33464f7ad1ec7e905c99e70bf128b359ad718763a",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.ad-library.ads",
          "path": "/apis/v1/tiktok/ad-library/ads"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/ad-library/ads/search": {
      "get": {
        "description": "Searches the public TikTok Ad Library by keyword or advertiser. Provide `query`, `advertiserName` or `advertiserBusinessId`. Results are paged: while `data.page.hasMore` is true, send `data.page.nextCursor` as `cursor` to get the next page.\n\n> **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.ad-library.ads.search",
        "parameters": [
          {
            "in": "query",
            "name": "advertiserBusinessId",
            "required": false,
            "schema": {
              "description": "TikTok advertiser business ID, from `advertiserMatches[].businessId` or an ad's `advertiserBusinessId`. Pins an advertiser search to that exact advertiser. Requires `advertiserName`.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "advertiserName",
            "required": false,
            "schema": {
              "description": "Search the public TikTok Ads Library by advertiser name.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "description": "Opaque pagination cursor from a previous response.",
              "maxLength": 16384,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "description": "Keyword to search the public TikTok Ads Library.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "advertiser": {
                    "value": {
                      "data": {
                        "ads": [
                          {
                            "advertiserBusinessId": "6876464402330026753",
                            "brandName": "APPLE EUROPE LIMITED",
                            "category": "News & Entertainment",
                            "cost": 1,
                            "ctr": 0.5,
                            "estimatedAudience": "1K-10K",
                            "firstShownAt": "2025-02-13T00:00:00.000Z",
                            "format": "video",
                            "id": "1869335220395266",
                            "imageUrls": [],
                            "industryKey": "label_22108000000",
                            "lastShownAt": "2026-08-30T00:00:00.000Z",
                            "likeCount": 92,
                            "moderation": {
                              "auditStatus": "1",
                              "rejectionReason": null
                            },
                            "objective": "campaign_objective_reach",
                            "title": null,
                            "url": "https://library.tiktok.com/ads/detail/?ad_id=1872975048695249",
                            "video": {
                              "coverUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-p-0068c799-us/example~tplv-noop.image",
                              "durationSeconds": 89.767,
                              "height": 1280,
                              "id": "v12044gd0000d8erq07og65h1cq991gg",
                              "urls": {
                                "p1080": null,
                                "p360": null,
                                "p480": null,
                                "p540": "https://v16m-default.tiktokcdn.com/example-540p.mp4",
                                "p720": "https://v16m-default.tiktokcdn.com/example-720p.mp4"
                              },
                              "width": 720
                            },
                            "videos": [
                              {
                                "coverUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-p-0068c799-us/example~tplv-noop.image",
                                "durationSeconds": 89.767,
                                "height": 1280,
                                "id": "v12044gd0000d8erq07og65h1cq991gg",
                                "urls": {
                                  "p1080": null,
                                  "p360": null,
                                  "p480": null,
                                  "p540": "https://v16m-default.tiktokcdn.com/example-540p.mp4",
                                  "p720": "https://v16m-default.tiktokcdn.com/example-720p.mp4"
                                },
                                "width": 720
                              }
                            ]
                          }
                        ],
                        "advertiserMatches": [
                          {
                            "businessId": "6876463108651483905",
                            "name": "APPLE INC."
                          },
                          {
                            "businessId": "6876464402330026753",
                            "name": "APPLE EUROPE LIMITED"
                          },
                          {
                            "businessId": "6935909443695543041",
                            "name": "APPLE SERVICES LIMITED"
                          }
                        ],
                        "advertiserName": "APPLE EUROPE LIMITED",
                        "page": {
                          "hasMore": true,
                          "nextCursor": "eyJjIjoiMiIsImYiOnsiYWR2ZXJ0aXNlck5hbWUiOiJBUFBMRSBFVVJPUEUgTElNSVRFRCIsImFkdmVydGlzZXJCdXNpbmVzc0lkIjoiNjg3NjQ2NDQwMjMzMDAyNjc1MyJ9fQ",
                          "totalResultsEstimate": 373
                        },
                        "query": "",
                        "resolvedAdvertiserName": "APPLE EUROPE LIMITED",
                        "source": "tiktok_ads_library"
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01tiktok_ad_library_search_advertiser",
                        "version": "v1"
                      }
                    }
                  },
                  "empty": {
                    "value": {
                      "data": {
                        "ads": [],
                        "advertiserMatches": [],
                        "advertiserName": null,
                        "page": {
                          "hasMore": false,
                          "nextCursor": null,
                          "totalResultsEstimate": 0
                        },
                        "query": "zzzznonexistent",
                        "resolvedAdvertiserName": null,
                        "source": null
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01tiktok_ad_library_search_empty",
                        "version": "v1"
                      }
                    }
                  },
                  "found": {
                    "value": {
                      "data": {
                        "ads": [
                          {
                            "advertiserBusinessId": null,
                            "brandName": "slvmpedprincesss",
                            "category": "News & Entertainment",
                            "cost": 1,
                            "ctr": 0.5,
                            "estimatedAudience": "1K-10K",
                            "firstShownAt": "2025-02-13T00:00:00.000Z",
                            "format": "video",
                            "id": "1872975048695249",
                            "imageUrls": [],
                            "industryKey": "label_22108000000",
                            "lastShownAt": "2026-08-30T00:00:00.000Z",
                            "likeCount": 92,
                            "moderation": {
                              "auditStatus": "1",
                              "rejectionReason": null
                            },
                            "objective": "campaign_objective_reach",
                            "title": "I thought this was a gimmick until I tried it! A wrinkled shirt, one button, and a few minutes later... ready to wear.",
                            "url": "https://library.tiktok.com/ads/detail/?ad_id=1872975048695249",
                            "video": {
                              "coverUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-p-0068c799-us/example~tplv-noop.image",
                              "durationSeconds": 89.767,
                              "height": 1280,
                              "id": "v12044gd0000d8erq07og65h1cq991gg",
                              "urls": {
                                "p1080": null,
                                "p360": null,
                                "p480": null,
                                "p540": "https://v16m-default.tiktokcdn.com/example-540p.mp4",
                                "p720": "https://v16m-default.tiktokcdn.com/example-720p.mp4"
                              },
                              "width": 720
                            },
                            "videos": [
                              {
                                "coverUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-p-0068c799-us/example~tplv-noop.image",
                                "durationSeconds": 89.767,
                                "height": 1280,
                                "id": "v12044gd0000d8erq07og65h1cq991gg",
                                "urls": {
                                  "p1080": null,
                                  "p360": null,
                                  "p480": null,
                                  "p540": "https://v16m-default.tiktokcdn.com/example-540p.mp4",
                                  "p720": "https://v16m-default.tiktokcdn.com/example-720p.mp4"
                                },
                                "width": 720
                              }
                            ]
                          },
                          {
                            "advertiserBusinessId": "7377365644930662401",
                            "brandName": "EXAMPLE NEWS LTD",
                            "category": "News & Entertainment",
                            "cost": null,
                            "ctr": null,
                            "estimatedAudience": "100K-200K",
                            "firstShownAt": "2026-08-14T00:00:00.000Z",
                            "format": "images",
                            "id": "1873507867490451",
                            "imageUrls": [
                              "https://p16-common-sign.tiktokcdn.com/example-photo-1.jpeg",
                              "https://p16-common-sign.tiktokcdn.com/example-photo-2.jpeg"
                            ],
                            "industryKey": null,
                            "lastShownAt": "2026-08-30T00:00:00.000Z",
                            "likeCount": null,
                            "moderation": {
                              "auditStatus": "1",
                              "rejectionReason": null
                            },
                            "objective": null,
                            "title": null,
                            "url": "https://library.tiktok.com/ads/detail/?ad_id=1873507867490451",
                            "video": null,
                            "videos": []
                          }
                        ],
                        "advertiserMatches": [],
                        "advertiserName": null,
                        "page": {
                          "hasMore": true,
                          "nextCursor": "eyJjIjoiMiIsImYiOnsicXVlcnkiOiJzcG90aWZ5In19",
                          "totalResultsEstimate": 326
                        },
                        "query": "spotify",
                        "resolvedAdvertiserName": null,
                        "source": "tiktok_ads_library"
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01tiktok_ad_library_search_found",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "aisa_pagination": {
                      "additionalProperties": false,
                      "description": "AIsa pagination. Pass next_cursor as cursor to fetch the next page; has_more is false on the last page.",
                      "properties": {
                        "has_more": {
                          "type": "boolean"
                        },
                        "next_cursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_param": {
                          "const": "cursor",
                          "type": "string"
                        }
                      },
                      "required": [
                        "has_more",
                        "next_cursor",
                        "next_param"
                      ],
                      "type": "object"
                    },
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "ads": {
                          "description": "Ads returned for the requested search. This array may be empty when no ads match.",
                          "items": {
                            "description": "A TikTok Ad Library ad returned by search.",
                            "properties": {
                              "advertiserBusinessId": {
                                "description": "TikTok business ID of the ad's advertiser when available. Pass it as `advertiserBusinessId` with `advertiserName` to search only that advertiser.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "brandName": {
                                "description": "Brand or advertiser name when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "category": {
                                "description": "Ad category as TikTok labels it, such as `News & Entertainment`, when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "cost": {
                                "description": "Relative cost signal when available.",
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "ctr": {
                                "description": "Click-through rate when available.",
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "estimatedAudience": {
                                "description": "Estimated audience band when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "firstShownAt": {
                                "description": "ISO-8601 timestamp for when the ad was first shown, when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "format": {
                                "description": "Creative format: `video` for video ads, `images` for photo or carousel ads. Null when no creative is reported.",
                                "enum": [
                                  "video",
                                  "images",
                                  null
                                ],
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "id": {
                                "description": "Stable identifier for the ad.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "imageUrls": {
                                "description": "Image URLs for photo or carousel ads, in display order. Empty for video ads.",
                                "items": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "industryKey": {
                                "description": "Industry key reported for the ad when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "lastShownAt": {
                                "description": "ISO-8601 timestamp for when the ad was last shown, when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "likeCount": {
                                "description": "Like count when available.",
                                "minimum": 0,
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "moderation": {
                                "description": "TikTok's review information for the ad.",
                                "properties": {
                                  "auditStatus": {
                                    "description": "Review status code exactly as TikTok reports it, such as `1`. TikTok does not document these codes. Null when not reported.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "rejectionReason": {
                                    "description": "Rejection details as TikTok reports them, when the ad was rejected. Null otherwise.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "auditStatus",
                                  "rejectionReason"
                                ],
                                "type": "object"
                              },
                              "objective": {
                                "description": "Campaign objective key when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "title": {
                                "description": "Ad title or caption when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "description": "Public TikTok Ads Library detail URL when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "video": {
                                "description": "Video creative when available.",
                                "properties": {
                                  "coverUrl": {
                                    "description": "Cover image URL when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "durationSeconds": {
                                    "description": "Video duration in seconds when available. Null for results from the public TikTok Ads Library, which does not report duration.",
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  },
                                  "height": {
                                    "description": "Video height in pixels when available.",
                                    "minimum": 0,
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  },
                                  "id": {
                                    "description": "Video id when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "urls": {
                                    "description": "Playback URLs by resolution when available.",
                                    "properties": {
                                      "p1080": {
                                        "description": "1080p video URL when available.",
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "p360": {
                                        "description": "360p video URL when available.",
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "p480": {
                                        "description": "480p video URL when available.",
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "p540": {
                                        "description": "540p video URL when available.",
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "p720": {
                                        "description": "720p video URL when available.",
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "p360",
                                      "p480",
                                      "p540",
                                      "p720",
                                      "p1080"
                                    ],
                                    "type": [
                                      "object",
                                      "null"
                                    ]
                                  },
                                  "width": {
                                    "description": "Video width in pixels when available.",
                                    "minimum": 0,
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "id",
                                  "durationSeconds",
                                  "coverUrl",
                                  "width",
                                  "height",
                                  "urls"
                                ],
                                "type": [
                                  "object",
                                  "null"
                                ]
                              },
                              "videos": {
                                "description": "Every video creative reported for the ad. `video` is the first entry. Empty for image ads.",
                                "items": {
                                  "description": "Video creative for a TikTok Ad Library ad.",
                                  "properties": {
                                    "coverUrl": {
                                      "description": "Cover image URL when available.",
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "durationSeconds": {
                                      "description": "Video duration in seconds when available. Null for results from the public TikTok Ads Library, which does not report duration.",
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "height": {
                                      "description": "Video height in pixels when available.",
                                      "minimum": 0,
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "id": {
                                      "description": "Video id when available.",
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "urls": {
                                      "description": "Playback URLs by resolution when available.",
                                      "properties": {
                                        "p1080": {
                                          "description": "1080p video URL when available.",
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "p360": {
                                          "description": "360p video URL when available.",
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "p480": {
                                          "description": "480p video URL when available.",
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "p540": {
                                          "description": "540p video URL when available.",
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "p720": {
                                          "description": "720p video URL when available.",
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "p360",
                                        "p480",
                                        "p540",
                                        "p720",
                                        "p1080"
                                      ],
                                      "type": [
                                        "object",
                                        "null"
                                      ]
                                    },
                                    "width": {
                                      "description": "Video width in pixels when available.",
                                      "minimum": 0,
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "durationSeconds",
                                    "coverUrl",
                                    "width",
                                    "height",
                                    "urls"
                                  ],
                                  "type": "object"
                                },
                                "type": "array"
                              }
                            },
                            "required": [
                              "id",
                              "title",
                              "brandName",
                              "cost",
                              "ctr",
                              "likeCount",
                              "industryKey",
                              "objective",
                              "url",
                              "firstShownAt",
                              "lastShownAt",
                              "estimatedAudience",
                              "video",
                              "advertiserBusinessId",
                              "format",
                              "videos",
                              "imageUrls",
                              "category",
                              "moderation"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "advertiserMatches": {
                          "description": "Advertisers TikTok matched to `advertiserName`. Empty for keyword searches or when none are reported.",
                          "items": {
                            "description": "An advertiser TikTok matched to the requested advertiser name.",
                            "properties": {
                              "businessId": {
                                "description": "TikTok advertiser business ID. Pass it as `advertiserBusinessId`, with this `name` as `advertiserName`, to search only this advertiser.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "name": {
                                "description": "Advertiser name as TikTok lists it.",
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "name",
                              "businessId"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "advertiserName": {
                          "description": "Advertiser name filter that was evaluated, when searching by advertiser.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "page": {
                          "description": "Pagination information for the current response.",
                          "properties": {
                            "hasMore": {
                              "description": "Whether another page of ads can be requested.",
                              "type": "boolean"
                            },
                            "nextCursor": {
                              "description": "Cursor to pass as `cursor` in the next request when `hasMore` is true; otherwise null.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "totalResultsEstimate": {
                              "description": "Estimated total number of matching ads when available.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "nextCursor",
                            "hasMore",
                            "totalResultsEstimate"
                          ],
                          "type": "object"
                        },
                        "query": {
                          "description": "Keyword query that was evaluated for this response.",
                          "type": "string"
                        },
                        "resolvedAdvertiserName": {
                          "description": "Advertiser TikTok resolved `advertiserName` to, when searching by advertiser and a match was found.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "source": {
                          "description": "Listing source when reported. `tiktok_ads_library` is the public Ads Library.",
                          "enum": [
                            "tiktok_ads_library",
                            "top_ads",
                            null
                          ],
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "query",
                        "advertiserName",
                        "resolvedAdvertiserName",
                        "advertiserMatches",
                        "source",
                        "ads",
                        "page"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "TikTok Ad Library search results.",
            "headers": {
              "X-AISA-Has-More": {
                "description": "Mirrors aisa_pagination.has_more.",
                "schema": {
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string"
                }
              },
              "X-AISA-Next-Cursor": {
                "description": "Mirrors aisa_pagination.next_cursor; absent on the last page.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Search TikTok Ad Library ads",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-ad-library-ads-search",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "42600730853caacc88eaf1ae0cff457b3d813757089ef2f1eb6a853996bc7b45",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "slow",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-26",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "aisa_pagination": {
                  "additionalProperties": true,
                  "properties": {
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_cursor": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "next_param": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "page": {
                      "additionalProperties": true,
                      "properties": {
                        "hasMore": {
                          "type": "boolean"
                        },
                        "nextCursor": {
                          "type": [
                            "null",
                            "string"
                          ]
                        }
                      },
                      "type": "object"
                    },
                    "query": {
                      "type": "string"
                    },
                    "source": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pagination": {
          "ordering": "stable",
          "request": {
            "in": "query",
            "param": "cursor"
          },
          "style": "cursor"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.042,
          "estimate_source": "profile_seed",
          "maximum_units": 3
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:a862a1dc1f6754b73143917cd7526002dfac7664d3c1b96613e79768994fd6bf",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.ad-library.ads.search",
          "path": "/apis/v1/tiktok/ad-library/ads/search"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/collections/videos": {
      "get": {
        "description": "Lists videos in a public TikTok collection by URL. Required input: `url`. Results are paged: while `data.page.hasMore` is true, send `data.page.nextCursor` as `cursor` to get the next page.\n\n> **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.collections.videos",
        "parameters": [
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "description": "Pagination cursor returned by a previous response.",
              "maxLength": 16384,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "url",
            "required": true,
            "schema": {
              "description": "Public TikTok collection URL.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "empty": {
                    "value": {
                      "data": {
                        "collectionId": "7665668414573546258",
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "videos": []
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_2c324b9b-af84-41be-ad87-35004ae39b40",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "aisa_pagination": {
                      "additionalProperties": false,
                      "description": "AIsa pagination. Pass next_cursor as cursor to fetch the next page; has_more is false on the last page.",
                      "properties": {
                        "has_more": {
                          "type": "boolean"
                        },
                        "next_cursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_param": {
                          "const": "cursor",
                          "type": "string"
                        }
                      },
                      "required": [
                        "has_more",
                        "next_cursor",
                        "next_param"
                      ],
                      "type": "object"
                    },
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "collectionId": {
                          "description": "TikTok collection id when available.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "page": {
                          "description": "Pagination state for the current response.",
                          "properties": {
                            "hasMore": {
                              "description": "Whether another page is available.",
                              "type": "boolean"
                            },
                            "nextCursor": {
                              "description": "Cursor to pass in the next request when more pages exist; null on the last page.",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "hasMore",
                            "nextCursor"
                          ],
                          "type": "object"
                        },
                        "videos": {
                          "description": "TikTok videos in the requested collection. An empty array can mean no public videos in this collection, or other cases—this route has no lookupStatus.",
                          "items": {
                            "description": "TikTok video.",
                            "properties": {
                              "caption": {
                                "description": "Caption text shown for the TikTok video.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "createdAt": {
                                "description": "ISO-8601 timestamp when the video was created, when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "details": {
                                "additionalProperties": {},
                                "description": "Additional TikTok-native fields for this video (for example author, music, challenges, and full `video` and `statistics` objects). Keys that only duplicate the top-level fields are omitted.",
                                "properties": {},
                                "type": "object"
                              },
                              "durationMs": {
                                "description": "Video duration in milliseconds, when available.",
                                "minimum": 0,
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "id": {
                                "description": "TikTok video identifier.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "isAd": {
                                "description": "Whether TikTok marks the video as an ad.",
                                "type": "boolean"
                              },
                              "media": {
                                "description": "Download-related media URLs for the video.",
                                "properties": {
                                  "downloadUrl": {
                                    "description": "Source-platform CDN download URL, usually with watermark, when available. It can expire or be rejected outside the original retrieval context; it is not an AIsa-hosted asset.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "downloadWithoutWatermarkUrl": {
                                    "description": "Source-platform CDN download URL without watermark when available. It can expire or be rejected outside the original retrieval context; it is not an AIsa-hosted asset. Preferred over the watermarked URL when both are present.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "downloadUrl",
                                  "downloadWithoutWatermarkUrl"
                                ],
                                "type": "object"
                              },
                              "pinned": {
                                "description": "Whether the video is pinned on the profile.",
                                "type": "boolean"
                              },
                              "stats": {
                                "description": "Engagement metrics for the video.",
                                "properties": {
                                  "comments": {
                                    "description": "Comment count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "likes": {
                                    "description": "Like count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "saves": {
                                    "description": "Save or collection count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "shares": {
                                    "description": "Share count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "views": {
                                    "description": "View count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "views",
                                  "likes",
                                  "comments",
                                  "shares",
                                  "saves"
                                ],
                                "type": "object"
                              },
                              "thumbnailUrl": {
                                "description": "Source-platform CDN thumbnail or cover URL when available. It can expire or be rejected outside the original retrieval context; it is not an AIsa-hosted asset.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "description": "Canonical public TikTok URL for the video.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "caption",
                              "createdAt",
                              "url",
                              "thumbnailUrl",
                              "durationMs",
                              "pinned",
                              "isAd",
                              "stats",
                              "media"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "collectionId",
                        "videos",
                        "page"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "TikTok collection videos.",
            "headers": {
              "X-AISA-Has-More": {
                "description": "Mirrors aisa_pagination.has_more.",
                "schema": {
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string"
                }
              },
              "X-AISA-Next-Cursor": {
                "description": "Mirrors aisa_pagination.next_cursor; absent on the last page.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List TikTok collection videos",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-collections-videos",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "4ebba76054b7788a306d671be8a2dc6be174abcfdcb6847406ad57802a63cafc",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "slow",
        "x-aisa-pagination": {
          "ordering": "stable",
          "request": {
            "in": "query",
            "param": "cursor"
          },
          "style": "cursor"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:97550a462316ddde8853493baf54dc140518e27d186163a300beb9e258aced01",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.collections.videos",
          "path": "/apis/v1/tiktok/collections/videos"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/feed/trending": {
      "get": {
        "description": "Lists currently trending TikTok posts for a region. There is no paging: repeat the request for a fresh batch, which can overlap with earlier batches. Required input: `region`.\n\n> **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.feed.trending",
        "parameters": [
          {
            "in": "query",
            "name": "region",
            "required": true,
            "schema": {
              "description": "Two-letter ISO 3166-1 country code for the request.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "trim",
            "required": false,
            "schema": {
              "description": "When true, requests a smaller response with fewer optional fields.",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "empty": {
                    "value": {
                      "data": {
                        "items": [],
                        "totalResults": 0
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_feed_empty",
                        "version": "v1"
                      }
                    }
                  },
                  "found": {
                    "value": {
                      "data": {
                        "items": [
                          {
                            "author": {
                              "avatarUrl": "https://example.com/avatar.jpg",
                              "handle": "example",
                              "nickname": "Example Creator",
                              "platformUserId": "6754760670083138566",
                              "region": "US",
                              "signature": null,
                              "verified": false
                            },
                            "media": {
                              "downloadUrl": "https://example.com/video.mp4",
                              "downloadWithoutWatermarkUrl": null,
                              "thumbnailUrl": "https://example.com/cover.jpg"
                            },
                            "metrics": {
                              "comments": 646,
                              "likes": 71423,
                              "saves": 21957,
                              "shares": 8440,
                              "views": 1443873
                            },
                            "video": {
                              "caption": "Trending post example",
                              "createdAt": "2025-08-18T18:52:13.000Z",
                              "durationMs": 46315,
                              "id": "7540000301621841183",
                              "isAd": false,
                              "mediaType": "video",
                              "region": "US",
                              "url": "https://www.tiktok.com/@example/video/7540000301621841183"
                            }
                          }
                        ],
                        "totalResults": 1
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_feed_found",
                        "version": "v1"
                      }
                    }
                  },
                  "slideshow": {
                    "value": {
                      "data": {
                        "items": [
                          {
                            "author": {
                              "handle": "example",
                              "verified": false
                            },
                            "media": {
                              "downloadUrl": null,
                              "downloadWithoutWatermarkUrl": null,
                              "slideshowImages": [
                                "https://example.com/slide1.jpg",
                                "https://example.com/slide2.jpg"
                              ],
                              "thumbnailUrl": "https://example.com/slide-cover.jpg"
                            },
                            "metrics": {
                              "comments": 45,
                              "likes": 1200,
                              "saves": 80,
                              "shares": 30,
                              "views": 50000
                            },
                            "video": {
                              "caption": "Photo carousel example",
                              "createdAt": "2026-04-16T12:00:00.000Z",
                              "durationMs": null,
                              "id": "7628328815495744790",
                              "isAd": false,
                              "mediaType": "slideshow",
                              "region": "GB",
                              "url": "https://www.tiktok.com/@example/photo/7628328815495744790"
                            }
                          }
                        ],
                        "totalResults": 1
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_feed_slideshow",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "items": {
                          "description": "Trending TikTok posts for this request. Repeat the same request for a fresh batch that may include new and overlapping posts.",
                          "items": {
                            "description": "A trending TikTok post in the feed.",
                            "properties": {
                              "author": {
                                "description": "Creator of the trending post when available.",
                                "properties": {
                                  "avatarUrl": {
                                    "description": "Profile picture URL.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "handle": {
                                    "description": "Public username without a leading @.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "nickname": {
                                    "description": "Display name.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "platformUserId": {
                                    "description": "Numeric user id.",
                                    "type": "string"
                                  },
                                  "region": {
                                    "description": "Two-letter country code when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "secUid": {
                                    "description": "Stable opaque user id.",
                                    "type": "string"
                                  },
                                  "signature": {
                                    "description": "Profile bio text.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "verified": {
                                    "description": "Whether the account is verified.",
                                    "type": "boolean"
                                  }
                                },
                                "type": [
                                  "object",
                                  "null"
                                ]
                              },
                              "details": {
                                "additionalProperties": {},
                                "description": "Additional TikTok-native fields for this post, excluding fields already shown above.",
                                "properties": {},
                                "type": "object"
                              },
                              "media": {
                                "description": "Media URLs for a trending post.",
                                "properties": {
                                  "downloadUrl": {
                                    "description": "Best available downloadable video URL.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "downloadWithoutWatermarkUrl": {
                                    "description": "Download URL without watermark when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "slideshowImages": {
                                    "description": "Ordered image URLs for photo slideshow posts.",
                                    "items": {
                                      "type": "string"
                                    },
                                    "type": "array"
                                  },
                                  "thumbnailUrl": {
                                    "description": "Thumbnail or cover image URL.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "thumbnailUrl",
                                  "downloadUrl",
                                  "downloadWithoutWatermarkUrl"
                                ],
                                "type": "object"
                              },
                              "metrics": {
                                "description": "Engagement metrics for a trending post.",
                                "properties": {
                                  "comments": {
                                    "description": "Comment count.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "likes": {
                                    "description": "Like count.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "saves": {
                                    "description": "Save or collection count.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "shares": {
                                    "description": "Share count.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "views": {
                                    "description": "View count.",
                                    "minimum": 0,
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "views",
                                  "likes",
                                  "comments",
                                  "shares",
                                  "saves"
                                ],
                                "type": "object"
                              },
                              "video": {
                                "description": "Core identity and media type for a trending TikTok post.",
                                "properties": {
                                  "caption": {
                                    "description": "Caption text.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "createdAt": {
                                    "description": "ISO-8601 timestamp when the post was created.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "durationMs": {
                                    "description": "Duration in milliseconds when available.",
                                    "minimum": 0,
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  },
                                  "id": {
                                    "description": "TikTok post identifier.",
                                    "minLength": 1,
                                    "type": "string"
                                  },
                                  "isAd": {
                                    "description": "Whether TikTok marks the post as an ad.",
                                    "type": "boolean"
                                  },
                                  "mediaType": {
                                    "description": "Whether the post is a video or photo slideshow.",
                                    "enum": [
                                      "video",
                                      "slideshow"
                                    ],
                                    "type": "string"
                                  },
                                  "region": {
                                    "description": "Two-letter country code when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "url": {
                                    "description": "Canonical public TikTok URL for the post.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "id",
                                  "url",
                                  "caption",
                                  "createdAt",
                                  "durationMs",
                                  "mediaType",
                                  "isAd"
                                ],
                                "type": "object"
                              }
                            },
                            "required": [
                              "video",
                              "author",
                              "metrics",
                              "media"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "totalResults": {
                          "description": "Number of posts in data.items for this response.",
                          "minimum": 0,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "items",
                        "totalResults"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Trending TikTok posts for this request."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List TikTok trending feed",
        "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",
        "x-aisa-category": "social",
        "x-aisa-constraints": {
          "notes": [
            "Some numeric ids inside `details` are larger than 2^53 (9007199254740992) and may not be exact: digits beyond that precision can differ from the real id. When you need an exact id, use the top-level string ids (such as `id`) or the matching `*_str` string fields (for example `details.music.id_str`)."
          ]
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-feed-trending",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "9c906465606680662955e49442b844bf5ab5be870f54b978b7dba55b7beddfd2",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-26",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "items": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "author": {
                            "additionalProperties": true,
                            "properties": {
                              "avatarUrl": {
                                "type": [
                                  "null",
                                  "string"
                                ]
                              },
                              "handle": {
                                "type": "string"
                              },
                              "region": {
                                "type": "null"
                              },
                              "verified": {
                                "type": "boolean"
                              }
                            },
                            "type": "object"
                          },
                          "media": {
                            "additionalProperties": true,
                            "properties": {
                              "thumbnailUrl": {
                                "type": [
                                  "null",
                                  "string"
                                ]
                              }
                            },
                            "type": "object"
                          },
                          "video": {
                            "additionalProperties": true,
                            "properties": {
                              "createdAt": {
                                "type": "string"
                              },
                              "id": {
                                "type": "string"
                              },
                              "region": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.042,
          "estimate_source": "profile_seed",
          "maximum_units": 3
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:ea2aa34b54c42a52073ee563ab745bc7f966fa76195495780feb9eb904b9be9c",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.feed.trending",
          "path": "/apis/v1/tiktok/feed/trending"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/live": {
      "get": {
        "description": "Returns current room details and engagement counts for a TikTok live broadcast. `roomId` and `userId` come from the TikTok profile live operation while the creator is broadcasting. Required inputs: `roomId` and `userId`.\n\n> **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.live",
        "parameters": [
          {
            "in": "query",
            "name": "roomId",
            "required": true,
            "schema": {
              "description": "TikTok live room id, available from the profile live lookup when the creator is broadcasting.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "userId",
            "required": true,
            "schema": {
              "description": "TikTok numeric user id for the live owner, available from the profile live lookup.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "live": {
                      "coverUrl": "https://p16-webcast.tiktokcdn-us.com/webcast/cover.jpeg",
                      "likeCount": 4317,
                      "owner": {
                        "displayName": "JustAlex",
                        "handle": "thejustalex",
                        "platformUserId": "6742945285876515845"
                      },
                      "roomId": "7523685855395842871",
                      "status": "live",
                      "title": "6'13 Grateful Streamer",
                      "viewerCount": 268
                    },
                    "lookupStatus": "found"
                  },
                  "meta": {
                    "creditsCharged": 1,
                    "requestId": "req_tiktok_live_info_fixture",
                    "version": "v1"
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "live": {
                          "description": "Live room details when found; null when the room was not found.",
                          "properties": {
                            "coverUrl": {
                              "description": "Cover image URL for the live stream.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "likeCount": {
                              "description": "Like count reported for the live room.",
                              "minimum": 0,
                              "type": "integer"
                            },
                            "owner": {
                              "description": "Owner of the live room.",
                              "properties": {
                                "displayName": {
                                  "description": "Public display name shown on the TikTok profile.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "handle": {
                                  "description": "TikTok username of the live owner, without the leading @.",
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "platformUserId": {
                                  "description": "TikTok numeric user id for the live owner.",
                                  "minLength": 1,
                                  "type": "string"
                                }
                              },
                              "required": [
                                "platformUserId",
                                "handle",
                                "displayName"
                              ],
                              "type": "object"
                            },
                            "roomId": {
                              "description": "TikTok live room identifier.",
                              "minLength": 1,
                              "type": "string"
                            },
                            "status": {
                              "description": "Live room status reported by TikTok.",
                              "minLength": 1,
                              "type": "string"
                            },
                            "title": {
                              "description": "Live stream title when available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "viewerCount": {
                              "description": "Current viewer count reported for the live room.",
                              "minimum": 0,
                              "type": "integer"
                            }
                          },
                          "required": [
                            "roomId",
                            "likeCount",
                            "viewerCount",
                            "status",
                            "title",
                            "coverUrl",
                            "owner"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "lookupStatus": {
                          "description": "Whether the requested live room was found.",
                          "enum": [
                            "found",
                            "not_found"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "lookupStatus",
                        "live"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "TikTok live room info."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get TikTok live info",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-live",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "d217b7738d15faf7987bfbd3695d7c51c7d3ff7092b985637dbd08cc10484e3c",
          "state": "pending"
        },
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-28",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:5c66667dc19ec64b2014c268dfcb4314bddc06bd597665f1799a9c935a6e078f",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.live",
          "path": "/apis/v1/tiktok/live"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/music/{clipId}/videos": {
      "get": {
        "description": "Lists TikTok videos that use a specific music clip. Results are paged: while `data.page.hasMore` is true, send `data.page.nextCursor` as `cursor` to get the next page.\n\n> **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.music.clipId.videos",
        "parameters": [
          {
            "in": "path",
            "name": "clipId",
            "required": true,
            "schema": {
              "description": "TikTok music clip id whose videos should be listed.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "description": "Pagination cursor returned by a previous response.",
              "maxLength": 16384,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "empty": {
                    "value": {
                      "data": {
                        "clipId": "7439295283975702544",
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "videos": []
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_empty",
                        "version": "v1"
                      }
                    }
                  },
                  "first_page": {
                    "value": {
                      "data": {
                        "clipId": "7439295283975702544",
                        "page": {
                          "hasMore": true,
                          "nextCursor": "12"
                        },
                        "videos": [
                          {
                            "caption": "Example music clip video",
                            "createdAt": "2025-09-03T18:37:38.000Z",
                            "durationMs": 89131,
                            "id": "7470969622276164906",
                            "isAd": false,
                            "media": {
                              "downloadUrl": "https://example.com/video-watermarked.mp4",
                              "downloadWithoutWatermarkUrl": "https://example.com/video-no-watermark.mp4"
                            },
                            "pinned": false,
                            "stats": {
                              "comments": 152,
                              "likes": 18651,
                              "saves": 274,
                              "shares": 237,
                              "views": 141567
                            },
                            "thumbnailUrl": "https://example.com/video-cover.jpg",
                            "url": "https://www.tiktok.com/@example/video/7470969622276164906"
                          }
                        ]
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example",
                        "version": "v1"
                      }
                    }
                  },
                  "paginated": {
                    "value": {
                      "data": {
                        "clipId": "7439295283975702544",
                        "page": {
                          "hasMore": true,
                          "nextCursor": "24"
                        },
                        "videos": [
                          {
                            "caption": "Second page example video",
                            "createdAt": "2025-09-01T12:00:00.000Z",
                            "durationMs": 30250,
                            "id": "7470123456789012345",
                            "isAd": false,
                            "media": {
                              "downloadUrl": "https://example.com/video-page-2-watermarked.mp4",
                              "downloadWithoutWatermarkUrl": "https://example.com/video-page-2-no-watermark.mp4"
                            },
                            "pinned": false,
                            "stats": {
                              "comments": 48,
                              "likes": 731,
                              "saves": 19,
                              "shares": 12,
                              "views": 9021
                            },
                            "thumbnailUrl": "https://example.com/video-cover-page-2.jpg",
                            "url": "https://www.tiktok.com/@example/video/7470123456789012345"
                          }
                        ]
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_page_2",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "aisa_pagination": {
                      "additionalProperties": false,
                      "description": "AIsa pagination. Pass next_cursor as cursor to fetch the next page; has_more is false on the last page.",
                      "properties": {
                        "has_more": {
                          "type": "boolean"
                        },
                        "next_cursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_param": {
                          "const": "cursor",
                          "type": "string"
                        }
                      },
                      "required": [
                        "has_more",
                        "next_cursor",
                        "next_param"
                      ],
                      "type": "object"
                    },
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "clipId": {
                          "description": "Music clip id that was evaluated for this response.",
                          "type": "string"
                        },
                        "page": {
                          "description": "Pagination state for the current response.",
                          "properties": {
                            "hasMore": {
                              "description": "Whether another page of videos is available.",
                              "type": "boolean"
                            },
                            "nextCursor": {
                              "description": "Cursor to pass in the next request when more videos are available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "nextCursor",
                            "hasMore"
                          ],
                          "type": "object"
                        },
                        "videos": {
                          "description": "TikTok videos that use the requested music clip. An empty array can mean no public videos for this clip, or other cases—this route has no lookupStatus.",
                          "items": {
                            "description": "TikTok video.",
                            "properties": {
                              "caption": {
                                "description": "Caption text shown for the TikTok video.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "createdAt": {
                                "description": "ISO-8601 timestamp when the video was created, when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "details": {
                                "additionalProperties": {},
                                "description": "Additional TikTok-native fields for this video (for example author, music, challenges, and full `video` and `statistics` objects). Keys that only duplicate the top-level fields are omitted.",
                                "properties": {},
                                "type": "object"
                              },
                              "durationMs": {
                                "description": "Video duration in milliseconds, when available.",
                                "minimum": 0,
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "id": {
                                "description": "TikTok video identifier.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "isAd": {
                                "description": "Whether TikTok marks the video as an ad.",
                                "type": "boolean"
                              },
                              "media": {
                                "description": "Download-related media URLs for the video.",
                                "properties": {
                                  "downloadUrl": {
                                    "description": "Source-platform CDN download URL, usually with watermark, when available. It can expire or be rejected outside the original retrieval context; it is not an AIsa-hosted asset.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "downloadWithoutWatermarkUrl": {
                                    "description": "Source-platform CDN download URL without watermark when available. It can expire or be rejected outside the original retrieval context; it is not an AIsa-hosted asset. Preferred over the watermarked URL when both are present.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "downloadUrl",
                                  "downloadWithoutWatermarkUrl"
                                ],
                                "type": "object"
                              },
                              "pinned": {
                                "description": "Whether the video is pinned on the profile.",
                                "type": "boolean"
                              },
                              "stats": {
                                "description": "Engagement metrics for the video.",
                                "properties": {
                                  "comments": {
                                    "description": "Comment count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "likes": {
                                    "description": "Like count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "saves": {
                                    "description": "Save or collection count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "shares": {
                                    "description": "Share count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "views": {
                                    "description": "View count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "views",
                                  "likes",
                                  "comments",
                                  "shares",
                                  "saves"
                                ],
                                "type": "object"
                              },
                              "thumbnailUrl": {
                                "description": "Source-platform CDN thumbnail or cover URL when available. It can expire or be rejected outside the original retrieval context; it is not an AIsa-hosted asset.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "description": "Canonical public TikTok URL for the video.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "caption",
                              "createdAt",
                              "url",
                              "thumbnailUrl",
                              "durationMs",
                              "pinned",
                              "isAd",
                              "stats",
                              "media"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "clipId",
                        "videos",
                        "page"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "TikTok videos for the requested music clip.",
            "headers": {
              "X-AISA-Has-More": {
                "description": "Mirrors aisa_pagination.has_more.",
                "schema": {
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string"
                }
              },
              "X-AISA-Next-Cursor": {
                "description": "Mirrors aisa_pagination.next_cursor; absent on the last page.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List TikTok music videos",
        "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",
        "x-aisa-category": "social",
        "x-aisa-constraints": {
          "notes": [
            "Some numeric ids inside `details` are larger than 2^53 (9007199254740992) and may not be exact: digits beyond that precision can differ from the real id. When you need an exact id, use the top-level string ids (such as `id`) or the matching `*_str` string fields (for example `details.music.id_str`)."
          ]
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-music-clipId-videos",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "af3402e88884bd9608eb42b89d463e8d24278ad573dbb97399312a13674df5fa",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-pagination": {
          "ordering": "stable",
          "request": {
            "in": "query",
            "param": "cursor"
          },
          "style": "cursor"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:a856716268fbb944d83cdc4a7008d3055c4634601cf91b3ad973d97e8fab5a52",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.music.clipId.videos",
          "path": "/apis/v1/tiktok/music/{clipId}/videos"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/products": {
      "get": {
        "description": "Returns details for a TikTok Shop product by its public product page URL. Required input: `url`.\n\n> **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.products",
        "parameters": [
          {
            "in": "query",
            "name": "region",
            "required": false,
            "schema": {
              "description": "Optional country or region code for the product catalog. When omitted, the default catalog region applies.",
              "enum": [
                "BR",
                "DE",
                "ES",
                "FR",
                "GB",
                "ID",
                "IE",
                "IT",
                "JP",
                "MX",
                "MY",
                "PH",
                "SG",
                "TH",
                "US",
                "VN"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "url",
            "required": true,
            "schema": {
              "description": "Public TikTok Shop product detail page URL for the product to retrieve.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "minimal_keys": {
                    "value": {
                      "data": {
                        "product": {
                          "product_id": "1729587769570529799"
                        }
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_tiktok_product_sparse",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "product": {
                          "additionalProperties": {},
                          "description": "Product detail data from the catalog, when the product page could be resolved.",
                          "properties": {},
                          "type": "object"
                        }
                      },
                      "required": [
                        "product"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Product detail for the given product page URL."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get TikTok Shop product",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-products",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "671f957c9c2e6090912c7e03ce7126832ab64a106166500bd4418373a86aed9b",
          "state": "pending"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:c5dbb373349aa0d045d2897eca020549b39bf5a7ec0be6d624cc9a3247f097c7",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.products",
          "path": "/apis/v1/tiktok/products"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/products/reviews": {
      "get": {
        "description": "Lists buyer reviews for a TikTok Shop product. Provide `url` or `productId`. Results are paged: while `data.page.hasMore` is true, send `data.page.nextPage` as `page` to get the next page.\n\n> **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.products.reviews",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based review page number. Omit to request the first page.",
              "maximum": 9223372036854775807,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "productId",
            "required": false,
            "schema": {
              "description": "TikTok Shop product identifier. Provide this instead of `url` when you already know the product id.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "region",
            "required": false,
            "schema": {
              "description": "Optional country or region code for the product review catalog. When omitted, the default catalog region applies.",
              "enum": [
                "BR",
                "DE",
                "ES",
                "FR",
                "GB",
                "ID",
                "IE",
                "IT",
                "JP",
                "MX",
                "MY",
                "PH",
                "SG",
                "TH",
                "US",
                "VN"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "url",
            "required": false,
            "schema": {
              "description": "Public TikTok Shop product detail page URL for the product whose reviews should be listed.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "empty": {
                    "value": {
                      "data": {
                        "lookupStatus": "found",
                        "page": {
                          "currentPage": 1,
                          "hasMore": false,
                          "nextPage": null
                        },
                        "reviews": [],
                        "summary": {
                          "averageRating": null,
                          "ratingDistribution": {
                            "fiveStar": null,
                            "fourStar": null,
                            "oneStar": null,
                            "threeStar": null,
                            "twoStar": null
                          },
                          "totalReviews": 0
                        }
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_tiktok_product_reviews_empty",
                        "version": "v1"
                      }
                    }
                  },
                  "found": {
                    "value": {
                      "data": {
                        "lookupStatus": "found",
                        "page": {
                          "currentPage": 1,
                          "hasMore": true,
                          "nextPage": 2
                        },
                        "reviews": [
                          {
                            "country": "US",
                            "createdAt": "2026-03-28T14:53:23.817Z",
                            "id": "7622319630677198606",
                            "incentivized": false,
                            "media": {
                              "displayImageUrl": null,
                              "imageUrls": []
                            },
                            "productId": "1729587769570529799",
                            "rating": 5,
                            "reviewer": {
                              "avatarUrl": null,
                              "id": null,
                              "name": "T**🦋"
                            },
                            "skuId": null,
                            "text": "Flavor: Taste so good\nPerformance: Absolutely worked 100% never disappoint",
                            "variant": "Item: Default",
                            "verifiedPurchase": true
                          },
                          {
                            "country": "US",
                            "createdAt": "2025-11-09T22:18:30.235Z",
                            "id": "7570853413647599373",
                            "incentivized": false,
                            "media": {
                              "displayImageUrl": null,
                              "imageUrls": []
                            },
                            "productId": "1729587769570529799",
                            "rating": 5,
                            "reviewer": {
                              "avatarUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/6e50f48064599fca8dc2a7d63fe34aa4~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=66fc7d99&x-expires=1779174000&x-signature=gUlEkg1vTW9EnNjBOO84HMzEECo%3D&t=4d5b047…",
                              "id": "7144870759459030062",
                              "name": "clarissa"
                            },
                            "skuId": null,
                            "text": "Weight loss. Better moods. Less anxiety\nTaste: Yummy",
                            "variant": "Item: Default",
                            "verifiedPurchase": true
                          },
                          {
                            "country": "US",
                            "createdAt": "2025-04-10T23:40:35.453Z",
                            "id": "7491833552251209514",
                            "incentivized": false,
                            "media": {
                              "displayImageUrl": null,
                              "imageUrls": []
                            },
                            "productId": "1729587769570529799",
                            "rating": 5,
                            "reviewer": {
                              "avatarUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/7329734418737758214~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=2257665a&x-expires=1779174000&x-signature=8xF%2Bvt4RK75ZK9k146NBSGfl46I%3D&t=4d5b0474&ps=13740610&sh…",
                              "id": "7020797926936282117",
                              "name": "Adam Raybuck"
                            },
                            "skuId": null,
                            "text": "Taste great and really helps with high stress situations",
                            "variant": "Item: Default",
                            "verifiedPurchase": true
                          }
                        ],
                        "summary": {
                          "averageRating": 4.8,
                          "ratingDistribution": {
                            "fiveStar": null,
                            "fourStar": null,
                            "oneStar": null,
                            "threeStar": null,
                            "twoStar": null
                          },
                          "totalReviews": 58896
                        }
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_6df340a0-92e9-4243-83ac-b109576d8c65",
                        "version": "v1"
                      }
                    }
                  },
                  "not_found": {
                    "value": {
                      "data": {
                        "lookupStatus": "not_found",
                        "page": {
                          "currentPage": 1,
                          "hasMore": false,
                          "nextPage": null
                        },
                        "reviews": [],
                        "summary": {
                          "averageRating": null,
                          "ratingDistribution": {
                            "fiveStar": null,
                            "fourStar": null,
                            "oneStar": null,
                            "threeStar": null,
                            "twoStar": null
                          },
                          "totalReviews": null
                        }
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_tiktok_product_reviews_not_found",
                        "version": "v1"
                      }
                    }
                  },
                  "sparse": {
                    "value": {
                      "data": {
                        "lookupStatus": "found",
                        "page": {
                          "currentPage": 2,
                          "hasMore": true,
                          "nextPage": 3
                        },
                        "reviews": [
                          {
                            "country": "US",
                            "createdAt": "2025-12-20T10:00:00.000Z",
                            "id": "7620000000000000001",
                            "incentivized": null,
                            "media": {
                              "displayImageUrl": null,
                              "imageUrls": []
                            },
                            "productId": "1731578642912612516",
                            "rating": 4,
                            "reviewer": {
                              "avatarUrl": null,
                              "id": null,
                              "name": "A**1"
                            },
                            "skuId": null,
                            "text": "Good.",
                            "variant": "Item: Default",
                            "verifiedPurchase": true
                          }
                        ],
                        "summary": {
                          "averageRating": 4.4,
                          "ratingDistribution": {
                            "fiveStar": 20,
                            "fourStar": 10,
                            "oneStar": 2,
                            "threeStar": 5,
                            "twoStar": 1
                          },
                          "totalReviews": 100
                        }
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_tiktok_product_reviews_sparse",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "aisa_pagination": {
                      "additionalProperties": false,
                      "description": "AIsa pagination. Pass next_cursor as page to fetch the next page; has_more is false on the last page.",
                      "properties": {
                        "has_more": {
                          "type": "boolean"
                        },
                        "next_cursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_param": {
                          "const": "page",
                          "type": "string"
                        }
                      },
                      "required": [
                        "has_more",
                        "next_cursor",
                        "next_param"
                      ],
                      "type": "object"
                    },
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "lookupStatus": {
                          "description": "Whether the product could be resolved for this request.",
                          "enum": [
                            "found",
                            "not_found"
                          ],
                          "type": "string"
                        },
                        "page": {
                          "description": "Pagination information for the current response.",
                          "properties": {
                            "currentPage": {
                              "description": "1-based page number for this response.",
                              "minimum": 1,
                              "type": "integer"
                            },
                            "hasMore": {
                              "description": "Whether another page of reviews is available.",
                              "type": "boolean"
                            },
                            "nextPage": {
                              "description": "Next page number to request when more pages are available; otherwise null.",
                              "minimum": 1,
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "currentPage",
                            "nextPage",
                            "hasMore"
                          ],
                          "type": "object"
                        },
                        "reviews": {
                          "description": "Customer reviews for the product on this page.",
                          "items": {
                            "description": "A single customer review for a TikTok Shop product.",
                            "properties": {
                              "country": {
                                "description": "Country code associated with the review, when available.",
                                "minLength": 1,
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "createdAt": {
                                "description": "ISO-8601 timestamp for when the review was posted, when available.",
                                "minLength": 1,
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "id": {
                                "description": "Stable id for the review when available.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "incentivized": {
                                "description": "Whether the review is marked as incentivized, when available.",
                                "type": [
                                  "boolean",
                                  "null"
                                ]
                              },
                              "media": {
                                "description": "Media attached to a review.",
                                "properties": {
                                  "displayImageUrl": {
                                    "description": "Primary image attached to the review, when available.",
                                    "minLength": 1,
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "imageUrls": {
                                    "description": "Additional image URLs for the review when available.",
                                    "items": {
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    "type": "array"
                                  }
                                },
                                "required": [
                                  "displayImageUrl",
                                  "imageUrls"
                                ],
                                "type": "object"
                              },
                              "productId": {
                                "description": "TikTok Shop product id for this review.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "rating": {
                                "description": "Star rating for the review (1-5).",
                                "maximum": 5,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "reviewer": {
                                "description": "Reviewer display information.",
                                "properties": {
                                  "avatarUrl": {
                                    "description": "Profile image URL when available.",
                                    "minLength": 1,
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "id": {
                                    "description": "Reviewer id when available.",
                                    "minLength": 1,
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "name": {
                                    "description": "Display name when available.",
                                    "minLength": 1,
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "id",
                                  "name",
                                  "avatarUrl"
                                ],
                                "type": "object"
                              },
                              "skuId": {
                                "description": "Sku id for the purchased variant, when available.",
                                "minLength": 1,
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "text": {
                                "description": "Review body text, when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "variant": {
                                "description": "Human-readable label for the purchased variant, when available.",
                                "minLength": 1,
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "verifiedPurchase": {
                                "description": "Whether the review is from a verified purchase, when available.",
                                "type": [
                                  "boolean",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "productId",
                              "skuId",
                              "rating",
                              "text",
                              "createdAt",
                              "verifiedPurchase",
                              "incentivized",
                              "reviewer",
                              "media",
                              "variant",
                              "country"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "summary": {
                          "description": "Summary statistics for the product review set.",
                          "properties": {
                            "averageRating": {
                              "description": "Average star rating, when available.",
                              "minimum": 0,
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "ratingDistribution": {
                              "description": "Breakdown of reviews by star rating, when available.",
                              "properties": {
                                "fiveStar": {
                                  "description": "Count of 5-star ratings, when available.",
                                  "minimum": 0,
                                  "type": [
                                    "integer",
                                    "null"
                                  ]
                                },
                                "fourStar": {
                                  "description": "Count of 4-star ratings, when available.",
                                  "minimum": 0,
                                  "type": [
                                    "integer",
                                    "null"
                                  ]
                                },
                                "oneStar": {
                                  "description": "Count of 1-star ratings, when available.",
                                  "minimum": 0,
                                  "type": [
                                    "integer",
                                    "null"
                                  ]
                                },
                                "threeStar": {
                                  "description": "Count of 3-star ratings, when available.",
                                  "minimum": 0,
                                  "type": [
                                    "integer",
                                    "null"
                                  ]
                                },
                                "twoStar": {
                                  "description": "Count of 2-star ratings, when available.",
                                  "minimum": 0,
                                  "type": [
                                    "integer",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "oneStar",
                                "twoStar",
                                "threeStar",
                                "fourStar",
                                "fiveStar"
                              ],
                              "type": "object"
                            },
                            "totalReviews": {
                              "description": "Total number of reviews reported for the product, when available.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "totalReviews",
                            "averageRating",
                            "ratingDistribution"
                          ],
                          "type": "object"
                        }
                      },
                      "required": [
                        "lookupStatus",
                        "reviews",
                        "summary",
                        "page"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Product reviews for the requested page.",
            "headers": {
              "X-AISA-Has-More": {
                "description": "Mirrors aisa_pagination.has_more.",
                "schema": {
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string"
                }
              },
              "X-AISA-Next-Cursor": {
                "description": "Mirrors aisa_pagination.next_cursor; absent on the last page.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List TikTok Shop product reviews",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-products-reviews",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "c48a5e544fbefc3793e3eff4fefc270f6d14f9e1072a9da4e196e9f37177e710",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-28",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "aisa_pagination": {
                  "additionalProperties": true,
                  "properties": {
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_cursor": {
                      "type": "string"
                    },
                    "next_param": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "page": {
                      "additionalProperties": true,
                      "properties": {
                        "hasMore": {
                          "type": "boolean"
                        },
                        "nextPage": {
                          "type": "integer"
                        }
                      },
                      "type": "object"
                    },
                    "reviews": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "country": {
                            "type": "string"
                          },
                          "createdAt": {
                            "type": "string"
                          },
                          "id": {
                            "type": "string"
                          },
                          "media": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "productId": {
                            "type": "string"
                          },
                          "rating": {
                            "type": "integer"
                          },
                          "text": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "summary": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pagination": {
          "ordering": "stable",
          "request": {
            "in": "query",
            "param": "page"
          },
          "style": "page"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:e0321391024af73ceae8e64c271d1b8b30e443b71bf07d0ced8ce83d4cf58278",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.products.reviews",
          "path": "/apis/v1/tiktok/products/reviews"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/profiles/{handle}": {
      "get": {
        "description": "Returns a TikTok profile by handle.\n\n> **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.profiles.handle",
        "parameters": [
          {
            "in": "path",
            "name": "handle",
            "required": true,
            "schema": {
              "description": "TikTok handle to look up, with or without a leading @.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "found": {
                    "value": {
                      "data": {
                        "lookupStatus": "found",
                        "metrics": {
                          "diggs": 0,
                          "followers": 127352270,
                          "following": 351,
                          "friends": 284,
                          "likes": 1301821757,
                          "posts": 459
                        },
                        "profile": {
                          "accountCreatedAt": "2018-10-20T19:26:16.000Z",
                          "avatarUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/1e2348ca19d394037718e3b1d3fc2958~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=cdf6dfe4&x-expires=1779174000&x-signature=liMf49rM%2BUnnJKotaUekFP7R%2FG8%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8",
                          "avatarUrls": {
                            "large": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/1e2348ca19d394037718e3b1d3fc2958~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=cdf6dfe4&x-expires=1779174000&x-signature=liMf49rM%2BUnnJKotaUekFP7R%2FG8%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8",
                            "medium": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/1e2348ca19d394037718e3b1d3fc2958~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=4edc9ce5&x-expires=1779174000&x-signature=v9fiXRXxMMANfuIDJh%2F5hYhFT1I%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=f20df69d&idc=useast8",
                            "thumb": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/1e2348ca19d394037718e3b1d3fc2958~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=c270ff9c&x-expires=1779174000&x-signature=QWZp42JeOZBr4ypwFniWPXV9D%2Fo%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=f20df69d&idc=useast8"
                          },
                          "bio": "Watch my latest video! 👇",
                          "bioLink": {
                            "riskLevel": 0,
                            "url": "https://youtu.be/zRtGL0-5rg4"
                          },
                          "canExpandPlaylist": true,
                          "contentSettings": {
                            "comment": 0,
                            "download": 0,
                            "duet": 0,
                            "stitch": 0
                          },
                          "displayName": "MrBeast",
                          "followingVisibility": 2,
                          "handle": "mrbeast",
                          "isAdVirtual": false,
                          "isCommerceUser": false,
                          "isEmbedBanned": false,
                          "isSeller": false,
                          "language": "en",
                          "openFavorite": false,
                          "platform": "tiktok",
                          "platformUserId": "6614519312189947909",
                          "privateAccount": false,
                          "profileEmbedPermission": 1,
                          "profileTabs": {
                            "showMusicTab": false,
                            "showPlayListTab": true,
                            "showQuestionTab": false
                          },
                          "profileUrl": "https://www.tiktok.com/@mrbeast",
                          "secUid": "MS4wLjABAAAABKjQkOz_IIzXXzEAl_9LGsWhvK-gBnlczwRPXK8EmxAp6K3X0qiaP5_OEqmm0XwG",
                          "verified": true
                        }
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_f05c55ed-d134-4f26-9c23-8a49df4810ba",
                        "version": "v1"
                      }
                    }
                  },
                  "not_found": {
                    "value": {
                      "data": {
                        "lookupStatus": "not_found",
                        "metrics": null,
                        "profile": null
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example",
                        "version": "v1"
                      }
                    }
                  },
                  "private": {
                    "value": {
                      "data": {
                        "lookupStatus": "private",
                        "metrics": {
                          "followers": 24,
                          "following": 1046,
                          "likes": 751,
                          "posts": 0
                        },
                        "profile": {
                          "avatarUrl": "https://example.com/avatar.jpg",
                          "bio": null,
                          "displayName": "Example",
                          "handle": "redfanta_",
                          "platform": "tiktok",
                          "privateAccount": true,
                          "profileUrl": "https://www.tiktok.com/@redfanta_",
                          "verified": false
                        }
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "lookupStatus": {
                          "description": "Whether the profile was resolved.",
                          "enum": [
                            "found",
                            "private",
                            "not_found"
                          ],
                          "type": "string"
                        },
                        "metrics": {
                          "description": "Profile metrics when available.",
                          "properties": {
                            "diggs": {
                              "description": "Profile digg count when TikTok reports it (often zero).",
                              "minimum": 0,
                              "type": "integer"
                            },
                            "followers": {
                              "description": "Total follower count reported by TikTok.",
                              "minimum": 0,
                              "type": "integer"
                            },
                            "following": {
                              "description": "Total following count reported by TikTok.",
                              "minimum": 0,
                              "type": "integer"
                            },
                            "friends": {
                              "description": "Mutual friend count when TikTok reports it.",
                              "minimum": 0,
                              "type": "integer"
                            },
                            "likes": {
                              "description": "Total profile likes reported by TikTok.",
                              "minimum": 0,
                              "type": "integer"
                            },
                            "posts": {
                              "description": "Total public posts or videos reported by TikTok.",
                              "minimum": 0,
                              "type": "integer"
                            }
                          },
                          "required": [
                            "followers",
                            "following",
                            "likes",
                            "posts"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "profile": {
                          "description": "Profile details when available.",
                          "properties": {
                            "accountCreatedAt": {
                              "description": "Account creation time (ISO-8601) when provided.",
                              "format": "date-time",
                              "type": "string"
                            },
                            "accountCreatedAtUnix": {
                              "description": "Timestamp returned by AIsa.",
                              "type": "integer"
                            },
                            "avatarUrl": {
                              "description": "Best available avatar image URL for the profile.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "avatarUrls": {
                              "description": "Avatar URLs at multiple resolutions when available.",
                              "properties": {
                                "large": {
                                  "description": "Large avatar URL (typically 1080px class).",
                                  "type": "string"
                                },
                                "medium": {
                                  "description": "Medium avatar URL (typically 720px class).",
                                  "type": "string"
                                },
                                "thumb": {
                                  "description": "Thumbnail avatar URL (typically 100px class).",
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "bio": {
                              "description": "Profile biography text.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "bioLink": {
                              "description": "Profile link-in-bio when TikTok provides it.",
                              "properties": {
                                "riskLevel": {
                                  "description": "TikTok-assigned link risk indicator (vendor-defined).",
                                  "type": "integer"
                                },
                                "url": {
                                  "description": "Destination URL for the profile link.",
                                  "minLength": 1,
                                  "type": "string"
                                }
                              },
                              "required": [
                                "url",
                                "riskLevel"
                              ],
                              "type": "object"
                            },
                            "canExpandPlaylist": {
                              "description": "Whether playlist expansion is allowed for this profile.",
                              "type": "boolean"
                            },
                            "contentSettings": {
                              "description": "Comment, duet, stitch, and download settings from TikTok.",
                              "properties": {
                                "comment": {
                                  "description": "TikTok comment-setting code (vendor-defined).",
                                  "type": "integer"
                                },
                                "download": {
                                  "description": "TikTok download-setting code (vendor-defined).",
                                  "type": "integer"
                                },
                                "duet": {
                                  "description": "TikTok duet-setting code (vendor-defined).",
                                  "type": "integer"
                                },
                                "stitch": {
                                  "description": "TikTok stitch-setting code (vendor-defined).",
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "comment",
                                "duet",
                                "stitch",
                                "download"
                              ],
                              "type": "object"
                            },
                            "displayName": {
                              "description": "Public display name shown on the TikTok profile.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "followingVisibility": {
                              "description": "Who can see accounts this user follows (TikTok vendor-defined code).",
                              "type": "integer"
                            },
                            "handle": {
                              "description": "TikTok username without the leading @.",
                              "type": "string"
                            },
                            "isAdVirtual": {
                              "description": "Whether TikTok flags the profile as an AD virtual account.",
                              "type": "boolean"
                            },
                            "isCommerceUser": {
                              "description": "Whether TikTok marks the account as a commerce/creator shop user.",
                              "type": "boolean"
                            },
                            "isEmbedBanned": {
                              "description": "Whether embeds are disallowed for this profile.",
                              "type": "boolean"
                            },
                            "isSeller": {
                              "description": "Whether TikTok marks the account as a TikTok Shop seller.",
                              "type": "boolean"
                            },
                            "language": {
                              "description": "Profile language code reported by TikTok.",
                              "type": "string"
                            },
                            "openFavorite": {
                              "description": "Whether the user’s liked-videos list is public.",
                              "type": "boolean"
                            },
                            "platform": {
                              "description": "Social platform for this profile.",
                              "enum": [
                                "tiktok"
                              ],
                              "type": "string"
                            },
                            "platformUserId": {
                              "description": "TikTok numeric user id as a string (stable within TikTok).",
                              "type": "string"
                            },
                            "privateAccount": {
                              "description": "Whether the TikTok account is private.",
                              "type": "boolean"
                            },
                            "profileEmbedPermission": {
                              "description": "TikTok profile embed permission code (vendor-defined).",
                              "type": "integer"
                            },
                            "profileTabs": {
                              "description": "Which profile tabs TikTok exposes.",
                              "properties": {
                                "showMusicTab": {
                                  "description": "Whether the Music tab is shown on the profile.",
                                  "type": "boolean"
                                },
                                "showPlayListTab": {
                                  "description": "Whether the playlist tab is shown on the profile.",
                                  "type": "boolean"
                                },
                                "showQuestionTab": {
                                  "description": "Whether the Q&A tab is shown on the profile.",
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "showMusicTab",
                                "showQuestionTab",
                                "showPlayListTab"
                              ],
                              "type": "object"
                            },
                            "profileUrl": {
                              "description": "Canonical public TikTok profile URL.",
                              "minLength": 1,
                              "type": "string"
                            },
                            "roomId": {
                              "description": "Live room id when TikTok provides a non-empty value.",
                              "type": "string"
                            },
                            "secUid": {
                              "description": "TikTok opaque stable user identifier (for advanced integrations).",
                              "type": "string"
                            },
                            "verified": {
                              "description": "Whether TikTok marks the profile as verified.",
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "platform",
                            "handle",
                            "displayName",
                            "bio",
                            "avatarUrl",
                            "verified",
                            "profileUrl"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "lookupStatus",
                        "profile",
                        "metrics"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "TikTok profile lookup result."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get TikTok profile",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-profiles-handle",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "0d35e08de0349886b298156c3a380b0e529263042dc028f45bca9da7b21fab51",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-28",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "profile": {
                      "additionalProperties": true,
                      "properties": {
                        "avatarUrl": {
                          "type": "string"
                        },
                        "displayName": {
                          "type": "string"
                        },
                        "handle": {
                          "type": "string"
                        },
                        "language": {
                          "type": "string"
                        },
                        "profileUrl": {
                          "type": "string"
                        },
                        "verified": {
                          "type": "boolean"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:496248e9a25b83dc32afc29aaaf9e328aba3605cab2069b8cb0557b208fbbc60",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.profiles.handle",
          "path": "/apis/v1/tiktok/profiles/{handle}"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/profiles/{handle}/audience": {
      "get": {
        "description": "Returns audience location demographics for a TikTok profile by handle.\n\n> **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.profiles.handle.audience",
        "parameters": [
          {
            "in": "path",
            "name": "handle",
            "required": true,
            "schema": {
              "description": "TikTok handle to look up, with or without a leading @.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "found": {
                    "value": {
                      "data": {
                        "audienceLocations": [
                          {
                            "count": 18,
                            "country": "United States",
                            "countryCode": "US",
                            "percentage": "6.00%"
                          },
                          {
                            "count": 16,
                            "country": "Bangladesh",
                            "countryCode": "BD",
                            "percentage": "5.33%"
                          },
                          {
                            "count": 14,
                            "country": "Algeria",
                            "countryCode": "DZ",
                            "percentage": "4.67%"
                          },
                          {
                            "count": 12,
                            "country": "Brazil",
                            "countryCode": "BR",
                            "percentage": "4.00%"
                          },
                          {
                            "count": 10,
                            "country": "Nigeria",
                            "countryCode": "NG",
                            "percentage": "3.33%"
                          }
                        ],
                        "lookupStatus": "found",
                        "profile": {
                          "handle": "shakira",
                          "platform": "tiktok",
                          "profileUrl": "https://www.tiktok.com/@shakira"
                        }
                      },
                      "meta": {
                        "creditsCharged": 30,
                        "requestId": "req_01example",
                        "version": "v1"
                      }
                    }
                  },
                  "not_found": {
                    "value": {
                      "data": {
                        "audienceLocations": null,
                        "lookupStatus": "not_found",
                        "profile": null
                      },
                      "meta": {
                        "creditsCharged": 30,
                        "requestId": "req_01example_nf",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "audienceLocations": {
                          "description": "Country-level audience breakdown when available. Null when the profile could not be resolved.",
                          "items": {
                            "description": "One country row in the audience location breakdown.",
                            "properties": {
                              "count": {
                                "description": "Audience count reported for this country.",
                                "minimum": 0,
                                "type": "integer"
                              },
                              "country": {
                                "description": "Country name for this audience segment.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "countryCode": {
                                "description": "ISO country code for this audience segment.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "percentage": {
                                "description": "Share of the audience for this country, as a percentage string (for example \"15.96%\").",
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "country",
                              "countryCode",
                              "count",
                              "percentage"
                            ],
                            "type": "object"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "lookupStatus": {
                          "description": "Whether audience demographics could be resolved for the handle.",
                          "enum": [
                            "found",
                            "not_found"
                          ],
                          "type": "string"
                        },
                        "profile": {
                          "description": "Profile identity when the lookup resolved.",
                          "properties": {
                            "handle": {
                              "description": "TikTok username without the leading @.",
                              "type": "string"
                            },
                            "platform": {
                              "description": "Social platform for this profile.",
                              "enum": [
                                "tiktok"
                              ],
                              "type": "string"
                            },
                            "profileUrl": {
                              "description": "Canonical public TikTok profile URL.",
                              "minLength": 1,
                              "type": "string"
                            }
                          },
                          "required": [
                            "platform",
                            "handle",
                            "profileUrl"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "lookupStatus",
                        "profile",
                        "audienceLocations"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "TikTok profile audience demographics."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get TikTok profile audience",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-profiles-handle-audience",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "0d35e08de0349886b298156c3a380b0e529263042dc028f45bca9da7b21fab51",
          "state": "pending"
        },
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-23",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "profile": {
                      "additionalProperties": true,
                      "properties": {
                        "handle": {
                          "type": "string"
                        },
                        "profileUrl": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.42,
          "estimate_source": "profile_seed",
          "maximum_units": 30
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:b18152dfd02267ae70f704873fbbe647175f59af36457cd171a29fb2c6b4ffd0",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.profiles.handle.audience",
          "path": "/apis/v1/tiktok/profiles/{handle}/audience"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/profiles/{handle}/engagement": {
      "get": {
        "description": "Returns an engagement audit of a TikTok profile's recent videos: engagement metrics, per-video counts, sample coverage and, when available, a generated summary.\n\n> **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.profiles.handle.engagement",
        "parameters": [
          {
            "in": "path",
            "name": "handle",
            "required": true,
            "schema": {
              "description": "TikTok handle to look up, with or without a leading @.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "found": {
                    "value": {
                      "data": {
                        "canCalculateEngagement": true,
                        "dataFreshnessNote": "Based on recent videos from 2024-01-01.",
                        "formulaDescription": "Engagement rate = (likes + comments + shares) ÷ followers × 100, averaged across recent videos with visible counts.",
                        "insight": {
                          "apiUseCaseTeaser": "Run this audit across a creator shortlist automatically with the Social Fetch API.",
                          "contentPatternObservations": [
                            "The best-performing video nearly doubled the account average."
                          ],
                          "engagementAssessment": "Average engagement rate sits at 4.25%, within the moderate band for a 10k-follower account.",
                          "headlineInsight": "Engagement is moderate for an account this size, driven by one standout video.",
                          "recommendedExperiments": [
                            "Post at the same time of day as the top video.",
                            "Test a similar hook on the next three uploads.",
                            "Track whether comment-to-like ratio improves with a call-to-action."
                          ],
                          "risksAndCaveats": [
                            "Only two recent videos had visible counts — treat this as directional."
                          ]
                        },
                        "lookupStatus": "found",
                        "metrics": {
                          "averageCommentsPerVideo": 40,
                          "averageEngagementRatePercent": 4.25,
                          "averageLikesPerVideo": 350,
                          "averageSharesPerVideo": 35,
                          "averageViewsPerVideo": 40000,
                          "bestVideoId": "1",
                          "commentToLikeRatio": 0.11,
                          "engagementVolatilityPercent": 12.5,
                          "followers": 10000,
                          "medianEngagementRatePercent": 4.25,
                          "qualityLabel": "moderate",
                          "qualityLabelNote": null,
                          "worstVideoId": "2"
                        },
                        "profile": {
                          "avatarUrl": "https://example.com/avatar.jpg",
                          "bio": "Making things.",
                          "displayName": "Creator",
                          "handle": "creator",
                          "privateAccount": false,
                          "profileUrl": "https://www.tiktok.com/@creator",
                          "verified": false
                        },
                        "sampleCoverage": {
                          "skippedReasons": {
                            "missingComments": 0,
                            "missingLikes": 0,
                            "missingMultiple": 0,
                            "missingShares": 0
                          },
                          "skippedVideos": 0,
                          "totalRecentVideos": 2,
                          "usableVideos": 2
                        },
                        "videos": [
                          {
                            "caption": "Example caption",
                            "commentCount": 50,
                            "createdAt": "2024-01-01T00:00:00.000Z",
                            "engagementRatePercent": 5,
                            "id": "1",
                            "isOutlierHigh": true,
                            "isOutlierLow": false,
                            "likeCount": 400,
                            "pinned": false,
                            "saveCount": 10,
                            "shareCount": 50,
                            "skipReason": null,
                            "videoUrl": "https://www.tiktok.com/@creator/video/1",
                            "viewCount": 50000
                          }
                        ]
                      },
                      "meta": {
                        "creditsCharged": 5,
                        "requestId": "req_01example",
                        "version": "v1"
                      }
                    }
                  },
                  "not_found": {
                    "value": {
                      "data": {
                        "canCalculateEngagement": false,
                        "dataFreshnessNote": null,
                        "formulaDescription": "Engagement rate = (likes + comments + shares) ÷ followers × 100, averaged across recent videos with visible counts.",
                        "insight": null,
                        "lookupStatus": "not_found",
                        "metrics": {
                          "averageCommentsPerVideo": null,
                          "averageEngagementRatePercent": null,
                          "averageLikesPerVideo": null,
                          "averageSharesPerVideo": null,
                          "averageViewsPerVideo": null,
                          "bestVideoId": null,
                          "commentToLikeRatio": null,
                          "engagementVolatilityPercent": null,
                          "followers": null,
                          "medianEngagementRatePercent": null,
                          "qualityLabel": null,
                          "qualityLabelNote": null,
                          "worstVideoId": null
                        },
                        "profile": null,
                        "sampleCoverage": {
                          "skippedReasons": {
                            "missingComments": 0,
                            "missingLikes": 0,
                            "missingMultiple": 0,
                            "missingShares": 0
                          },
                          "skippedVideos": 0,
                          "totalRecentVideos": 0,
                          "usableVideos": 0
                        },
                        "videos": []
                      },
                      "meta": {
                        "creditsCharged": 5,
                        "requestId": "req_01example_not_found",
                        "version": "v1"
                      }
                    }
                  },
                  "private": {
                    "value": {
                      "data": {
                        "canCalculateEngagement": false,
                        "dataFreshnessNote": null,
                        "formulaDescription": "Engagement rate = (likes + comments + shares) ÷ followers × 100, averaged across recent videos with visible counts.",
                        "insight": null,
                        "lookupStatus": "private",
                        "metrics": {
                          "averageCommentsPerVideo": null,
                          "averageEngagementRatePercent": null,
                          "averageLikesPerVideo": null,
                          "averageSharesPerVideo": null,
                          "averageViewsPerVideo": null,
                          "bestVideoId": null,
                          "commentToLikeRatio": null,
                          "engagementVolatilityPercent": null,
                          "followers": 500,
                          "medianEngagementRatePercent": null,
                          "qualityLabel": null,
                          "qualityLabelNote": "Public engagement cannot be calculated for private accounts.",
                          "worstVideoId": null
                        },
                        "profile": {
                          "avatarUrl": null,
                          "bio": null,
                          "displayName": null,
                          "handle": "privateuser",
                          "privateAccount": true,
                          "profileUrl": "https://www.tiktok.com/@privateuser",
                          "verified": false
                        },
                        "sampleCoverage": {
                          "skippedReasons": {
                            "missingComments": 0,
                            "missingLikes": 0,
                            "missingMultiple": 0,
                            "missingShares": 0
                          },
                          "skippedVideos": 0,
                          "totalRecentVideos": 0,
                          "usableVideos": 0
                        },
                        "videos": []
                      },
                      "meta": {
                        "creditsCharged": 5,
                        "requestId": "req_01example_private",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "canCalculateEngagement": {
                          "type": "boolean"
                        },
                        "dataFreshnessNote": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "formulaDescription": {
                          "type": "string"
                        },
                        "insight": {
                          "description": "Best-effort AI-generated narrative over the audit. Null when generation was unavailable or failed — never blocks or fails the request.",
                          "properties": {
                            "apiUseCaseTeaser": {
                              "type": "string"
                            },
                            "contentPatternObservations": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "engagementAssessment": {
                              "type": "string"
                            },
                            "headlineInsight": {
                              "type": "string"
                            },
                            "recommendedExperiments": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "risksAndCaveats": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            }
                          },
                          "required": [
                            "headlineInsight",
                            "engagementAssessment",
                            "contentPatternObservations",
                            "risksAndCaveats",
                            "recommendedExperiments",
                            "apiUseCaseTeaser"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "lookupStatus": {
                          "description": "Whether the profile was resolved. Engagement cannot be calculated for private or not-found profiles.",
                          "enum": [
                            "found",
                            "private",
                            "not_found"
                          ],
                          "type": "string"
                        },
                        "metrics": {
                          "properties": {
                            "averageCommentsPerVideo": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "averageEngagementRatePercent": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "averageLikesPerVideo": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "averageSharesPerVideo": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "averageViewsPerVideo": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "bestVideoId": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "commentToLikeRatio": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "engagementVolatilityPercent": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "followers": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "medianEngagementRatePercent": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "qualityLabel": {
                              "description": "Rough directional band by follower size — not an industry benchmark.",
                              "enum": [
                                "excellent",
                                "strong",
                                "moderate",
                                "low",
                                "directional",
                                null
                              ],
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "qualityLabelNote": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "worstVideoId": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "followers",
                            "averageEngagementRatePercent",
                            "medianEngagementRatePercent",
                            "averageLikesPerVideo",
                            "averageCommentsPerVideo",
                            "averageSharesPerVideo",
                            "averageViewsPerVideo",
                            "commentToLikeRatio",
                            "engagementVolatilityPercent",
                            "bestVideoId",
                            "worstVideoId",
                            "qualityLabel",
                            "qualityLabelNote"
                          ],
                          "type": "object"
                        },
                        "profile": {
                          "properties": {
                            "avatarUrl": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "bio": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "displayName": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "handle": {
                              "type": "string"
                            },
                            "privateAccount": {
                              "type": "boolean"
                            },
                            "profileUrl": {
                              "type": "string"
                            },
                            "verified": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "handle",
                            "displayName",
                            "bio",
                            "avatarUrl",
                            "verified",
                            "profileUrl",
                            "privateAccount"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "sampleCoverage": {
                          "description": "How many of the recent videos had usable engagement counts.",
                          "properties": {
                            "skippedReasons": {
                              "properties": {
                                "missingComments": {
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "missingLikes": {
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "missingMultiple": {
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "missingShares": {
                                  "minimum": 0,
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "missingLikes",
                                "missingComments",
                                "missingShares",
                                "missingMultiple"
                              ],
                              "type": "object"
                            },
                            "skippedVideos": {
                              "minimum": 0,
                              "type": "integer"
                            },
                            "totalRecentVideos": {
                              "minimum": 0,
                              "type": "integer"
                            },
                            "usableVideos": {
                              "minimum": 0,
                              "type": "integer"
                            }
                          },
                          "required": [
                            "totalRecentVideos",
                            "usableVideos",
                            "skippedVideos",
                            "skippedReasons"
                          ],
                          "type": "object"
                        },
                        "videos": {
                          "items": {
                            "description": "One recent video's engagement contribution to the audit.",
                            "properties": {
                              "caption": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "commentCount": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "createdAt": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "engagementRatePercent": {
                                "description": "(likes + comments + shares) / followers * 100.",
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "id": {
                                "type": "string"
                              },
                              "isOutlierHigh": {
                                "type": "boolean"
                              },
                              "isOutlierLow": {
                                "type": "boolean"
                              },
                              "likeCount": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "pinned": {
                                "type": "boolean"
                              },
                              "saveCount": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "shareCount": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "skipReason": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "videoUrl": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "viewCount": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "caption",
                              "createdAt",
                              "likeCount",
                              "commentCount",
                              "shareCount",
                              "saveCount",
                              "viewCount",
                              "engagementRatePercent",
                              "isOutlierHigh",
                              "isOutlierLow",
                              "skipReason",
                              "videoUrl",
                              "pinned"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "lookupStatus",
                        "canCalculateEngagement",
                        "profile",
                        "metrics",
                        "videos",
                        "sampleCoverage",
                        "formulaDescription",
                        "dataFreshnessNote",
                        "insight"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Engagement-rate audit computed from recent videos."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get TikTok profile engagement audit",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-profiles-handle-engagement",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "0d35e08de0349886b298156c3a380b0e529263042dc028f45bca9da7b21fab51",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "slow",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-28",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "profile": {
                      "additionalProperties": true,
                      "properties": {
                        "avatarUrl": {
                          "type": "string"
                        },
                        "displayName": {
                          "type": "string"
                        },
                        "handle": {
                          "type": "string"
                        },
                        "profileUrl": {
                          "type": "string"
                        },
                        "verified": {
                          "type": "boolean"
                        }
                      },
                      "type": "object"
                    },
                    "videos": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "createdAt": {
                            "type": "string"
                          },
                          "id": {
                            "type": "string"
                          },
                          "likeCount": {
                            "type": "integer"
                          },
                          "shareCount": {
                            "type": "integer"
                          },
                          "videoUrl": {
                            "type": "string"
                          },
                          "viewCount": {
                            "type": "integer"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.07,
          "estimate_source": "profile_seed",
          "maximum_units": 5
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:6d073a13b4a94b87b5e04f65c73149f2965df6efbc883535369d0e0526e572ed",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.profiles.handle.engagement",
          "path": "/apis/v1/tiktok/profiles/{handle}/engagement"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/profiles/{handle}/followers": {
      "get": {
        "description": "Lists followers of a TikTok profile by handle. Results are paged: while `data.page.hasMore` is true, send `data.page.nextCursor` as `cursor` to get the next page.\n\n> **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.profiles.handle.followers",
        "parameters": [
          {
            "in": "path",
            "name": "handle",
            "required": true,
            "schema": {
              "description": "TikTok handle whose followers should be listed.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "description": "Pagination cursor returned by a previous response.",
              "maxLength": 16384,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "trim",
            "required": false,
            "schema": {
              "description": "Optional flag for a smaller response with fewer fields.",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "userId",
            "required": false,
            "schema": {
              "description": "Optional TikTok user id to speed up the request.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "empty": {
                    "value": {
                      "data": {
                        "followers": [],
                        "lookupStatus": "found",
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "totalFollowers": 0
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_followers_empty",
                        "version": "v1"
                      }
                    }
                  },
                  "first_page": {
                    "value": {
                      "data": {
                        "followers": [
                          {
                            "avatarUrl": "https://p16-pu-no.tiktokcdn-eu.com/tos-no1a-avt-0068c001-no/5e1cb895c26c2444bacc407a5b3d9ce3~tplv-tiktokx-cropcenter-q:300:300:q75.webp",
                            "avatarUrls": {
                              "large": "https://p16-pu-no.tiktokcdn-eu.com/tos-no1a-avt-0068c001-no/5e1cb895c26c2444bacc407a5b3d9ce3~tplv-tiktokx-cropcenter-q:1080:1080:q75.webp",
                              "medium": "https://p16-pu-no.tiktokcdn-eu.com/tos-no1a-avt-0068c001-no/5e1cb895c26c2444bacc407a5b3d9ce3~tplv-tiktokx-cropcenter-q:720:720:q75.webp",
                              "thumb": "https://p16-pu-no.tiktokcdn-eu.com/tos-no1a-avt-0068c001-no/5e1cb895c26c2444bacc407a5b3d9ce3~tplv-tiktokx-cropcenter-q:100:100:q75.webp"
                            },
                            "bio": "",
                            "displayName": "Jamal Voyage",
                            "handle": "jamal.voyage",
                            "metrics": {
                              "followers": 0,
                              "following": 5
                            },
                            "platformUserId": "7463232156317287456",
                            "privateAccount": false,
                            "secUid": "MS4wLjABAAAAUleysic3f_A1ewqwn-lVlTHezlxxDcEt7X1Py0ohks-CzQ6qjHcZIhb1gtVNL4fy",
                            "verified": false
                          }
                        ],
                        "lookupStatus": "found",
                        "page": {
                          "hasMore": true,
                          "nextCursor": "1779246345"
                        },
                        "totalFollowers": 4691921
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_followers_page_1",
                        "version": "v1"
                      }
                    }
                  },
                  "hidden": {
                    "value": {
                      "data": {
                        "followers": [],
                        "lookupStatus": "hidden",
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "totalFollowers": null
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_followers_hidden",
                        "version": "v1"
                      }
                    }
                  },
                  "not_found": {
                    "value": {
                      "data": {
                        "followers": [],
                        "lookupStatus": "not_found",
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "totalFollowers": null
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_followers_not_found",
                        "version": "v1"
                      }
                    }
                  },
                  "paginated": {
                    "value": {
                      "data": {
                        "followers": [
                          {
                            "avatarUrl": "https://p16-pu-no.tiktokcdn-eu.com/tos-no1a-avt-0068c001-no/5e1cb895c26c2444bacc407a5b3d9ce3~tplv-tiktokx-cropcenter-q:300:300:q75.webp",
                            "avatarUrls": {
                              "large": "https://p16-pu-no.tiktokcdn-eu.com/tos-no1a-avt-0068c001-no/5e1cb895c26c2444bacc407a5b3d9ce3~tplv-tiktokx-cropcenter-q:1080:1080:q75.webp",
                              "medium": "https://p16-pu-no.tiktokcdn-eu.com/tos-no1a-avt-0068c001-no/5e1cb895c26c2444bacc407a5b3d9ce3~tplv-tiktokx-cropcenter-q:720:720:q75.webp",
                              "thumb": "https://p16-pu-no.tiktokcdn-eu.com/tos-no1a-avt-0068c001-no/5e1cb895c26c2444bacc407a5b3d9ce3~tplv-tiktokx-cropcenter-q:100:100:q75.webp"
                            },
                            "bio": "",
                            "displayName": "Page Two Follower",
                            "handle": "example.follower.page2",
                            "metrics": {
                              "followers": 0,
                              "following": 5
                            },
                            "platformUserId": "7463232156317287456",
                            "privateAccount": false,
                            "secUid": "MS4wLjABAAAAUleysic3f_A1ewqwn-lVlTHezlxxDcEt7X1Py0ohks-CzQ6qjHcZIhb1gtVNL4fy",
                            "verified": false
                          }
                        ],
                        "lookupStatus": "found",
                        "page": {
                          "hasMore": true,
                          "nextCursor": "1779240839"
                        },
                        "totalFollowers": 4691922
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_followers_page_2",
                        "version": "v1"
                      }
                    }
                  },
                  "private": {
                    "value": {
                      "data": {
                        "followers": [],
                        "lookupStatus": "private",
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "totalFollowers": null
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_followers_private",
                        "version": "v1"
                      }
                    }
                  },
                  "trimmed": {
                    "value": {
                      "data": {
                        "followers": [
                          {
                            "avatarUrl": "https://p16-pu-no.tiktokcdn-eu.com/tos-no1a-avt-0068c001-no/5e1cb895c26c2444bacc407a5b3d9ce3~tplv-tiktokx-cropcenter-q:300:300:q75.webp",
                            "bio": "",
                            "displayName": "Jamal Voyage",
                            "handle": "jamal.voyage",
                            "metrics": {
                              "followers": 0,
                              "following": 5
                            },
                            "privateAccount": false,
                            "verified": false
                          }
                        ],
                        "lookupStatus": "found",
                        "page": {
                          "hasMore": true,
                          "nextCursor": "1779246412"
                        },
                        "totalFollowers": 4691922
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_followers_trimmed",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "aisa_pagination": {
                      "additionalProperties": false,
                      "description": "AIsa pagination. Pass next_cursor as cursor to fetch the next page; has_more is false on the last page.",
                      "properties": {
                        "has_more": {
                          "type": "boolean"
                        },
                        "next_cursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_param": {
                          "const": "cursor",
                          "type": "string"
                        }
                      },
                      "required": [
                        "has_more",
                        "next_cursor",
                        "next_param"
                      ],
                      "type": "object"
                    },
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "followers": {
                          "description": "Followers for the requested profile page.",
                          "items": {
                            "description": "A TikTok user in the requested profile's follower list.",
                            "properties": {
                              "avatarUrl": {
                                "description": "Best available profile image URL when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "avatarUrls": {
                                "description": "Avatar URLs at multiple resolutions when available.",
                                "properties": {
                                  "large": {
                                    "description": "Large avatar URL when available.",
                                    "type": "string"
                                  },
                                  "medium": {
                                    "description": "Medium avatar URL when available.",
                                    "type": "string"
                                  },
                                  "thumb": {
                                    "description": "Thumbnail avatar URL when available.",
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "bio": {
                                "description": "Profile biography text when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "displayName": {
                                "description": "Display name shown on the follower profile.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "handle": {
                                "description": "Public TikTok username without a leading @.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "metrics": {
                                "description": "Follower and following counts for this account.",
                                "properties": {
                                  "followers": {
                                    "description": "Follower count reported for this account.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "following": {
                                    "description": "Following count reported for this account.",
                                    "minimum": 0,
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "followers",
                                  "following"
                                ],
                                "type": "object"
                              },
                              "platformUserId": {
                                "description": "Numeric user id for the follower when available.",
                                "type": "string"
                              },
                              "privateAccount": {
                                "description": "Whether the follower account is private.",
                                "type": "boolean"
                              },
                              "secUid": {
                                "description": "Opaque stable user identifier when available.",
                                "type": "string"
                              },
                              "verified": {
                                "description": "Whether TikTok marks the follower as verified.",
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "handle",
                              "displayName",
                              "avatarUrl",
                              "bio",
                              "verified",
                              "privateAccount",
                              "metrics"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "lookupStatus": {
                          "description": "Whether followers could be listed for this handle.",
                          "enum": [
                            "found",
                            "hidden",
                            "private",
                            "not_found"
                          ],
                          "type": "string"
                        },
                        "page": {
                          "description": "Pagination state for the current response.",
                          "properties": {
                            "hasMore": {
                              "description": "Whether another page of followers is available.",
                              "type": "boolean"
                            },
                            "nextCursor": {
                              "description": "Cursor to pass in the next request when more followers are available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "nextCursor",
                            "hasMore"
                          ],
                          "type": "object"
                        },
                        "totalFollowers": {
                          "description": "Total follower count for the requested profile when available.",
                          "minimum": 0,
                          "type": [
                            "integer",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "lookupStatus",
                        "followers",
                        "page",
                        "totalFollowers"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "TikTok followers for the requested profile.",
            "headers": {
              "X-AISA-Has-More": {
                "description": "Mirrors aisa_pagination.has_more.",
                "schema": {
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string"
                }
              },
              "X-AISA-Next-Cursor": {
                "description": "Mirrors aisa_pagination.next_cursor; absent on the last page.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List TikTok profile followers",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-profiles-handle-followers",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "4eb297ceb5ca98a25be4ae8131872e00fa78ead0f5ba3ebec9b291a8d02c355d",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-21",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "aisa_pagination": {
                  "additionalProperties": true,
                  "properties": {
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_cursor": {
                      "type": "string"
                    },
                    "next_param": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "followers": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "avatarUrl": {
                            "type": "string"
                          },
                          "displayName": {
                            "type": "string"
                          },
                          "handle": {
                            "type": "string"
                          },
                          "verified": {
                            "type": "boolean"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "page": {
                      "additionalProperties": true,
                      "properties": {
                        "hasMore": {
                          "type": "boolean"
                        },
                        "nextCursor": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pagination": {
          "ordering": "stable",
          "request": {
            "in": "query",
            "param": "cursor"
          },
          "style": "cursor"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:cffc6b1ab3620e2dcfe16cea8f310855c7f85828ae4f389e66c74220ebf5e3b1",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.profiles.handle.followers",
          "path": "/apis/v1/tiktok/profiles/{handle}/followers"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/profiles/{handle}/following": {
      "get": {
        "description": "Lists accounts followed by a TikTok profile by handle. Results are paged: while `data.page.hasMore` is true, send `data.page.nextCursor` as `cursor` to get the next page.\n\n> **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.profiles.handle.following",
        "parameters": [
          {
            "in": "path",
            "name": "handle",
            "required": true,
            "schema": {
              "description": "TikTok handle whose following list should be listed.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "description": "Pagination cursor returned by a previous response.",
              "maxLength": 16384,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "trim",
            "required": false,
            "schema": {
              "description": "Optional flag for a smaller response with fewer fields.",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "empty": {
                    "value": {
                      "data": {
                        "accounts": [],
                        "lookupStatus": "found",
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "totalAccounts": 0
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_following_empty",
                        "version": "v1"
                      }
                    }
                  },
                  "first_page": {
                    "value": {
                      "data": {
                        "accounts": [
                          {
                            "accountCreatedAt": "2020-01-15T12:00:00.000Z",
                            "avatarUrl": "https://example.com/avatar.jpg",
                            "bio": "Example bio",
                            "displayName": "Example Creator",
                            "handle": "examplecreator",
                            "metrics": {
                              "followers": 10000,
                              "following": 200,
                              "posts": 50
                            },
                            "platformUserId": "1234567890",
                            "profileUrl": "https://www.tiktok.com/@examplecreator",
                            "verified": false
                          }
                        ],
                        "lookupStatus": "found",
                        "page": {
                          "hasMore": true,
                          "nextCursor": "1742744536"
                        },
                        "totalAccounts": 95
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_following_page_1",
                        "version": "v1"
                      }
                    }
                  },
                  "hidden": {
                    "value": {
                      "data": {
                        "accounts": [],
                        "lookupStatus": "hidden",
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "totalAccounts": null
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_following_hidden",
                        "version": "v1"
                      }
                    }
                  },
                  "not_found": {
                    "value": {
                      "data": {
                        "accounts": [],
                        "lookupStatus": "not_found",
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "totalAccounts": null
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_following_not_found",
                        "version": "v1"
                      }
                    }
                  },
                  "paginated": {
                    "value": {
                      "data": {
                        "accounts": [
                          {
                            "accountCreatedAt": "2020-01-15T12:00:00.000Z",
                            "avatarUrl": "https://example.com/avatar.jpg",
                            "bio": "Example bio",
                            "displayName": "Page Two Creator",
                            "handle": "page2creator",
                            "metrics": {
                              "followers": 10000,
                              "following": 200,
                              "posts": 50
                            },
                            "platformUserId": "1234567890",
                            "profileUrl": "https://www.tiktok.com/@page2creator",
                            "verified": false
                          }
                        ],
                        "lookupStatus": "found",
                        "page": {
                          "hasMore": true,
                          "nextCursor": "1694975417"
                        },
                        "totalAccounts": 95
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_following_page_2",
                        "version": "v1"
                      }
                    }
                  },
                  "private": {
                    "value": {
                      "data": {
                        "accounts": [],
                        "lookupStatus": "private",
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "totalAccounts": null
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_following_private",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "aisa_pagination": {
                      "additionalProperties": false,
                      "description": "AIsa pagination. Pass next_cursor as cursor to fetch the next page; has_more is false on the last page.",
                      "properties": {
                        "has_more": {
                          "type": "boolean"
                        },
                        "next_cursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_param": {
                          "const": "cursor",
                          "type": "string"
                        }
                      },
                      "required": [
                        "has_more",
                        "next_cursor",
                        "next_param"
                      ],
                      "type": "object"
                    },
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "accounts": {
                          "description": "Accounts followed by the requested TikTok profile on this page.",
                          "items": {
                            "description": "TikTok account returned in a profile following list.",
                            "properties": {
                              "accountCreatedAt": {
                                "description": "Account creation time (ISO-8601) when provided.",
                                "format": "date-time",
                                "type": "string"
                              },
                              "accountCreatedAtUnix": {
                                "description": "Timestamp returned by AIsa.",
                                "type": "integer"
                              },
                              "avatarUrl": {
                                "description": "Best available avatar image URL for the account.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "bio": {
                                "description": "Profile biography text.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "details": {
                                "additionalProperties": {},
                                "description": "Additional TikTok-native fields for this account that were not mapped into canonical fields.",
                                "properties": {},
                                "type": "object"
                              },
                              "displayName": {
                                "description": "Public display name shown on the TikTok profile.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "handle": {
                                "description": "TikTok username without the leading @.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "language": {
                                "description": "Language code reported by TikTok, when available.",
                                "type": "string"
                              },
                              "metrics": {
                                "description": "Aggregate metrics for the account.",
                                "properties": {
                                  "followers": {
                                    "description": "Follower count reported by TikTok for the account.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "following": {
                                    "description": "Following count reported by TikTok for the account.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "posts": {
                                    "description": "Public post or video count reported by TikTok for the account.",
                                    "minimum": 0,
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "followers",
                                  "following",
                                  "posts"
                                ],
                                "type": "object"
                              },
                              "platformUserId": {
                                "description": "TikTok numeric user id as a string, when available.",
                                "type": "string"
                              },
                              "privateAccount": {
                                "description": "Whether TikTok marks the account as private.",
                                "type": "boolean"
                              },
                              "profileUrl": {
                                "description": "Canonical public TikTok profile URL.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "region": {
                                "description": "Region code reported by TikTok, when available.",
                                "type": "string"
                              },
                              "secUid": {
                                "description": "TikTok opaque stable user identifier, when available.",
                                "type": "string"
                              },
                              "verified": {
                                "description": "Whether TikTok marks the account as verified.",
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "handle",
                              "displayName",
                              "bio",
                              "avatarUrl",
                              "profileUrl",
                              "verified",
                              "metrics"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "lookupStatus": {
                          "description": "Whether following could be listed for this handle.",
                          "enum": [
                            "found",
                            "hidden",
                            "private",
                            "not_found"
                          ],
                          "type": "string"
                        },
                        "page": {
                          "description": "Pagination state for the current response.",
                          "properties": {
                            "hasMore": {
                              "description": "Whether another page of accounts is available.",
                              "type": "boolean"
                            },
                            "nextCursor": {
                              "description": "Cursor to pass in the next request when more accounts are available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "nextCursor",
                            "hasMore"
                          ],
                          "type": "object"
                        },
                        "totalAccounts": {
                          "description": "Total following count reported by TikTok when available.",
                          "minimum": 0,
                          "type": [
                            "integer",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "lookupStatus",
                        "accounts",
                        "page",
                        "totalAccounts"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Accounts followed by the requested TikTok profile.",
            "headers": {
              "X-AISA-Has-More": {
                "description": "Mirrors aisa_pagination.has_more.",
                "schema": {
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string"
                }
              },
              "X-AISA-Next-Cursor": {
                "description": "Mirrors aisa_pagination.next_cursor; absent on the last page.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List TikTok profile following",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-profiles-handle-following",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "491da76d74fa43fece6e4b2e672cc7fb9c680fb7e1943763dcdf1d05614fbc05",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-21",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "aisa_pagination": {
                  "additionalProperties": true,
                  "properties": {
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_cursor": {
                      "type": "null"
                    },
                    "next_param": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "page": {
                      "additionalProperties": true,
                      "properties": {
                        "hasMore": {
                          "type": "boolean"
                        },
                        "nextCursor": {
                          "type": "null"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pagination": {
          "ordering": "stable",
          "request": {
            "in": "query",
            "param": "cursor"
          },
          "style": "cursor"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:9d65bcd4b38bb43b7dfe30415d992930fa59f6c047c63cc4e33d9a61077fe734",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.profiles.handle.following",
          "path": "/apis/v1/tiktok/profiles/{handle}/following"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/profiles/{handle}/live": {
      "get": {
        "description": "Checks whether a TikTok creator is currently live by handle.\n\n> **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.profiles.handle.live",
        "parameters": [
          {
            "in": "path",
            "name": "handle",
            "required": true,
            "schema": {
              "description": "TikTok handle to look up, with or without a leading @.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "live": {
                    "value": {
                      "data": {
                        "live": null,
                        "liveStatus": "offline",
                        "lookupStatus": "found",
                        "profile": {
                          "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/3c81ab843a1b82b5c6c2cd84366b23ed~tplv-tiktokx-cropcenter:1080:1080.webp?dr=9640&refresh_token=306e7550&x-expires=1779174000&x-signature=s%2FEdsPqTt9IgWGZU1bjfANmFBHE%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast5",
                          "bio": "หยกรีวิวทู้กกกอย่างงง🥰",
                          "displayName": "Jade-pk",
                          "followerCount": 1659,
                          "followingCount": 218,
                          "handle": "jade_pk6",
                          "platform": "tiktok",
                          "platformUserId": "75123320319",
                          "profileUrl": "https://www.tiktok.com/@jade_pk6",
                          "secUid": "MS4wLjABAAAA5e21vOQS6YrPEGPIWqgYUeQka7Pz8suMFMmKmNAdHAI",
                          "verified": false
                        }
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_98301289-bc4d-4cfc-86ae-837e6342d4f4",
                        "version": "v1"
                      }
                    }
                  },
                  "not_found": {
                    "value": {
                      "data": {
                        "live": null,
                        "liveStatus": null,
                        "lookupStatus": "not_found",
                        "profile": null
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_nf",
                        "version": "v1"
                      }
                    }
                  },
                  "offline": {
                    "value": {
                      "data": {
                        "live": null,
                        "liveStatus": "offline",
                        "lookupStatus": "found",
                        "profile": {
                          "avatarUrl": "https://example.com/avatar.jpg",
                          "bio": "หยกรีวิวทู้กกกอย่างงง🥰",
                          "displayName": "Jade-pk",
                          "followerCount": 1657,
                          "followingCount": 217,
                          "handle": "jade_pk6",
                          "platform": "tiktok",
                          "platformUserId": "75123320319",
                          "profileUrl": "https://www.tiktok.com/@jade_pk6",
                          "secUid": "MS4wLjABAAAAexample",
                          "verified": false
                        }
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_offline",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "live": {
                          "description": "Live broadcast details when `liveStatus` is `live`. Null when not live or when the profile could not be resolved.",
                          "properties": {
                            "coverUrl": {
                              "description": "Cover image URL for the live stream when available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "enterCount": {
                              "description": "Cumulative enters reported by TikTok for this live room.",
                              "minimum": 0,
                              "type": "integer"
                            },
                            "roomId": {
                              "description": "TikTok live room identifier for the current broadcast.",
                              "minLength": 1,
                              "type": "string"
                            },
                            "startedAt": {
                              "description": "ISO-8601 timestamp when the live stream started, when TikTok provides a valid start time.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "streamId": {
                              "description": "TikTok stream identifier when TikTok provides one.",
                              "type": "string"
                            },
                            "streams": {
                              "description": "Flattened playback variants for the live stream.",
                              "items": {
                                "description": "A single live stream playback variant.",
                                "properties": {
                                  "bitrate": {
                                    "description": "Target bitrate in bits per second when TikTok reports it.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "cmafUrl": {
                                    "description": "CMAF playback URL when TikTok provides one.",
                                    "type": "string"
                                  },
                                  "codecFamily": {
                                    "description": "Video codec family for this variant.",
                                    "enum": [
                                      "h264",
                                      "h265"
                                    ],
                                    "type": "string"
                                  },
                                  "flvUrl": {
                                    "description": "FLV playback URL when TikTok provides one.",
                                    "type": "string"
                                  },
                                  "hlsUrl": {
                                    "description": "HLS playback URL when TikTok provides one.",
                                    "type": "string"
                                  },
                                  "qualityKey": {
                                    "description": "Stable quality key for this stream variant.",
                                    "minLength": 1,
                                    "type": "string"
                                  },
                                  "qualityLabel": {
                                    "description": "Human-readable quality label when TikTok provides one.",
                                    "type": "string"
                                  },
                                  "resolution": {
                                    "description": "Video resolution string when TikTok reports it.",
                                    "type": "string"
                                  },
                                  "source": {
                                    "description": "Which stream bundle this variant came from (standard vs alternate encoding).",
                                    "enum": [
                                      "primary",
                                      "hevc"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "codecFamily",
                                  "source",
                                  "qualityKey"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "title": {
                              "description": "Live stream title when TikTok provides one.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "viewerCount": {
                              "description": "Approximate concurrent viewers reported by TikTok.",
                              "minimum": 0,
                              "type": "integer"
                            }
                          },
                          "required": [
                            "roomId",
                            "title",
                            "coverUrl",
                            "startedAt",
                            "viewerCount",
                            "enterCount",
                            "streams"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "liveStatus": {
                          "description": "When `lookupStatus` is `found`, whether the profile is `live` or `offline`. Null when the profile could not be resolved.",
                          "enum": [
                            "live",
                            "offline",
                            null
                          ],
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "lookupStatus": {
                          "description": "Whether a TikTok profile identity could be resolved for the handle.",
                          "enum": [
                            "found",
                            "not_found"
                          ],
                          "type": "string"
                        },
                        "profile": {
                          "description": "Profile identity when the lookup resolved.",
                          "properties": {
                            "avatarUrl": {
                              "description": "Best available avatar image URL for the profile.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "bio": {
                              "description": "Profile biography text when TikTok provides it.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "displayName": {
                              "description": "Public display name shown on the TikTok profile.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "followerCount": {
                              "description": "Follower count reported by TikTok when available.",
                              "minimum": 0,
                              "type": "integer"
                            },
                            "followingCount": {
                              "description": "Following count reported by TikTok when available.",
                              "minimum": 0,
                              "type": "integer"
                            },
                            "handle": {
                              "description": "TikTok username without the leading @.",
                              "type": "string"
                            },
                            "platform": {
                              "description": "Social platform for this profile.",
                              "enum": [
                                "tiktok"
                              ],
                              "type": "string"
                            },
                            "platformUserId": {
                              "description": "TikTok numeric user id as a string (stable within TikTok).",
                              "type": "string"
                            },
                            "profileUrl": {
                              "description": "Canonical public TikTok profile URL.",
                              "minLength": 1,
                              "type": "string"
                            },
                            "secUid": {
                              "description": "TikTok opaque stable user identifier (for advanced integrations).",
                              "type": "string"
                            },
                            "verified": {
                              "description": "Whether TikTok marks the profile as verified.",
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "platform",
                            "handle",
                            "displayName",
                            "avatarUrl",
                            "verified",
                            "profileUrl"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "lookupStatus",
                        "liveStatus",
                        "profile",
                        "live"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "TikTok profile live status."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get TikTok live stream",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-profiles-handle-live",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "0d35e08de0349886b298156c3a380b0e529263042dc028f45bca9da7b21fab51",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-28",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "profile": {
                      "additionalProperties": true,
                      "properties": {
                        "avatarUrl": {
                          "type": "string"
                        },
                        "displayName": {
                          "type": "string"
                        },
                        "followerCount": {
                          "type": "integer"
                        },
                        "followingCount": {
                          "type": "integer"
                        },
                        "handle": {
                          "type": "string"
                        },
                        "profileUrl": {
                          "type": "string"
                        },
                        "verified": {
                          "type": "boolean"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:9a62592ce30080a328503e0b12f628e657d09caf95b2c40e40fe8a6d00c2134f",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.profiles.handle.live",
          "path": "/apis/v1/tiktok/profiles/{handle}/live"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/profiles/{handle}/region": {
      "get": {
        "description": "Returns the region code reported for a TikTok profile by handle.\n\n> **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.profiles.handle.region",
        "parameters": [
          {
            "in": "path",
            "name": "handle",
            "required": true,
            "schema": {
              "description": "TikTok handle to look up, with or without a leading @.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "found": {
                    "value": {
                      "data": {
                        "lookupStatus": "found",
                        "profile": {
                          "handle": "stoolpresidente",
                          "platform": "tiktok",
                          "profileUrl": "https://www.tiktok.com/@stoolpresidente"
                        },
                        "region": "US"
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example",
                        "version": "v1"
                      }
                    }
                  },
                  "not_found": {
                    "value": {
                      "data": {
                        "lookupStatus": "not_found",
                        "profile": null,
                        "region": null
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_nf",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "lookupStatus": {
                          "description": "Whether a TikTok profile could be resolved for the handle.",
                          "enum": [
                            "found",
                            "not_found"
                          ],
                          "type": "string"
                        },
                        "profile": {
                          "description": "Profile identity when the lookup resolved.",
                          "properties": {
                            "handle": {
                              "description": "TikTok username without the leading @.",
                              "type": "string"
                            },
                            "platform": {
                              "description": "Social platform for this profile.",
                              "enum": [
                                "tiktok"
                              ],
                              "type": "string"
                            },
                            "profileUrl": {
                              "description": "Canonical public TikTok profile URL.",
                              "minLength": 1,
                              "type": "string"
                            }
                          },
                          "required": [
                            "platform",
                            "handle",
                            "profileUrl"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "region": {
                          "description": "Country or region code reported for the profile when available. Null when the profile could not be resolved.",
                          "minLength": 1,
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "lookupStatus",
                        "profile",
                        "region"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "TikTok profile region."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get TikTok profile region",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-profiles-handle-region",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "0d35e08de0349886b298156c3a380b0e529263042dc028f45bca9da7b21fab51",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-20",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "profile": {
                      "additionalProperties": true,
                      "properties": {
                        "handle": {
                          "type": "string"
                        },
                        "profileUrl": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "region": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:239632500a02334d0937f6b97a19588cb6f202703b7caf90cf617f94a646b198",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.profiles.handle.region",
          "path": "/apis/v1/tiktok/profiles/{handle}/region"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/profiles/{handle}/showcase-products": {
      "get": {
        "description": "Lists products featured on a creator's TikTok showcase by handle. Results are paged: while `data.page.hasMore` is true, send `data.page.nextCursor` as `cursor` to get the next page.\n\n> **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.profiles.handle.showcase-products",
        "parameters": [
          {
            "in": "path",
            "name": "handle",
            "required": true,
            "schema": {
              "description": "TikTok handle whose profile showcase products should be listed.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "description": "Pagination cursor returned by a previous response.",
              "maxLength": 16384,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "region",
            "required": false,
            "schema": {
              "description": "Optional ISO 3166-1 country code for the request.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "empty": {
                    "value": {
                      "data": {
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "products": []
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example",
                        "version": "v1"
                      }
                    }
                  },
                  "first_page": {
                    "value": {
                      "data": {
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "products": []
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_66b6cca2-7d33-4c26-ad86-7699695f1e44",
                        "version": "v1"
                      }
                    }
                  },
                  "paginated": {
                    "value": {
                      "data": {
                        "page": {
                          "hasMore": true,
                          "nextCursor": "eyJwcm9kdWN0SWRzIjpbIjI5In0"
                        },
                        "products": [
                          {
                            "id": "1731414247972311160",
                            "image": {
                              "height": 500,
                              "url": "https://example.com/page2-cover.webp",
                              "urls": [
                                "https://example.com/page2-cover.webp"
                              ],
                              "width": 500
                            },
                            "price": {
                              "currencyCode": "USD",
                              "currencySymbol": "$",
                              "discountPercent": "48%",
                              "originalPrice": "19",
                              "salePrice": "9.9"
                            },
                            "rating": {
                              "reviewCount": 3507,
                              "score": 4.5
                            },
                            "sales": {
                              "soldCount": 49056
                            },
                            "seller": {
                              "id": "7496252928214665336"
                            },
                            "title": "Example page-two product",
                            "url": "https://www.tiktok.com/shop/pdp/1731414247972311160"
                          }
                        ]
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_page_2",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "aisa_pagination": {
                      "additionalProperties": false,
                      "description": "AIsa pagination. Pass next_cursor as cursor to fetch the next page; has_more is false on the last page.",
                      "properties": {
                        "has_more": {
                          "type": "boolean"
                        },
                        "next_cursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_param": {
                          "const": "cursor",
                          "type": "string"
                        }
                      },
                      "required": [
                        "has_more",
                        "next_cursor",
                        "next_param"
                      ],
                      "type": "object"
                    },
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "page": {
                          "description": "Pagination state for the current response.",
                          "properties": {
                            "hasMore": {
                              "description": "Whether another page of products is available.",
                              "type": "boolean"
                            },
                            "nextCursor": {
                              "description": "Cursor to pass in the next request when more products are available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "nextCursor",
                            "hasMore"
                          ],
                          "type": "object"
                        },
                        "products": {
                          "description": "Products shown on the TikTok profile showcase for this page. An empty array can mean no showcased products, a private account, or other cases—call the TikTok profile endpoint first when you need explicit account status.",
                          "items": {
                            "description": "A TikTok Shop product shown on a profile showcase.",
                            "properties": {
                              "details": {
                                "additionalProperties": {},
                                "description": "Additional TikTok-native fields for this product that were not mapped into canonical fields.",
                                "properties": {},
                                "type": "object"
                              },
                              "id": {
                                "description": "Product identifier.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "image": {
                                "description": "Primary image metadata.",
                                "properties": {
                                  "height": {
                                    "description": "Image height in pixels when available.",
                                    "minimum": 0,
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  },
                                  "url": {
                                    "description": "Primary image URL for the product.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "urls": {
                                    "description": "Image URLs for the product in preference order.",
                                    "items": {
                                      "type": "string"
                                    },
                                    "type": "array"
                                  },
                                  "width": {
                                    "description": "Image width in pixels when available.",
                                    "minimum": 0,
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "url",
                                  "urls",
                                  "width",
                                  "height"
                                ],
                                "type": [
                                  "object",
                                  "null"
                                ]
                              },
                              "price": {
                                "description": "Price details when TikTok provides them.",
                                "properties": {
                                  "currencyCode": {
                                    "description": "Currency code for displayed prices.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "currencySymbol": {
                                    "description": "Currency symbol for displayed prices.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "discountPercent": {
                                    "description": "Discount amount as shown by TikTok (often a percentage string).",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "originalPrice": {
                                    "description": "Original price before discounts as a decimal string.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "salePrice": {
                                    "description": "Current sale price as a decimal string.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "currencyCode",
                                  "currencySymbol",
                                  "salePrice",
                                  "originalPrice",
                                  "discountPercent"
                                ],
                                "type": [
                                  "object",
                                  "null"
                                ]
                              },
                              "rating": {
                                "description": "Rating summary when TikTok provides it.",
                                "properties": {
                                  "reviewCount": {
                                    "description": "Review count reported by TikTok.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "score": {
                                    "description": "Average rating score when TikTok reports one.",
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "score",
                                  "reviewCount"
                                ],
                                "type": [
                                  "object",
                                  "null"
                                ]
                              },
                              "sales": {
                                "description": "Sales counts reported by TikTok.",
                                "properties": {
                                  "soldCount": {
                                    "description": "Sold units reported by TikTok.",
                                    "minimum": 0,
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "soldCount"
                                ],
                                "type": "object"
                              },
                              "seller": {
                                "description": "Seller metadata when TikTok provides it.",
                                "properties": {
                                  "id": {
                                    "description": "Seller identifier.",
                                    "minLength": 1,
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id"
                                ],
                                "type": [
                                  "object",
                                  "null"
                                ]
                              },
                              "title": {
                                "description": "Product title shown on TikTok Shop.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "description": "Canonical TikTok Shop URL for the product.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "title",
                              "url",
                              "image",
                              "price",
                              "rating",
                              "sales",
                              "seller"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "products",
                        "page"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Showcase products for the requested TikTok profile.",
            "headers": {
              "X-AISA-Has-More": {
                "description": "Mirrors aisa_pagination.has_more.",
                "schema": {
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string"
                }
              },
              "X-AISA-Next-Cursor": {
                "description": "Mirrors aisa_pagination.next_cursor; absent on the last page.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List TikTok profile showcase products",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-profiles-handle-showcase-products",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "8d18802e2659528f092adc9b0314a0be868d3bdad8bc1e3c3cba42a9c67b1dd7",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-28",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "aisa_pagination": {
                  "additionalProperties": true,
                  "properties": {
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_cursor": {
                      "type": "string"
                    },
                    "next_param": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "page": {
                      "additionalProperties": true,
                      "properties": {
                        "hasMore": {
                          "type": "boolean"
                        },
                        "nextCursor": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "products": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "image": {
                            "additionalProperties": true,
                            "properties": {
                              "height": {
                                "type": "integer"
                              },
                              "url": {
                                "type": "string"
                              },
                              "width": {
                                "type": "integer"
                              }
                            },
                            "type": "object"
                          },
                          "price": {
                            "additionalProperties": true,
                            "properties": {
                              "currencyCode": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "rating": {
                            "additionalProperties": true,
                            "properties": {
                              "reviewCount": {
                                "type": "integer"
                              },
                              "score": {
                                "type": [
                                  "null",
                                  "number"
                                ]
                              }
                            },
                            "type": "object"
                          },
                          "title": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pagination": {
          "ordering": "stable",
          "request": {
            "in": "query",
            "param": "cursor"
          },
          "style": "cursor"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:0334f8d27b4e4f4ffc2b3713f8c7624acac5754ff18b0db5060bc6e8f564a13a",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.profiles.handle.showcase-products",
          "path": "/apis/v1/tiktok/profiles/{handle}/showcase-products"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/profiles/{handle}/videos": {
      "get": {
        "description": "Lists videos from a TikTok profile by handle. Results are paged: while `data.page.hasMore` is true, send `data.page.nextCursor` as `cursor` to get the next page.\n\n> **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.profiles.handle.videos",
        "parameters": [
          {
            "in": "path",
            "name": "handle",
            "required": true,
            "schema": {
              "description": "TikTok handle whose videos should be listed.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "description": "Pagination cursor returned by a previous response.",
              "maxLength": 16384,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "hostMedia",
            "required": false,
            "schema": {
              "description": "When enabled, include downloadable media links when available. Media availability can affect the quoted maximum price.",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "includePinned",
            "required": false,
            "schema": {
              "description": "Whether to include videos pinned to the top of the profile. Default: `true`. Set `false` to leave pinned videos out; pages can then come back shorter or empty, so keep following `hasMore` and `cursor`. Send the same value on every page.",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "region",
            "required": false,
            "schema": {
              "description": "Optional ISO 3166-1 country code for the request.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sortBy",
            "required": false,
            "schema": {
              "description": "Optional sort order for the returned TikTok videos.",
              "enum": [
                "latest",
                "popular"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "trim",
            "required": false,
            "schema": {
              "description": "Optional flag for a smaller response with fewer fields.",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "userId",
            "required": false,
            "schema": {
              "description": "Optional TikTok user id to speed up the request.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "empty": {
                    "value": {
                      "data": {
                        "lookupStatus": "found",
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "videos": []
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example",
                        "version": "v1"
                      }
                    }
                  },
                  "paginated": {
                    "value": {
                      "data": {
                        "lookupStatus": "found",
                        "page": {
                          "hasMore": true,
                          "nextCursor": "1737000000000"
                        },
                        "videos": [
                          {
                            "caption": "Second page example video",
                            "createdAt": "2025-09-01T12:00:00.000Z",
                            "durationMs": 30250,
                            "id": "7470123456789012345",
                            "isAd": false,
                            "media": {
                              "downloadUrl": "https://example.com/video-page-2-watermarked.mp4",
                              "downloadWithoutWatermarkUrl": "https://example.com/video-page-2-no-watermark.mp4"
                            },
                            "pinned": false,
                            "stats": {
                              "comments": 48,
                              "likes": 731,
                              "saves": 19,
                              "shares": 12,
                              "views": 9021
                            },
                            "thumbnailUrl": "https://example.com/video-cover-page-2.jpg",
                            "url": "https://www.tiktok.com/@stoolpresidente/video/7470123456789012345"
                          }
                        ]
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_page_2",
                        "version": "v1"
                      }
                    }
                  },
                  "private": {
                    "value": {
                      "data": {
                        "lookupStatus": "private",
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "videos": []
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_tiktok_profile_videos_private",
                        "version": "v1"
                      }
                    }
                  },
                  "sparse": {
                    "value": {
                      "data": {
                        "lookupStatus": "found",
                        "page": {
                          "hasMore": true,
                          "nextCursor": "1737000000000"
                        },
                        "videos": [
                          {
                            "caption": "Example video",
                            "createdAt": "2025-09-01T12:00:00.000Z",
                            "durationMs": 15000,
                            "id": "7470123456789012345",
                            "isAd": false,
                            "media": {
                              "downloadUrl": "https://example.com/video-watermarked.mp4",
                              "downloadWithoutWatermarkUrl": "https://example.com/video-clean.mp4"
                            },
                            "pinned": false,
                            "stats": {
                              "comments": 5,
                              "likes": 50,
                              "saves": 1,
                              "shares": 2,
                              "views": 1000
                            },
                            "thumbnailUrl": "https://example.com/video-cover.jpg",
                            "url": "https://www.tiktok.com/@stoolpresidente/video/7470123456789012345"
                          }
                        ]
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_tiktok_profile_videos_sparse",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "aisa_pagination": {
                      "additionalProperties": false,
                      "description": "AIsa pagination. Pass next_cursor as cursor to fetch the next page; has_more is false on the last page.",
                      "properties": {
                        "has_more": {
                          "type": "boolean"
                        },
                        "next_cursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_param": {
                          "const": "cursor",
                          "type": "string"
                        }
                      },
                      "required": [
                        "has_more",
                        "next_cursor",
                        "next_param"
                      ],
                      "type": "object"
                    },
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "lookupStatus": {
                          "description": "Whether videos could be listed for this handle: `found` (the list may still be empty), `private` (the account is private, so no videos are visible) or `not_found` (no such account). Treat unknown values like `not_found`.",
                          "enum": [
                            "found",
                            "private",
                            "not_found"
                          ],
                          "type": "string"
                        },
                        "page": {
                          "description": "Pagination state for the current response.",
                          "properties": {
                            "hasMore": {
                              "description": "Whether another page of videos is available.",
                              "type": "boolean"
                            },
                            "nextCursor": {
                              "description": "Cursor to pass in the next request when more videos are available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "nextCursor",
                            "hasMore"
                          ],
                          "type": "object"
                        },
                        "videos": {
                          "description": "TikTok videos for the requested profile page. Always empty when `lookupStatus` is `private` or `not_found`. With `found`, an empty array means no videos on this page (for example none in the selected sort window).",
                          "items": {
                            "description": "TikTok video in the profile feed.",
                            "properties": {
                              "caption": {
                                "description": "Caption text shown for the TikTok video.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "createdAt": {
                                "description": "ISO-8601 timestamp when the video was created, when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "details": {
                                "additionalProperties": {},
                                "description": "Additional TikTok-native fields for this video (for example author, music, challenges, and full `video` and `statistics` objects). Keys that only duplicate the top-level fields are omitted.",
                                "properties": {},
                                "type": "object"
                              },
                              "durationMs": {
                                "description": "Video duration in milliseconds, when available.",
                                "minimum": 0,
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "hostedMedia": {
                                "description": "Present only when `hostMedia=true`: durable hosted copies of the source media (the CDN URLs above can expire), and/or per-asset failures for this video.",
                                "items": {
                                  "description": "AIsa-hosted original media asset or per-asset failure.",
                                  "properties": {
                                    "bytes": {
                                      "description": "Stored size in bytes when status is stored.",
                                      "minimum": 0,
                                      "type": "integer"
                                    },
                                    "entityId": {
                                      "description": "Opaque parent entity id for this asset (post, reel, photo, or video id).",
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    "errorCode": {
                                      "description": "Typed failure code when status is failed.",
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    "errorMessage": {
                                      "description": "Short customer-safe failure message when status is failed.",
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    "expiresAt": {
                                      "description": "ISO-8601 timestamp when the returned URL stops working. Same as `retainedUntil`, because the link stays valid until the file is deleted.",
                                      "format": "date-time",
                                      "type": "string"
                                    },
                                    "height": {
                                      "description": "Pixel height when known.",
                                      "exclusiveMinimum": 0,
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "mime": {
                                      "description": "MIME type of the stored bytes when status is stored.",
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    "originalUrl": {
                                      "description": "Original CDN URL that was requested for hosting. Still transient; prefer `url` when status is stored.",
                                      "format": "uri",
                                      "type": "string"
                                    },
                                    "postId": {
                                      "description": "Legacy Instagram media id alias for `entityId`. Prefer `entityId`.",
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    "retainedUntil": {
                                      "description": "ISO-8601 timestamp when the stored object is deleted from AIsa hosted-media storage (90-day tier).",
                                      "format": "date-time",
                                      "type": "string"
                                    },
                                    "role": {
                                      "description": "Which source field this asset was derived from.",
                                      "enum": [
                                        "display",
                                        "thumbnail",
                                        "video"
                                      ],
                                      "type": "string"
                                    },
                                    "status": {
                                      "description": "Whether AIsa stored a durable copy of this asset.",
                                      "enum": [
                                        "stored",
                                        "failed"
                                      ],
                                      "type": "string"
                                    },
                                    "type": {
                                      "description": "Normalized media kind.",
                                      "enum": [
                                        "image",
                                        "video"
                                      ],
                                      "type": "string"
                                    },
                                    "url": {
                                      "description": "Public HTTPS URL of the stored file on the media CDN when status is stored. The link stays valid until the file is deleted at `retainedUntil`; save the file if you need it longer.",
                                      "format": "uri",
                                      "type": "string"
                                    },
                                    "width": {
                                      "description": "Pixel width when known.",
                                      "exclusiveMinimum": 0,
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "status",
                                    "type"
                                  ],
                                  "type": "object"
                                },
                                "type": "array"
                              },
                              "id": {
                                "description": "TikTok video identifier.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "isAd": {
                                "description": "Whether TikTok marks the video as an ad.",
                                "type": "boolean"
                              },
                              "media": {
                                "description": "Download-related media URLs for the video.",
                                "properties": {
                                  "downloadUrl": {
                                    "description": "Source-platform CDN download URL, usually with watermark, when available. It can expire or be rejected outside the original retrieval context; it is not an AIsa-hosted asset.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "downloadWithoutWatermarkUrl": {
                                    "description": "Source-platform CDN download URL without watermark when available. It can expire or be rejected outside the original retrieval context; it is not an AIsa-hosted asset. Preferred over the watermarked URL when both are present.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "downloadUrl",
                                  "downloadWithoutWatermarkUrl"
                                ],
                                "type": "object"
                              },
                              "pinned": {
                                "description": "Whether the video is pinned on the profile.",
                                "type": "boolean"
                              },
                              "stats": {
                                "description": "Engagement metrics for the video.",
                                "properties": {
                                  "comments": {
                                    "description": "Comment count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "likes": {
                                    "description": "Like count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "saves": {
                                    "description": "Save or collection count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "shares": {
                                    "description": "Share count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "views": {
                                    "description": "View count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "views",
                                  "likes",
                                  "comments",
                                  "shares",
                                  "saves"
                                ],
                                "type": "object"
                              },
                              "thumbnailUrl": {
                                "description": "Source-platform CDN thumbnail or cover URL when available. It can expire or be rejected outside the original retrieval context; it is not an AIsa-hosted asset.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "description": "Canonical public TikTok URL for the video.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "caption",
                              "createdAt",
                              "url",
                              "thumbnailUrl",
                              "durationMs",
                              "pinned",
                              "isAd",
                              "stats",
                              "media"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "lookupStatus",
                        "videos",
                        "page"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "TikTok videos for the requested profile.",
            "headers": {
              "X-AISA-Has-More": {
                "description": "Mirrors aisa_pagination.has_more.",
                "schema": {
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string"
                }
              },
              "X-AISA-Next-Cursor": {
                "description": "Mirrors aisa_pagination.next_cursor; absent on the last page.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List TikTok profile videos",
        "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",
        "x-aisa-category": "social",
        "x-aisa-constraints": {
          "notes": [
            "Some numeric ids inside `details` are larger than 2^53 (9007199254740992) and may not be exact: digits beyond that precision can differ from the real id. When you need an exact id, use the top-level string ids (such as `id`) or the matching `*_str` string fields (for example `details.music.id_str`)."
          ]
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-profiles-handle-videos",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "467636a93614dcd484abe0b5657da163a98265515d28ff7e7d1806126f1d6474",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-pagination": {
          "ordering": "stable",
          "request": {
            "in": "query",
            "param": "cursor"
          },
          "style": "cursor"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.686,
          "estimate_source": "profile_seed",
          "maximum_units": 49
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:87887a89fa294dd88109e1980b11b3d3790c17672c47cba65f4a4d02169c3009",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.profiles.handle.videos",
          "path": "/apis/v1/tiktok/profiles/{handle}/videos"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/search": {
      "get": {
        "description": "Searches TikTok videos by free-text keyword. For hashtag search, use the TikTok hashtag search operation. Required input: `query`. Results are paged: while `data.page.hasMore` is true, send `data.page.nextCursor` as `cursor` to get the next page.\n\n> **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.search",
        "parameters": [
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "description": "Opaque pagination cursor returned by a previous response.",
              "maxLength": 16384,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "datePosted",
            "required": false,
            "schema": {
              "description": "Optional upload date filter for video results.",
              "enum": [
                "all-time",
                "last-3-months",
                "last-6-months",
                "this-month",
                "this-week",
                "yesterday"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "query",
            "required": true,
            "schema": {
              "description": "Search query text for TikTok videos.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "region",
            "required": false,
            "schema": {
              "description": "Optional two-letter ISO 3166-1 country code for localized search results.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sortBy",
            "required": false,
            "schema": {
              "description": "Optional sort order for search results.",
              "enum": [
                "date-posted",
                "most-liked",
                "relevance"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "trim",
            "required": false,
            "schema": {
              "description": "When true, returns a smaller response with fewer fields.",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "empty": {
                    "value": {
                      "data": {
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "query": "web scraping",
                        "videos": []
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_empty",
                        "version": "v1"
                      }
                    }
                  },
                  "paginated": {
                    "value": {
                      "data": {
                        "page": {
                          "hasMore": true,
                          "nextCursor": "eyJjIjoiNDIifQ"
                        },
                        "query": "web scraping",
                        "videos": [
                          {
                            "caption": "Second page example video",
                            "createdAt": "2025-09-01T12:00:00.000Z",
                            "durationMs": 30250,
                            "id": "7470123456789012345",
                            "isAd": false,
                            "media": {
                              "downloadUrl": "https://example.com/video-page-2-watermarked.mp4",
                              "downloadWithoutWatermarkUrl": "https://example.com/video-page-2-no-watermark.mp4"
                            },
                            "pinned": false,
                            "stats": {
                              "comments": 48,
                              "likes": 731,
                              "saves": 19,
                              "shares": 12,
                              "views": 9021
                            },
                            "thumbnailUrl": "https://example.com/video-cover-page-2.jpg",
                            "url": "https://www.tiktok.com/@example/video/7470123456789012345"
                          }
                        ]
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_page_2",
                        "version": "v1"
                      }
                    }
                  },
                  "sample": {
                    "value": {
                      "data": {
                        "page": {
                          "hasMore": true,
                          "nextCursor": "eyJjIjoiMzAifQ"
                        },
                        "query": "web scraping",
                        "videos": [
                          {
                            "caption": "Example search result video",
                            "createdAt": "2025-09-03T18:37:38.000Z",
                            "durationMs": 89131,
                            "id": "7470969622276164906",
                            "isAd": false,
                            "media": {
                              "downloadUrl": "https://example.com/video-watermarked.mp4",
                              "downloadWithoutWatermarkUrl": "https://example.com/video-no-watermark.mp4"
                            },
                            "pinned": false,
                            "stats": {
                              "comments": 152,
                              "likes": 18651,
                              "saves": 274,
                              "shares": 237,
                              "views": 141567
                            },
                            "thumbnailUrl": "https://example.com/video-cover.jpg",
                            "url": "https://www.tiktok.com/@example/video/7470969622276164906"
                          }
                        ]
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "aisa_pagination": {
                      "additionalProperties": false,
                      "description": "AIsa pagination. Pass next_cursor as cursor to fetch the next page; has_more is false on the last page.",
                      "properties": {
                        "has_more": {
                          "type": "boolean"
                        },
                        "next_cursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_param": {
                          "const": "cursor",
                          "type": "string"
                        }
                      },
                      "required": [
                        "has_more",
                        "next_cursor",
                        "next_param"
                      ],
                      "type": "object"
                    },
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "page": {
                          "description": "Pagination state for the current response.",
                          "properties": {
                            "hasMore": {
                              "description": "Whether another page of videos is available.",
                              "type": "boolean"
                            },
                            "nextCursor": {
                              "description": "Cursor to pass in the next request when more videos are available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "nextCursor",
                            "hasMore"
                          ],
                          "type": "object"
                        },
                        "query": {
                          "description": "Search query that was evaluated for this response.",
                          "type": "string"
                        },
                        "videos": {
                          "description": "Matching TikTok videos. TikTok may return the same video more than once for some searches.",
                          "items": {
                            "description": "TikTok video.",
                            "properties": {
                              "caption": {
                                "description": "Caption text shown for the TikTok video.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "createdAt": {
                                "description": "ISO-8601 timestamp when the video was created, when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "details": {
                                "additionalProperties": {},
                                "description": "Additional TikTok-native fields for this video (for example author, music, challenges, and full `video` and `statistics` objects). Keys that only duplicate the top-level fields are omitted.",
                                "properties": {},
                                "type": "object"
                              },
                              "durationMs": {
                                "description": "Video duration in milliseconds, when available.",
                                "minimum": 0,
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "id": {
                                "description": "TikTok video identifier.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "isAd": {
                                "description": "Whether TikTok marks the video as an ad.",
                                "type": "boolean"
                              },
                              "media": {
                                "description": "Download-related media URLs for the video.",
                                "properties": {
                                  "downloadUrl": {
                                    "description": "Source-platform CDN download URL, usually with watermark, when available. It can expire or be rejected outside the original retrieval context; it is not an AIsa-hosted asset.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "downloadWithoutWatermarkUrl": {
                                    "description": "Source-platform CDN download URL without watermark when available. It can expire or be rejected outside the original retrieval context; it is not an AIsa-hosted asset. Preferred over the watermarked URL when both are present.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "downloadUrl",
                                  "downloadWithoutWatermarkUrl"
                                ],
                                "type": "object"
                              },
                              "pinned": {
                                "description": "Whether the video is pinned on the profile.",
                                "type": "boolean"
                              },
                              "stats": {
                                "description": "Engagement metrics for the video.",
                                "properties": {
                                  "comments": {
                                    "description": "Comment count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "likes": {
                                    "description": "Like count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "saves": {
                                    "description": "Save or collection count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "shares": {
                                    "description": "Share count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "views": {
                                    "description": "View count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "views",
                                  "likes",
                                  "comments",
                                  "shares",
                                  "saves"
                                ],
                                "type": "object"
                              },
                              "thumbnailUrl": {
                                "description": "Source-platform CDN thumbnail or cover URL when available. It can expire or be rejected outside the original retrieval context; it is not an AIsa-hosted asset.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "description": "Canonical public TikTok URL for the video.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "caption",
                              "createdAt",
                              "url",
                              "thumbnailUrl",
                              "durationMs",
                              "pinned",
                              "isAd",
                              "stats",
                              "media"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "query",
                        "videos",
                        "page"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Video search results for the requested query.",
            "headers": {
              "X-AISA-Has-More": {
                "description": "Mirrors aisa_pagination.has_more.",
                "schema": {
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string"
                }
              },
              "X-AISA-Next-Cursor": {
                "description": "Mirrors aisa_pagination.next_cursor; absent on the last page.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Search TikTok videos",
        "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",
        "x-aisa-category": "social",
        "x-aisa-constraints": {
          "notes": [
            "Some numeric ids inside `details` are larger than 2^53 (9007199254740992) and may not be exact: digits beyond that precision can differ from the real id. When you need an exact id, use the top-level string ids (such as `id`) or the matching `*_str` string fields (for example `details.music.id_str`)."
          ]
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-search",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "321fbbc23dd2998456418bd25cd0dac98cc159bbe9d8dae683fab36398aed38d",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-28",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "aisa_pagination": {
                  "additionalProperties": true,
                  "properties": {
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_cursor": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "next_param": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "page": {
                      "additionalProperties": true,
                      "properties": {
                        "hasMore": {
                          "type": "boolean"
                        },
                        "nextCursor": {
                          "type": [
                            "null",
                            "string"
                          ]
                        }
                      },
                      "type": "object"
                    },
                    "query": {
                      "type": "string"
                    },
                    "videos": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "createdAt": {
                            "type": "string"
                          },
                          "id": {
                            "type": "string"
                          },
                          "media": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "thumbnailUrl": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pagination": {
          "ordering": "stable",
          "request": {
            "in": "query",
            "param": "cursor"
          },
          "style": "cursor"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:f05ce4f8aef02803647b202253ac568d26518e6a8239024b6321224dcc36f2bc",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.search",
          "path": "/apis/v1/tiktok/search"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/search/hashtags": {
      "get": {
        "description": "Searches TikTok videos by hashtag. Required input: `hashtag`. Results are paged: while `data.page.hasMore` is true, send `data.page.nextCursor` as `cursor` to get the next page.\n\n> **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.search.hashtags",
        "parameters": [
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "description": "Pagination cursor returned by a previous response.",
              "maxLength": 16384,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "hashtag",
            "required": true,
            "schema": {
              "description": "Hashtag to search for. A leading # is optional.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "region",
            "required": false,
            "schema": {
              "description": "Optional ISO 3166-1 country code for the request region. This does not restrict results to that country.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "trim",
            "required": false,
            "schema": {
              "description": "Whether to request a smaller response with fewer fields.",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "aisa_pagination": {
                      "additionalProperties": false,
                      "description": "AIsa pagination. Pass next_cursor as cursor to fetch the next page; has_more is false on the last page.",
                      "properties": {
                        "has_more": {
                          "type": "boolean"
                        },
                        "next_cursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_param": {
                          "const": "cursor",
                          "type": "string"
                        }
                      },
                      "required": [
                        "has_more",
                        "next_cursor",
                        "next_param"
                      ],
                      "type": "object"
                    },
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "hashtag": {
                          "description": "Hashtag evaluated for this response, without a leading #.",
                          "type": "string"
                        },
                        "page": {
                          "description": "Pagination information for the current hashtag search page.",
                          "properties": {
                            "hasMore": {
                              "description": "Whether another page of videos is available.",
                              "type": "boolean"
                            },
                            "nextCursor": {
                              "description": "Cursor to pass in the next request when more videos are available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "nextCursor",
                            "hasMore"
                          ],
                          "type": "object"
                        },
                        "region": {
                          "description": "Region applied for this response when one was requested.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "totalVideos": {
                          "description": "Number of video rows returned in this response.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "videos": {
                          "description": "TikTok videos matching the hashtag in order. Duplicate video ids may appear when the platform returns them.",
                          "items": {
                            "description": "TikTok video in hashtag search results.",
                            "properties": {
                              "author": {
                                "description": "Author metadata for this hashtag search result.",
                                "properties": {
                                  "avatarUrl": {
                                    "description": "Avatar image URL for the video author when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "displayName": {
                                    "description": "Display name for the video author when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "handle": {
                                    "description": "TikTok handle for the video author when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "id": {
                                    "description": "TikTok user id for the video author when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "verified": {
                                    "description": "Whether the author is verified on TikTok.",
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "id",
                                  "handle",
                                  "displayName",
                                  "avatarUrl",
                                  "verified"
                                ],
                                "type": "object"
                              },
                              "caption": {
                                "description": "Caption text shown for the TikTok video.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "createdAt": {
                                "description": "ISO-8601 timestamp when the video was created, when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "details": {
                                "additionalProperties": {},
                                "description": "Additional TikTok-native fields for this video (for example author, music, challenges, and full `video` and `statistics` objects). Keys that only duplicate the top-level fields are omitted.",
                                "properties": {},
                                "type": "object"
                              },
                              "durationMs": {
                                "description": "Video duration in milliseconds, when available.",
                                "minimum": 0,
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "id": {
                                "description": "TikTok video identifier.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "isAd": {
                                "description": "Whether TikTok marks the video as an ad.",
                                "type": "boolean"
                              },
                              "media": {
                                "description": "Download-related media URLs for the video.",
                                "properties": {
                                  "downloadUrl": {
                                    "description": "Source-platform CDN download URL, usually with watermark, when available. It can expire or be rejected outside the original retrieval context; it is not an AIsa-hosted asset.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "downloadWithoutWatermarkUrl": {
                                    "description": "Source-platform CDN download URL without watermark when available. It can expire or be rejected outside the original retrieval context; it is not an AIsa-hosted asset. Preferred over the watermarked URL when both are present.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "downloadUrl",
                                  "downloadWithoutWatermarkUrl"
                                ],
                                "type": "object"
                              },
                              "pinned": {
                                "description": "Whether the video is pinned on the profile.",
                                "type": "boolean"
                              },
                              "stats": {
                                "description": "Engagement metrics for the video.",
                                "properties": {
                                  "comments": {
                                    "description": "Comment count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "likes": {
                                    "description": "Like count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "saves": {
                                    "description": "Save or collection count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "shares": {
                                    "description": "Share count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "views": {
                                    "description": "View count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "views",
                                  "likes",
                                  "comments",
                                  "shares",
                                  "saves"
                                ],
                                "type": "object"
                              },
                              "thumbnailUrl": {
                                "description": "Source-platform CDN thumbnail or cover URL when available. It can expire or be rejected outside the original retrieval context; it is not an AIsa-hosted asset.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "description": "Canonical public TikTok URL for the video.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "caption",
                              "createdAt",
                              "url",
                              "thumbnailUrl",
                              "durationMs",
                              "pinned",
                              "isAd",
                              "stats",
                              "media",
                              "author"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "hashtag",
                        "region",
                        "videos",
                        "totalVideos",
                        "page"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Hashtag search results for the requested tag.",
            "headers": {
              "X-AISA-Has-More": {
                "description": "Mirrors aisa_pagination.has_more.",
                "schema": {
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string"
                }
              },
              "X-AISA-Next-Cursor": {
                "description": "Mirrors aisa_pagination.next_cursor; absent on the last page.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Search TikTok by hashtag",
        "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",
        "x-aisa-category": "social",
        "x-aisa-constraints": {
          "notes": [
            "Some numeric ids inside `details` are larger than 2^53 (9007199254740992) and may not be exact: digits beyond that precision can differ from the real id. When you need an exact id, use the top-level string ids (such as `id`) or the matching `*_str` string fields (for example `details.music.id_str`)."
          ]
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-search-hashtags",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "60a5b6371ce85fca7c12268b8901c71168d860c8a8867f516cb69fd3664e516e",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-26",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "aisa_pagination": {
                  "additionalProperties": true,
                  "properties": {
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_cursor": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "next_param": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "page": {
                      "additionalProperties": true,
                      "properties": {
                        "hasMore": {
                          "type": "boolean"
                        },
                        "nextCursor": {
                          "type": [
                            "null",
                            "string"
                          ]
                        }
                      },
                      "type": "object"
                    },
                    "region": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "videos": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "author": {
                            "additionalProperties": true,
                            "properties": {
                              "avatarUrl": {
                                "type": "string"
                              },
                              "displayName": {
                                "type": "string"
                              },
                              "handle": {
                                "type": "string"
                              },
                              "id": {
                                "type": "string"
                              },
                              "verified": {
                                "type": "boolean"
                              }
                            },
                            "type": "object"
                          },
                          "createdAt": {
                            "type": "string"
                          },
                          "id": {
                            "type": "string"
                          },
                          "media": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "thumbnailUrl": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pagination": {
          "ordering": "unstable",
          "request": {
            "in": "query",
            "param": "cursor"
          },
          "style": "cursor"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:418789da05f4f60be1751889b9628268adf3c7a3e1b5fcd8fc792e5823abbf30",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.search.hashtags",
          "path": "/apis/v1/tiktok/search/hashtags"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/search/suggestions": {
      "get": {
        "description": "Returns TikTok search suggestions by query. Required input: `query`.\n\n> **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.search.suggestions",
        "parameters": [
          {
            "in": "query",
            "name": "query",
            "required": true,
            "schema": {
              "description": "Search query text for TikTok suggestions.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "region",
            "required": false,
            "schema": {
              "description": "Optional two-letter ISO 3166-1 country code for localized suggestions.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "empty": {
                    "value": {
                      "data": {
                        "query": "zzzzimprobablequery",
                        "suggestions": [],
                        "totalSuggestions": 0
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_empty",
                        "version": "v1"
                      }
                    }
                  },
                  "sample": {
                    "value": {
                      "data": {
                        "query": "dogs",
                        "suggestions": [
                          {
                            "language": "en",
                            "position": 0,
                            "score": 0.059101548,
                            "text": "dogs funny videos"
                          },
                          {
                            "language": "en",
                            "position": 1,
                            "score": 0.021125192,
                            "text": "dogs cracking up owners"
                          },
                          {
                            "language": "en",
                            "position": 2,
                            "score": 0.018203093,
                            "text": "dogs having a fun"
                          },
                          {
                            "language": "en",
                            "position": 3,
                            "score": 0.011574995,
                            "text": "dogs video"
                          },
                          {
                            "language": "en",
                            "position": 4,
                            "score": 0.0075845886,
                            "text": "dogs crackng"
                          },
                          {
                            "language": "en",
                            "position": 5,
                            "score": 0.008315778,
                            "text": "dogs cute"
                          },
                          {
                            "language": "en",
                            "position": 6,
                            "score": 0.0022872277,
                            "text": "Dogs barking"
                          },
                          {
                            "language": "en",
                            "position": 7,
                            "score": 0.001477943,
                            "text": "dogs funny"
                          },
                          {
                            "language": "en",
                            "position": 8,
                            "score": 0.0024576143,
                            "text": "dogs booyah"
                          },
                          {
                            "language": "en",
                            "position": 9,
                            "score": 0.0017207355,
                            "text": "dogs sounds to attract dogs"
                          }
                        ],
                        "totalSuggestions": 10
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "query": {
                          "description": "Search query that was evaluated for this response.",
                          "type": "string"
                        },
                        "suggestions": {
                          "description": "Autocomplete suggestions returned for the search query.",
                          "items": {
                            "description": "A single autocomplete search suggestion.",
                            "properties": {
                              "language": {
                                "description": "Language code for this suggestion, when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "position": {
                                "description": "Zero-based rank of this suggestion in the returned list, when available.",
                                "minimum": 0,
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "score": {
                                "description": "Relative ranking score for this suggestion, when available.",
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "text": {
                                "description": "Suggested search text.",
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "text",
                              "position",
                              "language",
                              "score"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "totalSuggestions": {
                          "description": "Number of suggestions returned in this response.",
                          "minimum": 0,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "query",
                        "suggestions",
                        "totalSuggestions"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Search suggestions for the requested query."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get TikTok search suggestions",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-search-suggestions",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "baa6b0c6c252fa16f5b90827b2fad4c2af7cf36b67f1daebf08fe12047cc2add",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-27",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "query": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:d8112f6b026471cd159ad8d62de9bb734799ac3dbb6eaf40b31631f84bc9128e",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.search.suggestions",
          "path": "/apis/v1/tiktok/search/suggestions"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/search/top": {
      "get": {
        "description": "Searches TikTok Top results (mixed content, not videos only) by keyword. Required input: `query`. Results are paged: while `data.page.hasMore` is true, send `data.page.nextCursor` as `cursor` to get the next page.\n\n> **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.search.top",
        "parameters": [
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "description": "Opaque pagination cursor returned by a previous response.",
              "maxLength": 16384,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "datePosted",
            "required": false,
            "schema": {
              "description": "Optional upload date filter for video results.",
              "enum": [
                "all-time",
                "last-3-months",
                "last-6-months",
                "this-month",
                "this-week",
                "yesterday"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "query",
            "required": true,
            "schema": {
              "description": "Search query text for TikTok Top results.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "region",
            "required": false,
            "schema": {
              "description": "Optional two-letter ISO 3166-1 country code for localized search results.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sortBy",
            "required": false,
            "schema": {
              "description": "Optional sort order for search results.",
              "enum": [
                "date-posted",
                "most-liked",
                "relevance"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "empty": {
                    "value": {
                      "data": {
                        "items": [],
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "query": "funny"
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_4e2a29df-31aa-445e-a547-7d08718277a9",
                        "version": "v1"
                      }
                    }
                  },
                  "paginated": {
                    "value": {
                      "data": {
                        "items": [
                          {
                            "author": {
                              "avatarUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast2a-avt-0068-euttp/748e2fcdcb621cfbd050e5bdbcac1f00~tplv-tiktokx-crop…",
                              "displayName": "Funny😍",
                              "handle": "gillianmendoza20041",
                              "id": "7287153364050412577",
                              "verified": false
                            },
                            "caption": "The End 🤣🤣 #funny #funnyvideos #animals #dog #cat #pet #viarl #foryou #fyp (2596)",
                            "createdAt": "2024-02-12T02:05:20.000Z",
                            "details": {
                              "desc_language": "en",
                              "is_eligible_for_commission": false,
                              "is_paid_partnership": false,
                              "music": {
                                "author": "Funny😍",
                                "duration": 8,
                                "id": 7334530747874708000,
                                "matched_song": {},
                                "play_url": "https://sf16.tiktokcdn-us.com/obj/ies-music-euttp/7334530714741672737.mp3",
                                "title": "original sound - gillianmendoza20041"
                              },
                              "region": "US",
                              "shop_product_url": null
                            },
                            "durationMs": 8934,
                            "id": "7334530551099034913",
                            "isAd": false,
                            "media": {
                              "downloadUrl": "https://v19.tiktokcdn-us.com/ca967d42562fc68b4f5073ac8c50fa9a/6a8b9fb6/video/tos/no1a/tos-no1a-ve-37c710-no/o0fE3IcGg7m…",
                              "downloadWithoutWatermarkUrl": "https://v19.tiktokcdn-us.com/46004a8beb58e2d60773b9ac8ce60dfc/6a8b9fb6/video/tos/useast2a/tos-useast2a-ve-68c810-euttp/…",
                              "slideshowImages": []
                            },
                            "mediaType": "video",
                            "pinned": false,
                            "stats": {
                              "comments": 3818,
                              "likes": 1316988,
                              "saves": 171093,
                              "shares": 91319,
                              "views": 11288551
                            },
                            "thumbnailUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast2a-p-0037-euttp/o82E1sLk7QGo1YCAkcjge5I8LlgRreRGeNVveE~tplv-x7g4mazu…",
                            "url": "https://www.tiktok.com/@gillianmendoza20041/video/7334530551099034913"
                          }
                        ],
                        "page": {
                          "hasMore": true,
                          "nextCursor": "eyJjIjoiNjAifQ"
                        },
                        "query": "funny"
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_22f493d3-ee4b-4ce1-a7a4-7010f56d6839",
                        "version": "v1"
                      }
                    }
                  },
                  "sample": {
                    "value": {
                      "data": {
                        "items": [
                          {
                            "author": {
                              "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/1172ac28731053147f64d3b7ff636f61~tplv-tiktokx-cropcenter-q…",
                              "displayName": "user15062103140",
                              "handle": "fabflaps.romano9741",
                              "id": "7665742042623263766",
                              "verified": false
                            },
                            "caption": "this is so true #funny #cool #backtoit #oldtimes",
                            "createdAt": "2026-08-22T23:28:19.000Z",
                            "details": {
                              "desc_language": "en",
                              "is_eligible_for_commission": false,
                              "is_paid_partnership": false,
                              "music": {
                                "author": "andi opi",
                                "duration": 14,
                                "id": 7642755575378103000,
                                "matched_song": {
                                  "author": "Virality",
                                  "id": "7660833800806057985",
                                  "title": "Jumperviolin"
                                },
                                "play_url": "https://v19.tiktokcdn-us.com/fcc232da2a272519a9666743f90a0735/6a948606/video/tos/alisg/tos-alisg-v-27dcd7/o0agvZhzC0WUI…",
                                "title": "original sound - andi.opi5"
                              },
                              "region": "GB",
                              "shop_product_url": null
                            },
                            "durationMs": 6154,
                            "id": "7677001872506588418",
                            "isAd": false,
                            "media": {
                              "downloadUrl": "https://v19.tiktokcdn-us.com/514c58223b5daabcd4fd87d1a7ca6273/6a8b9f94/video/tos/no1a/tos-no1a-ve-0068c001-no/ooFUuqjBf…",
                              "downloadWithoutWatermarkUrl": "https://v19.tiktokcdn-us.com/4fac67f5f667c1a439e48c1bef909f20/6a8b9f94/video/tos/no1a/tos-no1a-ve-0068c001-no/oQhgUYMQA…",
                              "slideshowImages": []
                            },
                            "mediaType": "video",
                            "pinned": false,
                            "stats": {
                              "comments": 7709,
                              "likes": 2141043,
                              "saves": 135980,
                              "shares": 295047,
                              "views": 10193130
                            },
                            "thumbnailUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-no1a-p-0037-no/owiTILALIIfLijBAeLIFwCQG72MhGeFDIJEVpK~tplv-x7g4mazu7z-crop…",
                            "url": "https://www.tiktok.com/@fabflaps.romano9741/video/7677001872506588418"
                          }
                        ],
                        "page": {
                          "hasMore": true,
                          "nextCursor": "eyJjIjoiMzAifQ"
                        },
                        "query": "funny"
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_1ba4fdb8-7566-4b53-9aab-cc9110e532d9",
                        "version": "v1"
                      }
                    }
                  },
                  "slideshow": {
                    "value": {
                      "data": {
                        "items": [
                          {
                            "author": {
                              "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/1172ac28731053147f64d3b7ff636f61~tplv-tiktokx-cropcenter-q…",
                              "displayName": "user15062103140",
                              "handle": "fabflaps.romano9741",
                              "id": "7665742042623263766",
                              "verified": false
                            },
                            "caption": "this is so true #funny #cool #backtoit #oldtimes",
                            "createdAt": "2026-08-22T23:28:19.000Z",
                            "details": {
                              "desc_language": "en",
                              "is_eligible_for_commission": false,
                              "is_paid_partnership": false,
                              "music": {
                                "author": "andi opi",
                                "duration": 14,
                                "id": 7642755575378103000,
                                "matched_song": {
                                  "author": "Virality",
                                  "id": "7660833800806057985",
                                  "title": "Jumperviolin"
                                },
                                "play_url": "https://v19.tiktokcdn-us.com/fcc232da2a272519a9666743f90a0735/6a948606/video/tos/alisg/tos-alisg-v-27dcd7/o0agvZhzC0WUI…",
                                "title": "original sound - andi.opi5"
                              },
                              "region": "GB",
                              "shop_product_url": null
                            },
                            "durationMs": 6154,
                            "id": "7677001872506588418",
                            "isAd": false,
                            "media": {
                              "downloadUrl": "https://v19.tiktokcdn-us.com/514c58223b5daabcd4fd87d1a7ca6273/6a8b9f94/video/tos/no1a/tos-no1a-ve-0068c001-no/ooFUuqjBf…",
                              "downloadWithoutWatermarkUrl": "https://v19.tiktokcdn-us.com/4fac67f5f667c1a439e48c1bef909f20/6a8b9f94/video/tos/no1a/tos-no1a-ve-0068c001-no/oQhgUYMQA…",
                              "slideshowImages": []
                            },
                            "mediaType": "video",
                            "pinned": false,
                            "stats": {
                              "comments": 7709,
                              "likes": 2141043,
                              "saves": 135980,
                              "shares": 295047,
                              "views": 10193130
                            },
                            "thumbnailUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-no1a-p-0037-no/owiTILALIIfLijBAeLIFwCQG72MhGeFDIJEVpK~tplv-x7g4mazu7z-crop…",
                            "url": "https://www.tiktok.com/@fabflaps.romano9741/video/7677001872506588418"
                          }
                        ],
                        "page": {
                          "hasMore": true,
                          "nextCursor": "eyJjIjoiMzAifQ"
                        },
                        "query": "funny"
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_1ba4fdb8-7566-4b53-9aab-cc9110e532d9",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "aisa_pagination": {
                      "additionalProperties": false,
                      "description": "AIsa pagination. Pass next_cursor as cursor to fetch the next page; has_more is false on the last page.",
                      "properties": {
                        "has_more": {
                          "type": "boolean"
                        },
                        "next_cursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_param": {
                          "const": "cursor",
                          "type": "string"
                        }
                      },
                      "required": [
                        "has_more",
                        "next_cursor",
                        "next_param"
                      ],
                      "type": "object"
                    },
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "items": {
                          "description": "Matching TikTok posts (videos and photo slideshows).",
                          "items": {
                            "description": "TikTok post in Top search results.",
                            "properties": {
                              "author": {
                                "description": "Author metadata for this Top search result.",
                                "properties": {
                                  "avatarUrl": {
                                    "description": "Avatar image URL for the author when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "displayName": {
                                    "description": "Display name for the author when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "handle": {
                                    "description": "TikTok handle for the author when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "id": {
                                    "description": "TikTok user id for the author when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "verified": {
                                    "description": "Whether the author is verified on TikTok.",
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "id",
                                  "handle",
                                  "displayName",
                                  "avatarUrl",
                                  "verified"
                                ],
                                "type": "object"
                              },
                              "caption": {
                                "description": "Caption text shown for the post.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "createdAt": {
                                "description": "When the post was created (ISO-8601).",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "details": {
                                "additionalProperties": {},
                                "description": "Additional TikTok-native fields for this post.",
                                "properties": {},
                                "type": "object"
                              },
                              "durationMs": {
                                "description": "Duration in milliseconds when available.",
                                "minimum": 0,
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "id": {
                                "description": "TikTok post identifier.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "isAd": {
                                "description": "Whether TikTok marks the post as an ad.",
                                "type": "boolean"
                              },
                              "media": {
                                "description": "Media URLs for the post.",
                                "properties": {
                                  "downloadUrl": {
                                    "description": "Downloadable video URL when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "downloadWithoutWatermarkUrl": {
                                    "description": "Download URL without watermark when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "slideshowImages": {
                                    "description": "Ordered image URLs for photo slideshow posts. Empty for videos.",
                                    "items": {
                                      "type": "string"
                                    },
                                    "type": "array"
                                  }
                                },
                                "required": [
                                  "downloadUrl",
                                  "downloadWithoutWatermarkUrl",
                                  "slideshowImages"
                                ],
                                "type": "object"
                              },
                              "mediaType": {
                                "description": "Whether the post is a video or a photo slideshow.",
                                "enum": [
                                  "video",
                                  "slideshow"
                                ],
                                "type": "string"
                              },
                              "pinned": {
                                "description": "Whether TikTok marks the post as pinned in this result set.",
                                "type": "boolean"
                              },
                              "stats": {
                                "description": "Engagement metrics for the post.",
                                "properties": {
                                  "comments": {
                                    "description": "Comment count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "likes": {
                                    "description": "Like count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "saves": {
                                    "description": "Save or collection count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "shares": {
                                    "description": "Share count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "views": {
                                    "description": "View count reported by TikTok for the video.",
                                    "minimum": 0,
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "views",
                                  "likes",
                                  "comments",
                                  "shares",
                                  "saves"
                                ],
                                "type": "object"
                              },
                              "thumbnailUrl": {
                                "description": "Thumbnail or cover image URL when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "description": "Canonical public TikTok URL for the post.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "caption",
                              "createdAt",
                              "url",
                              "thumbnailUrl",
                              "durationMs",
                              "mediaType",
                              "pinned",
                              "isAd",
                              "stats",
                              "media",
                              "author"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "page": {
                          "description": "Pagination state for the current Top search page.",
                          "properties": {
                            "hasMore": {
                              "description": "Whether another page is available.",
                              "type": "boolean"
                            },
                            "nextCursor": {
                              "description": "Cursor to pass in the next request when more pages exist; null on the last page.",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "hasMore",
                            "nextCursor"
                          ],
                          "type": "object"
                        },
                        "query": {
                          "description": "Search query that was evaluated for this response.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "query",
                        "items",
                        "page"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Top search results for the requested query.",
            "headers": {
              "X-AISA-Has-More": {
                "description": "Mirrors aisa_pagination.has_more.",
                "schema": {
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string"
                }
              },
              "X-AISA-Next-Cursor": {
                "description": "Mirrors aisa_pagination.next_cursor; absent on the last page.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Search TikTok Top results",
        "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",
        "x-aisa-category": "social",
        "x-aisa-constraints": {
          "notes": [
            "Some numeric ids inside `details` are larger than 2^53 (9007199254740992) and may not be exact: digits beyond that precision can differ from the real id. When you need an exact id, use the top-level string ids (such as `id`) or the matching `*_str` string fields (for example `details.music.id_str`)."
          ]
        },
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-search-top",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "59deb67c3ad202136083ea2a90966611357ed174ee08ce3e2ab7899472417cf0",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-28",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "aisa_pagination": {
                  "additionalProperties": true,
                  "properties": {
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_cursor": {
                      "type": "string"
                    },
                    "next_param": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "items": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "author": {
                            "additionalProperties": true,
                            "properties": {
                              "avatarUrl": {
                                "type": "string"
                              },
                              "displayName": {
                                "type": "string"
                              },
                              "handle": {
                                "type": "string"
                              },
                              "id": {
                                "type": "string"
                              },
                              "verified": {
                                "type": "boolean"
                              }
                            },
                            "type": "object"
                          },
                          "createdAt": {
                            "type": "string"
                          },
                          "id": {
                            "type": "string"
                          },
                          "media": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "thumbnailUrl": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "page": {
                      "additionalProperties": true,
                      "properties": {
                        "hasMore": {
                          "type": "boolean"
                        },
                        "nextCursor": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "query": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pagination": {
          "ordering": "stable",
          "request": {
            "in": "query",
            "param": "cursor"
          },
          "style": "cursor"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:04aeaf64bedfbb2f845461b0ed885b5466750cc00af96b7824e8c7633601d4e4",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.search.top",
          "path": "/apis/v1/tiktok/search/top"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/shop/products": {
      "get": {
        "description": "Lists products in a TikTok Shop store by its public store URL. Required input: `url`. Results are paged: while `data.page.hasMore` is true, send `data.page.nextCursor` as `cursor` to get the next page.\n\n> **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.shop.products",
        "parameters": [
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "description": "Pagination cursor from a previous response. Omit to request the first page.",
              "maxLength": 16384,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "region",
            "required": false,
            "schema": {
              "description": "Optional region code for the shop catalog. When omitted, the default catalog region is US.",
              "enum": [
                "BR",
                "DE",
                "ES",
                "FR",
                "GB",
                "ID",
                "IE",
                "IT",
                "JP",
                "MX",
                "MY",
                "PH",
                "SG",
                "TH",
                "US",
                "VN"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sortBy",
            "required": false,
            "schema": {
              "description": "Optional product order: `top` for best-selling products first, or `new-releases` for the newest products first. Default: `top`. Send the same value on every page.",
              "enum": [
                "new-releases",
                "top"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "url",
            "required": true,
            "schema": {
              "description": "Public TikTok Shop store URL whose products should be listed.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "found": {
                    "value": {
                      "data": {
                        "lookupStatus": "found",
                        "page": {
                          "hasMore": true,
                          "nextCursor": "WzkzNjgzLCIxNzI5NTg5MjU1NzcwMzc4NzU5Il0="
                        },
                        "products": [
                          {
                            "description": null,
                            "id": "1729527313880355335",
                            "image": {
                              "height": 500,
                              "url": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/30fc1338a2bf474a9d252a790e4c119f~tplv-fhlh96nyum-crop-webp:500:500.webp?dr=12190&t=555f072d&ps=933b5bde&shp=837c8b87&shcp=9b759fb9&idc=useast5&from=2205977479",
                              "width": 500
                            },
                            "imageUrl": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/30fc1338a2bf474a9d252a790e4c119f~tplv-fhlh96nyum-crop-webp:500:500.webp?dr=12190&t=555f072d&ps=933b5bde&shp=837c8b87&shcp=9b759fb9&idc=useast5&from=2205977479",
                            "labels": [],
                            "metrics": {
                              "rating": 4.5,
                              "reviews": 93662,
                              "sold": 1283116
                            },
                            "price": {
                              "currencyCode": "USD",
                              "currencySymbol": "$",
                              "current": "14.96",
                              "discountText": "40%",
                              "original": "24.99",
                              "savingText": "10.03"
                            },
                            "shipFrom": null,
                            "shop": {
                              "id": "7495794203056835079",
                              "logoUrl": null,
                              "name": null
                            },
                            "title": "Goli Ashwagandha & Vitamin D Gummy - Mixed Berry, KSM-66, Vegan, Plant Based, Non-GMO, Gluten-Free & Gelatin Free. America's #1 Ashwagandha Brand",
                            "trustLabel": null,
                            "url": "https://www.tiktok.com/shop/pdp/1729527313880355335"
                          },
                          {
                            "description": null,
                            "id": "1729587769570529799",
                            "image": {
                              "height": 500,
                              "url": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/b0d9acd7ae184c8d89e2e498941485b6~tplv-fhlh96nyum-crop-webp:500:500.webp?dr=12190&t=555f072d&ps=933b5bde&shp=837c8b87&shcp=9b759fb9&idc=useast5&from=2205977479",
                              "width": 500
                            },
                            "imageUrl": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/b0d9acd7ae184c8d89e2e498941485b6~tplv-fhlh96nyum-crop-webp:500:500.webp?dr=12190&t=555f072d&ps=933b5bde&shp=837c8b87&shcp=9b759fb9&idc=useast5&from=2205977479",
                            "labels": [],
                            "metrics": {
                              "rating": 4.7,
                              "reviews": 70599,
                              "sold": 851075
                            },
                            "price": {
                              "currencyCode": "USD",
                              "currencySymbol": "$",
                              "current": "44.96",
                              "discountText": "40%",
                              "original": "74.94",
                              "savingText": "29.98"
                            },
                            "shipFrom": null,
                            "shop": {
                              "id": "7495794203056835079",
                              "logoUrl": null,
                              "name": null
                            },
                            "title": "3 Bottles of Goli Ashwagandha & Vitamin D Gummy - Mixed Berry, KSM-66, Vegan, Plant Based, Non-GMO, Gluten & Gelatin Free",
                            "trustLabel": null,
                            "url": "https://www.tiktok.com/shop/pdp/1729587769570529799"
                          },
                          {
                            "description": null,
                            "id": "1731194857673101831",
                            "image": {
                              "height": 500,
                              "url": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/e27e67fd51f4470594cdf1da3d308b4e~tplv-fhlh96nyum-crop-webp:500:500.webp?dr=12190&t=555f072d&ps=933b5bde&shp=837c8b87&shcp=9b759fb9&idc=useast5&from=2205977479",
                              "width": 500
                            },
                            "imageUrl": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/e27e67fd51f4470594cdf1da3d308b4e~tplv-fhlh96nyum-crop-webp:500:500.webp?dr=12190&t=555f072d&ps=933b5bde&shp=837c8b87&shcp=9b759fb9&idc=useast5&from=2205977479",
                            "labels": [],
                            "metrics": {
                              "rating": 4.5,
                              "reviews": 36875,
                              "sold": 803943
                            },
                            "price": {
                              "currencyCode": "USD",
                              "currencySymbol": "$",
                              "current": "28.48",
                              "discountText": "73%",
                              "original": "105.00",
                              "savingText": "76.52"
                            },
                            "shipFrom": null,
                            "shop": {
                              "id": "7495794203056835079",
                              "logoUrl": null,
                              "name": null
                            },
                            "title": "Zero Sugar Best Seller Trio - World's First 3-in-1 Pre, Post, Probiotic, Apple Cider Vinegar with Vitamin B12 and Probiotics To Address Bloating, Ashwagandha & L-Theanine, Vitamin D gummies. Gluten-Free, Vegan, Non-GMO & Gelatin-Free",
                            "trustLabel": null,
                            "url": "https://www.tiktok.com/shop/pdp/1731194857673101831"
                          }
                        ],
                        "shop": {
                          "followerCount": null,
                          "id": "7495794203056835079",
                          "logoUrl": null,
                          "name": null,
                          "onSellProductCount": null,
                          "rating": null,
                          "region": "US",
                          "reviewCount": null,
                          "soldCount": null,
                          "storeUrl": "https://www.tiktok.com/shop/store/goli-nutrition/7495794203056835079",
                          "videoCount": null
                        }
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_45f86eb8-7e88-469a-87cc-77a675f7e81d",
                        "version": "v1"
                      }
                    }
                  },
                  "not_found": {
                    "value": {
                      "data": {
                        "lookupStatus": "not_found",
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "products": [],
                        "shop": null
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_shop_not_found",
                        "version": "v1"
                      }
                    }
                  },
                  "sparse": {
                    "value": {
                      "data": {
                        "lookupStatus": "found",
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "products": [
                          {
                            "description": null,
                            "id": "1732299628898390535",
                            "image": {
                              "height": 500,
                              "url": "https://p16.example.com/p.webp",
                              "width": 500
                            },
                            "imageUrl": "https://p16.example.com/p.webp",
                            "labels": [],
                            "metrics": {
                              "rating": null,
                              "reviews": null,
                              "sold": 3076
                            },
                            "price": {
                              "currencyCode": "USD",
                              "currencySymbol": "$",
                              "current": "99.98",
                              "discountText": null,
                              "original": null,
                              "savingText": null
                            },
                            "shipFrom": null,
                            "shop": {
                              "id": "7495794203056835079",
                              "logoUrl": null,
                              "name": null
                            },
                            "title": "Goli Restore Kit - 1 Silk Pillow Case & 1 Silk Eye Mask",
                            "trustLabel": null,
                            "url": "https://www.tiktok.com/shop/pdp/1732299628898390535"
                          }
                        ],
                        "shop": {
                          "followerCount": null,
                          "id": "7495794203056835079",
                          "logoUrl": null,
                          "name": null,
                          "onSellProductCount": null,
                          "rating": null,
                          "region": "US",
                          "reviewCount": null,
                          "soldCount": null,
                          "storeUrl": "https://www.tiktok.com/shop/store/goli-nutrition/7495794203056835079",
                          "videoCount": null
                        }
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_shop_sparse",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "aisa_pagination": {
                      "additionalProperties": false,
                      "description": "AIsa pagination. Pass next_cursor as cursor to fetch the next page; has_more is false on the last page.",
                      "properties": {
                        "has_more": {
                          "type": "boolean"
                        },
                        "next_cursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_param": {
                          "const": "cursor",
                          "type": "string"
                        }
                      },
                      "required": [
                        "has_more",
                        "next_cursor",
                        "next_param"
                      ],
                      "type": "object"
                    },
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "lookupStatus": {
                          "description": "Whether the storefront resolved for this request.",
                          "enum": [
                            "found",
                            "not_found"
                          ],
                          "type": "string"
                        },
                        "page": {
                          "description": "Pagination state for the current response.",
                          "properties": {
                            "hasMore": {
                              "description": "Whether another page of products can be requested for this store.",
                              "type": "boolean"
                            },
                            "nextCursor": {
                              "description": "Opaque cursor to pass as `cursor` on the next request when `hasMore` is true; otherwise null.",
                              "minLength": 1,
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "nextCursor",
                            "hasMore"
                          ],
                          "type": "object"
                        },
                        "products": {
                          "description": "Product cards returned for the requested page.",
                          "items": {
                            "description": "A normalized TikTok Shop search result product.",
                            "properties": {
                              "description": {
                                "description": "Product description, when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "id": {
                                "description": "TikTok Shop product identifier.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "image": {
                                "description": "Structured image size metadata when the image URL is available.",
                                "properties": {
                                  "height": {
                                    "description": "Image height in pixels, when available.",
                                    "minimum": 0,
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  },
                                  "url": {
                                    "anyOf": [
                                      {
                                        "minLength": 1,
                                        "type": "string"
                                      },
                                      {}
                                    ],
                                    "description": "Primary product image URL."
                                  },
                                  "width": {
                                    "description": "Image width in pixels, when available.",
                                    "minimum": 0,
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "width",
                                  "height",
                                  "url"
                                ],
                                "type": [
                                  "object",
                                  "null"
                                ]
                              },
                              "imageUrl": {
                                "description": "Primary product image URL, when available.",
                                "minLength": 1,
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "labels": {
                                "description": "Promotional, shipping, and trust labels for the product card.",
                                "items": {
                                  "description": "A promotional, shipping, or trust label for a product card.",
                                  "properties": {
                                    "text": {
                                      "description": "Label text shown for the product.",
                                      "type": "string"
                                    },
                                    "type": {
                                      "description": "TikTok Shop label type code, when available.",
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "text",
                                    "type"
                                  ],
                                  "type": "object"
                                },
                                "type": "array"
                              },
                              "metrics": {
                                "description": "Rating and sales metrics for the product.",
                                "properties": {
                                  "rating": {
                                    "description": "Average product rating, when available.",
                                    "minimum": 0,
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  },
                                  "reviews": {
                                    "description": "Number of product reviews, when available.",
                                    "minimum": 0,
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  },
                                  "sold": {
                                    "description": "Approximate units sold, when available.",
                                    "minimum": 0,
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "sold",
                                  "reviews",
                                  "rating"
                                ],
                                "type": "object"
                              },
                              "price": {
                                "description": "Displayed price data.",
                                "properties": {
                                  "currencyCode": {
                                    "description": "Currency name or code for displayed prices, when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "currencySymbol": {
                                    "description": "Currency symbol for the listed price, when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "current": {
                                    "description": "Current sale price for the product, when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "discountText": {
                                    "description": "Human-readable discount label, when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "original": {
                                    "description": "Original or list price before discount, when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "savingText": {
                                    "description": "Human-readable savings line, when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "currencyCode",
                                  "currencySymbol",
                                  "current",
                                  "original",
                                  "discountText",
                                  "savingText"
                                ],
                                "type": "object"
                              },
                              "shipFrom": {
                                "description": "Reported ship-from location text, when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "shop": {
                                "description": "Selling shop for the product.",
                                "properties": {
                                  "id": {
                                    "description": "TikTok Shop seller identifier, when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "logoUrl": {
                                    "description": "Shop logo image URL, when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "name": {
                                    "description": "Shop display name, when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "id",
                                  "name",
                                  "logoUrl"
                                ],
                                "type": "object"
                              },
                              "title": {
                                "description": "Product title text.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "trustLabel": {
                                "description": "TikTok Shop trust badge label, when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "description": "Canonical public URL for the product page, when available.",
                                "minLength": 1,
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "title",
                              "description",
                              "url",
                              "imageUrl",
                              "shipFrom",
                              "trustLabel",
                              "labels",
                              "price",
                              "metrics",
                              "shop"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "shop": {
                          "description": "Store summary when `lookupStatus` is `found`; null when the store could not be resolved.",
                          "properties": {
                            "followerCount": {
                              "description": "Follower count for the shop, when available.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "id": {
                              "description": "Shop seller identifier, when available.",
                              "minLength": 1,
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "logoUrl": {
                              "description": "Shop logo image URL, when available.",
                              "minLength": 1,
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "name": {
                              "description": "Shop display name, when available.",
                              "minLength": 1,
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "onSellProductCount": {
                              "description": "Count of products currently on sale, when available.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "rating": {
                              "description": "Average shop rating, when available.",
                              "minimum": 0,
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "region": {
                              "description": "Region code reported for the storefront, when available.",
                              "minLength": 1,
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "reviewCount": {
                              "description": "Number of shop reviews, when available.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "soldCount": {
                              "description": "Approximate units sold for the shop, when available.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "storeUrl": {
                              "description": "Canonical public URL for the shop storefront, when available.",
                              "minLength": 1,
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "videoCount": {
                              "description": "Video count associated with the shop, when available.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "logoUrl",
                            "storeUrl",
                            "region",
                            "rating",
                            "soldCount",
                            "reviewCount",
                            "onSellProductCount",
                            "followerCount",
                            "videoCount"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "lookupStatus",
                        "shop",
                        "products",
                        "page"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Store product listing.",
            "headers": {
              "X-AISA-Has-More": {
                "description": "Mirrors aisa_pagination.has_more.",
                "schema": {
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string"
                }
              },
              "X-AISA-Next-Cursor": {
                "description": "Mirrors aisa_pagination.next_cursor; absent on the last page.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List TikTok Shop store products",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-shop-products",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "6ff5ee355e7039d2549b62460118144b8927b0606c75a8cfd604d3e000b8ebcb",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-14",
            "origins": [
              "probe"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "lookupStatus": {
                      "type": "string"
                    },
                    "page": {
                      "additionalProperties": true,
                      "properties": {
                        "hasMore": {
                          "type": "boolean"
                        },
                        "nextCursor": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "products": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "description": {
                            "type": "null"
                          },
                          "id": {
                            "type": "string"
                          },
                          "image": {
                            "additionalProperties": true,
                            "properties": {
                              "height": {
                                "type": "integer"
                              },
                              "url": {
                                "type": "string"
                              },
                              "width": {
                                "type": "integer"
                              }
                            },
                            "type": "object"
                          },
                          "imageUrl": {
                            "type": "string"
                          },
                          "labels": {
                            "items": {},
                            "type": "array"
                          },
                          "metrics": {
                            "additionalProperties": true,
                            "properties": {
                              "rating": {
                                "type": [
                                  "integer",
                                  "number"
                                ]
                              },
                              "reviews": {
                                "type": "integer"
                              },
                              "sold": {
                                "type": "integer"
                              }
                            },
                            "type": "object"
                          },
                          "price": {
                            "additionalProperties": true,
                            "properties": {
                              "currencyCode": {
                                "type": "string"
                              },
                              "currencySymbol": {
                                "type": "string"
                              },
                              "current": {
                                "type": "string"
                              },
                              "discountText": {
                                "type": [
                                  "null",
                                  "string"
                                ]
                              },
                              "original": {
                                "type": [
                                  "null",
                                  "string"
                                ]
                              },
                              "savingText": {
                                "type": [
                                  "null",
                                  "string"
                                ]
                              }
                            },
                            "type": "object"
                          },
                          "shipFrom": {
                            "type": "null"
                          },
                          "shop": {
                            "additionalProperties": true,
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "logoUrl": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "title": {
                            "type": "string"
                          },
                          "trustLabel": {
                            "type": "null"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "shop": {
                      "additionalProperties": true,
                      "properties": {
                        "followerCount": {
                          "type": "integer"
                        },
                        "id": {
                          "type": "string"
                        },
                        "logoUrl": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "onSellProductCount": {
                          "type": "integer"
                        },
                        "rating": {
                          "type": "number"
                        },
                        "region": {
                          "type": "string"
                        },
                        "reviewCount": {
                          "type": "integer"
                        },
                        "soldCount": {
                          "type": "integer"
                        },
                        "storeUrl": {
                          "type": "string"
                        },
                        "videoCount": {
                          "type": "integer"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pagination": {
          "ordering": "stable",
          "request": {
            "in": "query",
            "param": "cursor"
          },
          "style": "cursor"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:a057da945d2cf3eb3e73ae1ce2468e2ea157c351380162ec0a2cb1687f7ccaca",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.shop.products",
          "path": "/apis/v1/tiktok/shop/products"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/shop/products/search": {
      "get": {
        "description": "Searches products in TikTok Shop by keyword. Required input: `query`. Results are paged: while `data.page.hasMore` is true, send `data.page.nextPage` as `page` to get the next page.\n\n> **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.shop.products.search",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "1-based results page number. Omit to request the first page. Pagination is page-based.",
              "maximum": 9223372036854775807,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "query",
            "required": true,
            "schema": {
              "description": "Search query text for TikTok Shop products.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "region",
            "required": false,
            "schema": {
              "description": "Optional country or region code for the product search catalog.",
              "enum": [
                "BR",
                "DE",
                "ES",
                "FR",
                "GB",
                "ID",
                "IE",
                "IT",
                "JP",
                "MX",
                "MY",
                "PH",
                "SG",
                "TH",
                "US",
                "VN"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "empty": {
                    "value": {
                      "data": {
                        "page": {
                          "currentPage": 1,
                          "hasMore": false,
                          "nextPage": null
                        },
                        "products": [],
                        "query": "zzzzimprobablequery",
                        "totalProducts": 0
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_empty",
                        "version": "v1"
                      }
                    }
                  },
                  "sample": {
                    "value": {
                      "data": {
                        "page": {
                          "currentPage": 1,
                          "hasMore": false,
                          "nextPage": null
                        },
                        "products": [
                          {
                            "description": null,
                            "id": "1729416431099876154",
                            "image": {
                              "height": 400,
                              "url": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/6849eb2b077845f08fb846a49385bba7~tplv-fhlh96nyum-crop-webp:400:400.webp?dr=12190&t=555f072d&ps=933b5bde&shp=678cc231&shcp=678cc231&idc=useast5&from=1737278001",
                              "width": 400
                            },
                            "imageUrl": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/6849eb2b077845f08fb846a49385bba7~tplv-fhlh96nyum-crop-webp:400:400.webp?dr=12190&t=555f072d&ps=933b5bde&shp=678cc231&shcp=678cc231&idc=useast5&from=1737278001",
                            "labels": [
                              {
                                "text": "Free shipping",
                                "type": 8
                              }
                            ],
                            "metrics": {
                              "rating": 4.2,
                              "reviews": null,
                              "sold": 85056
                            },
                            "price": {
                              "currencyCode": "USD",
                              "currencySymbol": "$",
                              "current": "29.09",
                              "discountText": "27%",
                              "original": "39.99",
                              "savingText": "Saving $10.90"
                            },
                            "shipFrom": null,
                            "shop": {
                              "id": "7495432602243337018",
                              "logoUrl": null,
                              "name": "Mevlzz"
                            },
                            "title": "Men's Running Shoes Blade Tennis Walking Fashion Sneakers Breathable NonSlip Gym Sports Work Trainers, Perfectfor Students and Outdoor Sport Runner Closed Sports Shoes Walking Shoes Casual Training Footwear Athletic Outdoorfun",
                            "trustLabel": "gold",
                            "url": "https://www.tiktok.com/shop/pdp/1729416431099876154"
                          },
                          {
                            "description": null,
                            "id": "1732318392798253330",
                            "image": {
                              "height": 400,
                              "url": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/54afd12f5c2d48f8bcd3897278cab4dc~tplv-fhlh96nyum-crop-webp:400:400.webp?dr=12190&t=555f072d&ps=933b5bde&shp=678cc231&shcp=678cc231&idc=useast5&from=1737278001",
                              "width": 400
                            },
                            "imageUrl": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/54afd12f5c2d48f8bcd3897278cab4dc~tplv-fhlh96nyum-crop-webp:400:400.webp?dr=12190&t=555f072d&ps=933b5bde&shp=678cc231&shcp=678cc231&idc=useast5&from=1737278001",
                            "labels": [
                              {
                                "text": "Free shipping",
                                "type": 8
                              }
                            ],
                            "metrics": {
                              "rating": null,
                              "reviews": null,
                              "sold": 7
                            },
                            "price": {
                              "currencyCode": "USD",
                              "currencySymbol": "$",
                              "current": "10.91",
                              "discountText": null,
                              "original": null,
                              "savingText": null
                            },
                            "shipFrom": null,
                            "shop": {
                              "id": "7494506852124755218",
                              "logoUrl": null,
                              "name": "VigorPath"
                            },
                            "title": "Men's fashionable lace-up low-top sneakers, casual and comfortable breathable running shoes, versatile round-toe everyday shoes for men, closed design, suitable for both men and women, relaxed fit;'][,..",
                            "trustLabel": null,
                            "url": "https://www.tiktok.com/shop/pdp/1732318392798253330"
                          },
                          {
                            "description": null,
                            "id": "1729483593993459236",
                            "image": {
                              "height": 400,
                              "url": "https://p16-oec-general-useast8.ttcdn-us.com/tos-useast8-i-rt0ujvrtvp-tx2/804286682400442ba848af8e3d903611~tplv-fhlh96nyum-crop-webp:400:400.webp?dr=12190&t=555f072d&ps=933b5bde&shp=678cc231&shcp=678cc231&idc=useast5&from=1737278001",
                              "width": 400
                            },
                            "imageUrl": "https://p16-oec-general-useast8.ttcdn-us.com/tos-useast8-i-rt0ujvrtvp-tx2/804286682400442ba848af8e3d903611~tplv-fhlh96nyum-crop-webp:400:400.webp?dr=12190&t=555f072d&ps=933b5bde&shp=678cc231&shcp=678cc231&idc=useast5&from=1737278001",
                            "labels": [
                              {
                                "text": "Free shipping",
                                "type": 8
                              }
                            ],
                            "metrics": {
                              "rating": 4.3,
                              "reviews": null,
                              "sold": 394
                            },
                            "price": {
                              "currencyCode": "USD",
                              "currencySymbol": "$",
                              "current": "21.99",
                              "discountText": "45%",
                              "original": "39.99",
                              "savingText": "Saving $18.00"
                            },
                            "shipFrom": null,
                            "shop": {
                              "id": "7494150417435559460",
                              "logoUrl": null,
                              "name": "XXXFDADS"
                            },
                            "title": "Men's 1 Pair Minimalist Casual Plain Round Toe Running Shoes, Sporty Lightweight Breathable Running Shoes For Exercise & Daily Wear Bridal Sneaker Athletic Runner Training Closed Trainer Boy",
                            "trustLabel": null,
                            "url": "https://www.tiktok.com/shop/pdp/1729483593993459236"
                          }
                        ],
                        "query": "shoes",
                        "totalProducts": 34
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_61fff5ee-1b68-4b7d-a1ca-d4df556c12b6",
                        "version": "v1"
                      }
                    }
                  },
                  "sparse": {
                    "value": {
                      "data": {
                        "page": {
                          "currentPage": 1,
                          "hasMore": false,
                          "nextPage": null
                        },
                        "products": [
                          {
                            "description": null,
                            "id": "1729505304355116874",
                            "image": {
                              "height": 400,
                              "url": "https://p16.example.com/p.webp",
                              "width": 400
                            },
                            "imageUrl": "https://p16.example.com/p.webp",
                            "labels": [],
                            "metrics": {
                              "rating": null,
                              "reviews": null,
                              "sold": 16
                            },
                            "price": {
                              "currencyCode": "USD",
                              "currencySymbol": "$",
                              "current": "16.00",
                              "discountText": "60%",
                              "original": "39.98",
                              "savingText": "Saving $23.98"
                            },
                            "shipFrom": null,
                            "shop": {
                              "id": "7494469722151290698",
                              "logoUrl": null,
                              "name": "example-shop"
                            },
                            "title": "Sample product with missing rating data",
                            "trustLabel": null,
                            "url": "https://www.tiktok.com/shop/pdp/1729505304355116874"
                          }
                        ],
                        "query": "tshirt",
                        "totalProducts": 2
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_sparse",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "aisa_pagination": {
                      "additionalProperties": false,
                      "description": "AIsa pagination. Pass next_cursor as page to fetch the next page; has_more is false on the last page.",
                      "properties": {
                        "has_more": {
                          "type": "boolean"
                        },
                        "next_cursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_param": {
                          "const": "page",
                          "type": "string"
                        }
                      },
                      "required": [
                        "has_more",
                        "next_cursor",
                        "next_param"
                      ],
                      "type": "object"
                    },
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "page": {
                          "description": "Pagination state for the current response.",
                          "properties": {
                            "currentPage": {
                              "description": "1-based page number for this response.",
                              "minimum": 1,
                              "type": "integer"
                            },
                            "hasMore": {
                              "description": "Whether more product pages are likely available for this search.",
                              "type": "boolean"
                            },
                            "nextPage": {
                              "description": "Next page number to request when more results are available; otherwise null.",
                              "minimum": 1,
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "currentPage",
                            "nextPage",
                            "hasMore"
                          ],
                          "type": "object"
                        },
                        "products": {
                          "description": "Products returned for the requested page.",
                          "items": {
                            "description": "A normalized TikTok Shop search result product.",
                            "properties": {
                              "description": {
                                "description": "Product description, when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "id": {
                                "description": "TikTok Shop product identifier.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "image": {
                                "description": "Structured image size metadata when the image URL is available.",
                                "properties": {
                                  "height": {
                                    "description": "Image height in pixels, when available.",
                                    "minimum": 0,
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  },
                                  "url": {
                                    "anyOf": [
                                      {
                                        "minLength": 1,
                                        "type": "string"
                                      },
                                      {}
                                    ],
                                    "description": "Primary product image URL."
                                  },
                                  "width": {
                                    "description": "Image width in pixels, when available.",
                                    "minimum": 0,
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "width",
                                  "height",
                                  "url"
                                ],
                                "type": [
                                  "object",
                                  "null"
                                ]
                              },
                              "imageUrl": {
                                "description": "Primary product image URL, when available.",
                                "minLength": 1,
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "labels": {
                                "description": "Promotional, shipping, and trust labels for the product card.",
                                "items": {
                                  "description": "A promotional, shipping, or trust label for a product card.",
                                  "properties": {
                                    "text": {
                                      "description": "Label text shown for the product.",
                                      "type": "string"
                                    },
                                    "type": {
                                      "description": "TikTok Shop label type code, when available.",
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "text",
                                    "type"
                                  ],
                                  "type": "object"
                                },
                                "type": "array"
                              },
                              "metrics": {
                                "description": "Rating and sales metrics for the product.",
                                "properties": {
                                  "rating": {
                                    "description": "Average product rating, when available.",
                                    "minimum": 0,
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  },
                                  "reviews": {
                                    "description": "Number of product reviews, when available.",
                                    "minimum": 0,
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  },
                                  "sold": {
                                    "description": "Approximate units sold, when available.",
                                    "minimum": 0,
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "sold",
                                  "reviews",
                                  "rating"
                                ],
                                "type": "object"
                              },
                              "price": {
                                "description": "Displayed price data.",
                                "properties": {
                                  "currencyCode": {
                                    "description": "Currency name or code for displayed prices, when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "currencySymbol": {
                                    "description": "Currency symbol for the listed price, when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "current": {
                                    "description": "Current sale price for the product, when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "discountText": {
                                    "description": "Human-readable discount label, when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "original": {
                                    "description": "Original or list price before discount, when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "savingText": {
                                    "description": "Human-readable savings line, when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "currencyCode",
                                  "currencySymbol",
                                  "current",
                                  "original",
                                  "discountText",
                                  "savingText"
                                ],
                                "type": "object"
                              },
                              "shipFrom": {
                                "description": "Reported ship-from location text, when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "shop": {
                                "description": "Selling shop for the product.",
                                "properties": {
                                  "id": {
                                    "description": "TikTok Shop seller identifier, when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "logoUrl": {
                                    "description": "Shop logo image URL, when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "name": {
                                    "description": "Shop display name, when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "id",
                                  "name",
                                  "logoUrl"
                                ],
                                "type": "object"
                              },
                              "title": {
                                "description": "Product title text.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "trustLabel": {
                                "description": "TikTok Shop trust badge label, when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "description": "Canonical public URL for the product page, when available.",
                                "minLength": 1,
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "title",
                              "description",
                              "url",
                              "imageUrl",
                              "shipFrom",
                              "trustLabel",
                              "labels",
                              "price",
                              "metrics",
                              "shop"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "query": {
                          "description": "Search query that was evaluated for this response.",
                          "type": "string"
                        },
                        "totalProducts": {
                          "description": "Total matching products reported for the search, when available.",
                          "minimum": 0,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "query",
                        "products",
                        "totalProducts",
                        "page"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Product search results for the requested page.",
            "headers": {
              "X-AISA-Has-More": {
                "description": "Mirrors aisa_pagination.has_more.",
                "schema": {
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string"
                }
              },
              "X-AISA-Next-Cursor": {
                "description": "Mirrors aisa_pagination.next_cursor; absent on the last page.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Search TikTok Shop products",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-shop-products-search",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "cae6589be20c259564a7c542836ec5810f468cc97df6fa32f96ec8f4ecd03ecd",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "slow",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-27",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "aisa_pagination": {
                  "additionalProperties": true,
                  "properties": {
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_cursor": {
                      "type": "null"
                    },
                    "next_param": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "page": {
                      "additionalProperties": true,
                      "properties": {
                        "hasMore": {
                          "type": "boolean"
                        },
                        "nextPage": {
                          "type": "null"
                        }
                      },
                      "type": "object"
                    },
                    "products": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "description": {
                            "type": "null"
                          },
                          "id": {
                            "type": "string"
                          },
                          "image": {
                            "additionalProperties": true,
                            "properties": {
                              "height": {
                                "type": "integer"
                              },
                              "url": {
                                "type": "string"
                              },
                              "width": {
                                "type": "integer"
                              }
                            },
                            "type": "object"
                          },
                          "imageUrl": {
                            "type": "string"
                          },
                          "price": {
                            "additionalProperties": true,
                            "properties": {
                              "currencyCode": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "title": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "query": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pagination": {
          "ordering": "stable",
          "request": {
            "in": "query",
            "param": "page"
          },
          "style": "page"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:56c22656fce63d00eea482d21efa4065d62248c3e6d2e176c892a38daba89ea7",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.shop.products.search",
          "path": "/apis/v1/tiktok/shop/products/search"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/songs": {
      "get": {
        "description": "Returns details for a TikTok song or sound by id (the trailing id of a TikTok music page URL). Required input: `id`.\n\n> **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.songs",
        "parameters": [
          {
            "in": "query",
            "name": "id",
            "required": true,
            "schema": {
              "description": "TikTok song or sound id. Use the trailing id from a music page URL, or `music.id` from a video lookup.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "found": {
                    "value": {
                      "data": {
                        "lookupStatus": "found",
                        "song": {
                          "album": "Different",
                          "author": "Micah Tyler",
                          "coverUrl": "https://p16-sg.tiktokcdn.com/aweme/200x200/tos-alisg-v-2774/okeuMAAZnBBv88JZBjFEgjDOtWCZQ4AEEwfoQb.jpeg",
                          "durationSec": 60,
                          "id": "6717159721276540930",
                          "isArtist": true,
                          "isOriginal": false,
                          "playUrl": "https://sf77-ies-music-sg.tiktokcdn.com/obj/tos-alisg-ve-2774/oIBIZNfxOX2Nzi1WRH4ABroDirMAuIjwsGVov9",
                          "shareUrl": "https://www.tiktok.com/music/Different-Acoustic-6717159721276540930",
                          "title": "Different (Acoustic)",
                          "videoCount": 358
                        }
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_tiktok_song",
                        "version": "v1"
                      }
                    }
                  },
                  "not_found": {
                    "value": {
                      "data": {
                        "lookupStatus": "not_found",
                        "song": null
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_tiktok_song_nf",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "lookupStatus": {
                          "description": "Whether the song was found.",
                          "enum": [
                            "found",
                            "not_found"
                          ],
                          "type": "string"
                        },
                        "song": {
                          "description": "Song details when found; null when not found.",
                          "properties": {
                            "album": {
                              "description": "Album name when available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "author": {
                              "description": "Song author or artist name.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "coverUrl": {
                              "description": "Cover image URL when available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "durationSec": {
                              "description": "Clip duration in seconds.",
                              "minimum": 0,
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "id": {
                              "description": "Song or sound id.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "isArtist": {
                              "description": "Whether the author is marked as an artist.",
                              "type": [
                                "boolean",
                                "null"
                              ]
                            },
                            "isOriginal": {
                              "description": "Whether the sound is marked as original.",
                              "type": [
                                "boolean",
                                "null"
                              ]
                            },
                            "playUrl": {
                              "description": "Playable audio URL when available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "shareUrl": {
                              "description": "Public share URL for the sound when available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "title": {
                              "description": "Song title.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "videoCount": {
                              "description": "Number of videos using this sound.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "title",
                            "author",
                            "album",
                            "playUrl",
                            "coverUrl",
                            "durationSec",
                            "videoCount",
                            "isOriginal",
                            "isArtist",
                            "shareUrl"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "lookupStatus",
                        "song"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "TikTok song details."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get TikTok song",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-songs",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "58a343934d56d1a91d94c347594b2798c310a996fd8d94a55ff934237e874185",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-27",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:6a58aa613189cd32611e11ac6779b26465d6311448c99df0c2d321256748f9e3",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.songs",
          "path": "/apis/v1/tiktok/songs"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/users/search": {
      "get": {
        "description": "Searches TikTok users by keyword. Required input: `query`. Results are paged: while `data.page.hasMore` is true, send `data.page.nextCursor` as `cursor` to get the next page.\n\n> **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.users.search",
        "parameters": [
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "description": "Opaque pagination cursor returned by a previous response.",
              "maxLength": 16384,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "query",
            "required": true,
            "schema": {
              "description": "Search query text for TikTok users.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "paginated": {
                    "value": {
                      "data": {
                        "page": {
                          "hasMore": true,
                          "nextCursor": "60"
                        },
                        "query": "taylor",
                        "totalUsers": 30,
                        "users": [
                          {
                            "avatarUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/d29e9fbe227a2a2f66c6fb3808f31e4c~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=8836&idc=useast8&ps=87d6e48a&refresh_token=cecf2601&s=SEARCH&sc=avatar&shcp=c1333099&shp=30310797&t=223449c4&x-expires=1779343200&x-signature=p6N%2BhNIiVdx3V4scHTclmEAz5Po%3D",
                            "bio": "taylor",
                            "displayName": "taylor",
                            "handle": "taylorr.mjohnson",
                            "metrics": {
                              "followers": 95915,
                              "following": 3042,
                              "likes": 88911,
                              "posts": 0
                            },
                            "platform": "tiktok",
                            "platformUserId": "6781280543125668869",
                            "privateAccount": false,
                            "profileUrl": "https://www.tiktok.com/@taylorr.mjohnson",
                            "secUid": "MS4wLjABAAAAKHDEHbjxCTFLMTKWt59bMEgmT3L-vQ7oygAZxKAmYpw6F7FFXTvTI_uLsLyvOjF2",
                            "verified": false
                          },
                          {
                            "avatarUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/012fe1499579b0c274fa3abbae106f35~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=8836&idc=useast8&ps=87d6e48a&refresh_token=45286ce5&s=SEARCH&sc=avatar&shcp=c1333099&shp=30310797&t=223449c4&x-expires=1779343200&x-signature=mHnHJgk0tqbXSRV9p%2B5dDPdDkjI%3D",
                            "bio": "taylor💕",
                            "displayName": "taylor💕",
                            "handle": "taylorrloll",
                            "metrics": {
                              "followers": 319,
                              "following": 99,
                              "likes": 12278,
                              "posts": 4
                            },
                            "platform": "tiktok",
                            "platformUserId": "6644749922209120262",
                            "privateAccount": false,
                            "profileUrl": "https://www.tiktok.com/@taylorrloll",
                            "secUid": "MS4wLjABAAAA3IOFAk-fhHWJqeF2x9hP5Yo4-r-SCyYrhvicjHaMc3yojtRbcrjwVhQ-lzWkia3u",
                            "verified": false
                          },
                          {
                            "avatarUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/d3328a7088857a7cbefe0ff07998dae0~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=8836&idc=useast8&ps=87d6e48a&refresh_token=c29aff76&s=SEARCH&sc=avatar&shcp=c1333099&shp=30310797&t=223449c4&x-expires=1779343200&x-signature=k6KxP6jTCUpk8K8P%2FKLDgON6VZY%3D",
                            "bio": "Taylor💕",
                            "displayName": "Taylor💕",
                            "handle": "tay.quin17",
                            "metrics": {
                              "followers": 756,
                              "following": 5850,
                              "likes": 37157,
                              "posts": 0
                            },
                            "platform": "tiktok",
                            "platformUserId": "7088856834406482990",
                            "privateAccount": true,
                            "profileUrl": "https://www.tiktok.com/@tay.quin17",
                            "secUid": "MS4wLjABAAAAGt1L-PUkJY4ZFdXaRLVNYnaEnZgNxL4KRy8aladf9dLp9D359vH4BGq0Qds5lTBD",
                            "verified": false
                          },
                          {
                            "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/2589f90349b498e8f8e2fb46150ed864~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=8836&idc=useast8&ps=87d6e48a&refresh_token=1acb3880&s=SEARCH&sc=avatar&shcp=c1333099&shp=30310797&t=223449c4&x-expires=1779343200&x-signature=vaDuRma1rG1U8nIZ9gjKyR5duqs%3D",
                            "bio": "tay.taylor031",
                            "displayName": "tay.taylor031",
                            "handle": "tay.taylor031",
                            "metrics": {
                              "followers": 5539,
                              "following": 30,
                              "likes": 48553,
                              "posts": 106
                            },
                            "platform": "tiktok",
                            "platformUserId": "7446830288485237802",
                            "privateAccount": false,
                            "profileUrl": "https://www.tiktok.com/@tay.taylor031",
                            "secUid": "MS4wLjABAAAAvDvzQ5sH2nVkCS2ukzHtPVSiB7bHlR6yW4lys9QyGmZeugNCeKt_4tgC0oR_JwQ0",
                            "verified": false
                          },
                          {
                            "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/e850b8cb5e4bfcf5ed0f69bcf10d8949~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=8836&idc=useast8&ps=87d6e48a&refresh_token=88886d37&s=SEARCH&sc=avatar&shcp=c1333099&shp=30310797&t=223449c4&x-expires=1779343200&x-signature=E0rxIUD9N%2BObV8jjcnos96oGtqw%3D",
                            "bio": "💕",
                            "displayName": "💕",
                            "handle": "teyanataylor90",
                            "metrics": {
                              "followers": 1106498,
                              "following": 57,
                              "likes": 26920162,
                              "posts": 135
                            },
                            "platform": "tiktok",
                            "platformUserId": "7059766617250858031",
                            "privateAccount": false,
                            "profileUrl": "https://www.tiktok.com/@teyanataylor90",
                            "secUid": "MS4wLjABAAAAstNGGnuAzi_ij7wraBwu1gDX2HFOgp2sQ4T5_iMDykLLTvNCJzxoLGGJgkLmMJQn",
                            "verified": false
                          }
                        ]
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_paginated",
                        "version": "v1"
                      }
                    }
                  },
                  "results": {
                    "value": {
                      "data": {
                        "page": {
                          "hasMore": true,
                          "nextCursor": "30"
                        },
                        "query": "taylor",
                        "totalUsers": 30,
                        "users": [
                          {
                            "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/f04f92fffd8b6b16f0132fc6b6d57815~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=8836&idc=useast5&ps=87d6e48a&refresh_token=043a4ab1&s=SEARCH&sc=avatar&shcp=c1333099&shp=30310797&t=223449c4&x-expires=1779343200&x-signature=GnynQ4QGGd9QnKCP%2B%2F2VCAV%2F6Tg…",
                            "bio": "t a y l o r",
                            "displayName": "t a y l o r",
                            "handle": "t.a.y.l.o.r214",
                            "metrics": {
                              "followers": 1011,
                              "following": 385,
                              "likes": 23190,
                              "posts": 2
                            },
                            "platform": "tiktok",
                            "platformUserId": "7509587616057984030",
                            "privateAccount": false,
                            "profileUrl": "https://www.tiktok.com/@t.a.y.l.o.r214",
                            "secUid": "MS4wLjABAAAACD2XdDxJiUNdap1dTsJS44Jfmir7E2zzz6l4cKl5EC4GTXgAydTFLZNWPuAjNfOt",
                            "verified": false
                          },
                          {
                            "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/3c2215161f9f21768386cb83351dd304~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=8836&idc=useast5&ps=87d6e48a&refresh_token=0b5b7aa2&s=SEARCH&sc=avatar&shcp=c1333099&shp=30310797&t=223449c4&x-expires=1779343200&x-signature=20I2zCWDM2dLl0Uh4ZzgZr%2BHchY%3D",
                            "bio": "taylor🩵",
                            "displayName": "taylor🩵",
                            "handle": "tay_tay_spam..pt2",
                            "metrics": {
                              "followers": 907,
                              "following": 278,
                              "likes": 20771,
                              "posts": 254
                            },
                            "platform": "tiktok",
                            "platformUserId": "7134520732457042986",
                            "privateAccount": false,
                            "profileUrl": "https://www.tiktok.com/@tay_tay_spam..pt2",
                            "secUid": "MS4wLjABAAAAy7YzCdKntdgPr_YN8q7_Qkd9Tq621Bh7T6B1c7uBC-NT-uJ-uldIiU9hM42i0nX9",
                            "verified": false
                          },
                          {
                            "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/6824237bb82744783dc08bde11169ff2~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=8836&idc=useast5&ps=87d6e48a&refresh_token=da0f5449&s=SEARCH&sc=avatar&shcp=c1333099&shp=30310797&t=223449c4&x-expires=1779343200&x-signature=W8EvapsGRCeNPrZPGMup4q7riFA%3D",
                            "bio": "Taylor",
                            "displayName": "Taylor",
                            "handle": "taygrimesss",
                            "metrics": {
                              "followers": 116539,
                              "following": 115,
                              "likes": 1173585,
                              "posts": 3
                            },
                            "platform": "tiktok",
                            "platformUserId": "6693888833174340613",
                            "privateAccount": false,
                            "profileUrl": "https://www.tiktok.com/@taygrimesss",
                            "secUid": "MS4wLjABAAAAtg8hlx9vJS8V-bW0W2Oya2QxPvfWfAahQO9ew0_UPSOWE3bVXAQqAKzhjQIJPASl",
                            "verified": false
                          },
                          {
                            "avatarUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/b8717fbddd99c3941b918410525e35ab~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=8836&idc=useast5&ps=87d6e48a&refresh_token=66bf94d6&s=SEARCH&sc=avatar&shcp=c1333099&shp=30310797&t=223449c4&x-expires=1779343200&x-signature=sIIHdqHzz5aJ1WkieX%2BuH7QCD4E%3D",
                            "bio": "taylor",
                            "displayName": "taylor",
                            "handle": "taylorr.r1",
                            "metrics": {
                              "followers": 94465,
                              "following": 74,
                              "likes": 5879995,
                              "posts": 114
                            },
                            "platform": "tiktok",
                            "platformUserId": "6884311149308986374",
                            "privateAccount": false,
                            "profileUrl": "https://www.tiktok.com/@taylorr.r1",
                            "secUid": "MS4wLjABAAAAmZjeyZT921cKex7QZpDP-TSsuPMbEQsnrYzE_D3qqOQcQvbe4IoPlOej3uZz-TI-",
                            "verified": false
                          },
                          {
                            "avatarUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/fbe7c18350e0ad0bd3f87f0fa1436021~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=8836&idc=useast5&ps=87d6e48a&refresh_token=1957b2d9&s=SEARCH&sc=avatar&shcp=c1333099&shp=30310797&t=223449c4&x-expires=1779343200&x-signature=efDPLUCzbaJH%2FPECJut7qYzqRIQ%3D",
                            "bio": "Taylor Banks",
                            "displayName": "Taylor Banks",
                            "handle": "taylorxxbanks",
                            "metrics": {
                              "followers": 1140174,
                              "following": 354,
                              "likes": 11635636,
                              "posts": 366
                            },
                            "platform": "tiktok",
                            "platformUserId": "7230201806583481345",
                            "privateAccount": false,
                            "profileUrl": "https://www.tiktok.com/@taylorxxbanks",
                            "secUid": "MS4wLjABAAAANm2f6ac61OvAKQFEhI4DoC0G9nALXKgipI_NV2Pc0x_j9dBcwkoY2juLwErcmVAT",
                            "verified": false
                          }
                        ]
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example",
                        "version": "v1"
                      }
                    }
                  },
                  "sparse": {
                    "value": {
                      "data": {
                        "page": {
                          "hasMore": true,
                          "nextCursor": "30"
                        },
                        "query": "x",
                        "totalUsers": 30,
                        "users": [
                          {
                            "avatarUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/03c2119a8f5d8059565a2980b89a98d4~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=8836&idc=useast8&ps=87d6e48a&refresh_token=d3958734&s=SEARCH&sc=avatar&shcp=c1333099&shp=30310797&t=223449c4&x-expires=1779343200&x-signature=fXtFg6%2BKUpVrK7p9%2BQ0A2s8csmk%3D",
                            "bio": null,
                            "displayName": "𝐗",
                            "handle": "j63__",
                            "metrics": {
                              "followers": 106304,
                              "following": 18,
                              "likes": null,
                              "posts": null
                            },
                            "platform": "tiktok",
                            "platformUserId": "6709420434797265926",
                            "profileUrl": "https://www.tiktok.com/@j63__",
                            "secUid": "MS4wLjABAAAAq8M3UIw1fOTqZG-KA805VgeIyrUZLxaS-oA2wU1YcBLGSn5xBZ199FfFsiQ5mecn",
                            "verified": false
                          },
                          {
                            "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/c6dc46c86d8ad49e7981e4ac0f264751~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=8836&idc=useast8&ps=87d6e48a&refresh_token=ad562492&s=SEARCH&sc=avatar&shcp=c1333099&shp=30310797&t=223449c4&x-expires=1779343200&x-signature=cFiJUgI7Ih6qxMFadLLL1a0CgM0%3D",
                            "bio": null,
                            "displayName": "xXx",
                            "handle": "alusavrdhl9",
                            "metrics": {
                              "followers": 123046,
                              "following": 1,
                              "likes": null,
                              "posts": null
                            },
                            "platform": "tiktok",
                            "platformUserId": "7610735888997663758",
                            "profileUrl": "https://www.tiktok.com/@alusavrdhl9",
                            "secUid": "MS4wLjABAAAAS8SiSjm7Dyqq53Z6HGj--lyjXbVaF6s1Ql-4PIAeXrqB80bzqx1lGZuUOp-7UISP",
                            "verified": false
                          },
                          {
                            "avatarUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/640bc35df9163f381b82f621dcd49576~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=8836&idc=useast8&ps=87d6e48a&refresh_token=4120cb6a&s=SEARCH&sc=avatar&shcp=c1333099&shp=30310797&t=223449c4&x-expires=1779343200&x-signature=9J6BsWPEhBeeEPZL8J3SZsdZFvo%3D",
                            "bio": null,
                            "displayName": "x",
                            "handle": "dameliosrye",
                            "metrics": {
                              "followers": 191346,
                              "following": 38,
                              "likes": null,
                              "posts": null
                            },
                            "platform": "tiktok",
                            "platformUserId": "6844759448411440134",
                            "profileUrl": "https://www.tiktok.com/@dameliosrye",
                            "secUid": "MS4wLjABAAAA3aBinhwAJCAbWEW4VtULkL_Xfcwv85rD61ZQAsgdF9eXEEPa4INaIDGl5y7_IK0V",
                            "verified": false
                          },
                          {
                            "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/17d25b3f193e87b7460d16e14e35c3d5~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=8836&idc=useast8&ps=87d6e48a&refresh_token=6362e124&s=SEARCH&sc=avatar&shcp=c1333099&shp=30310797&t=223449c4&x-expires=1779343200&x-signature=f3mrdyEE%2FSKESiit9CbPy9cfq4o%3D",
                            "bio": null,
                            "displayName": "X",
                            "handle": "x_dg14",
                            "metrics": {
                              "followers": 116526,
                              "following": 48,
                              "likes": null,
                              "posts": null
                            },
                            "platform": "tiktok",
                            "platformUserId": "6805617589810725893",
                            "profileUrl": "https://www.tiktok.com/@x_dg14",
                            "secUid": "MS4wLjABAAAADEHWNpg4-jsbUsGIMq4xfGY6BHyowQ47zg4qxlfPOy_ofSgDgxmF2-6hqJ1fra69",
                            "verified": false
                          },
                          {
                            "avatarUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast2a-avt-0068-euttp/0d117dbd3b375548d58ef9da7d20780b~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=8836&idc=useast8&ps=87d6e48a&refresh_token=ee775f49&s=SEARCH&sc=avatar&shcp=c1333099&shp=30310797&t=223449c4&x-expires=1779343200&x-signature=l4cYb%2FhpnEia57SlEN7cT7YrmLg…",
                            "bio": null,
                            "displayName": "X",
                            "handle": "_xis.s",
                            "metrics": {
                              "followers": 147154,
                              "following": 0,
                              "likes": null,
                              "posts": null
                            },
                            "platform": "tiktok",
                            "platformUserId": "7291464936097530912",
                            "profileUrl": "https://www.tiktok.com/@_xis.s",
                            "secUid": "MS4wLjABAAAAT_cCqH2jDIZt1woLO58w0DzsbZ6G3ikUSqRDLvI6t-u7UoEj0_CfWesthiQyZN9q",
                            "verified": false
                          }
                        ]
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_sparse",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "aisa_pagination": {
                      "additionalProperties": false,
                      "description": "AIsa pagination. Pass next_cursor as cursor to fetch the next page; has_more is false on the last page.",
                      "properties": {
                        "has_more": {
                          "type": "boolean"
                        },
                        "next_cursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_param": {
                          "const": "cursor",
                          "type": "string"
                        }
                      },
                      "required": [
                        "has_more",
                        "next_cursor",
                        "next_param"
                      ],
                      "type": "object"
                    },
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "page": {
                          "description": "Pagination information for the current response.",
                          "properties": {
                            "hasMore": {
                              "description": "Whether another page of users is likely available.",
                              "type": "boolean"
                            },
                            "nextCursor": {
                              "description": "Cursor to pass in the next request when another page is available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "nextCursor",
                            "hasMore"
                          ],
                          "type": "object"
                        },
                        "query": {
                          "description": "Search query that was evaluated for this response.",
                          "type": "string"
                        },
                        "totalUsers": {
                          "description": "Number of users returned in this response.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "users": {
                          "description": "Users returned for the search query.",
                          "items": {
                            "description": "A summarized TikTok user search result.",
                            "properties": {
                              "avatarUrl": {
                                "description": "Profile image URL for the user, when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "bio": {
                                "description": "Profile biography text, when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "displayName": {
                                "description": "Public display name shown for the user, when available.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "handle": {
                                "description": "TikTok username without the leading @.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "metrics": {
                                "description": "Public profile metrics returned with this search result.",
                                "properties": {
                                  "followers": {
                                    "description": "Follower count when available.",
                                    "minimum": 0,
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  },
                                  "following": {
                                    "description": "Following count when available.",
                                    "minimum": 0,
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  },
                                  "likes": {
                                    "description": "Total profile likes when available.",
                                    "minimum": 0,
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  },
                                  "posts": {
                                    "description": "Public post count when available.",
                                    "minimum": 0,
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "followers",
                                  "following",
                                  "likes",
                                  "posts"
                                ],
                                "type": "object"
                              },
                              "platform": {
                                "description": "Social platform for this user.",
                                "enum": [
                                  "tiktok"
                                ],
                                "type": "string"
                              },
                              "platformUserId": {
                                "description": "TikTok user id as a string when available.",
                                "type": "string"
                              },
                              "privateAccount": {
                                "description": "Whether the account is private, when reported.",
                                "type": "boolean"
                              },
                              "profileUrl": {
                                "description": "Canonical public TikTok profile URL.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "secUid": {
                                "description": "TikTok stable user identifier for advanced integrations, when available.",
                                "type": "string"
                              },
                              "verified": {
                                "description": "Whether the user is marked as verified.",
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "platform",
                              "handle",
                              "displayName",
                              "bio",
                              "avatarUrl",
                              "verified",
                              "profileUrl",
                              "metrics"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "query",
                        "users",
                        "totalUsers",
                        "page"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "User search results for the requested query.",
            "headers": {
              "X-AISA-Has-More": {
                "description": "Mirrors aisa_pagination.has_more.",
                "schema": {
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string"
                }
              },
              "X-AISA-Next-Cursor": {
                "description": "Mirrors aisa_pagination.next_cursor; absent on the last page.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Search TikTok users",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-users-search",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "19a9560cdfd66858c5dc502edb20c0fd0976d30794dae067db888abd5ae4d65b",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-28",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "aisa_pagination": {
                  "additionalProperties": true,
                  "properties": {
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_cursor": {
                      "type": "string"
                    },
                    "next_param": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "page": {
                      "additionalProperties": true,
                      "properties": {
                        "hasMore": {
                          "type": "boolean"
                        },
                        "nextCursor": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "query": {
                      "type": "string"
                    },
                    "users": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "avatarUrl": {
                            "type": "string"
                          },
                          "displayName": {
                            "type": "string"
                          },
                          "handle": {
                            "type": "string"
                          },
                          "profileUrl": {
                            "type": "string"
                          },
                          "verified": {
                            "type": "boolean"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pagination": {
          "ordering": "unstable",
          "request": {
            "in": "query",
            "param": "cursor"
          },
          "style": "cursor"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:26a08a64f9be10b8361c8a60b9848714317db97f12af11cd3ad1f9ac6b26cc49",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.users.search",
          "path": "/apis/v1/tiktok/users/search"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/videos": {
      "get": {
        "description": "Returns a single TikTok video by URL. Required input: `url`.\n\n> **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.videos",
        "parameters": [
          {
            "in": "query",
            "name": "downloadMedia",
            "required": false,
            "schema": {
              "description": "When enabled, include downloadable media files when available. Use a cost quote to check the maximum price.",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "getTranscript",
            "required": false,
            "schema": {
              "description": "When true, includes the video transcript (WEBVTT) in `transcript` when one is available.",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "region",
            "required": false,
            "schema": {
              "description": "Optional ISO 3166-1 country code used to route the request when needed.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "trim",
            "required": false,
            "schema": {
              "description": "When true, returns a smaller response with fewer fields.",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "url",
            "required": true,
            "schema": {
              "description": "Link to the video or photo post.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "download_media": {
                    "value": {
                      "data": {
                        "author": {
                          "handle": "nike",
                          "verified": true
                        },
                        "downloads": [
                          {
                            "cdnUrl": "https://cdn.example.com/hosted.mp4",
                            "originalUrl": "https://cdn.example.com/orig.mp4",
                            "postId": "7587811642650545421",
                            "type": "video"
                          }
                        ],
                        "lookupStatus": "found",
                        "media": {
                          "downloadUrl": "https://example.com/w.mp4",
                          "downloadWithoutWatermarkUrl": "https://example.com/nw.mp4",
                          "thumbnailUrl": "https://example.com/t.jpg"
                        },
                        "metrics": {
                          "comments": 1,
                          "likes": 10,
                          "saves": 0,
                          "shares": 0,
                          "views": 100
                        },
                        "music": null,
                        "transcript": null,
                        "video": {
                          "caption": "Example caption.",
                          "createdAt": "2025-12-25T12:00:00.000Z",
                          "durationMs": 46315,
                          "id": "7587811642650545421",
                          "isAd": false,
                          "mediaType": "video",
                          "region": "US",
                          "url": "https://www.tiktok.com/@nike/video/7587811642650545421"
                        }
                      },
                      "meta": {
                        "creditsCharged": 11,
                        "requestId": "req_01example_dl",
                        "version": "v1"
                      }
                    }
                  },
                  "not_found": {
                    "value": {
                      "data": {
                        "author": null,
                        "downloads": [],
                        "lookupStatus": "not_found",
                        "media": null,
                        "metrics": null,
                        "music": null,
                        "transcript": null,
                        "video": null
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example",
                        "version": "v1"
                      }
                    }
                  },
                  "slideshow": {
                    "value": {
                      "data": {
                        "author": {
                          "handle": "kelseycarlin1",
                          "verified": false
                        },
                        "downloads": [],
                        "lookupStatus": "found",
                        "media": {
                          "downloadUrl": null,
                          "downloadWithoutWatermarkUrl": null,
                          "slideshowImages": [
                            "https://example.com/slide1.jpg",
                            "https://example.com/slide2.jpg"
                          ],
                          "thumbnailUrl": "https://example.com/cover.jpg"
                        },
                        "metrics": null,
                        "music": null,
                        "transcript": null,
                        "video": {
                          "caption": null,
                          "createdAt": "2026-04-16T12:00:00.000Z",
                          "durationMs": null,
                          "id": "7628328815495744790",
                          "isAd": false,
                          "mediaType": "slideshow",
                          "region": "GB",
                          "url": "https://www.tiktok.com/@user/photo/7628328815495744790"
                        }
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_ss",
                        "version": "v1"
                      }
                    }
                  },
                  "transcript": {
                    "value": {
                      "data": {
                        "author": {
                          "handle": "nike",
                          "verified": true
                        },
                        "downloads": [],
                        "lookupStatus": "found",
                        "media": {
                          "downloadUrl": null,
                          "downloadWithoutWatermarkUrl": null,
                          "thumbnailUrl": null
                        },
                        "metrics": null,
                        "music": null,
                        "transcript": {
                          "content": "WEBVTT\n\n00:00:00.140 --> 00:00:04.020\nAll right. Pizza review time",
                          "format": "webvtt"
                        },
                        "video": {
                          "caption": "Example.",
                          "createdAt": "2025-12-25T12:00:00.000Z",
                          "durationMs": 46315,
                          "id": "7587811642650545421",
                          "isAd": false,
                          "mediaType": "video",
                          "region": "US",
                          "url": "https://www.tiktok.com/@nike/video/7587811642650545421"
                        }
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_tr",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "author": {
                          "description": "Author when found.",
                          "properties": {
                            "avatarUrl": {
                              "description": "Profile picture URL.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "handle": {
                              "description": "Public username without a leading @.",
                              "minLength": 1,
                              "type": "string"
                            },
                            "nickname": {
                              "description": "Display name.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "platformUserId": {
                              "description": "Numeric user id.",
                              "type": "string"
                            },
                            "privateAccount": {
                              "description": "Whether the account is private.",
                              "type": "boolean"
                            },
                            "region": {
                              "description": "Two-letter country code when available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "secUid": {
                              "description": "Stable opaque user id.",
                              "type": "string"
                            },
                            "signature": {
                              "description": "Profile bio text.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "verified": {
                              "description": "Whether the account is verified.",
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "handle",
                            "verified"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "details": {
                          "additionalProperties": {},
                          "description": "Additional TikTok-native fields from the post (author, music, video, etc.), minus keys already promoted above.",
                          "properties": {},
                          "type": "object"
                        },
                        "downloads": {
                          "description": "Populated only when `downloadMedia=true` was passed and media was available.",
                          "items": {
                            "description": "A hosted media asset.",
                            "properties": {
                              "cdnUrl": {
                                "description": "Link to the downloaded file, always on a Social Fetch domain. Normally it's on our media CDN and works until the file's retention ends (90 days). For zero-retention workspaces we keep no copy: the link goes through the API, streams the file, and works for 24 hours. Save the file if you need it longer.",
                                "type": "string"
                              },
                              "originalUrl": {
                                "description": "The platform's own URL for the file. It can expire. When it isn't known, this is the same link as `cdnUrl`.",
                                "type": "string"
                              },
                              "postId": {
                                "description": "Video id from the post.",
                                "type": "string"
                              },
                              "type": {
                                "description": "Asset type.",
                                "enum": [
                                  "video",
                                  "image"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "originalUrl",
                              "cdnUrl",
                              "type"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "lookupStatus": {
                          "description": "Whether the video was resolved.",
                          "enum": [
                            "found",
                            "not_found"
                          ],
                          "type": "string"
                        },
                        "media": {
                          "description": "Primary playable media payload for the video.",
                          "properties": {
                            "dimensions": {
                              "description": "Pixel dimensions.",
                              "properties": {
                                "height": {
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "width": {
                                  "minimum": 0,
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "width",
                                "height"
                              ],
                              "type": "object"
                            },
                            "downloadUrl": {
                              "description": "Best available video URL (typically watermarked).",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "downloadWithoutWatermarkUrl": {
                              "description": "Best available video URL without watermark.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "slideshowImages": {
                              "description": "Ordered image URLs when the post is a photo slideshow.",
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "thumbnailUrl": {
                              "description": "Thumbnail or cover image URL.",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "downloadUrl",
                            "downloadWithoutWatermarkUrl",
                            "thumbnailUrl"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "metrics": {
                          "description": "Engagement metrics for the video.",
                          "properties": {
                            "comments": {
                              "description": "Comment count.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "likes": {
                              "description": "Like count.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "saves": {
                              "description": "Save or collection count.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "shares": {
                              "description": "Share count.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "views": {
                              "description": "Play count.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "music": {
                          "description": "Music or sound when found.",
                          "properties": {
                            "author": {
                              "description": "Music author.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "coverUrl": {
                              "description": "Music cover image URL.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "durationSec": {
                              "description": "Music duration in seconds.",
                              "minimum": 0,
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "id": {
                              "description": "Music or sound id.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "isOriginal": {
                              "description": "Whether the sound is marked as original.",
                              "type": "boolean"
                            },
                            "playUrl": {
                              "description": "Music playable URL.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "title": {
                              "description": "Music title.",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "transcript": {
                          "description": "Populated only when `getTranscript=true` was passed and a transcript was available.",
                          "properties": {
                            "content": {
                              "description": "Raw transcript text.",
                              "type": "string"
                            },
                            "format": {
                              "description": "Transcript format.",
                              "enum": [
                                "webvtt"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "format",
                            "content"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "video": {
                          "description": "Video details when found.",
                          "properties": {
                            "caption": {
                              "description": "Caption text.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "createdAt": {
                              "description": "ISO-8601 timestamp when the video was posted.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "durationMs": {
                              "description": "Video duration in milliseconds.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "id": {
                              "description": "TikTok video id.",
                              "minLength": 1,
                              "type": "string"
                            },
                            "isAd": {
                              "description": "Whether TikTok marks the post as an ad.",
                              "type": "boolean"
                            },
                            "mediaType": {
                              "description": "Whether the post is a video or a photo slideshow.",
                              "enum": [
                                "video",
                                "slideshow"
                              ],
                              "type": "string"
                            },
                            "region": {
                              "description": "Video region (two-letter country code).",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "url": {
                              "description": "Canonical public TikTok URL for this video.",
                              "minLength": 1,
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "url",
                            "caption",
                            "createdAt",
                            "durationMs",
                            "mediaType",
                            "isAd"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "lookupStatus",
                        "video",
                        "author",
                        "music",
                        "metrics",
                        "media",
                        "transcript",
                        "downloads"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Video metadata."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get TikTok video",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-videos",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "ac1ab1a5a4d26689c0a36c5a0d405b411afcff56e64d2b61a0937f65e20bd85a",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-22",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "author": {
                      "additionalProperties": true,
                      "properties": {
                        "avatarUrl": {
                          "type": "string"
                        },
                        "handle": {
                          "type": "string"
                        },
                        "region": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "verified": {
                          "type": "boolean"
                        }
                      },
                      "type": "object"
                    },
                    "media": {
                      "additionalProperties": true,
                      "properties": {
                        "thumbnailUrl": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "video": {
                      "additionalProperties": true,
                      "properties": {
                        "createdAt": {
                          "type": "string"
                        },
                        "id": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "url": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.154,
          "estimate_source": "profile_seed",
          "maximum_units": 11
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:60adb66dafb6adaaa4bcddc3ca3156a477b540b95f946fb88b2f93c65bd4737a",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.videos",
          "path": "/apis/v1/tiktok/videos"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/videos/comments": {
      "get": {
        "description": "Lists comments on a TikTok video by URL. Required input: `url`. Results are paged: while `data.page.hasMore` is true, send `data.page.nextCursor` as `cursor` to get the next page.\n\n> **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.videos.comments",
        "parameters": [
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "description": "Opaque cursor from a previous response to fetch the next page.",
              "maxLength": 16384,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "trim",
            "required": false,
            "schema": {
              "description": "When true, returns a smaller response with fewer fields.",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "url",
            "required": true,
            "schema": {
              "description": "Link to the TikTok video whose comments should be listed.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "found": {
                    "value": {
                      "data": {
                        "comments": [
                          {
                            "author": {
                              "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/musically-maliva-obj/1594805258216454~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=98bf492e&x-expires=1779087600&x-signature=d%2FGlXazVIeu08MDw5WaeqAWxlkE%3D&t=4d5b0474&ps=13740610&shp=…",
                              "displayName": "ben_archer",
                              "handle": "ben_archer5",
                              "platformUserId": "7438969898733405239",
                              "secUid": "MS4wLjABAAAAHrPdcmOR158hjBDARhWeVXL36u-vVGVWtIv4sXC9djhb_RH8KQ8am13GmrWozQ8O"
                            },
                            "createdAt": "2025-12-25T15:55:32.000Z",
                            "id": "7587824764670083847",
                            "language": "en",
                            "likes": 81,
                            "replyCount": 4,
                            "text": "People still compare this to angel Reese 🥀"
                          },
                          {
                            "author": {
                              "avatarUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/95271ec1ffdb3f120d967fe3c7978e01~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=91780a33&x-expires=1779087600&x-signature=R9aBxzyoV9JKgzGjjnv3CRFzuO4%3D&t=4d5b047…",
                              "displayName": "LeoBenz74",
                              "handle": "leobenz74",
                              "platformUserId": "6811167406448296965",
                              "secUid": "MS4wLjABAAAAbxeNlS4ISo1JY3mq0qAg_WG-Ju9RrbMx0abQTmIPJLXQ8HsHp9M0RuOcUwFYxeej"
                            },
                            "createdAt": "2025-12-25T15:39:39.000Z",
                            "id": "7587820434877137695",
                            "language": "en",
                            "likes": 263,
                            "replyCount": 1,
                            "text": "Holy moly! The best commercial! 🔥🔥🔥🔥"
                          },
                          {
                            "author": {
                              "avatarUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/8017813134a1a620986a9a9abda0540c~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=fd5c9784&x-expires=1779087600&x-signature=COdb0miNh59Lpw8h%2FuW%2Fp01X84M%3D&t=4d5b…",
                              "displayName": "Brbn4104",
                              "handle": "brbn4104",
                              "platformUserId": "7189282401608516651",
                              "secUid": "MS4wLjABAAAAMDL-7-MNuhjwUcnFlRHDVk2Q2X_i7T7BznivWGdskKhcokI3PHyHN-Xw02mKHo2c"
                            },
                            "createdAt": "2025-12-25T16:15:44.000Z",
                            "id": "7587829762384773919",
                            "language": "en",
                            "likes": 18,
                            "replyCount": 0,
                            "text": "It’s a Caitlin Clark Christmas ❤❤❤"
                          }
                        ],
                        "lookupStatus": "found",
                        "page": {
                          "hasMore": true,
                          "nextCursor": "20"
                        },
                        "totalComments": 271
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_06b2ef8c-b3de-49e1-abaf-f3aadb6738f1",
                        "version": "v1"
                      }
                    }
                  },
                  "no_comments": {
                    "value": {
                      "data": {
                        "comments": [],
                        "lookupStatus": "found",
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "totalComments": 0
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_nc",
                        "version": "v1"
                      }
                    }
                  },
                  "not_found": {
                    "value": {
                      "data": {
                        "comments": [],
                        "lookupStatus": "not_found",
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "totalComments": null
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_nf",
                        "version": "v1"
                      }
                    }
                  },
                  "trimmed": {
                    "value": {
                      "data": {
                        "comments": [
                          {
                            "author": {
                              "avatarUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/c6e908fa865b66074942e946b289fa36~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=29f4bd06&x-expires=1779084000&x-signature=P69QvSJa5r3%2F6kVM3SixfjJhvLM%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast8",
                              "displayName": "Damiendunkr",
                              "handle": "sackofpotatoes1738",
                              "platformUserId": "7161501050990986286",
                              "secUid": "MS4wLjABAAAAaVGKr8d81HzWeMuNwEilHkNywTzpk78ZfkqEgFOszPzT5dpFHzrGTKwD0HHBECor"
                            },
                            "createdAt": "2026-01-18T23:44:02.000Z",
                            "id": "7596851467001119502",
                            "language": "en",
                            "likes": 38959,
                            "replyCount": 64,
                            "text": "I did my worst i’m sorry for what I have done."
                          }
                        ],
                        "lookupStatus": "found",
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "totalComments": 8
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_tr",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "aisa_pagination": {
                      "additionalProperties": false,
                      "description": "AIsa pagination. Pass next_cursor as cursor to fetch the next page; has_more is false on the last page.",
                      "properties": {
                        "has_more": {
                          "type": "boolean"
                        },
                        "next_cursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_param": {
                          "const": "cursor",
                          "type": "string"
                        }
                      },
                      "required": [
                        "has_more",
                        "next_cursor",
                        "next_param"
                      ],
                      "type": "object"
                    },
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "comments": {
                          "description": "Top-level comments for the resolved video.",
                          "items": {
                            "description": "A single top-level comment on a TikTok video.",
                            "properties": {
                              "author": {
                                "description": "Comment author.",
                                "properties": {
                                  "avatarUrl": {
                                    "description": "Profile image URL for the commenter when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "displayName": {
                                    "description": "Display name shown on the commenter profile.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "handle": {
                                    "description": "Public TikTok username without a leading @.",
                                    "minLength": 1,
                                    "type": "string"
                                  },
                                  "platformUserId": {
                                    "description": "Numeric user id for the commenter when available.",
                                    "type": "string"
                                  },
                                  "secUid": {
                                    "description": "Opaque stable user identifier when available.",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "handle",
                                  "displayName",
                                  "avatarUrl"
                                ],
                                "type": "object"
                              },
                              "createdAt": {
                                "description": "ISO-8601 timestamp when the comment was created.",
                                "type": "string"
                              },
                              "id": {
                                "description": "Stable identifier for the comment.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "language": {
                                "description": "Reported language code for the comment text.",
                                "type": "string"
                              },
                              "likes": {
                                "description": "Like count on the comment.",
                                "minimum": 0,
                                "type": "integer"
                              },
                              "replyCount": {
                                "description": "Direct reply count for the comment thread.",
                                "minimum": 0,
                                "type": "integer"
                              },
                              "text": {
                                "description": "Comment text.",
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "text",
                              "createdAt",
                              "likes",
                              "replyCount",
                              "language",
                              "author"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "lookupStatus": {
                          "description": "Whether the video was resolved for this request.",
                          "enum": [
                            "found",
                            "not_found"
                          ],
                          "type": "string"
                        },
                        "page": {
                          "description": "Pagination information for this response.",
                          "properties": {
                            "hasMore": {
                              "description": "Whether another page of comments is available.",
                              "type": "boolean"
                            },
                            "nextCursor": {
                              "description": "Cursor to pass in the next request when more pages exist.",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "nextCursor",
                            "hasMore"
                          ],
                          "type": "object"
                        },
                        "totalComments": {
                          "description": "Total comment count reported for the video when available; null when the video could not be resolved.",
                          "minimum": 0,
                          "type": [
                            "integer",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "lookupStatus",
                        "comments",
                        "page",
                        "totalComments"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Comment listing.",
            "headers": {
              "X-AISA-Has-More": {
                "description": "Mirrors aisa_pagination.has_more.",
                "schema": {
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string"
                }
              },
              "X-AISA-Next-Cursor": {
                "description": "Mirrors aisa_pagination.next_cursor; absent on the last page.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List TikTok video comments",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-videos-comments",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "e37373d59f328352cd43f0f8f6d50cdc8c40504f724b160b8870a2219790fc9e",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-28",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "aisa_pagination": {
                  "additionalProperties": true,
                  "properties": {
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_cursor": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "next_param": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "comments": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "author": {
                            "additionalProperties": true,
                            "properties": {
                              "avatarUrl": {
                                "type": "string"
                              },
                              "displayName": {
                                "type": "string"
                              },
                              "handle": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "createdAt": {
                            "type": "string"
                          },
                          "id": {
                            "type": "string"
                          },
                          "images": {
                            "items": {
                              "additionalProperties": true,
                              "properties": {
                                "height": {
                                  "type": "integer"
                                },
                                "url": {
                                  "type": "string"
                                },
                                "width": {
                                  "type": "integer"
                                }
                              },
                              "type": "object"
                            },
                            "type": "array"
                          },
                          "language": {
                            "type": "string"
                          },
                          "likes": {
                            "type": "integer"
                          },
                          "replyCount": {
                            "type": "integer"
                          },
                          "text": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "page": {
                      "additionalProperties": true,
                      "properties": {
                        "hasMore": {
                          "type": "boolean"
                        },
                        "nextCursor": {
                          "type": [
                            "null",
                            "string"
                          ]
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pagination": {
          "ordering": "stable",
          "request": {
            "in": "query",
            "param": "cursor"
          },
          "style": "cursor"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:e956b64bef8692398fc283c660f481f099ea547be5f0045cfad53a349dd2b4e1",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.videos.comments",
          "path": "/apis/v1/tiktok/videos/comments"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/videos/comments/replies": {
      "get": {
        "description": "Lists replies to a comment on a TikTok video. `commentId` is a comment id from the TikTok video comments operation (`data.comments[].id`). Required inputs: `commentId` and `url`. Results are paged: while `data.page.hasMore` is true, send `data.page.nextCursor` as `cursor` to get the next page.\n\n> **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.videos.comments.replies",
        "parameters": [
          {
            "in": "query",
            "name": "commentId",
            "required": true,
            "schema": {
              "description": "Parent comment id from List TikTok video comments (`data.comments[].id`).",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "description": "Opaque cursor from a previous response to fetch the next page.",
              "maxLength": 16384,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "url",
            "required": true,
            "schema": {
              "description": "Link to the TikTok video that contains the parent comment.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "empty": {
                    "value": {
                      "data": {
                        "lookupStatus": "found",
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "replies": [],
                        "totalReplies": 0
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_replies_empty",
                        "version": "v1"
                      }
                    }
                  },
                  "found": {
                    "value": {
                      "data": {
                        "lookupStatus": "found",
                        "page": {
                          "hasMore": true,
                          "nextCursor": "6"
                        },
                        "replies": [
                          {
                            "author": {
                              "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/93d55c77c594984967fe43b4a657912e~tplv-tiktokx-cropcenter:100:100.jpg",
                              "displayName": "Katy",
                              "handle": "katylynnm",
                              "platformUserId": "6813803505255154693",
                              "secUid": "MS4wLjABAAAAGQCGrZCPx6snYndsBtuAIif17vTOTEfDZ9qd_9yCZlhb3iU0q19qTWYg8xXSwMng"
                            },
                            "createdAt": "2026-04-01T18:05:25.000Z",
                            "id": "7623874021293212447",
                            "language": "en",
                            "likes": 3,
                            "replyCount": 0,
                            "text": "Brilliant"
                          },
                          {
                            "author": {
                              "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/7325959073815789574~tplv-tiktokx-cropcenter:100:100.jpg",
                              "displayName": "mbb_bell",
                              "handle": "mbb_bell",
                              "platformUserId": "115931010369728512",
                              "secUid": "MS4wLjABAAAAFk1D2-jxVvsdu7ML8aUp2mlyNWaGWg703laQFD10O9oCl8l5ScSx1Czqalngf_kE"
                            },
                            "createdAt": "2026-04-01T19:56:44.000Z",
                            "id": "7623902689659257614",
                            "language": "en",
                            "likes": 2,
                            "replyCount": 0,
                            "text": "Girl yes that would be iconic"
                          }
                        ],
                        "totalReplies": 36
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_replies_found",
                        "version": "v1"
                      }
                    }
                  },
                  "not_found": {
                    "value": {
                      "data": {
                        "lookupStatus": "not_found",
                        "page": {
                          "hasMore": false,
                          "nextCursor": null
                        },
                        "replies": [],
                        "totalReplies": null
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_replies_nf",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "aisa_pagination": {
                      "additionalProperties": false,
                      "description": "AIsa pagination. Pass next_cursor as cursor to fetch the next page; has_more is false on the last page.",
                      "properties": {
                        "has_more": {
                          "type": "boolean"
                        },
                        "next_cursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_param": {
                          "const": "cursor",
                          "type": "string"
                        }
                      },
                      "required": [
                        "has_more",
                        "next_cursor",
                        "next_param"
                      ],
                      "type": "object"
                    },
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "lookupStatus": {
                          "description": "Whether the parent comment thread was resolved for this request.",
                          "enum": [
                            "found",
                            "not_found"
                          ],
                          "type": "string"
                        },
                        "page": {
                          "description": "Pagination information for this response.",
                          "properties": {
                            "hasMore": {
                              "description": "Whether another page of replies is available.",
                              "type": "boolean"
                            },
                            "nextCursor": {
                              "description": "Cursor to pass in the next request when more pages exist.",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "nextCursor",
                            "hasMore"
                          ],
                          "type": "object"
                        },
                        "replies": {
                          "description": "Replies returned for this page.",
                          "items": {
                            "description": "A single reply to a TikTok video comment.",
                            "properties": {
                              "author": {
                                "description": "Reply author.",
                                "properties": {
                                  "avatarUrl": {
                                    "description": "Profile image URL for the reply author when available.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "displayName": {
                                    "description": "Display name shown on the reply author profile.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "handle": {
                                    "description": "Public TikTok username without a leading @.",
                                    "minLength": 1,
                                    "type": "string"
                                  },
                                  "platformUserId": {
                                    "description": "Numeric user id for the reply author when available.",
                                    "type": "string"
                                  },
                                  "secUid": {
                                    "description": "Opaque stable user identifier when available.",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "handle",
                                  "displayName",
                                  "avatarUrl"
                                ],
                                "type": "object"
                              },
                              "createdAt": {
                                "description": "ISO-8601 timestamp when the reply was created.",
                                "type": "string"
                              },
                              "id": {
                                "description": "Stable identifier for the reply.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "language": {
                                "description": "Reported language code for the reply text.",
                                "type": "string"
                              },
                              "likes": {
                                "description": "Like count on the reply.",
                                "minimum": 0,
                                "type": "integer"
                              },
                              "replyCount": {
                                "description": "Direct reply count beneath this reply.",
                                "minimum": 0,
                                "type": "integer"
                              },
                              "text": {
                                "description": "Reply text.",
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "text",
                              "createdAt",
                              "likes",
                              "replyCount",
                              "language",
                              "author"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "totalReplies": {
                          "description": "Total reply count reported for the parent comment when available; null when the thread could not be resolved. TikTok also counts hidden and removed replies, so paging to the end can list fewer replies than this.",
                          "minimum": 0,
                          "type": [
                            "integer",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "lookupStatus",
                        "replies",
                        "page",
                        "totalReplies"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Comment reply listing.",
            "headers": {
              "X-AISA-Has-More": {
                "description": "Mirrors aisa_pagination.has_more.",
                "schema": {
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string"
                }
              },
              "X-AISA-Next-Cursor": {
                "description": "Mirrors aisa_pagination.next_cursor; absent on the last page.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List TikTok comment replies",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-videos-comments-replies",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "ed4f2148840b157de07e85e04b78db0f3e9c340bebef80367a33a182fddd4ccf",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-27",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "aisa_pagination": {
                  "additionalProperties": true,
                  "properties": {
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_cursor": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "next_param": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "page": {
                      "additionalProperties": true,
                      "properties": {
                        "hasMore": {
                          "type": "boolean"
                        },
                        "nextCursor": {
                          "type": [
                            "null",
                            "string"
                          ]
                        }
                      },
                      "type": "object"
                    },
                    "replies": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "author": {
                            "additionalProperties": true,
                            "properties": {
                              "avatarUrl": {
                                "type": "string"
                              },
                              "displayName": {
                                "type": "string"
                              },
                              "handle": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "createdAt": {
                            "type": "string"
                          },
                          "id": {
                            "type": "string"
                          },
                          "images": {
                            "items": {},
                            "type": "array"
                          },
                          "language": {
                            "type": "string"
                          },
                          "likes": {
                            "type": "integer"
                          },
                          "replyCount": {
                            "type": "integer"
                          },
                          "text": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pagination": {
          "ordering": "stable",
          "request": {
            "in": "query",
            "param": "cursor"
          },
          "style": "cursor"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:af08acae92c8c857029298906be618574f270a9313fd8efbde4615132a5bc655",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.videos.comments.replies",
          "path": "/apis/v1/tiktok/videos/comments/replies"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/videos/download": {
      "get": {
        "description": "Returns a TikTok video or photo post by URL with its author, sound, engagement metrics and the playable media links. Required input: `url`.\n\n> **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.videos.download",
        "parameters": [
          {
            "in": "query",
            "name": "region",
            "required": false,
            "schema": {
              "description": "Optional ISO 3166-1 country code used to route the request when needed.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "url",
            "required": true,
            "schema": {
              "description": "Link to the video or photo post.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "found": {
                    "value": {
                      "data": {
                        "author": {
                          "handle": "nike",
                          "verified": true
                        },
                        "downloads": [
                          {
                            "cdnUrl": "https://cdn.example.com/hosted.mp4",
                            "originalUrl": "https://cdn.example.com/orig.mp4",
                            "postId": "7587811642650545421",
                            "type": "video"
                          }
                        ],
                        "lookupStatus": "found",
                        "media": {
                          "downloadUrl": "https://example.com/w.mp4",
                          "downloadWithoutWatermarkUrl": "https://example.com/nw.mp4",
                          "thumbnailUrl": "https://example.com/t.jpg"
                        },
                        "metrics": {
                          "comments": 1,
                          "likes": 10,
                          "saves": 0,
                          "shares": 0,
                          "views": 100
                        },
                        "music": null,
                        "transcript": null,
                        "video": {
                          "caption": "Example caption.",
                          "createdAt": "2025-12-25T12:00:00.000Z",
                          "durationMs": 46315,
                          "id": "7587811642650545421",
                          "isAd": false,
                          "mediaType": "video",
                          "region": "US",
                          "url": "https://www.tiktok.com/@nike/video/7587811642650545421"
                        }
                      },
                      "meta": {
                        "creditsCharged": 11,
                        "requestId": "req_01example_dl",
                        "version": "v1"
                      }
                    }
                  },
                  "not_found": {
                    "value": {
                      "data": {
                        "author": null,
                        "downloads": [],
                        "lookupStatus": "not_found",
                        "media": null,
                        "metrics": null,
                        "music": null,
                        "transcript": null,
                        "video": null
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "author": {
                          "description": "Author when found.",
                          "properties": {
                            "avatarUrl": {
                              "description": "Profile picture URL.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "handle": {
                              "description": "Public username without a leading @.",
                              "minLength": 1,
                              "type": "string"
                            },
                            "nickname": {
                              "description": "Display name.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "platformUserId": {
                              "description": "Numeric user id.",
                              "type": "string"
                            },
                            "privateAccount": {
                              "description": "Whether the account is private.",
                              "type": "boolean"
                            },
                            "region": {
                              "description": "Two-letter country code when available.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "secUid": {
                              "description": "Stable opaque user id.",
                              "type": "string"
                            },
                            "signature": {
                              "description": "Profile bio text.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "verified": {
                              "description": "Whether the account is verified.",
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "handle",
                            "verified"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "details": {
                          "additionalProperties": {},
                          "description": "Additional TikTok-native fields from the post (author, music, video, etc.), minus keys already promoted above.",
                          "properties": {},
                          "type": "object"
                        },
                        "downloads": {
                          "description": "Populated only when `downloadMedia=true` was passed and media was available.",
                          "items": {
                            "description": "A hosted media asset.",
                            "properties": {
                              "cdnUrl": {
                                "description": "Link to the downloaded file, always on a Social Fetch domain. Normally it's on our media CDN and works until the file's retention ends (90 days). For zero-retention workspaces we keep no copy: the link goes through the API, streams the file, and works for 24 hours. Save the file if you need it longer.",
                                "type": "string"
                              },
                              "originalUrl": {
                                "description": "The platform's own URL for the file. It can expire. When it isn't known, this is the same link as `cdnUrl`.",
                                "type": "string"
                              },
                              "postId": {
                                "description": "Video id from the post.",
                                "type": "string"
                              },
                              "type": {
                                "description": "Asset type.",
                                "enum": [
                                  "video",
                                  "image"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "originalUrl",
                              "cdnUrl",
                              "type"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "lookupStatus": {
                          "description": "Whether the video was resolved.",
                          "enum": [
                            "found",
                            "not_found"
                          ],
                          "type": "string"
                        },
                        "media": {
                          "description": "Primary playable media payload for the video.",
                          "properties": {
                            "dimensions": {
                              "description": "Pixel dimensions.",
                              "properties": {
                                "height": {
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "width": {
                                  "minimum": 0,
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "width",
                                "height"
                              ],
                              "type": "object"
                            },
                            "downloadUrl": {
                              "description": "Best available video URL (typically watermarked).",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "downloadWithoutWatermarkUrl": {
                              "description": "Best available video URL without watermark.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "slideshowImages": {
                              "description": "Ordered image URLs when the post is a photo slideshow.",
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "thumbnailUrl": {
                              "description": "Thumbnail or cover image URL.",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "downloadUrl",
                            "downloadWithoutWatermarkUrl",
                            "thumbnailUrl"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "metrics": {
                          "description": "Engagement metrics for the video.",
                          "properties": {
                            "comments": {
                              "description": "Comment count.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "likes": {
                              "description": "Like count.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "saves": {
                              "description": "Save or collection count.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "shares": {
                              "description": "Share count.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "views": {
                              "description": "Play count.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "music": {
                          "description": "Music or sound when found.",
                          "properties": {
                            "author": {
                              "description": "Music author.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "coverUrl": {
                              "description": "Music cover image URL.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "durationSec": {
                              "description": "Music duration in seconds.",
                              "minimum": 0,
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "id": {
                              "description": "Music or sound id.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "isOriginal": {
                              "description": "Whether the sound is marked as original.",
                              "type": "boolean"
                            },
                            "playUrl": {
                              "description": "Music playable URL.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "title": {
                              "description": "Music title.",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "transcript": {
                          "description": "Populated only when `getTranscript=true` was passed and a transcript was available.",
                          "properties": {
                            "content": {
                              "description": "Raw transcript text.",
                              "type": "string"
                            },
                            "format": {
                              "description": "Transcript format.",
                              "enum": [
                                "webvtt"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "format",
                            "content"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "video": {
                          "description": "Video details when found.",
                          "properties": {
                            "caption": {
                              "description": "Caption text.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "createdAt": {
                              "description": "ISO-8601 timestamp when the video was posted.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "durationMs": {
                              "description": "Video duration in milliseconds.",
                              "minimum": 0,
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "id": {
                              "description": "TikTok video id.",
                              "minLength": 1,
                              "type": "string"
                            },
                            "isAd": {
                              "description": "Whether TikTok marks the post as an ad.",
                              "type": "boolean"
                            },
                            "mediaType": {
                              "description": "Whether the post is a video or a photo slideshow.",
                              "enum": [
                                "video",
                                "slideshow"
                              ],
                              "type": "string"
                            },
                            "region": {
                              "description": "Video region (two-letter country code).",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "url": {
                              "description": "Canonical public TikTok URL for this video.",
                              "minLength": 1,
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "url",
                            "caption",
                            "createdAt",
                            "durationMs",
                            "mediaType",
                            "isAd"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "lookupStatus",
                        "video",
                        "author",
                        "music",
                        "metrics",
                        "media",
                        "transcript",
                        "downloads"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Video metadata with hosted media download URLs."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Download TikTok video or photo post media",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-videos-download",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "b68905737deb6ab3b470e1a985d1bcfba850eb373f2fa9f3878ca971b87f6fe4",
          "state": "pending"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.154,
          "estimate_source": "profile_seed",
          "maximum_units": 11
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:18337f1a3d75c580f3c208e00c03a14415211c6ac650d32d5dc43029cfae0af6",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.videos.download",
          "path": "/apis/v1/tiktok/videos/download"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/tiktok/videos/transcript": {
      "get": {
        "description": "Returns the spoken transcript for a TikTok video by URL. Required input: `url`.\n\n> **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.videos.transcript",
        "parameters": [
          {
            "in": "query",
            "name": "allowLongTranscription",
            "required": false,
            "schema": {
              "description": "Allow AI transcription of videos longer than two minutes. Longer videos can take a minute or more; use a cost quote to check the maximum price.",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "language",
            "required": false,
            "schema": {
              "description": "Optional two-letter language code to request a transcript in a specific language when available.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "url",
            "required": true,
            "schema": {
              "description": "Link to the TikTok video whose transcript should be returned.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "useAiFallback",
            "required": false,
            "schema": {
              "description": "Allow AI transcription when captions are unavailable. Longer videos also require allowLongTranscription. Use a cost quote to check the maximum price.",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "ai_fallback": {
                    "value": {
                      "data": {
                        "lookupStatus": "found",
                        "transcript": {
                          "content": "hey I'm Maddie, I'm 27 and I live in San Francisco. I've got a room coming available in my apartment.",
                          "format": "text"
                        },
                        "video": {
                          "id": "7628301471137664278",
                          "url": "https://www.tiktok.com/@maddysonm00/video/7628301471137664278"
                        }
                      },
                      "meta": {
                        "creditsCharged": 11,
                        "requestId": "req_01example_ai",
                        "version": "v1"
                      }
                    }
                  },
                  "found": {
                    "value": {
                      "data": {
                        "lookupStatus": "found",
                        "transcript": {
                          "content": "WEBVTT\n\n\n00:00:00.060 --> 00:00:03.100\nThis is the world's largest LED floor.\n\n00:00:03.101 --> 00:00:09.433\nAnd now it's the world's largest green screen. Internet, do your worst.",
                          "format": "webvtt"
                        },
                        "video": {
                          "id": "7596844935442189598",
                          "url": "https://www.tiktok.com/@mrbeast/video/7596844935442189598"
                        }
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_31ab053d-8f69-4968-b138-1dc3cbf6492b",
                        "version": "v1"
                      }
                    }
                  },
                  "no_transcript": {
                    "value": {
                      "data": {
                        "lookupStatus": "found",
                        "transcript": null,
                        "video": {
                          "id": "7579680153173822742",
                          "url": "https://www.tiktok.com/@dadusqooo.p/video/7579680153173822742"
                        }
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_null",
                        "version": "v1"
                      }
                    }
                  },
                  "not_found": {
                    "value": {
                      "data": {
                        "lookupStatus": "not_found",
                        "transcript": null,
                        "video": null
                      },
                      "meta": {
                        "creditsCharged": 1,
                        "requestId": "req_01example_nf",
                        "version": "v1"
                      }
                    }
                  }
                },
                "schema": {
                  "description": "Standard success response envelope.",
                  "properties": {
                    "data": {
                      "description": "Endpoint-specific response payload.",
                      "properties": {
                        "lookupStatus": {
                          "description": "Whether the transcript lookup resolved to a TikTok video.",
                          "enum": [
                            "found",
                            "not_found"
                          ],
                          "type": "string"
                        },
                        "transcript": {
                          "description": "Transcript content when one is available for the resolved video.",
                          "properties": {
                            "content": {
                              "description": "Raw transcript text.",
                              "type": "string"
                            },
                            "format": {
                              "description": "`webvtt` for a caption track (timed cues). `text` for an AI transcript, which is plain text; its timings, when available, are in `segments`.",
                              "enum": [
                                "webvtt",
                                "text"
                              ],
                              "type": "string"
                            },
                            "segments": {
                              "description": "Timed transcript segments (sentence or phrase level). Null or omitted when timings are not available. AI transcript timings are approximate.",
                              "items": {
                                "description": "One timed transcript segment.",
                                "properties": {
                                  "endMs": {
                                    "description": "Segment end offset in milliseconds.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "startMs": {
                                    "description": "Segment start offset in milliseconds.",
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "text": {
                                    "description": "Transcript segment text.",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "text",
                                  "startMs",
                                  "endMs"
                                ],
                                "type": "object"
                              },
                              "type": [
                                "array",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "format",
                            "content"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "video": {
                          "description": "Video identity when the lookup resolved.",
                          "properties": {
                            "id": {
                              "description": "TikTok video id.",
                              "minLength": 1,
                              "type": "string"
                            },
                            "url": {
                              "description": "Canonical public TikTok URL for the video.",
                              "minLength": 1,
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "url"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "lookupStatus",
                        "video",
                        "transcript"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "description": "Metadata describing the request and billing outcome.",
                      "properties": {
                        "creditsCharged": {
                          "description": "Credits charged for this request.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "requestId": {
                          "description": "Unique request identifier for tracing this API call.",
                          "minLength": 1,
                          "type": "string"
                        },
                        "version": {
                          "description": "Public API version that served the response.",
                          "enum": [
                            "v1"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "requestId",
                        "creditsCharged",
                        "version"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Transcript lookup result."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get TikTok video transcript",
        "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",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/tiktok/tiktok-videos-transcript",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "bd5cfae571b4dfb722cb5c6b0da6cfb62aab2245cdf257e2c54fee2e63fd97d1",
          "state": "pending"
        },
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-14",
            "origins": [
              "probe"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "lookupStatus": {
                      "type": "string"
                    },
                    "transcript": {
                      "additionalProperties": true,
                      "properties": {
                        "content": {
                          "type": "string"
                        },
                        "format": {
                          "type": "string"
                        },
                        "segments": {
                          "items": {
                            "additionalProperties": true,
                            "properties": {
                              "endMs": {
                                "type": "integer"
                              },
                              "startMs": {
                                "type": "integer"
                              },
                              "text": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    },
                    "video": {
                      "additionalProperties": true,
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "url": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 8.47,
          "estimate_source": "profile_seed",
          "maximum_units": 605
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:1ed023975c71c8679986ac20155f89b1515f03863c587f7fc47605161bb04f4c",
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "tiktok.videos.transcript",
          "path": "/apis/v1/tiktok/videos/transcript"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ]
}
