# Get recommended ads

Get TikTok AD data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by TikHub, pass parameters such as material_id, and retrieve structured data including business status code, returned materials field, returned msg field, returned country code field, and returned industry field for content research and account lookup, and integration reference.

Documentation: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=0b986dce-2b15-467d-b45d-95b4e06d6362
API ID: 0b986dce-2b15-467d-b45d-95b4e06d6362
Provider: tikhub
Contract revision: 5
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/ads/get_recommended_ads
Page update time: 2026-12-03T02:53:41.835Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.001 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:53:33.358Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "1000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Get recommended ads request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "type": "object",
      "properties": {
        "material_id": {
          "type": "string",
          "description": "广告素材ID/Ad material ID"
        },
        "industry": {
          "type": "string",
          "description": "行业ID/Industry ID"
        },
        "country_code": {
          "type": "string",
          "description": "国家代码/Country code"
        },
        "cookie": {
          "type": "string",
          "description": "自定义Cookie字符串（可选）"
        }
      },
      "required": [
        "material_id"
      ]
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "code": {
      "type": "integer"
    },
    "data": {
      "type": "object",
      "properties": {
        "code": {
          "type": "integer"
        },
        "data": {
          "type": "object",
          "properties": {
            "materials": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "ad_title": {
                    "type": "string"
                  },
                  "brand_name": {
                    "type": "string"
                  },
                  "cost": {
                    "type": "integer"
                  },
                  "ctr": {
                    "type": "number"
                  },
                  "favorite": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "string"
                  },
                  "industry_key": {
                    "type": "string"
                  },
                  "is_search": {
                    "type": "boolean"
                  },
                  "like": {
                    "type": "integer"
                  },
                  "objective_key": {
                    "type": "string"
                  },
                  "tag": {
                    "type": "integer"
                  },
                  "video_info": {
                    "type": "object",
                    "properties": {
                      "cover": {
                        "type": "string"
                      },
                      "duration": {
                        "type": "number"
                      },
                      "height": {
                        "type": "integer"
                      },
                      "vid": {
                        "type": "string"
                      },
                      "video_url": {
                        "type": "object",
                        "properties": {
                          "360p": {
                            "type": "string"
                          },
                          "480p": {
                            "type": "string"
                          },
                          "540p": {
                            "type": "string"
                          },
                          "720p": {
                            "type": "string"
                          }
                        }
                      },
                      "width": {
                        "type": "integer"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "msg": {
          "type": "string"
        }
      }
    },
    "params": {
      "type": "object",
      "properties": {
        "country_code": {
          "type": "string"
        },
        "industry": {
          "type": "string"
        },
        "material_id": {
          "type": "string"
        }
      }
    },
    "router": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example (HTTP assumed; request placeholders)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/ads/get_recommended_ads' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "material_id": "<REPLACE_MATERIAL_ID>"
}'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Configured HTTP 200; actual status is unverified.
```json
{
  "code": 200,
  "data": {
    "code": 0,
    "data": {
      "materials": [
        {
          "ad_title": "What will you decide?",
          "brand_name": "Eatventure",
          "cost": 2,
          "ctr": 0.07,
          "favorite": false,
          "id": "7164756134804979714",
          "industry_key": "label_25308000000",
          "is_search": false,
          "like": 1009024,
          "objective_key": "campaign_objective_conversion",
          "tag": 3,
          "video_info": {
            "cover": "https://p16-sign-sg.tiktokcdn.com/v0201/ogKcNlWrjIQwDVBDpBbeR7PDQXnAIeA9Dgbb4w~tplv-noop.image",
            "duration": 30.016,
            "height": 1280,
            "vid": "v10033g50000ctgjtl7og65ivnpdo87g",
            "video_url": {
              "360p": "https://v16m-default.tiktokcdn.com/9e086e91176219d756e9c875fb739dc4/684d7e29/video/tos/useast2a/tos-useast2a-ve-0051c799-euttp/oIQcoRBNNpXbALnjIeLgbKfwWPDDDDIgQ9l6BF",
              "480p": "https://v16m-default.tiktokcdn.com/2f304931bd351dad0e43e9771364bd78/684d7e29/video/tos/useast2a/tos-useast2a-ve-0051c799-euttp/o8lIsnPILWelBwDbDgDuwQj9UlNebAYdDUXBKS",
              "540p": "https://v16m-default.tiktokcdn.com/351ae3acb3121d42db8a5091811b2340/684d7e29/video/tos/useast2a/tos-useast2a-ve-0051c799-euttp/oQwpeXyWjDBg7KXcBDeDgPnDDbANoISoQIb9Ql",
              "720p": "https://v16m-default.tiktokcdn.com/a04bacceb906e5336a68158479f5eac5/684d7e29/video/tos/useast2a/tos-useast2a-ve-0051c799-euttp/oQQnWCmCDfpgIxegjrKAXZlbIPDNBDDbZQBHw9"
            },
            "width": 720
          }
        }
      ]
    },
    "msg": "OK"
  },
  "params": {
    "country_code": "US",
    "industry": "25308000000",
    "material_id": "7213258221116751874"
  },
  "router": "/api/v1/tiktok/ads/get_recommended_ads"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- anyapi: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=5a707d0d-6a2e-4d20-8d4d-3815d7aed496
- anyapi: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=603f362b-02a4-4ea1-bf03-0aff79f4012b
- anyapi: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=6f094d5d-3fc2-48e6-ace0-0082f93d9987
- anyapi: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=8841b046-b89f-4dfb-bcd9-5cb189a1c77e
- scrapecreators: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=05f2b06f-fc84-4a1d-a8a7-675ccfd4766a
- scrapecreators: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=0b243c2f-276a-430a-abec-fa9ed386b216
- tikhub: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=0b986dce-2b15-467d-b45d-95b4e06d6362
- tikhub: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=2946c851-58ea-4912-86a9-f9cc50ca9192
- tikhub: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=3c3ad071-9a32-402b-a572-ba02dabe019d
- tikhub: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=42a0e4ea-41b8-43e1-864b-3b1910ad03ee
- tikhub: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=462ae38d-a66d-495a-99f0-0599da0cb715
- tikhub: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=9dfa7d86-8f5b-43ac-8bdc-eb7b4a0a488a
- tikhub: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=b80b338c-6891-4598-adc1-9c156181a581
- tikhub: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=f4f7568c-b659-4a0b-bab1-93bc374f1838

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
