🇨🇳简体中文
  • 🇨🇳简体中文
  • 🇺🇸 English
  1. 示例数据模型
🇨🇳简体中文
  • 🇨🇳简体中文
  • 🇺🇸 English
  • 简介
  • 身份验证
  • 用户数据
    • 通过ID获取用户信息
    • 获取用户视频列表
    • 获取用户粉丝列表
    • 获取用户关注列表
    • 获取用户地区
    • 获取用户故事
    • 获取用户点赞的视频列表
    • 获取用户播放列表
    • 通过 ID 获取播放列表信息
    • 验证是否为TTS商家账户
    • 提取用户 user_id
    • 提取用户 sec_uid
    • 验证达人是否开通橱窗
  • 视频数据
    • 通过 ID 获取视频信息
    • 分类下的热门视频列表
    • 热门视频列表
    • 通过话题标签 ID 获取视频列表
    • 通过音乐 ID 获取视频列表
    • 通过播放 ID 获取视频列表
    • 按 ID 查询评论信息
    • 通过视频ID获取评论列表
    • 获取评论的回复列表
    • 通过 ID 获取话题标签信息
    • 通过 ID 获取音乐信息
    • 通过用户 ID 获取用户音乐列表
    • 获取与产品相关的视频列表
    • 获取与小店相关的视频列表
  • 直播数据
    • 通过 ID 获取直播间信息
    • 获取直播间榜单列表
    • 通过ID获取直播间榜单信息
    • 检查直播间是否开播
  • 产品数据
    • 通过 ID 获取产品信息
    • 获取小店的分类
    • 获取产品一级类别元数据
    • 获取产品二级类别元数据
    • 获取产品三级类别元数据
    • 通过 ID 获取小店数据
    • 获取小店内的产品列表数据
    • 通过分享链接获取小店 ID
    • 通过分享链接获取产品 ID
    • 通过类别 ID 获取web首页产品数据
    • 获取视频相关的产品列表
    • 获取用户相关产品列表
  • 搜索
    • 搜索用户
    • 搜索视频
    • 搜索标签
    • 搜索音乐
    • 搜索直播
    • 搜索产品
  • 错误码
    • 错误请求 (400)
    • 未经授权 (401)
    • 账户密钥会话过期 (428)
    • 接口限流 (429)
    • 服务器错误 (500)
  • 密钥
    • 获取有关您的 API 密钥的信息
  • Schemas
    • 示例数据模型
      • UserInfo
      • UserFollowers
      • UserFollowing
      • UserRegion
      • UserVideoList
      • VideoInfo
      • VideoComments
      • VideoCommentsReplies
      • CommentInfo
      • ProductInfo
      • SellerCategories
      • TrendingVideoList
      • TrendingFeed
      • UserStories
      • UserLikedFeed
      • SearchUser
      • SearchVideo
      • SearchHashTag
      • SearchMusic
      • SearchLive
      • SearchProduct
      • UserPlayList
      • PlayListInfo
      • VideoListByPlayId
      • HashtagInfo
      • VideoListByHashtagId
      • VideoListByMusicId
      • MusicInfo
      • UserMusicList
      • LiveInfo
      • LiveRankingList
      • LiveRankingInfo
      • CheckLiveOn
      • ExtractId
      • CategoryMetaData
      • SellerInfo
      • SellerProductList
      • ShareLink
      • HomeCategoryProductList
      • ProductIds
      • VideoIds
  1. 示例数据模型

ProductInfo

{
    "code": 0,
    "msg": "string",
    "data": {
        "layout": null,
        "(name$)/(id)/layout": null,
        "(name$)/(id)/page": {
            "realRegion": "string",
            "realRegionSource": "string",
            "frameworkMonitor": {
                "timeNode": {
                    "acceptRequest": 0,
                    "loaderExecStart": 0,
                    "loaderExecEnd": 0,
                    "ssrRenderStart": 0,
                    "ssrRenderEnd": 0,
                    "ttfb": 0,
                    "fsre": 0,
                    "hydrateStart": 0,
                    "hydrateEnd": 0,
                    "navigationStart": 0,
                    "allApisLatency": 0
                },
                "apiLatencyMap": {
                    "getPayExperiment": 0,
                    "getSearchRecommendWords": 0,
                    "getShopInfo": 0,
                    "getProductUGPacker": 0,
                    "getProductDetail": 0
                }
            },
            "botInfo": {
                "isMock": true,
                "isBot": true,
                "isFake": true,
                "requestURL": "string",
                "requestTime": 0
            },
            "starlingData": {
                "lang": "string"
            },
            "og_info": "string",
            "pathname": "string",
            "vRegions": {
                "VREGION_UNKNOWN": "string",
                "VREGION_CHINAAGGREGATION": "string",
                "VREGION_CHINAENTERPRISE": "string",
                "VREGION_CHINABOE": "string",
                "VREGION_CHINABOE2": "string",
                "VREGION_USBOE": "string",
                "VREGION_SINGAPOREBOE": "string",
                "VREGION_CHINANORTH": "string",
                "VREGION_CHINAFINTECH": "string",
                "VREGION_SINGAPORECENTRAL": "string",
                "VREGION_SINGAPORECOMMON": "string",
                "VREGION_SINGAPOREEE": "string",
                "VREGION_SINGAPORESAAS": "string",
                "VREGION_SINGAPOREGAME": "string",
                "VREGION_ALIYUNNC2": "string",
                "VREGION_USEAST": "string",
                "VREGION_USEASTRED": "string",
                "VREGION_USWEST": "string",
                "VREGION_USCENTRAL": "string",
                "VREGION_USNORTHEAST": "string",
                "VREGION_USEE": "string",
                "VREGION_EUROPEWEST": "string",
                "VREGION_EUROPENORTH": "string",
                "VREGION_EUROPEEAST": "string",
                "VREGION_EUROPECENTRAL": "string",
                "VREGION_EASTERNEUROTT": "string",
                "VREGION_MIDDLEEASTSOUTH": "string",
                "VREGION_SOUTHAMERICAEAST": "string",
                "VREGION_AUSTRALIASOUTHEAST": "string",
                "VREGION_ASIAEAST": "string",
                "VREGION_ASIASOUTHEAST": "string",
                "VREGION_ASIASOUTH": "string",
                "VREGION_ASIANORTHEAST": "string",
                "VREGION_ASIASAAS": "string",
                "VREGION_I18NGAME": "string",
                "VREGION_CHINAINFBOE": "string",
                "VREGION_CHINATEXAS": "string",
                "VREGION_SINGAPORECOMPLIANCE": "string",
                "VREGION_USTTP": "string",
                "VREGION_CHINACDN": "string",
                "VREGION_CHINAEDGE": "string",
                "VREGION_CHINAVOLCEAST": "string",
                "VREGION_CHINAVOLCSOUTH": "string",
                "VREGION_CHINAEAST": "string",
                "VREGION_USTTP2": "string",
                "VREGION_EUTTP": "string",
                "VREGION_CHINAPAY": "string",
                "VREGION_SINFCHINANORTH": "string",
                "VREGION_SINFCHINAEAST": "string",
                "VREGION_ASIASOUTHEASTBD": "string",
                "VREGION_USEASTBD": "string",
                "VREGION_EUCOMPLIANCE2": "string",
                "VREGION_EUCOMPLIANCE": "string",
                "VREGION_IDCOMPLIANCE2": "string",
                "VREGION_IDCOMPLIANCE": "string",
                "VREGION_USCOMPLIANCE": "string",
                "VREGION_EUTTP2": "string",
                "VREGION_CHINAPAY2": "string",
                "VREGION_ASIACIS": "string",
                "VREGION_USSOUTHWEST": "string"
            },
            "requestData": {
                "requestUrl": "string",
                "pathname": "string",
                "searchParams": {},
                "ua": "string",
                "cacheWebId": "string",
                "webId": "string",
                "queryTrafficType": "string",
                "deviceType": "string"
            },
            "currentVRegion": "string",
            "releaseVersion": "string",
            "initialData": {
                "productInfoCode": 0,
                "productInfo": {
                    "product_id": "string",
                    "status": 0,
                    "seller": {
                        "seller_id": "string",
                        "name": "string",
                        "avatar": {
                            "height": 0,
                            "width": 0,
                            "uri": "string",
                            "url_list": [
                                "string"
                            ]
                        },
                        "product_count": 0,
                        "link": "string",
                        "im_schema": "string",
                        "status": 0,
                        "seller_location": "string",
                        "shop_recommend": {
                            "is_recommend": true
                        },
                        "is_hide": true
                    },
                    "product_base": {
                        "title": "string",
                        "desc_detail": "string",
                        "desc_video": {
                            "id": "string",
                            "duration": 0,
                            "post_url": "string",
                            "media_type": "string",
                            "video_infos": [
                                {
                                    "main_url": "string",
                                    "backup_url": "string",
                                    "url_expire": 0,
                                    "width": 0,
                                    "height": 0,
                                    "file_hash": "string",
                                    "format": "string",
                                    "size": 0,
                                    "bitrate": 0,
                                    "video_quality": "string"
                                }
                            ],
                            "da_info": "string"
                        },
                        "images": [
                            {
                                "height": 0,
                                "width": 0,
                                "thumb_uri": "string",
                                "thumb_url_list": [
                                    "string"
                                ],
                                "uri": "string",
                                "url_list": [
                                    "string"
                                ]
                            }
                        ],
                        "specifications": [
                            {
                                "name": "string",
                                "value": "string"
                            }
                        ],
                        "sold_count": 0,
                        "price": {
                            "original_price": "string",
                            "real_price": "string",
                            "discount": "string",
                            "need_icon": "string",
                            "is_interval_price": "string",
                            "show_hot_zone": "string",
                            "min_sku_price": "string",
                            "max_sku_price": "string",
                            "currency": "string",
                            "min_sku_original_price": "string",
                            "panel_schema": "string",
                            "currency_symbol": "string",
                            "symbol_position": "string",
                            "da_info": "string"
                        }
                    },
                    "sale_props": [
                        {
                            "prop_id": "string",
                            "prop_name": "string",
                            "has_image": true,
                            "sale_prop_values": [
                                {
                                    "prop_value_id": "string",
                                    "prop_value": "string",
                                    "image": {
                                        "height": 0,
                                        "width": 0,
                                        "thumb_uri": "string",
                                        "thumb_url_list": [
                                            "string"
                                        ],
                                        "uri": "string",
                                        "url_list": [
                                            "string"
                                        ]
                                    }
                                }
                            ]
                        }
                    ],
                    "skus": [
                        {
                            "sku_id": "string",
                            "sku_sale_props": [
                                {
                                    "prop_id": "string",
                                    "prop_name": "string",
                                    "prop_value_id": "string",
                                    "prop_value": "string"
                                }
                            ],
                            "sale_prop_value_ids": "string",
                            "stock": 0,
                            "purchase_limit": 0,
                            "price": {
                                "real_price": {
                                    "price_str": "string",
                                    "price_val": "string",
                                    "currency": "string",
                                    "original_price": "string"
                                },
                                "original_price": "string",
                                "discount": "string",
                                "original_price_value": "string"
                            },
                            "need_icon": true,
                            "add_to_cart_button": {
                                "status": 0
                            },
                            "warehouse_id": "string",
                            "promotion_view": {},
                            "quantity_property": {
                                "default_add_cart_quantity": 0,
                                "quantity_minus_support_edit": true
                            },
                            "buy_button": {
                                "desc": "string",
                                "default_desc": "string"
                            },
                            "minimum_buy_quantity": 0,
                            "promotion_limit_quantity": 0,
                            "deduction_text": "string",
                            "status": 0,
                            "pdp_button_area_id": "string",
                            "da_info": "string"
                        }
                    ],
                    "logistic": {
                        "delivery_option": 0,
                        "delivery_name": "string",
                        "is_default": true,
                        "reachable": true,
                        "lead_time": "string",
                        "shipping_fee": {
                            "price_str": "string",
                            "price_val": "string",
                            "currency": "string"
                        },
                        "free_shipping": true,
                        "logistic_text": {},
                        "logistics_service_id": "string",
                        "with_voucher": true,
                        "delivery_min_days": 0,
                        "delivery_max_days": 0,
                        "logistic_promotion": {},
                        "event_tracking": {
                            "shipping_price_origin": "string",
                            "est_delivery_day_max": "string",
                            "shipping_price_after_coupon": "string",
                            "is_instant": "string",
                            "shipping_currency": "string",
                            "ship_from": "string",
                            "est_logistic_delivery_day_min": "string",
                            "est_logistic_delivery_day_max": "string",
                            "is_1_day_shipping": "string",
                            "shipping_price": "string",
                            "is_next_day_delivery": "string",
                            "est_delivery_day_min": "string",
                            "delivery_type": "string",
                            "shipping_type": "string"
                        },
                        "original_shipping_val": "string",
                        "transit_delivery_min_days": 0,
                        "transit_delivery_max_days": 0,
                        "leadtime_display_strategy": {
                            "display_edt": true,
                            "display_tts_delivery": true
                        },
                        "cod_available": true
                    },
                    "product_detail_review": {
                        "product_rating": 0,
                        "review_count": 0,
                        "review_items": [
                            {
                                "review": {
                                    "review_id": "string",
                                    "rating": 0,
                                    "display_text": "string",
                                    "images": [
                                        {
                                            "height": 0,
                                            "width": 0,
                                            "thumb_uri": "string",
                                            "thumb_url_list": [
                                                "string"
                                            ],
                                            "uri": "string",
                                            "url_list": [
                                                "string"
                                            ]
                                        }
                                    ],
                                    "review_timestamp": "string",
                                    "has_origin_text": true,
                                    "display_review_text": [
                                        {
                                            "text_type": 0,
                                            "plain_text": "string"
                                        }
                                    ],
                                    "media": [
                                        {
                                            "media_type": 0,
                                            "image": {
                                                "height": 0,
                                                "width": 0,
                                                "thumb_uri": "string",
                                                "thumb_url_list": [
                                                    "string"
                                                ],
                                                "uri": "string",
                                                "url_list": [
                                                    "string"
                                                ]
                                            }
                                        }
                                    ],
                                    "review_timestamp_fmt": "string",
                                    "main_review_title": "string"
                                },
                                "sku_id": "string",
                                "sku_specification": "string",
                                "review_user": {
                                    "name": "string",
                                    "avatar": {
                                        "url_list": [
                                            "string"
                                        ]
                                    },
                                    "link": "string"
                                },
                                "is_owner": true,
                                "is_anonymous": true,
                                "review_source_type": 0,
                                "review_source_name": "string",
                                "link": "string",
                                "is_updated": true,
                                "third_party_popup_title": "string",
                                "third_party_popup_content": "string",
                                "third_party_popup_button_text": "string"
                            }
                        ],
                        "review_count_str": "string",
                        "review_count_str_v2": "string"
                    },
                    "customer_service_schema": "string",
                    "chain_key": "string",
                    "add_to_cart_button": {
                        "status": 0,
                        "click_hint": "string"
                    },
                    "seller_id": "string",
                    "platform": 0,
                    "source": "string",
                    "source_from": 0,
                    "extra": {
                        "mix_product_type": "string"
                    },
                    "default_address_id": "string",
                    "template": 0,
                    "marketing_config": {
                        "remove_price_str": true,
                        "show_deduction_text": true
                    },
                    "shipping": {
                        "logistics": [
                            {
                                "delivery_option": 0,
                                "delivery_name": "string",
                                "is_default": true,
                                "reachable": true,
                                "lead_time": "string",
                                "shipping_fee": {
                                    "price_str": "string",
                                    "price_val": "string",
                                    "currency": "string"
                                },
                                "free_shipping": true,
                                "logistic_text": {},
                                "logistics_service_id": "string",
                                "with_voucher": true,
                                "delivery_min_days": 0,
                                "delivery_max_days": 0,
                                "logistic_promotion": {},
                                "event_tracking": {
                                    "shipping_type": "string",
                                    "est_delivery_day_min": "string",
                                    "delivery_type": "string",
                                    "shipping_currency": "string",
                                    "shipping_price_origin": "string",
                                    "est_delivery_day_max": "string",
                                    "shipping_price_after_coupon": "string",
                                    "is_instant": "string",
                                    "is_1_day_shipping": "string",
                                    "ship_from": "string",
                                    "est_logistic_delivery_day_min": "string",
                                    "est_logistic_delivery_day_max": "string",
                                    "is_next_day_delivery": "string",
                                    "shipping_price": "string"
                                },
                                "original_shipping_val": "string",
                                "transit_delivery_min_days": 0,
                                "transit_delivery_max_days": 0,
                                "leadtime_display_strategy": {
                                    "display_edt": true,
                                    "display_tts_delivery": true
                                },
                                "cod_available": true
                            }
                        ],
                        "shipping_to_address_info": {
                            "no_ship_to_addr": true,
                            "ship_to_button_text": "string",
                            "ship_to_address_brief": "string"
                        },
                        "ship_from_info": {
                            "from_overseas": "string"
                        }
                    },
                    "sku_style": 0,
                    "terms_of_service": {
                        "draft_id": "string",
                        "support_language": [
                            "string"
                        ]
                    },
                    "privacy_policy": {
                        "draft_id": "string",
                        "support_language": [
                            "string"
                        ]
                    },
                    "biz_type": 0,
                    "pdp_logistic_module": {
                        "module_id": "string",
                        "meta": {
                            "pdp_to_logistic_list_info": "string"
                        },
                        "module_title": "string",
                        "shipping_module": {
                            "title": "string",
                            "description_list": [
                                {
                                    "template": "string",
                                    "text_color": "string",
                                    "text_dark_color": "string"
                                }
                            ],
                            "description_list_arrow": {
                                "icon": {
                                    "height": 0,
                                    "width": 0,
                                    "uri": "string",
                                    "url_list": [
                                        "string"
                                    ]
                                },
                                "icon_dark": {
                                    "height": 0,
                                    "width": 0,
                                    "uri": "string",
                                    "url_list": [
                                        "string"
                                    ]
                                }
                            },
                            "appendix_list": [
                                {
                                    "rich_text": {
                                        "template": "string",
                                        "text_color": "string",
                                        "text_dark_color": "string"
                                    }
                                }
                            ],
                            "meta": {
                                "delivery_info": "string",
                                "delivery_flag": "string",
                                "edt_type": "string"
                            }
                        },
                        "return_policy_module": {
                            "title": "string",
                            "description_list_arrow": {
                                "icon": {
                                    "height": 0,
                                    "width": 0,
                                    "uri": "string",
                                    "url_list": [
                                        "string"
                                    ]
                                },
                                "icon_dark": {
                                    "height": 0,
                                    "width": 0,
                                    "uri": "string",
                                    "url_list": [
                                        "string"
                                    ]
                                }
                            }
                        }
                    },
                    "default_sku_id": "string",
                    "is_platform_product": true
                }
            },
            "pdpRelated": [
                "string"
            ],
            "relatedKep": [
                "string"
            ],
            "productCategoryIds": [
                "string"
            ],
            "sellerId": "string",
            "frequentlyBoughtTogether": [
                "string"
            ],
            "similarProductsInCategory": [
                "string"
            ],
            "exploreMoreFromShop": [
                "string"
            ],
            "brandInCategoryRecommendedProducts": [
                "string"
            ],
            "customersAlsoBought": [
                "string"
            ],
            "moreInThisColorStyle": [
                "string"
            ],
            "fbRobotAppSchema": "string",
            "leafCategoryId": "string",
            "categoryModuleInfo": {},
            "categoryName": "string",
            "h5PayInfo": {
                "skipAllExperiment": true,
                "shouldShowH5PayWithoutExperiment": true,
                "skipAllExperimentScene": "string",
                "hitServerPayExperiment": true,
                "shouldCallLibraExperiment": true
            },
            "videoIndexRes": {},
            "relatedVideos": [
                {
                    "item_id": "string",
                    "height": 0,
                    "width": 0,
                    "duration": 0,
                    "author_id": "string",
                    "play_count": "string",
                    "like_count": "string",
                    "upload_time": "string",
                    "expiration_time": "string",
                    "title": "string",
                    "cover_image_url": "string",
                    "content_url": "string",
                    "author_name": "string",
                    "author_avatar_url": "string",
                    "bc_ad_label_text": "string"
                }
            ],
            "shopPerformance": [
                {
                    "score_percentile": 0,
                    "type": 0
                }
            ],
            "categoryInfo": [
                {
                    "category_id": "string",
                    "level": 0,
                    "is_leaf": true,
                    "parent_id": "string",
                    "category_name": "string",
                    "name_key": "string"
                }
            ],
            "canonicalUrl": "string",
            "searchRecommendWords": [
                "string"
            ],
            "randomSearchWord": "string",
            "isRiskRequest": true,
            "shopInfo": {
                "seller_id": "string",
                "sold_count": 0,
                "on_sell_product_count": 0,
                "review_count": 0,
                "global_seller_id": "string",
                "global_sold_count": "string",
                "followers_count": "string",
                "video_count": "string",
                "enable_follow": true,
                "shop_name": "string",
                "shop_logo": {
                    "height": 0,
                    "width": 0,
                    "uri": "string",
                    "url_list": [
                        "string"
                    ]
                },
                "shop_rating": "string",
                "shop_link": "string",
                "background": {
                    "is_default": true,
                    "image": {
                        "height": 0,
                        "width": 0,
                        "uri": "string",
                        "url_list": [
                            "string"
                        ]
                    },
                    "shop_background_type": 0
                },
                "format_sold_count": "string",
                "region": "string",
                "display_on_sell_product_count": "string",
                "format_global_sold_count": "string",
                "format_followers_count": "string",
                "format_video_count": "string",
                "store_sub_score": [
                    {
                        "score": 0,
                        "type": 0,
                        "score_percentage": "string",
                        "high_light_tag": 0,
                        "platform_rate_type": 0
                    }
                ],
                "worst_rating": "string",
                "best_rating": "string",
                "creator_name": "string",
                "shop_identity_label": {
                    "label_type": 0,
                    "identity_label_text": "string",
                    "identity_logo_light": {
                        "height": 0,
                        "width": 0,
                        "ratio": 0,
                        "minetype": "string",
                        "uri": "string",
                        "url_list": [
                            "string"
                        ]
                    },
                    "identity_logo_dark": {
                        "height": 0,
                        "width": 0,
                        "ratio": 0,
                        "minetype": "string",
                        "uri": "string",
                        "url_list": [
                            "string"
                        ]
                    },
                    "identity_label_bg_color_light": "string",
                    "identity_label_bg_color_dark": "string",
                    "identity_label_text_color_light": "string",
                    "identity_label_text_color_dark": "string",
                    "shop_explanation_page_schema": "string",
                    "label_without_bg_style": {
                        "identity_label_text": "string",
                        "identity_logo_light": {
                            "height": 0,
                            "width": 0,
                            "ratio": 0,
                            "minetype": "string",
                            "uri": "string",
                            "url_list": [
                                "string"
                            ]
                        },
                        "identity_logo_dark": {
                            "height": 0,
                            "width": 0,
                            "ratio": 0,
                            "minetype": "string",
                            "uri": "string",
                            "url_list": [
                                "string"
                            ]
                        },
                        "identity_label_text_color_light": "string",
                        "identity_label_text_color_dark": "string",
                        "style_type": 0
                    },
                    "brand_info": {
                        "is_brand": true,
                        "brand_style_list": [
                            "string"
                        ]
                    },
                    "ShopIdentityLabelKey": "string"
                },
                "store_brand_show": {
                    "label_image_light": {
                        "height": 0,
                        "width": 0,
                        "uri": "string",
                        "url_list": [
                            "string"
                        ]
                    },
                    "label_image_dark": {
                        "height": 0,
                        "width": 0,
                        "uri": "string",
                        "url_list": [
                            "string"
                        ]
                    },
                    "brand_type": 0,
                    "label_type_str": "string"
                },
                "desc": "string"
            },
            "shopHotReviews": [
                "string"
            ],
            "loginInfo": {}
        }
    }
}
Built with