{"openapi":"3.1.0","info":{"title":"A2A Fans OpenAPI API","description":"A2A Fans OpenAPI：按社媒、SEO、GEO、电商分类提供数据接口，另提供图片、视频生成和账户服务。","version":"0.1.0"},"paths":{"/api/v1/tiktok/analytics/detect_fake_views":{"get":{"tags":["TikTok"],"summary":"检测TikTok视频虚假流量分析","description":"通过高级算法分析TikTok视频流量数据，精确检测可能存在的虚假观看量和不自然互动 基于TikTok赛马机制(Traffic Pool)流量池理论，评估内容真实性和流量质量 提供全面的欺诈风险分析，包含8种维度、20+指标的深度评估 为创作者、MCN机构和内容管理者提供专业的流量质量报告和优化建议\n\n参数：\n- content_category（string，可选，默认 \"default\"）：内容分类，可选参数，影响互动率基准值，选项包括:\n  - default: 默认类别，通用内容\n  - entertainment: 娱乐内容，预期有较高互动率\n  - education: 教育内容，预期有适中互动和较高收藏率\n  - product: 产品内容，预期有较低互动但较高转化\n  - verified_large: 大型认证账号，预期互动率适当降低\n- item_id（string，必填，未声明默认值）：视频作品ID，必填参数，可从视频URL中提取(例如: 实际分享链接 中的7460937381265411370)\n\n使用说明：- `video_metrics`: 视频核心指标\n  - `total_views`: 总观看量，视频被观看的总次数\n  - `total_likes`: 总点赞数，用户点赞互动次数\n  - `total_comments`: 总评论数，用户评论互动次数\n  - `total_favorites`: 总收藏数，用户收藏次数\n  - `total_shares`: 总分享数，用户分享次数\n  - `engagement_rates`: 互动率指标，值越高越好\n    - `like_ratio`: 点赞率，正常值 1-10%，大账号可能较低\n    - `comment_ratio`: 评论率，正常值 0.1-0.5%，高于1%极佳\n    - `favorite_ratio`: 收藏率，正常值 0.05-0.8%\n    - `share_ratio`: 分享率，正常值 0.05-0.5%，高于1%极佳\n\n- `creator_metrics`: 创作者账号健康指标\n  - `account_age_days`: 账号存在天数，越长越可信\n  - `follower_count`: 粉丝数量，影响预期观看量\n  - `verified`: 是否验证账号，认证账号可信度更高\n  - `trust_score`: 账号信任度评分(0-100)，越高越可信\n\n- `content_metrics`: 内容质量指标\n  - `content_type`: 内容类型(video, image等)\n  - `created_by_ai`: 是否AI生成，AI生成内容可能有特定流量模式\n  - `high_quality_upload`: 是否高质量上传，高质量上传更可信\n\n- `fake_view_analysis`: 虚假流量综合分析\n  - `fake_score`: 虚假流量评分(0-100)，评分越低越好:\n    - 0-20: 极低风险，自然流量模式\n    - 20-40: 低风险，可能有少量异常但不构成问题\n    - 40-60: 中等风险，存在值得关注的异常\n    - 60-80: 高风险，明显的虚假流量特征\n    - 80-100: 极高风险，几乎确定存在虚假流量\n  - `confidence_level`: 风险等级，分为\"Minimal\", \"Low\", \"Medium\", \"High\"\n  - `estimated_fake_views`: 估计虚假观看量，基于虚假流量模型推算\n  - `fake_view_percentage`: 虚假观看百分比，虚假占总量的比例\n  - `is_suspicious`: 是否可疑，综合判断是否需要关注\n  - `main_detection_reason`: 主要检测原因，最显著的异常特征\n  - `component_scores`: 各维度异常评分，各项都是0-100，越低越好:\n    - `engagement_score`: 互动异常评分\n    - `distribution_score`: 分布异常评分\n    - `consistency_score`: 一致性异常评分\n    - `creator_credibility_score`: 创作者可信度异常评分\n    - `content_authenticity_score`: 内容真实性异常评分\n    - `follower_correlation_score`: 粉丝相关性异常评分\n    - `racing_mechanism_score`: 赛马机制异常评分\n    - `fan_growth_score`: 粉丝增长异常评分\n\n- `traffic_pool`: 流量池分析(TikTok赛马机制)\n  - `current_tier`: 当前流量池级别(1-8)，越高代表流量越大\n  - `current_tier_name`: 当前流量池名称\n  - `expected_tier`: 预期流量池级别，基于有机流量预测\n  - `expected_tier_name`: 预期流量池名称\n  - `current_views_range`: 当前流量池预期观看范围\n  - `expected_views_range`: 预期流量池观看范围\n  - `estimated_organic_views`: 估计有机观看量，扣除虚假后的真实观看\n\n- `suspicious_features`: 可疑特征列表，检测到的具体异常现象\n\n- `recommendations`: 建议操作\n  - `action`: 建议操作类型，可能值包括:\n    - `no_action`: 无需操作，健康内容\n    - `monitor`: 持续监控，存在轻微异常\n    - `scheduled_review`: 安排审核，存在值得关注的异常\n    - `immediate_review`: 立即审核，存在严重异常\n  - `risk_level`: 风险等级(\"low\", \"medium\", \"high\", \"critical\")\n  - `potential_revenue_impact`: 潜在收益影响\n  - `suggested_steps`: 建议步骤，具体操作建议\n\n- `mcn_report`: (可选)MCN商业影响分析报告，适用于商业账号\n  - `summary`: 摘要信息\n  - `business_impact`: 商业影响评估\n    - `revenue_impact`: 收益影响评估\n    - `brand_safety_impact`: 品牌安全影响\n    - `platform_relationship`: 平台关系影响\n    - `contract_impact`: 合约影响评估\n  - `recommended_actions`: 建议操作清单\n  - `historical_context`: 历史背景数据\n\n- 基于TikTok原生流量池(Traffic Pool)理论构建的精确评估系统\n- 8个维度、20+指标的全面分析，覆盖流量、互动、创作者、内容等全方位评估\n- 自适应算法，根据账号规模、认证状态、内容类型自动调整阈值\n- 基于大数据统计模型的异常检测，准确识别不自然流量模式\n- 为不同规模账号(微型、小型、中型、大型、超大型)提供定制化评估标准\n- 提供详细的商业影响分析和具体可行的建议步骤 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_analytics_detect_fake_views","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"content_category","in":"query","required":false,"description":"内容分类，可选参数，影响互动率基准值，选项包括:\n  - default: 默认类别，通用内容\n  - entertainment: 娱乐内容，预期有较高互动率\n  - education: 教育内容，预期有适中互动和较高收藏率\n  - product: 产品内容，预期有较低互动但较高转化\n  - verified_large: 大型认证账号，预期互动率适当降低","schema":{"default":"default","description":"内容分类，可选参数，影响互动率基准值，选项包括:\n  - default: 默认类别，通用内容\n  - entertainment: 娱乐内容，预期有较高互动率\n  - education: 教育内容，预期有适中互动和较高收藏率\n  - product: 产品内容，预期有较低互动但较高转化\n  - verified_large: 大型认证账号，预期互动率适当降低","title":"Content Category","type":"string"}},{"name":"item_id","in":"query","required":true,"description":"视频作品ID，必填参数，可从视频URL中提取(例如: 实际分享链接 中的7460937381265411370)","schema":{"description":"视频作品ID，必填参数，可从视频URL中提取(例如: 实际分享链接 中的7460937381265411370)","examples":["7460937381265411370"],"title":"Item Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/analytics/fetch_comment_keywords":{"get":{"tags":["TikTok"],"summary":"获取TikTok视频评论关键词分析","description":"分析视频评论中出现的热门关键词和话题，挖掘用户反馈 提取观众评论中的主要内容和观点，帮助理解受众关注点 支持创作者优化内容策略，增强与观众的互动和连接\n\n参数：\n- item_id（string，必填，未声明默认值）：视频作品ID，必填参数，可从视频分享链接或TikTok Studio获取\n\n使用说明：- `item_id`: 请求的视频ID\n- `key_words`: 评论中提取的关键词列表，包含以下字段:\n  - `key_word`: 关键词文本\n  - `comments`: 包含该关键词的评论列表，每条评论包含:\n    - `cid`: 评论ID\n    - `text`: 评论内容\n    - `create_date`: 评论创建时间戳\n    - `digg_count`: 评论获赞数量\n    - `comment_type`: 评论类型\n    - `comment_author`: 评论作者信息\n      - `uid`: 用户ID\n      - `nick_name`: 用户昵称\n      - `cover`: 用户头像信息\n        - `url_list`: 头像URL列表 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_analytics_fetch_comment_keywords","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"item_id","in":"query","required":true,"description":"视频作品ID，必填参数，可从视频分享链接或TikTok Studio获取","schema":{"description":"视频作品ID，必填参数，可从视频分享链接或TikTok Studio获取","examples":["7502551047378832671"],"title":"Item Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/analytics/fetch_creator_info_and_milestones":{"get":{"tags":["TikTok"],"summary":"获取TikTok创作者信息和里程碑数据","description":"获取TikTok创作者账号的基本信息和关键统计数据 查看创作者账号的成长历程和达成的重要里程碑 分析创作者账号发展轨迹，了解粉丝增长和内容影响力变化\n\n参数：\n- user_id（string，必填，未声明默认值）：创作者用户ID，必填参数，可从用户主页URL或TikTok后台获取\n\n使用说明：- `user_id`: 请求的创作者ID\n- `creator_info`: The creator's basic information\n  - `nickname`: 创作者昵称\n  - `sec_user_id`: 安全用户ID\n  - `unique_id`: 唯一用户名\n  - `avatar_url`: 头像URL\n  - `follower_count`: 粉丝数量\n  - `like_count`: 获赞总数\n- `milestones`: 创作者账号里程碑列表，每个里程碑包含:\n  - `milestone`: 里程碑类型ID\n  - `milestone_title`: 里程碑标题（如\"达到100万粉丝\"）\n  - `milestone_year`: 里程碑达成年份\n  - `milestone_month_day`: 里程碑达成月日\n  - `creator_summary`: 里程碑相关描述 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_analytics_fetch_creator_info_and_milestones","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"user_id","in":"query","required":true,"description":"创作者用户ID，必填参数，可从用户主页URL或TikTok后台获取","schema":{"description":"创作者用户ID，必填参数，可从用户主页URL或TikTok后台获取","examples":["107955"],"title":"User Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/analytics/fetch_video_metrics":{"get":{"tags":["TikTok"],"summary":"获取TikTok作品的统计数据","description":"获取TikTok视频的详细统计数据，包括观看量、点赞数、评论数和收藏数等核心指标 提供总量统计以及从发布日期起14天的每日趋势数据，便于分析视频表现 帮助创作者分析内容效果，评估用户互动情况，优化内容策略\n\n参数：\n- item_id（string，必填，未声明默认值）：视频作品ID，必填参数，可从视频分享链接或TikTok Studio获取\n\n使用说明：- `item_id`: 请求的视频ID\n- `video_views`: 视频总观看次数\n  - `value`: 观看次数数值\n- `video_views_14_days`: 近14天的每日观看量趋势数据\n  - `interval`: 数据间隔类型\n  - `value`: 每日数据列表\n- `likes`: 视频总点赞数\n  - `value`: 点赞数值\n- `likes_14_days`: 近14天的每日点赞数趋势数据\n- `comments`: 视频总评论数\n  - `value`: 评论数值\n- `comments_14_days`: 近14天的每日评论数趋势数据\n- `favorites`: 视频总收藏数\n  - `value`: 收藏数值\n- `favorites_14_days`: 近14天的每日收藏数趋势数据\n- `video_summary`: 视频表现的概览分析\n  - `title`: 概览标题\n  - `content`: 概览内容\n  - `summary_type`: 概览类型 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_analytics_fetch_video_metrics","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"item_id","in":"query","required":true,"description":"视频作品ID，必填参数，可从视频分享链接或TikTok Studio获取","schema":{"description":"视频作品ID，必填参数，可从视频分享链接或TikTok Studio获取","examples":["7502551047378832671"],"title":"Item Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/check_live_room_online":{"get":{"tags":["TikTok"],"summary":"检测TikTok直播间是否在线","description":"检测直播间是否在线 直播间的Room ID可以通过直播间链接从`/api/v1/tiktok/web/get_live_room_id`接口获取\n\n参数：\n- room_id（string，必填，未声明默认值）：直播间id\n\n使用说明：- 是否在线 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_check_live_room_online","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"room_id","in":"query","required":true,"description":"直播间id","schema":{"description":"直播间id","examples":["7358603858249009962"],"title":"Room Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/check_live_room_online_batch":{"post":{"tags":["TikTok"],"summary":"批量检测TikTok直播间在线状态","description":"批量检测多个 TikTok 直播间是否在线，最大支持50个直播间ID Room ID 可以通过 `/api/v1/tiktok/web/get_live_room_id` 获取\n\n参数：\n- room_ids（array，可选，默认 [\"7494491933781003054\",\"7494514925034113835\",\"7494520590523517739\"]）：多个直播间 ID 的数组\n\n使用说明：- 每个直播间的在线状态 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_check_live_room_online_batch","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"description":"批量检测多个 TikTok 直播间是否在线，最大支持50个直播间ID Room ID 可以通过 `/api/v1/tiktok/web/get_live_room_id` 获取","examples":[{}],"properties":{"room_ids":{"default":["7494491933781003054","7494514925034113835","7494520590523517739"],"description":"多个直播间 ID 的数组","items":{"type":"string"},"title":"Room Ids","type":"array"}},"type":"object"}}}}}},"/api/v1/tiktok/app/v3/fetch_creator_search_insights":{"get":{"tags":["TikTok"],"summary":"获取TikTok创作者搜索洞察","description":"获取创作者搜索洞察数据，用于了解热门搜索趋势和创作灵感\n\n参数：\n- category_filters（string，可选，未声明默认值）：分类过滤器，多个用逗号分隔，可选值: Gaming, Fashion, Tourism, Science, Food, Sports\n- creator_source（string，可选，默认 \"general_search\"）：创作者来源，默认 \"general_search\"\n- force_refresh（boolean，可选，默认 false）：是否强制刷新，默认 False\n- language_filters（string，可选，默认 \"en\"）：语言过滤器，多个用逗号分隔，可选值: id, de, en, es, fr, pt, vi, tr, ar, th, ja, ko\n- limit（integer，可选，默认 20）：每页数量，默认20\n- offset（integer，可选，默认 0）：分页偏移量，默认0\n- tab（string，可选，默认 \"all\"）：标签页类型，可选值:\n    - all: 全部\n    - content_gap: 内容差距\n    - follower_searched: 粉丝常搜\n    - life_style: 生活方式\n    - topics: 话题\n    - challenges: 挑战\n    - sounds: 声音\n    - hashtags: 标签\n\n使用说明：- 创作者搜索洞察数据 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_creator_search_insights","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"category_filters","in":"query","required":false,"description":"分类过滤器，多个用逗号分隔，可选值: Gaming, Fashion, Tourism, Science, Food, Sports","schema":{"description":"分类过滤器，多个用逗号分隔，可选值: Gaming, Fashion, Tourism, Science, Food, Sports","title":"Category Filters","type":"string"}},{"name":"creator_source","in":"query","required":false,"description":"创作者来源，默认 \"general_search\"","schema":{"default":"general_search","description":"创作者来源，默认 \"general_search\"","examples":["general_search"],"title":"Creator Source","type":"string"}},{"name":"force_refresh","in":"query","required":false,"description":"是否强制刷新，默认 False","schema":{"default":false,"description":"是否强制刷新，默认 False","title":"Force Refresh","type":"boolean"}},{"name":"language_filters","in":"query","required":false,"description":"语言过滤器，多个用逗号分隔，可选值: id, de, en, es, fr, pt, vi, tr, ar, th, ja, ko","schema":{"default":"en","description":"语言过滤器，多个用逗号分隔，可选值: id, de, en, es, fr, pt, vi, tr, ar, th, ja, ko","examples":["en"],"title":"Language Filters","type":"string"}},{"name":"limit","in":"query","required":false,"description":"每页数量，默认20","schema":{"default":20,"description":"每页数量，默认20","examples":[20],"title":"Limit","type":"integer"}},{"name":"offset","in":"query","required":false,"description":"分页偏移量，默认0","schema":{"default":0,"description":"分页偏移量，默认0","title":"Offset","type":"integer"}},{"name":"tab","in":"query","required":false,"description":"标签页类型，可选值:\n    - all: 全部\n    - content_gap: 内容差距\n    - follower_searched: 粉丝常搜\n    - life_style: 生活方式\n    - topics: 话题\n    - challenges: 挑战\n    - sounds: 声音\n    - hashtags: 标签","schema":{"default":"all","description":"标签页类型，可选值:\n    - all: 全部\n    - content_gap: 内容差距\n    - follower_searched: 粉丝常搜\n    - life_style: 生活方式\n    - topics: 话题\n    - challenges: 挑战\n    - sounds: 声音\n    - hashtags: 标签","examples":["all"],"title":"Tab","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_creator_search_insights_detail":{"get":{"tags":["TikTok"],"summary":"获取TikTok创作者搜索洞察详情","description":"获取创作者搜索洞察详情数据，用于查询特定搜索词条的搜索统计数据\n\n参数：\n- dimension_list（string，可选，默认 \"gender,age,country\"）：维度列表，多个用逗号分隔，可选值: gender（性别）, age（年龄）, country（国家）\n- end_date（integer，可选，未声明默认值）：结束时间戳（秒），仅当 time_range=custom 时生效\n- query_id_str（string，必填，未声明默认值）：搜索词条ID，从 fetch_creator_search_insights 接口返回的数据中获取\n- start_date（integer，可选，未声明默认值）：开始时间戳（秒），仅当 time_range=custom 时生效\n- time_range（string，可选，默认 \"past_30_days\"）：时间范围，可选值:\n    - past_7_days: 过去7天\n    - past_30_days: 过去30天（默认）\n    - past_60_days: 过去60天\n    - past_6_months: 过去6个月\n    - custom: 自定义时间（需配合 start_date 和 end_date 使用，不能超过6个月）\n\n使用说明：- 搜索洞察详情数据，包含搜索趋势、用户画像等 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_creator_search_insights_detail","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"dimension_list","in":"query","required":false,"description":"维度列表，多个用逗号分隔，可选值: gender（性别）, age（年龄）, country（国家）","schema":{"default":"gender,age,country","description":"维度列表，多个用逗号分隔，可选值: gender（性别）, age（年龄）, country（国家）","examples":["gender,age,country"],"title":"Dimension List","type":"string"}},{"name":"end_date","in":"query","required":false,"description":"结束时间戳（秒），仅当 time_range=custom 时生效","schema":{"description":"结束时间戳（秒），仅当 time_range=custom 时生效","title":"End Date","type":"integer"}},{"name":"query_id_str","in":"query","required":true,"description":"搜索词条ID，从 fetch_creator_search_insights 接口返回的数据中获取","schema":{"description":"搜索词条ID，从 fetch_creator_search_insights 接口返回的数据中获取","examples":["122991006"],"title":"Query Id Str","type":"string"}},{"name":"start_date","in":"query","required":false,"description":"开始时间戳（秒），仅当 time_range=custom 时生效","schema":{"description":"开始时间戳（秒），仅当 time_range=custom 时生效","title":"Start Date","type":"integer"}},{"name":"time_range","in":"query","required":false,"description":"时间范围，可选值:\n    - past_7_days: 过去7天\n    - past_30_days: 过去30天（默认）\n    - past_60_days: 过去60天\n    - past_6_months: 过去6个月\n    - custom: 自定义时间（需配合 start_date 和 end_date 使用，不能超过6个月）","schema":{"default":"past_30_days","description":"时间范围，可选值:\n    - past_7_days: 过去7天\n    - past_30_days: 过去30天（默认）\n    - past_60_days: 过去60天\n    - past_6_months: 过去6个月\n    - custom: 自定义时间（需配合 start_date 和 end_date 使用，不能超过6个月）","examples":["past_30_days"],"title":"Time Range","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_creator_search_insights_trend":{"get":{"tags":["TikTok"],"summary":"获取TikTok创作者搜索洞察趋势","description":"获取创作者搜索洞察趋势数据，包含地区和时间维度的搜索热度\n\n参数：\n- from_tab_path（string，可选，默认 \"TRENDING,TOPICS\"）：来源标签路径，默认 \"TRENDING,TOPICS\"\n- query_analysis_required（boolean，可选，默认 true）：是否需要查询分析，默认 True\n- query_id_str（string，必填，未声明默认值）：搜索词条ID，从 fetch_creator_search_insights 接口返回的数据中获取\n\n使用说明：- 搜索趋势数据，包含地区热度、时间趋势等 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_creator_search_insights_trend","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"from_tab_path","in":"query","required":false,"description":"来源标签路径，默认 \"TRENDING,TOPICS\"","schema":{"default":"TRENDING,TOPICS","description":"来源标签路径，默认 \"TRENDING,TOPICS\"","examples":["TRENDING,TOPICS"],"title":"From Tab Path","type":"string"}},{"name":"query_analysis_required","in":"query","required":false,"description":"是否需要查询分析，默认 True","schema":{"default":true,"description":"是否需要查询分析，默认 True","examples":[true],"title":"Query Analysis Required","type":"boolean"}},{"name":"query_id_str","in":"query","required":true,"description":"搜索词条ID，从 fetch_creator_search_insights 接口返回的数据中获取","schema":{"description":"搜索词条ID，从 fetch_creator_search_insights 接口返回的数据中获取","examples":["7555720035176562699"],"title":"Query Id Str","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_creator_search_insights_videos":{"get":{"tags":["TikTok"],"summary":"获取TikTok创作者搜索洞察相关视频","description":"获取创作者搜索洞察相关视频，查询该搜索词条下比较火的相关视频\n\n参数：\n- count（integer，可选，默认 20）：每页数量，默认20\n- keyword（string，必填，未声明默认值）：搜索关键词，从 fetch_creator_search_insights 或 fetch_creator_search_insights_trend 接口获取\n- offset（integer，可选，默认 0）：分页偏移量，默认0\n\n使用说明：- 相关热门视频列表 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_creator_search_insights_videos","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"每页数量，默认20","schema":{"default":20,"description":"每页数量，默认20","examples":[20],"title":"Count","type":"integer"}},{"name":"keyword","in":"query","required":true,"description":"搜索关键词，从 fetch_creator_search_insights 或 fetch_creator_search_insights_trend 接口获取","schema":{"description":"搜索关键词，从 fetch_creator_search_insights 或 fetch_creator_search_insights_trend 接口获取","examples":["headshots 2 2 3"],"title":"Keyword","type":"string"}},{"name":"offset","in":"query","required":false,"description":"分页偏移量，默认0","schema":{"default":0,"description":"分页偏移量，默认0","title":"Offset","type":"integer"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_general_search_result":{"get":{"tags":["TikTok"],"summary":"获取TikTok指定关键词的综合搜索结果","description":"获取指定关键词的综合搜索结果\n\n参数：\n- count（integer，可选，默认 20）：数量\n- keyword（string，必填，未声明默认值）：关键词\n- offset（integer，可选，默认 0）：偏移量\n- publish_time（integer，可选，默认 0）：0-不限制，1-最近一天，7-最近一周，30-最近一个月，90-最近三个月，180-最近半年\n- sort_type（integer，可选，默认 0）：0-相关度，1-最多点赞\n\n使用说明：- 综合搜索结果 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_general_search_result","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"数量","schema":{"default":20,"description":"数量","examples":[20],"title":"Count","type":"integer"}},{"name":"keyword","in":"query","required":true,"description":"关键词","schema":{"description":"关键词","examples":["中华娘"],"title":"Keyword","type":"string"}},{"name":"offset","in":"query","required":false,"description":"偏移量","schema":{"default":0,"description":"偏移量","title":"Offset","type":"integer"}},{"name":"publish_time","in":"query","required":false,"description":"0-不限制，1-最近一天，7-最近一周，30-最近一个月，90-最近三个月，180-最近半年","schema":{"default":0,"description":"0-不限制，1-最近一天，7-最近一周，30-最近一个月，90-最近三个月，180-最近半年","title":"Publish Time","type":"integer"}},{"name":"sort_type","in":"query","required":false,"description":"0-相关度，1-最多点赞","schema":{"default":0,"description":"0-相关度，1-最多点赞","title":"Sort Type","type":"integer"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_hashtag_detail":{"get":{"tags":["TikTok"],"summary":"获取TikTok指定话题的详情数据","description":"获取指定话题的详情数据\n\n参数：\n- ch_id（string，必填，未声明默认值）：话题id\n- region（string，可选，默认 \"US\"）：地区，支持 US, GB, FR, JP, VN, SG，默认 US\n\n使用说明：- 话题详情数据 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_hashtag_detail","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"ch_id","in":"query","required":true,"description":"话题id","schema":{"description":"话题id","examples":["7551"],"title":"Ch Id","type":"string"}},{"name":"region","in":"query","required":false,"description":"地区，支持 US, GB, FR, JP, VN, SG，默认 US","schema":{"default":"US","description":"地区，支持 US, GB, FR, JP, VN, SG，默认 US","title":"Region","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_hashtag_search_result":{"get":{"tags":["TikTok"],"summary":"获取TikTok指定关键词的话题搜索结果","description":"获取指定关键词的话题搜索结果\n\n参数：\n- count（integer，可选，默认 20）：数量\n- keyword（string，必填，未声明默认值）：关键词\n- offset（integer，可选，默认 0）：偏移量\n\n使用说明：- 话题搜索结果 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_hashtag_search_result","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"数量","schema":{"default":20,"description":"数量","title":"Count","type":"integer"}},{"name":"keyword","in":"query","required":true,"description":"关键词","schema":{"description":"关键词","examples":["Cat"],"title":"Keyword","type":"string"}},{"name":"offset","in":"query","required":false,"description":"偏移量","schema":{"default":0,"description":"偏移量","title":"Offset","type":"integer"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_hashtag_video_list":{"get":{"tags":["TikTok"],"summary":"获取TikTok指定话题的作品数据","description":"获取指定话题的作品数据\n\n参数：\n- ch_id（string，必填，未声明默认值）：话题id\n- count（integer，可选，默认 10）：数量\n- cursor（integer，可选，默认 0）：游标，用于翻页，第一页为0，第二页为第一次响应中的cursor值。\n- region（string，可选，默认 \"US\"）：地区，支持 US, GB, FR, JP, VN, SG，默认 US\n\n使用说明：- 话题作品数据 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_hashtag_video_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"ch_id","in":"query","required":true,"description":"话题id","schema":{"description":"话题id","examples":["7551"],"title":"Ch Id","type":"string"}},{"name":"count","in":"query","required":false,"description":"数量","schema":{"default":10,"description":"数量","title":"Count","type":"integer"}},{"name":"cursor","in":"query","required":false,"description":"游标，用于翻页，第一页为0，第二页为第一次响应中的cursor值。","schema":{"default":0,"description":"游标，用于翻页，第一页为0，第二页为第一次响应中的cursor值。","title":"Cursor","type":"integer"}},{"name":"region","in":"query","required":false,"description":"地区，支持 US, GB, FR, JP, VN, SG，默认 US","schema":{"default":"US","description":"地区，支持 US, GB, FR, JP, VN, SG，默认 US","title":"Region","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_live_ranking_list":{"get":{"tags":["TikTok"],"summary":"获取TikTok直播间排行榜数据","description":"获取直播间内观众的排行榜数据\n\n参数：\n- anchor_id（string，必填，未声明默认值）：主播id\n- room_id（string，必填，未声明默认值）：直播间id\n\n使用说明：- 排行榜数据 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_live_ranking_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"anchor_id","in":"query","required":true,"description":"主播id","schema":{"description":"主播id","examples":["7222941468722758702"],"title":"Anchor Id","type":"string"}},{"name":"room_id","in":"query","required":true,"description":"直播间id","schema":{"description":"直播间id","examples":["7358603858249009962"],"title":"Room Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_live_room_info":{"get":{"tags":["TikTok"],"summary":"获取TikTok指定直播间的数据","description":"获取指定直播间的数据\n\n参数：\n- room_id（string，必填，未声明默认值）：直播间id\n\n使用说明：- 直播间数据 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_live_room_info","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"room_id","in":"query","required":true,"description":"直播间id","schema":{"description":"直播间id","examples":["7358603858249009962"],"title":"Room Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_live_search_result":{"get":{"tags":["TikTok"],"summary":"获取TikTok指定关键词的直播搜索结果","description":"获取指定关键词的直播搜索结果\n\n参数：\n- count（integer，可选，默认 20）：数量，不要超过20\n- keyword（string，必填，未声明默认值）：关键词\n- offset（integer，可选，默认 0）：偏移量，从0开始，第二页从响应中获取cursor的值作为offset继续请求。\n- region（string，可选，默认 \"US\"）：地区，默认为US-美国，可选值请参考TikTok地区代码或ISO 3166-1 alpha-2国家代码。\n\n使用说明：- 直播搜索结果 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_live_search_result","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"数量，不要超过20","schema":{"default":20,"description":"数量，不要超过20","examples":[20],"title":"Count","type":"integer"}},{"name":"keyword","in":"query","required":true,"description":"关键词","schema":{"description":"关键词","examples":["Cat"],"title":"Keyword","type":"string"}},{"name":"offset","in":"query","required":false,"description":"偏移量，从0开始，第二页从响应中获取cursor的值作为offset继续请求。","schema":{"default":0,"description":"偏移量，从0开始，第二页从响应中获取cursor的值作为offset继续请求。","title":"Offset","type":"integer"}},{"name":"region","in":"query","required":false,"description":"地区，默认为US-美国，可选值请参考TikTok地区代码或ISO 3166-1 alpha-2国家代码。","schema":{"default":"US","description":"地区，默认为US-美国，可选值请参考TikTok地区代码或ISO 3166-1 alpha-2国家代码。","examples":["US"],"title":"Region","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_location_search":{"get":{"tags":["TikTok"],"summary":"获取TikTok地点搜索结果","description":"获取地点搜索结果\n\n参数：\n- count（integer，可选，默认 20）：数量\n- keyword（string，必填，未声明默认值）：关键词\n- offset（integer，可选，默认 0）：偏移量\n\n使用说明：- 地点搜索结果 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_location_search","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"数量","schema":{"default":20,"description":"数量","title":"Count","type":"integer"}},{"name":"keyword","in":"query","required":true,"description":"关键词","schema":{"description":"关键词","examples":["Shanghai"],"title":"Keyword","type":"string"}},{"name":"offset","in":"query","required":false,"description":"偏移量","schema":{"default":0,"description":"偏移量","title":"Offset","type":"integer"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_music_chart_list":{"get":{"tags":["TikTok"],"summary":"获取TikTok音乐排行榜","description":"获取TikTok音乐排行榜数据\n\n参数：\n- count（integer，可选，默认 50）：每页数量，默认50，最大50\n- cursor（integer，可选，默认 0）：分页游标，默认0\n- scene（integer，可选，默认 0）：排行榜类型\n    - 0: Top 50 (热门前50)\n    - 1: Viral 50 (病毒式传播前50)\n\n使用说明：- 音乐排行榜数据，包含歌曲信息、排名变化等 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_music_chart_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"每页数量，默认50，最大50","schema":{"default":50,"description":"每页数量，默认50，最大50","examples":[50],"title":"Count","type":"integer"}},{"name":"cursor","in":"query","required":false,"description":"分页游标，默认0","schema":{"default":0,"description":"分页游标，默认0","title":"Cursor","type":"integer"}},{"name":"scene","in":"query","required":false,"description":"排行榜类型\n    - 0: Top 50 (热门前50)\n    - 1: Viral 50 (病毒式传播前50)","schema":{"default":0,"description":"排行榜类型\n    - 0: Top 50 (热门前50)\n    - 1: Viral 50 (病毒式传播前50)","title":"Scene","type":"integer"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_music_detail":{"get":{"tags":["TikTok"],"summary":"获取TikTok指定音乐的详情数据","description":"获取指定音乐的详情数据\n\n参数：\n- music_id（string，必填，未声明默认值）：音乐id\n\n使用说明：- 音乐详情数据 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_music_detail","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"music_id","in":"query","required":true,"description":"音乐id","schema":{"description":"音乐id","examples":["6943027371519772674"],"title":"Music Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_music_search_result":{"get":{"tags":["TikTok"],"summary":"获取TikTok指定关键词的音乐搜索结果","description":"获取指定关键词的音乐搜索结果\n\n参数：\n- count（integer，可选，默认 20）：数量，不要超过20\n- filter_by（integer，可选，默认 0）：过滤类型，0-全部，1-标题，2-作者，默认为0-全部\n- keyword（string，必填，未声明默认值）：关键词\n- offset（integer，可选，默认 0）：偏移量，从0开始，第二页从响应中获取cursor的值作为offset继续请求。\n- region（string，可选，默认 \"US\"）：地区，默认为US-美国，可选值请参考TikTok地区代码或ISO 3166-1 alpha-2国家代码。\n- sort_type（integer，可选，默认 0）：排序类型，0-相关度，1-最多使用，2-最新，3-时长最短，4-时长最长，默认为0-相关度\n\n使用说明：- 音乐搜索结果 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_music_search_result","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"数量，不要超过20","schema":{"default":20,"description":"数量，不要超过20","examples":[20],"title":"Count","type":"integer"}},{"name":"filter_by","in":"query","required":false,"description":"过滤类型，0-全部，1-标题，2-作者，默认为0-全部","schema":{"default":0,"description":"过滤类型，0-全部，1-标题，2-作者，默认为0-全部","title":"Filter By","type":"integer"}},{"name":"keyword","in":"query","required":true,"description":"关键词","schema":{"description":"关键词","examples":["Cat"],"title":"Keyword","type":"string"}},{"name":"offset","in":"query","required":false,"description":"偏移量，从0开始，第二页从响应中获取cursor的值作为offset继续请求。","schema":{"default":0,"description":"偏移量，从0开始，第二页从响应中获取cursor的值作为offset继续请求。","title":"Offset","type":"integer"}},{"name":"region","in":"query","required":false,"description":"地区，默认为US-美国，可选值请参考TikTok地区代码或ISO 3166-1 alpha-2国家代码。","schema":{"default":"US","description":"地区，默认为US-美国，可选值请参考TikTok地区代码或ISO 3166-1 alpha-2国家代码。","examples":["US"],"title":"Region","type":"string"}},{"name":"sort_type","in":"query","required":false,"description":"排序类型，0-相关度，1-最多使用，2-最新，3-时长最短，4-时长最长，默认为0-相关度","schema":{"default":0,"description":"排序类型，0-相关度，1-最多使用，2-最新，3-时长最短，4-时长最长，默认为0-相关度","title":"Sort Type","type":"integer"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_music_video_list":{"get":{"tags":["TikTok"],"summary":"获取TikTok指定音乐的视频列表数据","description":"获取指定音乐的视频列表数据\n\n参数：\n- count（integer，可选，默认 10）：数量\n- cursor（integer，可选，默认 0）：游标，用于翻页，第一页为0，第二页为第一次响应中的cursor值。\n- music_id（string，必填，未声明默认值）：音乐id\n\n使用说明：- 音乐视频列表数据 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_music_video_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"数量","schema":{"default":10,"description":"数量","title":"Count","type":"integer"}},{"name":"cursor","in":"query","required":false,"description":"游标，用于翻页，第一页为0，第二页为第一次响应中的cursor值。","schema":{"default":0,"description":"游标，用于翻页，第一页为0，第二页为第一次响应中的cursor值。","title":"Cursor","type":"integer"}},{"name":"music_id","in":"query","required":true,"description":"音乐id","schema":{"description":"音乐id","examples":["6943027371519772674"],"title":"Music Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_one_video_by_share_url_v2":{"get":{"tags":["TikTok"],"summary":"通过链接获取TikTok作品详情 V2","description":"根据分享链接获取单个作品数据 V2，数据结构会有些不一样，会返回region字段。\n\n参数：\n- share_url（string，必填，未声明默认值）：分享链接\n\n使用说明：- 作品数据 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_one_video_by_share_url_v2","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"share_url","in":"query","required":true,"description":"分享链接","schema":{"description":"分享链接","examples":["实际分享链接"],"title":"Share Url","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_one_video_v3":{"get":{"tags":["TikTok"],"summary":"获取TikTok单个作品数据 V3","description":"获取单个作品数据 V3\n\n参数：\n- aweme_id（string，必填，未声明默认值）：作品id\n- region（string，可选，默认 \"US\"）：国家代码，默认US，支持ISO 3166-1 alpha-2国家代码，例如：US、GB、FR、DE、IN、JP等。\n- 备注：某些视频可能在特定国家/地区不可用，设置region参数可以尝试获取该国家/地区的视频数据。\n\n使用说明：- 作品数据 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_one_video_v3","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"aweme_id","in":"query","required":true,"description":"作品id","schema":{"description":"作品id","examples":["7350810998023949599"],"title":"Aweme Id","type":"string"}},{"name":"region","in":"query","required":false,"description":"国家代码，默认US，支持ISO 3166-1 alpha-2国家代码，例如：US、GB、FR、DE、IN、JP等。\n- 备注：某些视频可能在特定国家/地区不可用，设置region参数可以尝试获取该国家/地区的视频数据。","schema":{"default":"US","description":"国家代码，默认US，支持ISO 3166-1 alpha-2国家代码，例如：US、GB、FR、DE、IN、JP等。\n- 备注：某些视频可能在特定国家/地区不可用，设置region参数可以尝试获取该国家/地区的视频数据。","examples":["US"],"title":"Region","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_similar_user_recommendations":{"get":{"tags":["TikTok"],"summary":"获取TikTok类似用户推荐","description":"获取类似用户推荐\n\n参数：\n- page_token（string，可选，未声明默认值）：分页标记，第一次请求时不需要传递，后续请求时传递上一次响应中的next_page_token值。\n- sec_uid（string，必填，未声明默认值）：用户sec_uid\n\n使用说明：- 类似用户推荐 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_similar_user_recommendations","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"page_token","in":"query","required":false,"description":"分页标记，第一次请求时不需要传递，后续请求时传递上一次响应中的next_page_token值。","schema":{"description":"分页标记，第一次请求时不需要传递，后续请求时传递上一次响应中的next_page_token值。","title":"Page Token","type":"string"}},{"name":"sec_uid","in":"query","required":true,"description":"用户sec_uid","schema":{"description":"用户sec_uid","examples":["MS4wLjABAAAA2_YTgxz3kLb2XoyC3xOXnosim3gdiqMtFHnjRvckabZJFQ40XBOVttDCiB5cwa3b"],"title":"Sec Uid","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_user_country_by_username":{"get":{"tags":["TikTok"],"summary":"查询TikTok用户所属地区","description":"通过用户名获取用户账号国家地区\n\n参数：\n- username（string，必填，未声明默认值）：用户名，可以从用户主页链接中获取，例如：实际分享链接\n\n使用说明：- 用户账号国家地区 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_user_country_by_username","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"username","in":"query","required":true,"description":"用户名，可以从用户主页链接中获取，例如：实际分享链接","schema":{"description":"用户名，可以从用户主页链接中获取，例如：实际分享链接","examples":["tiktok"],"title":"Username","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_user_follower_list":{"get":{"tags":["TikTok"],"summary":"获取TikTok指定用户的粉丝列表数据","description":"获取指定用户的粉丝列表数据\n\n参数：\n- count（integer，可选，默认 20）：数量，不要超过20，保持固定。\n- min_time（integer，可选，默认 0）：最小时间，用于翻页，第一次请求使用默认值0，后续请求使用上一次请求返回的min_time值。\n- page_token（string，可选，未声明默认值）：翻页token，第一次请求使用默认值\"\"，后续请求使用上一次请求返回的page_token值。\n- sec_user_id（string，可选，未声明默认值）：用户sec_user_id，这是一个混合字母和数字的版本ID (与user_id二选一/One of user_id and sec_user_id)\n- user_id（string，可选，未声明默认值）：用户ID，这是一个纯数字版本的用户ID (与sec_user_id二选一/One of user_id and sec_user_id)\n\n使用说明：- 粉丝列表数据 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_user_follower_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"数量，不要超过20，保持固定。","schema":{"default":20,"description":"数量，不要超过20，保持固定。","examples":[20],"title":"Count","type":"integer"}},{"name":"min_time","in":"query","required":false,"description":"最小时间，用于翻页，第一次请求使用默认值0，后续请求使用上一次请求返回的min_time值。","schema":{"default":0,"description":"最小时间，用于翻页，第一次请求使用默认值0，后续请求使用上一次请求返回的min_time值。","title":"Min Time","type":"integer"}},{"name":"page_token","in":"query","required":false,"description":"翻页token，第一次请求使用默认值\"\"，后续请求使用上一次请求返回的page_token值。","schema":{"description":"翻页token，第一次请求使用默认值\"\"，后续请求使用上一次请求返回的page_token值。","title":"Page Token","type":"string"}},{"name":"sec_user_id","in":"query","required":false,"description":"用户sec_user_id，这是一个混合字母和数字的版本ID (与user_id二选一/One of user_id and sec_user_id)","schema":{"description":"用户sec_user_id，这是一个混合字母和数字的版本ID (与user_id二选一/One of user_id and sec_user_id)","examples":["MS4wLjABAAAA0lKrE0cVLLZCnVil-n-YEZlOoik9oeO3zOYQ08dqOEOw2pRSXWJdcSFw7lZeZcSP"],"title":"Sec User Id","type":"string"}},{"name":"user_id","in":"query","required":false,"description":"用户ID，这是一个纯数字版本的用户ID (与sec_user_id二选一/One of user_id and sec_user_id)","schema":{"description":"用户ID，这是一个纯数字版本的用户ID (与sec_user_id二选一/One of user_id and sec_user_id)","examples":["7486586574684881927"],"title":"User Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_user_following_list":{"get":{"tags":["TikTok"],"summary":"获取TikTok指定用户的关注列表数据","description":"获取指定用户的关注列表数据\n\n参数：\n- count（integer，可选，默认 20）：数量，不要超过20，保持固定。\n- min_time（integer，可选，默认 0）：最小时间，用于翻页，第一次请求使用默认值0，后续请求使用上一次请求返回的min_time值。\n- page_token（string，可选，未声明默认值）：翻页token，第一次请求使用默认值\"\"，后续请求使用上一次请求返回的page_token值。\n- sec_user_id（string，可选，未声明默认值）：用户sec_user_id，这是一个混合字母和数字的版本ID (与user_id二选一/One of user_id and sec_user_id)\n- user_id（string，可选，未声明默认值）：用户ID，这是一个纯数字版本的用户ID (与sec_user_id二选一/One of user_id and sec_user_id)\n\n使用说明：- 关注列表数据 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_user_following_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"数量，不要超过20，保持固定。","schema":{"default":20,"description":"数量，不要超过20，保持固定。","examples":[20],"title":"Count","type":"integer"}},{"name":"min_time","in":"query","required":false,"description":"最小时间，用于翻页，第一次请求使用默认值0，后续请求使用上一次请求返回的min_time值。","schema":{"default":0,"description":"最小时间，用于翻页，第一次请求使用默认值0，后续请求使用上一次请求返回的min_time值。","title":"Min Time","type":"integer"}},{"name":"page_token","in":"query","required":false,"description":"翻页token，第一次请求使用默认值\"\"，后续请求使用上一次请求返回的page_token值。","schema":{"description":"翻页token，第一次请求使用默认值\"\"，后续请求使用上一次请求返回的page_token值。","title":"Page Token","type":"string"}},{"name":"sec_user_id","in":"query","required":false,"description":"用户sec_user_id，这是一个混合字母和数字的版本ID (与user_id二选一/One of user_id and sec_user_id)","schema":{"description":"用户sec_user_id，这是一个混合字母和数字的版本ID (与user_id二选一/One of user_id and sec_user_id)","examples":["MS4wLjABAAAA0lKrE0cVLLZCnVil-n-YEZlOoik9oeO3zOYQ08dqOEOw2pRSXWJdcSFw7lZeZcSP"],"title":"Sec User Id","type":"string"}},{"name":"user_id","in":"query","required":false,"description":"用户ID，这是一个纯数字版本的用户ID (与sec_user_id二选一/One of user_id and sec_user_id)","schema":{"description":"用户ID，这是一个纯数字版本的用户ID (与sec_user_id二选一/One of user_id and sec_user_id)","examples":["7486586574684881927"],"title":"User Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_user_like_videos":{"get":{"tags":["TikTok"],"summary":"获取TikTok用户喜欢作品数据","description":"获取用户喜欢作品数据\n\n参数：\n- counts（integer，可选，默认 20）：每页数量\n- max_cursor（integer，可选，默认 0）：最大游标，用于翻页，第一页为0，第二页为第一次响应中的max_cursor值。\n- sec_user_id（string，必填，未声明默认值）：用户sec_user_id\n\n使用说明：- 用户作品数据 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_user_like_videos","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"counts","in":"query","required":false,"description":"每页数量","schema":{"default":20,"description":"每页数量","title":"Counts","type":"integer"}},{"name":"max_cursor","in":"query","required":false,"description":"最大游标，用于翻页，第一页为0，第二页为第一次响应中的max_cursor值。","schema":{"default":0,"description":"最大游标，用于翻页，第一页为0，第二页为第一次响应中的max_cursor值。","title":"Max Cursor","type":"integer"}},{"name":"sec_user_id","in":"query","required":true,"description":"用户sec_user_id","schema":{"description":"用户sec_user_id","examples":["MS4wLjABAAAA-RkTGCGXLuLKRM5Xcuuwm7Mclg51I2ECO1RqOA7mJHuXFz99nztdi077Z2XmYHZV"],"title":"Sec User Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_user_music_list":{"get":{"tags":["TikTok"],"summary":"获取TikTok用户音乐列表数据","description":"获取用户音乐列表数据\n\n参数：\n- count（integer，可选，默认 10）：数量\n- cursor（integer，可选，默认 0）：游标，用于翻页，第一页为0，第二页为第一次响应中的cursor值。\n- sec_uid（string，必填，未声明默认值）：用户sec_uid\n\n使用说明：- 用户音乐列表数据 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_user_music_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"数量","schema":{"default":10,"description":"数量","title":"Count","type":"integer"}},{"name":"cursor","in":"query","required":false,"description":"游标，用于翻页，第一页为0，第二页为第一次响应中的cursor值。","schema":{"default":0,"description":"游标，用于翻页，第一页为0，第二页为第一次响应中的cursor值。","title":"Cursor","type":"integer"}},{"name":"sec_uid","in":"query","required":true,"description":"用户sec_uid","schema":{"description":"用户sec_uid","examples":["MS4wLjABAAAAqB08cUbXaDWqbD6MCga2RbGTuhfO2EsHayBYx08NDrN7IE3jQuRDNNN6YwyfH6_6"],"title":"Sec Uid","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_user_post_videos_v2":{"get":{"tags":["TikTok"],"summary":"获取TikTok用户主页作品数据 V2","description":"获取用户主页作品数据\n\n参数：\n- count（integer，可选，默认 20）：最大数量，建议保持默认值20。\n- max_cursor（integer，可选，默认 0）：最大游标，用于翻页，第一页为0，第二页为第一次响应中的max_cursor值。\n- sec_user_id（string，可选，未声明默认值）：用户sec_user_id，优先使用sec_user_id获取用户作品数据，如果sec_user_id为空，则使用unique_id获取用户作品数据。\n- sort_type（integer，可选，默认 0）：排序类型，0-最新，1-热门\n- unique_id（string，可选，未声明默认值）：用户unique_id，可选参数，如果sec_user_id为空，则使用unique_id获取用户作品数据，unique_id也是用户的用户名。\n- 关于用户ID的参数，优先级为sec_user_id > unique_id，优先级越高速度越快，并且建议只使用sec_user_id获取用户数据。\n\n使用说明：- 用户作品数据 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_user_post_videos_v2","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"最大数量，建议保持默认值20。","schema":{"default":20,"description":"最大数量，建议保持默认值20。","title":"Count","type":"integer"}},{"name":"max_cursor","in":"query","required":false,"description":"最大游标，用于翻页，第一页为0，第二页为第一次响应中的max_cursor值。","schema":{"default":0,"description":"最大游标，用于翻页，第一页为0，第二页为第一次响应中的max_cursor值。","title":"Max Cursor","type":"integer"}},{"name":"sec_user_id","in":"query","required":false,"description":"用户sec_user_id，优先使用sec_user_id获取用户作品数据，如果sec_user_id为空，则使用unique_id获取用户作品数据。","schema":{"description":"用户sec_user_id，优先使用sec_user_id获取用户作品数据，如果sec_user_id为空，则使用unique_id获取用户作品数据。","examples":["MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"],"title":"Sec User Id","type":"string"}},{"name":"sort_type","in":"query","required":false,"description":"排序类型，0-最新，1-热门","schema":{"default":0,"description":"排序类型，0-最新，1-热门","title":"Sort Type","type":"integer"}},{"name":"unique_id","in":"query","required":false,"description":"用户unique_id，可选参数，如果sec_user_id为空，则使用unique_id获取用户作品数据，unique_id也是用户的用户名。\n- 关于用户ID的参数，优先级为sec_user_id > unique_id，优先级越高速度越快，并且建议只使用sec_user_id获取用户数据。","schema":{"description":"用户unique_id，可选参数，如果sec_user_id为空，则使用unique_id获取用户作品数据，unique_id也是用户的用户名。\n- 关于用户ID的参数，优先级为sec_user_id > unique_id，优先级越高速度越快，并且建议只使用sec_user_id获取用户数据。","title":"Unique Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_user_post_videos_v3":{"get":{"tags":["TikTok"],"summary":"获取TikTok用户主页作品数据 V3","description":"获取用户主页作品数据\n\n参数：\n- count（integer，可选，默认 20）：最大数量，建议保持默认值20。\n- max_cursor（integer，可选，默认 0）：最大游标，用于翻页，第一页为0，第二页为第一次响应中的max_cursor值。\n- sec_user_id（string，可选，未声明默认值）：用户sec_user_id，优先使用sec_user_id获取用户作品数据，如果sec_user_id为空，则使用unique_id获取用户作品数据。\n- sort_type（integer，可选，默认 0）：排序类型，0-最新，1-热门\n- unique_id（string，可选，未声明默认值）：用户unique_id，可选参数，如果sec_user_id为空，则使用unique_id获取用户作品数据，unique_id也是用户的用户名。\n- 关于用户ID的参数，优先级为sec_user_id > unique_id，优先级越高速度越快，并且建议只使用sec_user_id获取用户数据。\n\n使用说明：- 用户作品数据 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_user_post_videos_v3","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"最大数量，建议保持默认值20。","schema":{"default":20,"description":"最大数量，建议保持默认值20。","title":"Count","type":"integer"}},{"name":"max_cursor","in":"query","required":false,"description":"最大游标，用于翻页，第一页为0，第二页为第一次响应中的max_cursor值。","schema":{"default":0,"description":"最大游标，用于翻页，第一页为0，第二页为第一次响应中的max_cursor值。","title":"Max Cursor","type":"integer"}},{"name":"sec_user_id","in":"query","required":false,"description":"用户sec_user_id，优先使用sec_user_id获取用户作品数据，如果sec_user_id为空，则使用unique_id获取用户作品数据。","schema":{"description":"用户sec_user_id，优先使用sec_user_id获取用户作品数据，如果sec_user_id为空，则使用unique_id获取用户作品数据。","examples":["MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"],"title":"Sec User Id","type":"string"}},{"name":"sort_type","in":"query","required":false,"description":"排序类型，0-最新，1-热门","schema":{"default":0,"description":"排序类型，0-最新，1-热门","title":"Sort Type","type":"integer"}},{"name":"unique_id","in":"query","required":false,"description":"用户unique_id，可选参数，如果sec_user_id为空，则使用unique_id获取用户作品数据，unique_id也是用户的用户名。\n- 关于用户ID的参数，优先级为sec_user_id > unique_id，优先级越高速度越快，并且建议只使用sec_user_id获取用户数据。","schema":{"description":"用户unique_id，可选参数，如果sec_user_id为空，则使用unique_id获取用户作品数据，unique_id也是用户的用户名。\n- 关于用户ID的参数，优先级为sec_user_id > unique_id，优先级越高速度越快，并且建议只使用sec_user_id获取用户数据。","title":"Unique Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_user_repost_videos":{"get":{"tags":["TikTok"],"summary":"获取TikTok用户转发的作品数据","description":"获取用户转发的作品数据\n\n参数：\n- count（integer，可选，默认 21）：数量\n- offset（integer，可选，默认 0）：偏移量\n- user_id（integer，必填，未声明默认值）：用户id，可以通过 handler_user_profile 端点获取，响应中的关键字为uid。\n\n使用说明：- 用户转发作品数据 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_user_repost_videos","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"数量","schema":{"default":21,"description":"数量","title":"Count","type":"integer"}},{"name":"offset","in":"query","required":false,"description":"偏移量","schema":{"default":0,"description":"偏移量","title":"Offset","type":"integer"}},{"name":"user_id","in":"query","required":true,"description":"用户id，可以通过 handler_user_profile 端点获取，响应中的关键字为uid。","schema":{"description":"用户id，可以通过 handler_user_profile 端点获取，响应中的关键字为uid。","examples":[107955],"title":"User Id","type":"integer"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_user_search_result":{"get":{"tags":["TikTok"],"summary":"获取TikTok指定关键词的用户搜索结果","description":"获取指定关键词的用户搜索结果\n\n参数：\n- count（integer，可选，默认 20）：数量\n- user_search_follower_count（根据粉丝数排序）:\n    - 空-不限制，\n    - ZERO_TO_ONE_K = 0-1K，\n    - ONE_K_TO_TEN_K-1K = 1K-10K，\n    - TEN_K_TO_ONE_H_K = 10K-100K，\n    - ONE_H_K_PLUS = 100K以上\n- user_search_profile_type（根据账号类型排序）:\n    - 空-不限制，\n    - VERIFIED = 认证用户\n- user_search_other_pref（根据其他偏好排序）:\n    - USERNAME = 根据用户名相关性\n- keyword（string，必填，未声明默认值）：关键词\n- offset（integer，可选，默认 0）：偏移量\n- user_search_follower_count（string，可选，未声明默认值）：根据粉丝数排序\n- user_search_other_pref（string，可选，未声明默认值）：根据其他偏好排序\n- user_search_profile_type（string，可选，未声明默认值）：根据账号类型排序\n\n使用说明：- 用户搜索结果 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_user_search_result","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"数量\n- user_search_follower_count（根据粉丝数排序）:\n    - 空-不限制，\n    - ZERO_TO_ONE_K = 0-1K，\n    - ONE_K_TO_TEN_K-1K = 1K-10K，\n    - TEN_K_TO_ONE_H_K = 10K-100K，\n    - ONE_H_K_PLUS = 100K以上\n- user_search_profile_type（根据账号类型排序）:\n    - 空-不限制，\n    - VERIFIED = 认证用户\n- user_search_other_pref（根据其他偏好排序）:\n    - USERNAME = 根据用户名相关性","schema":{"default":20,"description":"数量\n- user_search_follower_count（根据粉丝数排序）:\n    - 空-不限制，\n    - ZERO_TO_ONE_K = 0-1K，\n    - ONE_K_TO_TEN_K-1K = 1K-10K，\n    - TEN_K_TO_ONE_H_K = 10K-100K，\n    - ONE_H_K_PLUS = 100K以上\n- user_search_profile_type（根据账号类型排序）:\n    - 空-不限制，\n    - VERIFIED = 认证用户\n- user_search_other_pref（根据其他偏好排序）:\n    - USERNAME = 根据用户名相关性","examples":[20],"title":"Count","type":"integer"}},{"name":"keyword","in":"query","required":true,"description":"关键词","schema":{"description":"关键词","examples":["Cat"],"title":"Keyword","type":"string"}},{"name":"offset","in":"query","required":false,"description":"偏移量","schema":{"default":0,"description":"偏移量","title":"Offset","type":"integer"}},{"name":"user_search_follower_count","in":"query","required":false,"description":"根据粉丝数排序","schema":{"description":"根据粉丝数排序","title":"User Search Follower Count","type":"string"}},{"name":"user_search_other_pref","in":"query","required":false,"description":"根据其他偏好排序","schema":{"description":"根据其他偏好排序","title":"User Search Other Pref","type":"string"}},{"name":"user_search_profile_type","in":"query","required":false,"description":"根据账号类型排序","schema":{"description":"根据账号类型排序","title":"User Search Profile Type","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_video_comment_replies":{"get":{"tags":["TikTok"],"summary":"获取TikTok指定视频的评论回复数据","description":"获取指定视频的评论回复数据\n\n参数：\n- comment_id（string，必填，未声明默认值）：评论id\n- count（integer，可选，默认 20）：数量\n- cursor（integer，可选，默认 0）：游标，用于翻页，第一页为0，第二页为第一次响应中的cursor值。\n- item_id（string，必填，未声明默认值）：作品id\n\n使用说明：- 评论回复数据 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_video_comment_replies","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"comment_id","in":"query","required":true,"description":"评论id","schema":{"description":"评论id","examples":["7327061675382260482"],"title":"Comment Id","type":"string"}},{"name":"count","in":"query","required":false,"description":"数量","schema":{"default":20,"description":"数量","title":"Count","type":"integer"}},{"name":"cursor","in":"query","required":false,"description":"游标，用于翻页，第一页为0，第二页为第一次响应中的cursor值。","schema":{"default":0,"description":"游标，用于翻页，第一页为0，第二页为第一次响应中的cursor值。","title":"Cursor","type":"integer"}},{"name":"item_id","in":"query","required":true,"description":"作品id","schema":{"description":"作品id","examples":["7326156045968067873"],"title":"Item Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_video_comments":{"get":{"tags":["TikTok"],"summary":"获取TikTok单个视频评论数据","description":"获取单个视频评论数据\n\n参数：\n- aweme_id（string，必填，未声明默认值）：作品id\n- count（integer，可选，默认 20）：数量\n- cursor（integer，可选，默认 0）：游标，用于翻页，第一页为0，第二页为第一次响应中的cursor值。\n\n使用说明：- 评论数据 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_video_comments","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"aweme_id","in":"query","required":true,"description":"作品id","schema":{"description":"作品id","examples":["7326156045968067873"],"title":"Aweme Id","type":"string"}},{"name":"count","in":"query","required":false,"description":"数量","schema":{"default":20,"description":"数量","title":"Count","type":"integer"}},{"name":"cursor","in":"query","required":false,"description":"游标，用于翻页，第一页为0，第二页为第一次响应中的cursor值。","schema":{"default":0,"description":"游标，用于翻页，第一页为0，第二页为第一次响应中的cursor值。","title":"Cursor","type":"integer"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_video_search_result":{"get":{"tags":["TikTok"],"summary":"获取TikTok指定关键词的视频搜索结果","description":"获取指定关键词的视频搜索结果\n\n参数：\n- count（integer，可选，默认 20）：数量\n- keyword（string，必填，未声明默认值）：关键词\n- offset（integer，可选，默认 0）：偏移量\n- publish_time（integer，可选，默认 0）：0-不限制，1-最近一天，7-最近一周，30-最近一个月，90-最近三个月，180-最近半年\n- region（string，可选，默认 \"US\"）：地区，默认为US-美国，可选值请参考TikTok地区代码或ISO 3166-1 alpha-2国家代码。\n- sort_type（integer，可选，默认 0）：0-相关度，1-最多点赞\n\n使用说明：- 视频搜索结果 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。 本服务抽样的返回数据位于 search_item_list，各项包含 aweme_info 等；aweme_list 可能为空，不能只按 aweme_list 判断是否有搜索结果。不同结果布局以实际返回为准。","operationId":"data_relay_tiktok_app_v3_fetch_video_search_result","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"数量","schema":{"default":20,"description":"数量","examples":[20],"title":"Count","type":"integer"}},{"name":"keyword","in":"query","required":true,"description":"关键词","schema":{"description":"关键词","examples":["中华娘"],"title":"Keyword","type":"string"}},{"name":"offset","in":"query","required":false,"description":"偏移量","schema":{"default":0,"description":"偏移量","title":"Offset","type":"integer"}},{"name":"publish_time","in":"query","required":false,"description":"0-不限制，1-最近一天，7-最近一周，30-最近一个月，90-最近三个月，180-最近半年","schema":{"default":0,"description":"0-不限制，1-最近一天，7-最近一周，30-最近一个月，90-最近三个月，180-最近半年","title":"Publish Time","type":"integer"}},{"name":"region","in":"query","required":false,"description":"地区，默认为US-美国，可选值请参考TikTok地区代码或ISO 3166-1 alpha-2国家代码。","schema":{"default":"US","description":"地区，默认为US-美国，可选值请参考TikTok地区代码或ISO 3166-1 alpha-2国家代码。","examples":["US"],"title":"Region","type":"string"}},{"name":"sort_type","in":"query","required":false,"description":"0-相关度，1-最多点赞","schema":{"default":0,"description":"0-相关度，1-最多点赞","title":"Sort Type","type":"integer"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_webcast_user_info":{"get":{"tags":["TikTok"],"summary":"获取TikTok指定 Webcast 用户的信息","description":"获取指定用户的信息\n\n参数：\n- sec_user_id（string，可选，未声明默认值）：用户sec_user_id，优先使用sec_user_id获取用户信息。\n- user_id（string，可选，未声明默认值）：用户uid，可选参数，纯数字，如果使用请保持sec_user_id以及unique_id为空。\n- 以上参数必须至少填写一个，优先级为sec_user_id > user_id，优先级越高速度越快。\n\n使用说明：- 用户信息 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_webcast_user_info","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"sec_user_id","in":"query","required":false,"description":"用户sec_user_id，优先使用sec_user_id获取用户信息。","schema":{"description":"用户sec_user_id，优先使用sec_user_id获取用户信息。","examples":["MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"],"title":"Sec User Id","type":"string"}},{"name":"user_id","in":"query","required":false,"description":"用户uid，可选参数，纯数字，如果使用请保持sec_user_id以及unique_id为空。\n- 以上参数必须至少填写一个，优先级为sec_user_id > user_id，优先级越高速度越快。","schema":{"description":"用户uid，可选参数，纯数字，如果使用请保持sec_user_id以及unique_id为空。\n- 以上参数必须至少填写一个，优先级为sec_user_id > user_id，优先级越高速度越快。","title":"User Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/handler_user_profile":{"get":{"tags":["TikTok"],"summary":"获取TikTok指定用户的信息","description":"获取指定用户的信息\n\n参数：\n- sec_user_id（string，可选，未声明默认值）：用户sec_user_id，优先使用sec_user_id获取用户信息。\n- unique_id（string，可选，未声明默认值）：用户unique_id，可选参数，如果sec_user_id为空，则使用unique_id获取用户信息，unique_id也是用户的用户名，如果使用请保持sec_user_id以及user_id为空。\n- 以上参数必须至少填写一个，优先级为sec_user_id > user_id > unique_id，优先级越高速度越快。\n- user_id（string，可选，未声明默认值）：用户uid，可选参数，纯数字，如果使用请保持sec_user_id以及unique_id为空。\n\n使用说明：- 用户信息 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_handler_user_profile","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"sec_user_id","in":"query","required":false,"description":"用户sec_user_id，优先使用sec_user_id获取用户信息。","schema":{"description":"用户sec_user_id，优先使用sec_user_id获取用户信息。","examples":["MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"],"title":"Sec User Id","type":"string"}},{"name":"unique_id","in":"query","required":false,"description":"用户unique_id，可选参数，如果sec_user_id为空，则使用unique_id获取用户信息，unique_id也是用户的用户名，如果使用请保持sec_user_id以及user_id为空。\n- 以上参数必须至少填写一个，优先级为sec_user_id > user_id > unique_id，优先级越高速度越快。","schema":{"description":"用户unique_id，可选参数，如果sec_user_id为空，则使用unique_id获取用户信息，unique_id也是用户的用户名，如果使用请保持sec_user_id以及user_id为空。\n- 以上参数必须至少填写一个，优先级为sec_user_id > user_id > unique_id，优先级越高速度越快。","title":"Unique Id","type":"string"}},{"name":"user_id","in":"query","required":false,"description":"用户uid，可选参数，纯数字，如果使用请保持sec_user_id以及unique_id为空。","schema":{"description":"用户uid，可选参数，纯数字，如果使用请保持sec_user_id以及unique_id为空。","title":"User Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/search_follower_list":{"get":{"tags":["TikTok"],"summary":"搜索TikTok粉丝列表","description":"搜索指定用户的粉丝列表，可以用于查找某个用户的粉丝中是否有特定昵称的用户。\n\n参数：\n- keyword（string，必填，未声明默认值）：搜索关键词，用户的昵称中包含该关键词即可匹配\n- user_id（string，必填，未声明默认值）：用户ID，这是一个纯数字版本的用户ID，可以先通过获取用户信息接口获取。\n\n使用说明：- 搜索结果列表 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_search_follower_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"keyword","in":"query","required":true,"description":"搜索关键词，用户的昵称中包含该关键词即可匹配","schema":{"description":"搜索关键词，用户的昵称中包含该关键词即可匹配","examples":["a"],"title":"Keyword","type":"string"}},{"name":"user_id","in":"query","required":true,"description":"用户ID，这是一个纯数字版本的用户ID，可以先通过获取用户信息接口获取。","schema":{"description":"用户ID，这是一个纯数字版本的用户ID，可以先通过获取用户信息接口获取。","examples":["7540849481009988663"],"title":"User Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/search_following_list":{"get":{"tags":["TikTok"],"summary":"搜索TikTok关注列表","description":"搜索指定用户的关注列表，可以用于查找某个用户的关注中是否有特定昵称的用户。\n\n参数：\n- keyword（string，必填，未声明默认值）：搜索关键词，用户的昵称中包含该关键词即可匹配。\n- user_id（string，必填，未声明默认值）：用户ID，这是一个纯数字版本的用户ID，可以先通过获取用户信息接口获取。\n\n使用说明：- 搜索结果列表 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_search_following_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"keyword","in":"query","required":true,"description":"搜索关键词，用户的昵称中包含该关键词即可匹配。","schema":{"description":"搜索关键词，用户的昵称中包含该关键词即可匹配。","examples":["a"],"title":"Keyword","type":"string"}},{"name":"user_id","in":"query","required":true,"description":"用户ID，这是一个纯数字版本的用户ID，可以先通过获取用户信息接口获取。","schema":{"description":"用户ID，这是一个纯数字版本的用户ID，可以先通过获取用户信息接口获取。","examples":["7540849481009988663"],"title":"User Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/web/fetch_batch_check_live_alive":{"get":{"tags":["TikTok"],"summary":"批量检测TikTok直播间开播状态","description":"批量直播间开播状态检测 最多支持50个直播间同时查询 如果某个直播间不存在或已下播，则对应位置返回空或null。\n\n参数：\n- room_ids（string，必填，未声明默认值）：直播间ID列表，用英文逗号分隔，如：7530611486784277278,7530633767468288782\n\n使用说明：- 批量直播间开播状态列表\n- 定价0.025$，请尽量达到50个直播间查询，避免浪费API调用次数。\n- 同一个room_id不会重复返回开播状态。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_web_fetch_batch_check_live_alive","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"room_ids","in":"query","required":true,"description":"直播间ID列表，用英文逗号分隔，如：7530611486784277278,7530633767468288782","schema":{"description":"直播间ID列表，用英文逗号分隔，如：7530611486784277278,7530633767468288782","examples":["7530611486784277278,7530633767468288782,7530636465034775310,7530604930088848142"],"title":"Room Ids","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/web/fetch_post_ai_article":{"get":{"tags":["TikTok"],"summary":"获取TikTok单个作品的AI长文内容","description":"获取单个作品由 TikTok 官方 AI 根据视频内容生成的长文与内容概览 可用于内容分析、选题参考、SEO 关键词挖掘等场景\n\n参数：\n- itemId（string，必填，未声明默认值）：作品id\n\n使用说明：- `itemCustomTDK` 字段中包含以下内容:\n  - `title`: AI 生成的标题\n  - `desc`: AI 生成的内容概览(摘要)\n  - `keywords`: AI 提取的关键词列表\n  - `article`: AI 根据视频内容生成的长文正文\n- 并非所有作品都有 AI 生成内容。若该作品没有，响应中不会出现 `itemCustomTDK` 字段。\n- 部分作品只有 `title`/`desc`/`keywords`，`article` 为空字符串。\n- 长文内容的语种由作品本身决定，不受请求参数影响。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_web_fetch_post_ai_article","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"itemId","in":"query","required":true,"description":"作品id","schema":{"description":"作品id","examples":["7651935877744168194"],"title":"Itemid","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/web/fetch_post_detail_v2":{"get":{"tags":["TikTok"],"summary":"获取TikTok单个作品数据 V2","description":"获取单个作品数据\n\n参数：\n- itemId（string，必填，未声明默认值）：作品id\n- region（string，可选，默认 \"US\"）：地区代码，可选；影响作品所属地区，如 US/GB/JP/ID 等，默认 US。\n\n使用说明：- 作品数据\n- 此接口返回的视频CDN链接需要携带响应中的 `tt_chain_token` 才能访问，否则会返回 HTTP 403。\n- 请求视频CDN链接时，请在请求头中携带 `Cookie: tt_chain_token={tt_chain_token}`，其中 `{tt_chain_token}` 为响应中返回的值。\n- 示例请求头: `Cookie: tt_chain_token=xxx`\n- 如需**无需任何 Cookie** 即可直接访问的视频链接，请使用 `/fetch_post_detail`。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_web_fetch_post_detail_v2","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"itemId","in":"query","required":true,"description":"作品id","schema":{"description":"作品id","examples":["7339393672959757570"],"title":"Itemid","type":"string"}},{"name":"region","in":"query","required":false,"description":"地区代码，可选；影响作品所属地区，如 US/GB/JP/ID 等，默认 US。","schema":{"default":"US","description":"地区代码，可选；影响作品所属地区，如 US/GB/JP/ID 等，默认 US。","title":"Region","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/web/fetch_search_keyword_suggest":{"get":{"tags":["TikTok"],"summary":"搜索TikTok关键字推荐","description":"搜索关键字推荐\n\n参数：\n- keyword（string，必填，未声明默认值）：搜索关键词\n\n使用说明：- 关键字推荐列表 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_web_fetch_search_keyword_suggest","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"keyword","in":"query","required":true,"description":"搜索关键词","schema":{"description":"搜索关键词","examples":["TikTok"],"title":"Keyword","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/web/fetch_tiktok_live_data":{"get":{"tags":["TikTok"],"summary":"通过链接获取TikTok直播间详情","description":"通过直播链接获取直播间信息 此接口可获取离线直播间信息\n\n参数：\n- live_room_url（string，必填，未声明默认值）：直播间链接\n\n使用说明：- 直播间信息 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_web_fetch_tiktok_live_data","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"live_room_url","in":"query","required":true,"description":"直播间链接","schema":{"description":"直播间链接","examples":["实际分享链接"],"title":"Live Room Url","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/web/fetch_trending_searchwords":{"get":{"tags":["TikTok"],"summary":"获取TikTok每日趋势搜索关键词","description":"获取每日趋势搜索关键词\n\n参数：\n- 无必填参数；可传空对象。\n\n使用说明：- 趋势搜索关键词 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_web_fetch_trending_searchwords","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/web/fetch_user_live_detail":{"get":{"tags":["TikTok"],"summary":"获取TikTok用户的直播详情","description":"获取用户的直播详情\n\n参数：\n- uniqueId（string，必填，未声明默认值）：用户uniqueId\n\n使用说明：- 用户的直播详情\n- 此接口返回的视频CDN直链需要携带返回的 `tt_chain_token` 才能访问，否则会返回 HTTP 403。\n- 访问视频CDN直链时，请在请求头中携带 `Cookie: tt_chain_token={tt_chain_token}`，其中 `{tt_chain_token}` 替换为接口返回的值。\n- **如果视频CDN直链仍返回 HTTP 403**:\n  1. 请改用响应中以 `实际分享链接` 开头的视频链接(位于 `video` 下各 `UrlList` 中)\n  2. 请求该链接时**不要携带任何 Cookie**，携带 `tt_chain_token` 会导致 HTTP 403\n- 如果需要无需任何 Cookie 即可直接访问的无水印视频链接，请使用 `/fetch_post_detail` 或 TikTok APP V3 目录下的接口。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_web_fetch_user_live_detail","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"uniqueId","in":"query","required":true,"description":"用户uniqueId","schema":{"description":"用户uniqueId","examples":["tiktok"],"title":"Uniqueid","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/web/fetch_user_mix":{"get":{"tags":["TikTok"],"summary":"获取TikTok用户的合辑列表","description":"获取用户的合辑列表\n\n参数：\n- count（integer，可选，默认 30）：每页数量\n- cursor（integer，可选，默认 0）：翻页游标\n- mixId（string，必填，未声明默认值）：合辑id\n\n使用说明：- 用户的合辑列表\n- 此接口返回的视频CDN直链需要携带返回的 `tt_chain_token` 才能访问，否则会返回 HTTP 403。\n- 访问视频CDN直链时，请在请求头中携带 `Cookie: tt_chain_token={tt_chain_token}`，其中 `{tt_chain_token}` 替换为接口返回的值。\n- **如果视频CDN直链仍返回 HTTP 403**:\n  1. 请改用响应中以 `实际分享链接` 开头的视频链接(位于 `video` 下各 `UrlList` 中)\n  2. 请求该链接时**不要携带任何 Cookie**，携带 `tt_chain_token` 会导致 HTTP 403\n- 如果需要无需任何 Cookie 即可直接访问的无水印视频链接，请使用 `/fetch_post_detail` 或 TikTok APP V3 目录下的接口。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_web_fetch_user_mix","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"每页数量","schema":{"default":30,"description":"每页数量","title":"Count","type":"integer"}},{"name":"cursor","in":"query","required":false,"description":"翻页游标","schema":{"default":0,"description":"翻页游标","title":"Cursor","type":"integer"}},{"name":"mixId","in":"query","required":true,"description":"合辑id","schema":{"description":"合辑id","examples":["7101538765474106158"],"title":"Mixid","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/web/fetch_user_play_list":{"get":{"tags":["TikTok"],"summary":"获取TikTok用户的播放列表","description":"获取用户的播放列表\n\n参数：\n- count（integer，可选，默认 30）：每页数量\n- cursor（integer，可选，默认 0）：翻页游标\n- secUid（string，必填，未声明默认值）：用户secUid\n\n使用说明：- 用户的播放列表\n- 此接口返回的视频CDN直链需要携带返回的 `tt_chain_token` 才能访问，否则会返回 HTTP 403。\n- 访问视频CDN直链时，请在请求头中携带 `Cookie: tt_chain_token={tt_chain_token}`，其中 `{tt_chain_token}` 替换为接口返回的值。\n- **如果视频CDN直链仍返回 HTTP 403**:\n  1. 请改用响应中以 `实际分享链接` 开头的视频链接(位于 `video` 下各 `UrlList` 中)\n  2. 请求该链接时**不要携带任何 Cookie**，携带 `tt_chain_token` 会导致 HTTP 403\n- 如果需要无需任何 Cookie 即可直接访问的无水印视频链接，请使用 `/fetch_post_detail` 或 TikTok APP V3 目录下的接口。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_web_fetch_user_play_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"每页数量","schema":{"default":30,"description":"每页数量","title":"Count","type":"integer"}},{"name":"cursor","in":"query","required":false,"description":"翻页游标","schema":{"default":0,"description":"翻页游标","title":"Cursor","type":"integer"}},{"name":"secUid","in":"query","required":true,"description":"用户secUid","schema":{"description":"用户secUid","examples":["MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"],"title":"Secuid","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/web/fetch_user_post":{"get":{"tags":["TikTok"],"summary":"获取TikTok用户的作品列表","description":"获取用户的作品列表\n\n参数：\n- count（integer，可选，默认 15）：每页数量，默认为15，最大为15，超过15将按15处理。\n- coverFormat（integer，可选，默认 2）：封面格式，默认为2，可选值为1或2。\n- cursor（integer，可选，默认 0）：翻页游标，首次请求传0，后续传上一次响应返回的 `cursor` 值\n- post_item_list_request_type（integer，可选，默认 0）：排序方式，已废弃，传任何值均返回按时间从新到旧的作品列表。\n- secUid（string，必填，未声明默认值）：用户secUid\n\n使用说明：- 用户的作品列表，作品按发布时间从新到旧排列\n- `cursor`: 下一页游标，配合 `hasMore` 使用\n- `hasMore`: 是否还有更多作品，为 `false` 时表示已翻到最后一页\n- 翻页时相邻两页可能出现少量重复作品，请按作品 `id` 去重后再统计或入库\n- 此接口返回的视频CDN直链需要携带返回的 `tt_chain_token` 才能访问，否则会返回 HTTP 403。\n- 访问视频CDN直链时，请在请求头中携带 `Cookie: tt_chain_token={tt_chain_token}`，其中 `{tt_chain_token}` 替换为接口返回的值。\n- **如果视频CDN直链仍返回 HTTP 403**:\n  1. 请改用响应中以 `实际分享链接` 开头的视频链接(位于 `video` 下各 `UrlList` 中)\n  2. 请求该链接时**不要携带任何 Cookie**，携带 `tt_chain_token` 会导致 HTTP 403\n- 如果需要无需任何 Cookie 即可直接访问的无水印视频链接，请使用 `/fetch_post_detail` 或 TikTok APP V3 目录下的接口。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_web_fetch_user_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"每页数量，默认为15，最大为15，超过15将按15处理。","schema":{"default":15,"description":"每页数量，默认为15，最大为15，超过15将按15处理。","examples":[15],"title":"Count","type":"integer"}},{"name":"coverFormat","in":"query","required":false,"description":"封面格式，默认为2，可选值为1或2。","schema":{"default":2,"description":"封面格式，默认为2，可选值为1或2。","examples":[2],"title":"Coverformat","type":"integer"}},{"name":"cursor","in":"query","required":false,"description":"翻页游标，首次请求传0，后续传上一次响应返回的 `cursor` 值","schema":{"default":0,"description":"翻页游标，首次请求传0，后续传上一次响应返回的 `cursor` 值","minimum":0,"title":"Cursor","type":"integer"}},{"name":"post_item_list_request_type","in":"query","required":false,"description":"排序方式，已废弃，传任何值均返回按时间从新到旧的作品列表。","schema":{"default":0,"description":"排序方式，已废弃，传任何值均返回按时间从新到旧的作品列表。","title":"Post Item List Request Type","type":"integer"}},{"name":"secUid","in":"query","required":true,"description":"用户secUid","schema":{"description":"用户secUid","examples":["MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"],"title":"Secuid","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/web/fetch_user_profile":{"get":{"tags":["TikTok"],"summary":"获取TikTok用户的个人信息","description":"获取用户的个人信息\n\n参数：\n- secUid（string，可选，未声明默认值）：用户secUid\n- uniqueId（string，可选，未声明默认值）：用户uniqueId\n- secUid和uniqueId至少提供一个, 优先使用uniqueId, 也就是用户主页的链接中的用户名。\n\n使用说明：- 用户的个人信息 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_web_fetch_user_profile","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"secUid","in":"query","required":false,"description":"用户secUid","schema":{"description":"用户secUid","title":"Secuid","type":"string"}},{"name":"uniqueId","in":"query","required":false,"description":"用户uniqueId\n- secUid和uniqueId至少提供一个, 优先使用uniqueId, 也就是用户主页的链接中的用户名。","schema":{"description":"用户uniqueId\n- secUid和uniqueId至少提供一个, 优先使用uniqueId, 也就是用户主页的链接中的用户名。","examples":["tiktok"],"title":"Uniqueid","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/app/v3/fetch_hashtag_detail":{"get":{"tags":["抖音"],"summary":"获取抖音话题详情","description":"查询指定话题的详细信息。\n\n参数：\n- ch_id（integer，必填）：话题标识；请按 Schema 声明的整数或字符串类型提交。","operationId":"data_relay_douyin_app_v3_fetch_hashtag_detail","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"ch_id","in":"query","required":true,"description":"话题标识；请按 Schema 声明的整数或字符串类型提交。","schema":{"description":"话题标识；请按 Schema 声明的整数或字符串类型提交。","type":"integer"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/app/v3/fetch_hashtag_video_list":{"get":{"tags":["抖音"],"summary":"获取抖音话题作品列表","description":"分页查询指定话题下的作品。\n\n参数：\n- ch_id（string，必填）：话题标识；请按 Schema 声明的整数或字符串类型提交。\n- count（integer，可选，默认 10）：每页数量。建议保留默认值 10，修改数量可能导致接口异常。\n- cursor（integer，可选，默认 0）：分页游标。首屏为 0，后续传入上次响应中的 cursor。\n- sort_type（integer，可选，默认 0）：排序方式：0=综合排序（默认），1=最多点赞，2=最新发布。","operationId":"data_relay_douyin_app_v3_fetch_hashtag_video_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"ch_id","in":"query","required":true,"description":"话题标识；请按 Schema 声明的整数或字符串类型提交。","schema":{"description":"话题标识；请按 Schema 声明的整数或字符串类型提交。","type":"string"}},{"name":"count","in":"query","required":false,"description":"每页数量。建议保留默认值 10，修改数量可能导致接口异常。","schema":{"default":10,"description":"每页数量。建议保留默认值 10，修改数量可能导致接口异常。","type":"integer"}},{"name":"cursor","in":"query","required":false,"description":"分页游标。首屏为 0，后续传入上次响应中的 cursor。","schema":{"default":0,"description":"分页游标。首屏为 0，后续传入上次响应中的 cursor。","type":"integer"}},{"name":"sort_type","in":"query","required":false,"description":"排序方式：0=综合排序（默认），1=最多点赞，2=最新发布。","schema":{"default":0,"description":"排序方式：0=综合排序（默认），1=最多点赞，2=最新发布。","type":"integer"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/app/v3/fetch_hot_search_list":{"get":{"tags":["抖音"],"summary":"获取抖音热搜榜","description":"查询热点、种草、娱乐、社会或挑战榜单。\n\n参数：\n- board_type（string，可选，默认 \"0\"）：榜单类型，使用字符串：\"0\"=热点榜（默认），\"2\"=其他榜单，需要配合 board_sub_type。\n- board_sub_type（string，可选）：榜单子类型：空字符串=热点榜，\"seeding\"=种草榜，\"2\"=娱乐榜，\"4\"=社会榜，\"hotspot_challenge\"=挑战榜。\n\n使用说明：查询非热点榜时同时传 board_type=\"2\" 和对应的 board_sub_type；不要把字符串 \"2\"、\"4\" 写成整数。","operationId":"data_relay_douyin_app_v3_fetch_hot_search_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"board_sub_type","in":"query","required":false,"description":"榜单子类型：空字符串=热点榜，\"seeding\"=种草榜，\"2\"=娱乐榜，\"4\"=社会榜，\"hotspot_challenge\"=挑战榜。","schema":{"description":"榜单子类型：空字符串=热点榜，\"seeding\"=种草榜，\"2\"=娱乐榜，\"4\"=社会榜，\"hotspot_challenge\"=挑战榜。","type":"string"}},{"name":"board_type","in":"query","required":false,"description":"榜单类型，使用字符串：\"0\"=热点榜（默认），\"2\"=其他榜单，需要配合 board_sub_type。","schema":{"default":"0","description":"榜单类型，使用字符串：\"0\"=热点榜（默认），\"2\"=其他榜单，需要配合 board_sub_type。","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/app/v3/fetch_multi_video_statistics":{"get":{"tags":["抖音"],"summary":"批量获取抖音视频统计","description":"根据视频ID获取作品的统计数据，支持多个视频id，一次性最多支持50个视频。 抖音大多数接口已经不再返回作品的播放数，只能通过此接口获取。 价格为：0.025$一次。 可以获取到的统计有： 点赞数（digg_count） 下载数（download_count） 播放数（play_count） 分享数（share_count）\n\n参数：\n- aweme_ids（string，必填，未声明默认值）：作品id，支持多个视频id，用逗号隔开即可，不能超过50个，单个也可以，则无需逗号。\n\n使用说明： 作品统计数据","operationId":"data_relay_douyin_app_v3_fetch_multi_video_statistics","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"aweme_ids","in":"query","required":true,"description":"作品id，支持多个视频id，用逗号隔开即可，不能超过50个，单个也可以，则无需逗号。","schema":{"description":"作品id，支持多个视频id，用逗号隔开即可，不能超过50个，单个也可以，则无需逗号。","examples":["7448118827402972455,7126745726494821640"],"title":"Aweme Ids","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/app/v3/fetch_music_detail":{"get":{"tags":["抖音"],"summary":"获取抖音音乐详情","description":"查询指定音乐的详细信息。\n\n参数：\n- music_id（string，必填）：音乐标识。","operationId":"data_relay_douyin_app_v3_fetch_music_detail","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"music_id","in":"query","required":true,"description":"音乐标识。","schema":{"description":"音乐标识。","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/app/v3/fetch_music_hot_search_list":{"get":{"tags":["抖音"],"summary":"获取抖音音乐热榜","description":"分页查询音乐榜单。\n\n参数：\n- cursor（string，可选，默认 \"0\"）：字符串游标。首屏使用 \"0\"，后续使用响应给出的下一游标。\n- chart_type（string，可选，默认 \"hot\"）：榜单类型：\"hot\"=热门榜（默认），\"trending\"=飙升榜，\"original\"=原创榜。\n\n使用说明：通过响应中的 has_more 判断是否还有下一页；cursor 按字符串类型提交。","operationId":"data_relay_douyin_app_v3_fetch_music_hot_search_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"chart_type","in":"query","required":false,"description":"榜单类型：\"hot\"=热门榜（默认），\"trending\"=飙升榜，\"original\"=原创榜。","schema":{"default":"hot","description":"榜单类型：\"hot\"=热门榜（默认），\"trending\"=飙升榜，\"original\"=原创榜。","type":"string"}},{"name":"cursor","in":"query","required":false,"description":"字符串游标。首屏使用 \"0\"，后续使用响应给出的下一游标。","schema":{"default":"0","description":"字符串游标。首屏使用 \"0\"，后续使用响应给出的下一游标。","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/app/v3/fetch_music_video_list":{"get":{"tags":["抖音"],"summary":"获取抖音音乐关联作品","description":"分页查询使用指定音乐的作品。\n\n参数：\n- count（integer，可选，默认 10）：每页数量。建议保留默认值 10，修改数量可能导致接口异常。\n- cursor（integer，可选，默认 0）：分页游标。首屏为 0，后续传入上次响应中的 cursor。\n- music_id（string，必填）：音乐标识。","operationId":"data_relay_douyin_app_v3_fetch_music_video_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"每页数量。建议保留默认值 10，修改数量可能导致接口异常。","schema":{"default":10,"description":"每页数量。建议保留默认值 10，修改数量可能导致接口异常。","type":"integer"}},{"name":"cursor","in":"query","required":false,"description":"分页游标。首屏为 0，后续传入上次响应中的 cursor。","schema":{"default":0,"description":"分页游标。首屏为 0，后续传入上次响应中的 cursor。","type":"integer"}},{"name":"music_id","in":"query","required":true,"description":"音乐标识。","schema":{"description":"音乐标识。","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/app/v3/fetch_one_video":{"get":{"tags":["抖音"],"summary":"获取抖音作品详情","description":"根据作品标识获取视频或图文作品详情。返回为空可能与作品删除、版权限制或可见范围有关；若结果包含 filter_list，可查看原因：8 为版权限制或作品不存在，5 为私密，10 为部分可见。","operationId":"fetch_one_video_api_v1_douyin_app_v3_fetch_one_video_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"aweme_id","in":"query","required":true,"schema":{"type":"string","description":"作品标识，支持视频及图文作品。","title":"Aweme Id"},"description":"作品标识，支持视频及图文作品。"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/app/v3/fetch_one_video_by_share_url":{"get":{"tags":["抖音"],"summary":"通过分享链接获取抖音作品详情","description":"根据作品分享链接获取视频或图文作品详情。\n\n参数：\n- share_url（string，必填）：作品的分享链接。\n\n使用说明：返回为空时检查作品是否已删除、是否受版权或可见权限限制。响应若包含 filter_list，原因 8 与版权限制或作品不存在有关，5 表示私密，10 表示部分可见。","operationId":"data_relay_douyin_app_v3_fetch_one_video_by_share_url","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"share_url","in":"query","required":true,"description":"作品的分享链接。","schema":{"description":"作品的分享链接。","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/app/v3/fetch_user_like_videos":{"get":{"tags":["抖音"],"summary":"获取抖音用户喜欢的作品","description":"分页查询用户喜欢的作品。\n\n参数：\n- counts（integer，可选，默认 20）：每页最大数量。字段名为 counts，不是 count。\n- max_cursor（integer，可选，默认 0）：分页游标。首屏使用 0，后续传入上次响应的 max_cursor。\n- sec_user_id（string，必填）：用户主页路径 /user/ 后的 sec_user_id，不是抖音号 unique_id，也不是 UID。","operationId":"data_relay_douyin_app_v3_fetch_user_like_videos","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"counts","in":"query","required":false,"description":"每页最大数量。字段名为 counts，不是 count。","schema":{"default":20,"description":"每页最大数量。字段名为 counts，不是 count。","type":"integer"}},{"name":"max_cursor","in":"query","required":false,"description":"分页游标。首屏使用 0，后续传入上次响应的 max_cursor。","schema":{"default":0,"description":"分页游标。首屏使用 0，后续传入上次响应的 max_cursor。","type":"integer"}},{"name":"sec_user_id","in":"query","required":true,"description":"用户主页路径 /user/ 后的 sec_user_id，不是抖音号 unique_id，也不是 UID。","schema":{"description":"用户主页路径 /user/ 后的 sec_user_id，不是抖音号 unique_id，也不是 UID。","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/app/v3/fetch_user_post_videos":{"get":{"tags":["抖音"],"summary":"获取抖音用户作品列表","description":"分页查询用户发布的主页作品。\n\n参数：\n- count（integer，可选，默认 20）：单页最大作品数量，不要超过 20；建议使用默认值 20。\n- channel（string，可选，默认 \"normal\"）：渠道：normal=普通版（默认），lite=极速版。\n- sort_type（integer，可选，默认 0）：排序方式：0=按最新发布排序（默认），1=按热度排序。\n- max_cursor（integer，可选，默认 0）：分页游标。首屏使用 0；下一页传入上次响应的 max_cursor，不按页码递增。\n- sec_user_id（string，必填）：用户主页路径 /user/ 后的 sec_user_id，不是抖音号 unique_id，也不是 UID。\n\n使用说明：若 normal 查询某些用户时未能返回最新作品，可尝试将 channel 改为 lite。","operationId":"data_relay_douyin_app_v3_fetch_user_post_videos","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"channel","in":"query","required":false,"description":"渠道：normal=普通版（默认），lite=极速版。","schema":{"default":"normal","description":"渠道：normal=普通版（默认），lite=极速版。","type":"string"}},{"name":"count","in":"query","required":false,"description":"单页最大作品数量，不要超过 20；建议使用默认值 20。","schema":{"default":20,"description":"单页最大作品数量，不要超过 20；建议使用默认值 20。","type":"integer"}},{"name":"max_cursor","in":"query","required":false,"description":"分页游标。首屏使用 0；下一页传入上次响应的 max_cursor，不按页码递增。","schema":{"default":0,"description":"分页游标。首屏使用 0；下一页传入上次响应的 max_cursor，不按页码递增。","type":"integer"}},{"name":"sec_user_id","in":"query","required":true,"description":"用户主页路径 /user/ 后的 sec_user_id，不是抖音号 unique_id，也不是 UID。","schema":{"description":"用户主页路径 /user/ 后的 sec_user_id，不是抖音号 unique_id，也不是 UID。","type":"string"}},{"name":"sort_type","in":"query","required":false,"description":"排序方式：0=按最新发布排序（默认），1=按热度排序。","schema":{"default":0,"description":"排序方式：0=按最新发布排序（默认），1=按热度排序。","type":"integer"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/app/v3/fetch_video_comment_replies":{"get":{"tags":["抖音"],"summary":"获取抖音评论回复","description":"分页查询指定作品下某条评论的回复。\n\n参数：\n- count（integer，可选，默认 20）：每页数量。建议保留默认值 20，修改数量可能导致接口异常。\n- cursor（integer，可选，默认 0）：分页游标。首屏为 0，后续传入上次响应中的 cursor。\n- item_id（string，必填）：需要查询回复的作品标识。\n- comment_id（string，必填）：需要查询回复的评论标识，必须对应 item_id 指定的作品。","operationId":"data_relay_douyin_app_v3_fetch_video_comment_replies","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"comment_id","in":"query","required":true,"description":"需要查询回复的评论标识，必须对应 item_id 指定的作品。","schema":{"description":"需要查询回复的评论标识，必须对应 item_id 指定的作品。","type":"string"}},{"name":"count","in":"query","required":false,"description":"每页数量。建议保留默认值 20，修改数量可能导致接口异常。","schema":{"default":20,"description":"每页数量。建议保留默认值 20，修改数量可能导致接口异常。","type":"integer"}},{"name":"cursor","in":"query","required":false,"description":"分页游标。首屏为 0，后续传入上次响应中的 cursor。","schema":{"default":0,"description":"分页游标。首屏为 0，后续传入上次响应中的 cursor。","type":"integer"}},{"name":"item_id","in":"query","required":true,"description":"需要查询回复的作品标识。","schema":{"description":"需要查询回复的作品标识。","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/app/v3/fetch_video_comments":{"get":{"tags":["抖音"],"summary":"获取抖音作品评论","description":"分页查询指定作品的评论。\n\n参数：\n- count（integer，可选，默认 20）：每页数量。建议保留默认值 20，修改数量可能导致接口异常。\n- cursor（integer，可选，默认 0）：分页游标。首屏为 0，后续传入上次响应中的 cursor。\n- aweme_id（string，必填）：作品标识，支持视频及图文作品。","operationId":"data_relay_douyin_app_v3_fetch_video_comments","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"aweme_id","in":"query","required":true,"description":"作品标识，支持视频及图文作品。","schema":{"description":"作品标识，支持视频及图文作品。","type":"string"}},{"name":"count","in":"query","required":false,"description":"每页数量。建议保留默认值 20，修改数量可能导致接口异常。","schema":{"default":20,"description":"每页数量。建议保留默认值 20，修改数量可能导致接口异常。","type":"integer"}},{"name":"cursor","in":"query","required":false,"description":"分页游标。首屏为 0，后续传入上次响应中的 cursor。","schema":{"default":0,"description":"分页游标。首屏为 0，后续传入上次响应中的 cursor。","type":"integer"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/app/v3/fetch_video_mix_detail":{"get":{"tags":["抖音"],"summary":"获取抖音合集详情","description":"查询指定合集的详细信息。\n\n参数：\n- mix_id（string，必填）：合集标识，不是作品标识。","operationId":"data_relay_douyin_app_v3_fetch_video_mix_detail","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"mix_id","in":"query","required":true,"description":"合集标识，不是作品标识。","schema":{"description":"合集标识，不是作品标识。","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/index/fetch_all_valid_date":{"get":{"tags":["抖音"],"summary":"获取抖音指数有效日期","description":"获取抖音指数各类型数据的最新有效日期\n\n参数：\n- 无请求参数，input 传空对象。\n\n使用说明： 包含关键词、品牌、话题等维度的日/周/月最新可用日期","operationId":"data_relay_douyin_index_fetch_all_valid_date","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/index/fetch_content_consume_trend":{"get":{"tags":["抖音"],"summary":"获取抖音内容消费趋势","description":"获取指定垂类的消费数据（播放量、观看时长等）随时间变化趋势 衡量该垂类内容被用户实际消费（观看）的热度变化\n\n参数：\n- tag_id（string，必填，未声明默认值）：垂类ID（**必填，不支持 0=全部**，需传入具体垂类 ID，可通过 fetch_item_filter_options 获取）\n- end_date（string，必填，未声明默认值）：结束日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。\n- start_date（string，必填，未声明默认值）：开始日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。\n\n使用说明： 按日聚合的消费数据：每日播放总量、观看时长、独立观看人数等","operationId":"data_relay_douyin_index_fetch_content_consume_trend","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"end_date","in":"query","required":true,"description":"结束日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。","schema":{"description":"结束日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。","title":"End Date","type":"string"}},{"name":"start_date","in":"query","required":true,"description":"开始日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。","schema":{"description":"开始日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。","title":"Start Date","type":"string"}},{"name":"tag_id","in":"query","required":true,"description":"垂类ID（**必填，不支持 0=全部**，需传入具体垂类 ID，可通过 fetch_item_filter_options 获取）","schema":{"description":"垂类ID（**必填，不支持 0=全部**，需传入具体垂类 ID，可通过 fetch_item_filter_options 获取）","title":"Tag Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/index/fetch_content_consumer_portrait":{"get":{"tags":["抖音"],"summary":"分析抖音内容观众画像","description":"获取指定垂类下**消费者**人群画像（即\"观看该垂类视频的用户\"画像） 与 fetch_content_author_portrait 互为补充：一个看作者，一个看观众\n\n参数：\n- period（string，可选，默认 \"month\"）：时间粒度，\"week\"=按周（end_date 必须为周日）, \"month\"=按月（end_date 必须为月末，如 20260331）\n- tag_id（string，必填，未声明默认值）：垂类ID（**必填，不支持 0=全部**，需传入具体垂类 ID，可通过 fetch_item_filter_options 获取）\n- end_date（string，必填，未声明默认值）：结束日期 YYYYMMDD；period=week 时必须是周日，period=month 时必须是月末。\n\n使用说明： 消费者画像数据：性别分布、年龄段分布、地域分布、兴趣偏好、设备分布等","operationId":"data_relay_douyin_index_fetch_content_consumer_portrait","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"end_date","in":"query","required":true,"description":"结束日期 YYYYMMDD；period=week 时必须是周日，period=month 时必须是月末。","schema":{"description":"结束日期 YYYYMMDD；period=week 时必须是周日，period=month 时必须是月末。","title":"End Date","type":"string"}},{"name":"period","in":"query","required":false,"description":"时间粒度，\"week\"=按周（end_date 必须为周日）, \"month\"=按月（end_date 必须为月末，如 20260331）","schema":{"default":"month","description":"时间粒度，\"week\"=按周（end_date 必须为周日）, \"month\"=按月（end_date 必须为月末，如 20260331）","enum":["week","month"],"title":"Period","type":"string"}},{"name":"tag_id","in":"query","required":true,"description":"垂类ID（**必填，不支持 0=全部**，需传入具体垂类 ID，可通过 fetch_item_filter_options 获取）","schema":{"description":"垂类ID（**必填，不支持 0=全部**，需传入具体垂类 ID，可通过 fetch_item_filter_options 获取）","title":"Tag Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/index/fetch_content_interact_trend":{"get":{"tags":["抖音"],"summary":"获取抖音内容互动趋势","description":"获取指定垂类的互动数据（点赞/评论/分享/收藏等）随时间变化趋势 衡量该垂类内容引发用户互动的活跃程度\n\n参数：\n- tag_id（string，必填，未声明默认值）：垂类ID（**必填，不支持 0=全部**，需传入具体垂类 ID，可通过 fetch_item_filter_options 获取）\n- end_date（string，必填，未声明默认值）：结束日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。\n- start_date（string，必填，未声明默认值）：开始日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。\n\n使用说明： 按日聚合的互动数据：每日点赞总数、评论总数、分享总数、收藏总数等","operationId":"data_relay_douyin_index_fetch_content_interact_trend","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"end_date","in":"query","required":true,"description":"结束日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。","schema":{"description":"结束日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。","title":"End Date","type":"string"}},{"name":"start_date","in":"query","required":true,"description":"开始日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。","schema":{"description":"开始日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。","title":"Start Date","type":"string"}},{"name":"tag_id","in":"query","required":true,"description":"垂类ID（**必填，不支持 0=全部**，需传入具体垂类 ID，可通过 fetch_item_filter_options 获取）","schema":{"description":"垂类ID（**必填，不支持 0=全部**，需传入具体垂类 ID，可通过 fetch_item_filter_options 获取）","title":"Tag Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/index/fetch_current_hot_topic":{"get":{"tags":["抖音"],"summary":"获取抖音实时热点","description":"获取抖音实时热点和飙升热点排行榜\n\n参数：\n- 无请求参数，input 传空对象。\n\n使用说明： 热点名称、热点指数、排名变化等信息","operationId":"data_relay_douyin_index_fetch_current_hot_topic","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/index/fetch_daren_compare_users_stable":{"get":{"tags":["抖音"],"summary":"对比抖音达人趋势","description":"对比多个达人的趋势数据（粉丝增长、互动量等）\n\n参数：\n- days（string，可选，默认 \"7\"）：对比天数，仅支持 7 或 30\n- user_list（string，必填，未声明默认值）：达人抖音 uid 列表，逗号分隔，**最多5个**\n\n使用说明： 每个达人在指定天数内的趋势数据对比","operationId":"data_relay_douyin_index_fetch_daren_compare_users_stable","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"days","in":"query","required":false,"description":"对比天数，仅支持 7 或 30","schema":{"default":"7","description":"对比天数，仅支持 7 或 30","enum":["7","30"],"title":"Days","type":"string"}},{"name":"user_list","in":"query","required":true,"description":"达人抖音 uid 列表，逗号分隔，**最多5个**","schema":{"description":"达人抖音 uid 列表，逗号分隔，**最多5个**","title":"User List","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/index/fetch_daren_great_user_fans_info":{"get":{"tags":["抖音"],"summary":"分析抖音达人粉丝","description":"获取达人粉丝分析数据\n\n参数：\n- user_id（string，必填，未声明默认值）：达人抖音 uid（纯数字，如 \"3100268042915212\"）\n\n使用说明： 粉丝性别分布、年龄分布、地域分布、活跃时间等","operationId":"data_relay_douyin_index_fetch_daren_great_user_fans_info","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"user_id","in":"query","required":true,"description":"达人抖音 uid（纯数字，如 \"3100268042915212\"）","schema":{"description":"达人抖音 uid（纯数字，如 \"3100268042915212\"）","title":"User Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/index/fetch_daren_sug_great_user_list":{"get":{"tags":["抖音"],"summary":"搜索抖音达人","description":"搜索达人，获取达人列表建议\n\n参数：\n- total（string，可选，默认 \"20\"）：返回数量，默认20\n- keyword（string，必填，未声明默认值）：达人昵称关键词\n\n使用说明： 匹配的达人列表（包含达人ID、昵称、头像、粉丝数等）","operationId":"data_relay_douyin_index_fetch_daren_sug_great_user_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"keyword","in":"query","required":true,"description":"达人昵称关键词","schema":{"description":"达人昵称关键词","title":"Keyword","type":"string"}},{"name":"total","in":"query","required":false,"description":"返回数量，默认20","schema":{"default":"20","description":"返回数量，默认20","title":"Total","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/index/fetch_hot_detail":{"get":{"tags":["抖音"],"summary":"分析抖音热点趋势","description":"获取单个热点的完整分析数据，一次请求覆盖热点详情页的全部模块\n\n参数：\n- topic_name（string，必填，未声明默认值）：热点名称，可从 fetch_current_hot_topic 的结果中获取\n\n使用说明： trend_item: 热点指数趋势（按时间点的指数值） content_item: 热门内容列表（视频标题、链接、封面、作者、点赞/评论数等） play_rank_author_item: 相关达人榜（按播放量排序） digg_rank_author_item: 相关达人榜（按点赞数排序） fans_rank_author_item: 相关达人榜（按粉丝数排序） comment_rank_author_item: 相关达人榜（按评论数排序） portrait: 人群画像，包含地域分布(province)、城市(city)、性别(gender)、 年龄(age) 四个维度，各维度 value 为占比小数","operationId":"data_relay_douyin_index_fetch_hot_detail","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"topic_name","in":"query","required":true,"description":"热点名称，可从 fetch_current_hot_topic 的结果中获取","schema":{"description":"热点名称，可从 fetch_current_hot_topic 的结果中获取","title":"Topic Name","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/index/fetch_item_filter_options":{"get":{"tags":["抖音"],"summary":"获取抖音视频筛选项","description":"获取视频搜索 `fetch_item_query` 接口支持的所有筛选选项取值 包含：垂类(categories)、时长(duration_types)、类型(label_types)、发布时间(date_types) 调用 `fetch_item_query` 前可先查询本接口获取所需的 ID\n\n参数：\n- 无请求参数，input 传空对象。\n\n使用说明： categories:     垂类列表，每项包含 id / name / name_en，id 用于 category_id 参数 duration_types: 时长列表，每项包含 id / name / name_en，id 用于 duration_type 参数 label_types:    视频类型列表，每项包含 id / name / name_en，id 用于 label_type 参数 date_types:     发布时间列表，每项包含 id / name / name_en，id 用于 date_type 参数","operationId":"data_relay_douyin_index_fetch_item_filter_options","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/index/fetch_item_index":{"get":{"tags":["抖音"],"summary":"获取抖音视频指数趋势","description":"获取指定视频在时间范围内的视频指数趋势数据\n\n参数：\n- item_id（string，必填，未声明默认值）：视频ID（抖音 aweme id，纯数字字符串）\n- end_date（string，必填，未声明默认值）：结束日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。\n- start_date（string，必填，未声明默认值）：开始日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。\n\n使用说明： 视频指数（综合/传播/互动等）随时间变化的趋势数据","operationId":"data_relay_douyin_index_fetch_item_index","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"end_date","in":"query","required":true,"description":"结束日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。","schema":{"description":"结束日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。","title":"End Date","type":"string"}},{"name":"item_id","in":"query","required":true,"description":"视频ID（抖音 aweme id，纯数字字符串）","schema":{"description":"视频ID（抖音 aweme id，纯数字字符串）","title":"Item Id","type":"string"}},{"name":"start_date","in":"query","required":true,"description":"开始日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。","schema":{"description":"开始日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。","title":"Start Date","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/index/fetch_item_query":{"get":{"tags":["抖音"],"summary":"查询抖音指数视频","description":"搜索抖音指数视频库，支持垂类、时长、类型、发布时间四维筛选 结果包含视频基础信息、播放/点赞/粉丝等核心数据\n\n参数：\n- query（string，必填，未声明默认值）：搜索关键词（必填），例如 \"美食\"\n- date_type（integer，可选，默认 0）：发布时间筛选，默认 0=不限 - 可选值：0=不限, 3=近3天, 7=近7天, 30=近一个月\n- label_type（integer，可选，默认 0）：视频类型（精选标签），默认 0=不限 - 可选值：0=不限, 1=低粉爆款, 2=高完播率, 3=高涨粉率, 4=高点赞率\n- category_id（string，可选，默认 \"0\"）：垂类ID（字符串），默认 \"0\"=全部 - 常用示例：601=剧情, 602=明星, 603=综艺, 604=电影, 605=电视剧, 606=音乐, 607=二次元, 608=游戏, 609=社会时政, 612=舞蹈, 615=科技, 617=母婴, 619=生活家居, 628=美食, 629=旅行, 631=时尚, 633=体育, 635=汽车 - 完整列表（共 36 项，含新增垂类）请调用 `fetch_item_filter_options`\n- duration_type（integer，可选，默认 0）：时长筛选，默认 0=不限 - 可选值：0=不限, 1=0-15秒, 6=15-60秒, 7=60-120秒, 8=120-180秒, 9=大于180秒\n\n使用说明： 所有筛选参数的完整合法取值可通过 `GET /fetch_item_filter_options` 动态获取， 避免硬编码过期数据。 视频列表，每项包含：itemId、itemTitle、视频封面、时长、发布时间、 播放量、点赞数、评论数、分享数、作者ID、作者昵称、作者粉丝数等","operationId":"data_relay_douyin_index_fetch_item_query","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"category_id","in":"query","required":false,"description":"垂类ID（字符串），默认 \"0\"=全部\n    - 常用示例：601=剧情, 602=明星, 603=综艺, 604=电影, 605=电视剧, 606=音乐,\n      607=二次元, 608=游戏, 609=社会时政, 612=舞蹈, 615=科技, 617=母婴,\n      619=生活家居, 628=美食, 629=旅行, 631=时尚, 633=体育, 635=汽车\n    - 完整列表（共 36 项，含新增垂类）请调用 `fetch_item_filter_options`","schema":{"default":"0","description":"垂类ID（字符串），默认 \"0\"=全部\n    - 常用示例：601=剧情, 602=明星, 603=综艺, 604=电影, 605=电视剧, 606=音乐,\n      607=二次元, 608=游戏, 609=社会时政, 612=舞蹈, 615=科技, 617=母婴,\n      619=生活家居, 628=美食, 629=旅行, 631=时尚, 633=体育, 635=汽车\n    - 完整列表（共 36 项，含新增垂类）请调用 `fetch_item_filter_options`","title":"Category Id","type":"string"}},{"name":"date_type","in":"query","required":false,"description":"发布时间筛选，默认 0=不限\n    - 可选值：0=不限, 3=近3天, 7=近7天, 30=近一个月","schema":{"default":0,"description":"发布时间筛选，默认 0=不限\n    - 可选值：0=不限, 3=近3天, 7=近7天, 30=近一个月","title":"Date Type","type":"integer"}},{"name":"duration_type","in":"query","required":false,"description":"时长筛选，默认 0=不限\n    - 可选值：0=不限, 1=0-15秒, 6=15-60秒, 7=60-120秒, 8=120-180秒, 9=大于180秒","schema":{"default":0,"description":"时长筛选，默认 0=不限\n    - 可选值：0=不限, 1=0-15秒, 6=15-60秒, 7=60-120秒, 8=120-180秒, 9=大于180秒","title":"Duration Type","type":"integer"}},{"name":"label_type","in":"query","required":false,"description":"视频类型（精选标签），默认 0=不限\n    - 可选值：0=不限, 1=低粉爆款, 2=高完播率, 3=高涨粉率, 4=高点赞率","schema":{"default":0,"description":"视频类型（精选标签），默认 0=不限\n    - 可选值：0=不限, 1=低粉爆款, 2=高完播率, 3=高涨粉率, 4=高点赞率","title":"Label Type","type":"integer"}},{"name":"query","in":"query","required":true,"description":"搜索关键词（必填），例如 \"美食\"","schema":{"description":"搜索关键词（必填），例如 \"美食\"","title":"Query","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/index/fetch_multi_keyword_hot_trend":{"get":{"tags":["抖音"],"summary":"对比抖音关键词热度趋势","description":"获取多个关键词在指定时间范围内的热度趋势数据 可对比多个关键词的热度变化\n\n参数：\n- region（string，可选，未声明默认值）：地区筛选，逗号分隔（如 \"云南,上海,北京\"），留空表示全国\n- app_name（string，可选，默认 \"aweme\"）：平台选择，aweme=抖音，toutiao=头条\n- end_date（string，必填，未声明默认值）：结束日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。\n- start_date（string，必填，未声明默认值）：开始日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。\n- keyword_list（string，必填，未声明默认值）：关键词列表，逗号分隔，如 \"美食,旅游\"\n\n使用说明： 每日热度趋势数据 数据口径：指数及画像是统计分析数据，不等于用户明细或实时全量数据。 指数及画像是统计分析数据，不等于用户明细或实时全量数据。","operationId":"data_relay_douyin_index_fetch_multi_keyword_hot_trend","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"app_name","in":"query","required":false,"description":"平台选择，aweme=抖音，toutiao=头条","schema":{"default":"aweme","description":"平台选择，aweme=抖音，toutiao=头条","enum":["aweme","toutiao"],"title":"App Name","type":"string"}},{"name":"end_date","in":"query","required":true,"description":"结束日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。","schema":{"description":"结束日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。","title":"End Date","type":"string"}},{"name":"keyword_list","in":"query","required":true,"description":"关键词列表，逗号分隔，如 \"美食,旅游\"","schema":{"description":"关键词列表，逗号分隔，如 \"美食,旅游\"","title":"Keyword List","type":"string"}},{"name":"region","in":"query","required":false,"description":"地区筛选，逗号分隔（如 \"云南,上海,北京\"），留空表示全国","schema":{"description":"地区筛选，逗号分隔（如 \"云南,上海,北京\"），留空表示全国","title":"Region","type":"string"}},{"name":"start_date","in":"query","required":true,"description":"开始日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。","schema":{"description":"开始日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。","title":"Start Date","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/index/fetch_portrait":{"get":{"tags":["抖音"],"summary":"分析抖音关键词人群画像","description":"获取关键词的人群画像分析数据\n\n参数：\n- keyword（string，必填，未声明默认值）：要分析的关键词\n- app_name（string，可选，默认 \"aweme\"）：平台选择，aweme=抖音，toutiao=头条\n- end_date（string，必填，未声明默认值）：结束日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。\n- start_date（string，必填，未声明默认值）：开始日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。\n\n使用说明： 性别分布、年龄分布、地域分布、兴趣分布等人群画像数据 数据口径：指数及画像是统计分析数据，不等于用户明细或实时全量数据。 指数及画像是统计分析数据，不等于用户明细或实时全量数据。","operationId":"data_relay_douyin_index_fetch_portrait","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"app_name","in":"query","required":false,"description":"平台选择，aweme=抖音，toutiao=头条","schema":{"default":"aweme","description":"平台选择，aweme=抖音，toutiao=头条","enum":["aweme","toutiao"],"title":"App Name","type":"string"}},{"name":"end_date","in":"query","required":true,"description":"结束日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。","schema":{"description":"结束日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。","title":"End Date","type":"string"}},{"name":"keyword","in":"query","required":true,"description":"要分析的关键词","schema":{"description":"要分析的关键词","title":"Keyword","type":"string"}},{"name":"start_date","in":"query","required":true,"description":"开始日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。","schema":{"description":"开始日期，格式 YYYYMMDD；请先查询有效日期，使用对应维度的有效范围。","title":"Start Date","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/search/fetch_live_search_v2":{"get":{"tags":["抖音"],"summary":"搜索抖音直播间","description":"按抖音号或抖音昵称搜索直播间（V2 版本），支持游标翻页。 适合定位某个主播的直播间，而不是按内容关键词泛搜直播。\n\n参数：\n- cursor（integer，可选，默认 0）：翻页游标（首次请求传 0）\n- keyword（string，可选，默认 \"小耳朵\"）：抖音号 或 抖音昵称（必填），如 \"小耳朵\"\n\n使用说明： `keyword` 匹配的是主播的抖音号或昵称，传入内容类关键词（如 \"游戏\"）通常匹配不到结果。 本接口不支持排序、发布时间、时长等筛选条件。 每页固定 10 条，不支持指定数量。 首次请求 `cursor` 传 0，翻页时传上一页响应里返回的 `cursor`。 匹配的直播间列表，每项包含主播昵称、抖音号、头像、直播间ID及开播状态等 翻页信息（下一页的 `cursor`、是否还有更多数据）","operationId":"data_relay_douyin_search_fetch_live_search_v2","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"cursor","in":"query","required":false,"description":"翻页游标（首次请求传 0）","schema":{"default":0,"description":"翻页游标（首次请求传 0）","title":"Cursor","type":"integer"}},{"name":"keyword","in":"query","required":false,"description":"抖音号 或 抖音昵称（必填），如 \"小耳朵\"","schema":{"default":"小耳朵","description":"抖音号 或 抖音昵称（必填），如 \"小耳朵\"","title":"Keyword","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/search/fetch_search_suggest_v2":{"get":{"tags":["抖音"],"summary":"获取抖音搜索关键词建议","description":"根据已输入的关键词获取搜索联想词，适合搜索框补全。\n\n参数：\n- keyword（string，可选，默认 \"人工智能\"）：已输入的关键词或前缀，建议显式传入要获取联想建议的内容。\n- history_words（string，可选，默认 \"\"）：可选的历史搜索词，多个词用英文逗号分隔，会影响联想词排序。\n\n使用说明：返回数量由平台决定，不能指定条数。常用结果位于 words；需要高亮或来源等信息时查看 items。无结果时可能返回 empty_reason。","operationId":"data_relay_douyin_search_fetch_search_suggest_v2","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"history_words","in":"query","required":false,"description":"可选的历史搜索词，多个词用英文逗号分隔，会影响联想词排序。","schema":{"default":"","description":"可选的历史搜索词，多个词用英文逗号分隔，会影响联想词排序。","type":"string"}},{"name":"keyword","in":"query","required":false,"description":"已输入的关键词或前缀，建议显式传入要获取联想建议的内容。","schema":{"default":"人工智能","description":"已输入的关键词或前缀，建议显式传入要获取联想建议的内容。","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/search/fetch_user_search_v2":{"get":{"tags":["抖音"],"summary":"搜索抖音用户","description":"按关键词搜索用户列表。\n\n参数：\n- cursor（integer，可选，默认 0）：分页游标。首次传 0，后续使用上次响应返回的 cursor。\n- keyword（string，可选，默认 \"猫咪\"）：用户搜索关键词，建议显式传入要查询的内容。\n\n使用说明：不支持粉丝数量或用户类型筛选，只返回用户相关信息。has_more 为 1 表示仍有下一页，为 0 表示结束。","operationId":"data_relay_douyin_search_fetch_user_search_v2","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"cursor","in":"query","required":false,"description":"分页游标。首次传 0，后续使用上次响应返回的 cursor。","schema":{"default":0,"description":"分页游标。首次传 0，后续使用上次响应返回的 cursor。","type":"integer"}},{"name":"keyword","in":"query","required":false,"description":"用户搜索关键词，建议显式传入要查询的内容。","schema":{"default":"猫咪","description":"用户搜索关键词，建议显式传入要查询的内容。","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/search/fetch_video_search_v3":{"get":{"tags":["抖音"],"summary":"搜索抖音视频","description":"按关键词搜索视频，支持发布时间、内容标签和视频时长筛选。\n\n参数：\n- query（string，可选，默认 \"美食\"）：搜索关键词，建议显式传入本次要查询的内容。\n- date_type（integer，可选，默认 0）：发布时间：0=不限（默认），3=近三天，7=近七天，30=近一个月。\n- label_type（integer，可选，默认 0）：内容标签：0=不限（默认），1=低粉爆款，2=高完播率，3=高涨粉率，4=高点赞率。\n- duration_type（integer，可选，默认 0）：时长区间：0=不限（默认），1=0至15秒，6=15至60秒，7=60至120秒，8=120至180秒，9=超过180秒。\n\n使用说明：此版本不支持分页，只返回当前筛选条件下的一批结果。三个筛选项均可省略，默认 0 表示不限制。","operationId":"data_relay_douyin_search_fetch_video_search_v3","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"date_type","in":"query","required":false,"description":"发布时间：0=不限（默认），3=近三天，7=近七天，30=近一个月。","schema":{"default":0,"description":"发布时间：0=不限（默认），3=近三天，7=近七天，30=近一个月。","type":"integer"}},{"name":"duration_type","in":"query","required":false,"description":"时长区间：0=不限（默认），1=0至15秒，6=15至60秒，7=60至120秒，8=120至180秒，9=超过180秒。","schema":{"default":0,"description":"时长区间：0=不限（默认），1=0至15秒，6=15至60秒，7=60至120秒，8=120至180秒，9=超过180秒。","type":"integer"}},{"name":"label_type","in":"query","required":false,"description":"内容标签：0=不限（默认），1=低粉爆款，2=高完播率，3=高涨粉率，4=高点赞率。","schema":{"default":0,"description":"内容标签：0=不限（默认），1=低粉爆款，2=高完播率，3=高涨粉率，4=高点赞率。","type":"integer"}},{"name":"query","in":"query","required":false,"description":"搜索关键词，建议显式传入本次要查询的内容。","schema":{"default":"美食","description":"搜索关键词，建议显式传入本次要查询的内容。","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/web/fetch_live_gift_ranking":{"get":{"tags":["抖音"],"summary":"获取抖音直播送礼榜","description":"获取直播间送礼用户排行榜\n\n参数：\n- room_id（string，必填，未声明默认值）：直播间room_id\n- rank_type（integer，可选，默认 30）：排行榜类型，默认 30；官方要求保持默认值。\n\n使用说明： 排行榜数据 需要当前有效的直播间 room_id；过期或未开播的房间不保证存在榜单。","operationId":"data_relay_douyin_web_fetch_live_gift_ranking","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"rank_type","in":"query","required":false,"description":"排行榜类型，默认 30；官方要求保持默认值。","schema":{"default":30,"description":"排行榜类型，默认 30；官方要求保持默认值。","title":"Rank Type","type":"integer"}},{"name":"room_id","in":"query","required":true,"description":"直播间room_id","schema":{"description":"直播间room_id","examples":["7356585666190461731"],"title":"Room Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/web/fetch_one_video":{"get":{"tags":["抖音"],"summary":"获取抖音作品详情 V1","description":"查询指定抖音作品详情，使用 Web V1 接口。\n\n参数：\n- aweme_id（string，必填，未声明默认值）：作品id\n- need_anchor_info（boolean，可选，默认 false）：是否需要锚点信息，默认为False，开启后会看到一些有关视频的锚点信息，如地理位置，商户信息，商品橱窗等，可能会增加接口响应时间。 - 如果不需要锚点信息，建议保持默认值False，如果接口报错，可以尝试关闭此参数。\n\n使用说明： 作品数据","operationId":"data_relay_douyin_web_fetch_one_video","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"aweme_id","in":"query","required":true,"description":"作品id","schema":{"description":"作品id","examples":["7372484719365098803"],"title":"Aweme Id","type":"string"}},{"name":"need_anchor_info","in":"query","required":false,"description":"是否需要锚点信息，默认为False，开启后会看到一些有关视频的锚点信息，如地理位置，商户信息，商品橱窗等，可能会增加接口响应时间。\n- 如果不需要锚点信息，建议保持默认值False，如果接口报错，可以尝试关闭此参数。","schema":{"default":false,"description":"是否需要锚点信息，默认为False，开启后会看到一些有关视频的锚点信息，如地理位置，商户信息，商品橱窗等，可能会增加接口响应时间。\n- 如果不需要锚点信息，建议保持默认值False，如果接口报错，可以尝试关闭此参数。","title":"Need Anchor Info","type":"boolean"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/web/fetch_user_fans_list":{"get":{"tags":["抖音"],"summary":"获取抖音用户粉丝列表","description":"获取用户粉丝列表 第一次请求时，max_time传`0`，source_type传`2`，然后会返回一个空的粉丝列表，里面包含了max_time，然后再次请求时，max_time传上一次请求返回的max_time，source_type传`1`，即可获取到粉丝列表。 如果不按照上述方式请求，可能会导致返回数据包含重复数据。\n\n参数：\n- count（integer，可选，默认 20）：数量，默认为20，建议保持不变。\n- max_time（string，可选，默认 \"0\"）：最大时间戳，默认为0，后续从返回数据中获取，用于翻页。\n- sec_user_id（string，可选，默认 \"MS4wLjABAAAA9y04iBlVdeMQqTJbqsQZKb-tqWqWW29jPVJqideHT70\"）：用户sec_user_id\n- source_type（integer，可选，默认 1）：首次请求传 2，同时 max_time=\"0\"；首次可能返回空列表。之后传 1，max_time 使用上次响应返回的值，避免重复数据。默认值仍为 1。\n\n使用说明： 粉丝列表 首次 source_type=2、max_time=\"0\"，列表可能为空；后续 source_type=1，使用上次返回的 max_time 翻页；count 保持 20。","operationId":"data_relay_douyin_web_fetch_user_fans_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"数量，默认为20，建议保持不变。","schema":{"default":20,"description":"数量，默认为20，建议保持不变。","title":"Count","type":"integer"}},{"name":"max_time","in":"query","required":false,"description":"最大时间戳，默认为0，后续从返回数据中获取，用于翻页。","schema":{"default":"0","description":"最大时间戳，默认为0，后续从返回数据中获取，用于翻页。","title":"Max Time","type":"string"}},{"name":"sec_user_id","in":"query","required":false,"description":"用户sec_user_id","schema":{"default":"MS4wLjABAAAA9y04iBlVdeMQqTJbqsQZKb-tqWqWW29jPVJqideHT70","description":"用户sec_user_id","title":"Sec User Id","type":"string"}},{"name":"source_type","in":"query","required":false,"description":"首次请求传 2，同时 max_time=\"0\"；首次可能返回空列表。之后传 1，max_time 使用上次响应返回的值，避免重复数据。默认值仍为 1。","schema":{"default":1,"description":"首次请求传 2，同时 max_time=\"0\"；首次可能返回空列表。之后传 1，max_time 使用上次响应返回的值，避免重复数据。默认值仍为 1。","title":"Source Type","type":"integer"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/web/fetch_user_following_list":{"get":{"tags":["抖音"],"summary":"获取抖音用户关注列表","description":"获取用户关注列表 第一次请求时，max_time传`0`，source_type传`2`，然后会返回一个空的粉丝列表，里面包含了max_time，然后再次请求时，max_time传上一次请求返回的max_time，source_type传`1`，即可获取到粉丝列表。 如果不按照上述方式请求，可能会导致返回数据包含重复数据。\n\n参数：\n- count（integer，可选，默认 20）：数量，默认为20，建议保持不变。\n- max_time（string，可选，默认 \"0\"）：最大时间戳，默认为0，后续从返回数据中获取，用于翻页。\n- sec_user_id（string，可选，默认 \"MS4wLjABAAAA9y04iBlVdeMQqTJbqsQZKb-tqWqWW29jPVJqideHT70\"）：用户sec_user_id\n- source_type（integer，可选，默认 1）：首次请求传 2，同时 max_time=\"0\"；首次可能返回空列表。之后传 1，max_time 使用上次响应返回的值，避免重复数据。默认值仍为 1。\n\n使用说明： 关注列表 首次 source_type=2、max_time=\"0\"，列表可能为空；后续 source_type=1，使用上次返回的 max_time 翻页；count 保持 20。","operationId":"data_relay_douyin_web_fetch_user_following_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"数量，默认为20，建议保持不变。","schema":{"default":20,"description":"数量，默认为20，建议保持不变。","title":"Count","type":"integer"}},{"name":"max_time","in":"query","required":false,"description":"最大时间戳，默认为0，后续从返回数据中获取，用于翻页。","schema":{"default":"0","description":"最大时间戳，默认为0，后续从返回数据中获取，用于翻页。","title":"Max Time","type":"string"}},{"name":"sec_user_id","in":"query","required":false,"description":"用户sec_user_id","schema":{"default":"MS4wLjABAAAA9y04iBlVdeMQqTJbqsQZKb-tqWqWW29jPVJqideHT70","description":"用户sec_user_id","title":"Sec User Id","type":"string"}},{"name":"source_type","in":"query","required":false,"description":"首次请求传 2，同时 max_time=\"0\"；首次可能返回空列表。之后传 1，max_time 使用上次响应返回的值，避免重复数据。默认值仍为 1。","schema":{"default":1,"description":"首次请求传 2，同时 max_time=\"0\"；首次可能返回空列表。之后传 1，max_time 使用上次响应返回的值，避免重复数据。默认值仍为 1。","title":"Source Type","type":"integer"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/web/fetch_user_live_info_by_uid":{"get":{"tags":["抖音"],"summary":"获取抖音用户开播状态","description":"使用UID获取用户开播信息\n\n参数：\n- uid（string，必填，未声明默认值）：用户UID\n\n使用说明： 用户开播信息，包含room_id与live_status","operationId":"data_relay_douyin_web_fetch_user_live_info_by_uid","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"uid","in":"query","required":true,"description":"用户UID","schema":{"description":"用户UID","examples":["3081254195702747"],"title":"Uid","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/web/fetch_user_mix_videos":{"get":{"tags":["抖音"],"summary":"获取抖音合集作品列表","description":"分页查询指定合集中的作品。\n\n参数：\n- counts（integer，可选，默认 20）：每页最大数量。字段名为 counts，不是 count。\n- mix_id（string，必填）：合集标识，不是作品标识。\n- max_cursor（integer，可选，默认 0）：分页游标，默认 0；继续查询时使用接口实际响应提供的游标。","operationId":"data_relay_douyin_web_fetch_user_mix_videos","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"counts","in":"query","required":false,"description":"每页最大数量。字段名为 counts，不是 count。","schema":{"default":20,"description":"每页最大数量。字段名为 counts，不是 count。","type":"integer"}},{"name":"max_cursor","in":"query","required":false,"description":"分页游标，默认 0；继续查询时使用接口实际响应提供的游标。","schema":{"default":0,"description":"分页游标，默认 0；继续查询时使用接口实际响应提供的游标。","type":"integer"}},{"name":"mix_id","in":"query","required":true,"description":"合集标识，不是作品标识。","schema":{"description":"合集标识，不是作品标识。","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/web/fetch_user_post_videos":{"get":{"tags":["抖音"],"summary":"获取抖音用户作品列表","description":"查询指定抖音用户发布的作品列表，使用 Web 接口。\n\n参数：\n- count（integer，可选，默认 20）：最大数量，建议不要超过20\n- cookie（string，可选，未声明默认值）：用户网页版抖音Cookie(此接口可以接受用户提供自己的Cookie)\n- max_cursor（string，可选，默认 \"0\"）：翻页游标，第一次请求传0，然后每次请求传上一次请求返回的max_cursor进行翻页。\n- filter_type（string，可选，默认 \"0\"）：过滤类型，可选参数如下： - 0: 默认排序 - 3: 热度排序\n- sec_user_id（string，必填，未声明默认值）：用户sec_user_id\n\n使用说明： 用户作品数据","operationId":"data_relay_douyin_web_fetch_user_post_videos","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"cookie","in":"query","required":false,"description":"用户网页版抖音Cookie(此接口可以接受用户提供自己的Cookie)","schema":{"description":"用户网页版抖音Cookie(此接口可以接受用户提供自己的Cookie)","title":"Cookie","type":"string"}},{"name":"count","in":"query","required":false,"description":"最大数量，建议不要超过20","schema":{"default":20,"description":"最大数量，建议不要超过20","title":"Count","type":"integer"}},{"name":"filter_type","in":"query","required":false,"description":"过滤类型，可选参数如下：\n    - 0: 默认排序\n    - 3: 热度排序","schema":{"default":"0","description":"过滤类型，可选参数如下：\n    - 0: 默认排序\n    - 3: 热度排序","title":"Filter Type","type":"string"}},{"name":"max_cursor","in":"query","required":false,"description":"翻页游标，第一次请求传0，然后每次请求传上一次请求返回的max_cursor进行翻页。","schema":{"default":"0","description":"翻页游标，第一次请求传0，然后每次请求传上一次请求返回的max_cursor进行翻页。","title":"Max Cursor","type":"string"}},{"name":"sec_user_id","in":"query","required":true,"description":"用户sec_user_id","schema":{"description":"用户sec_user_id","examples":["MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE"],"title":"Sec User Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/web/fetch_user_profile_by_uid":{"get":{"tags":["抖音"],"summary":"通过 UID 获取抖音用户资料","description":"使用 UID 查询用户资料。\n\n参数：\n- uid（string，必填）：用户 UID，不是抖音号或 sec_user_id。","operationId":"data_relay_douyin_web_fetch_user_profile_by_uid","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"uid","in":"query","required":true,"description":"用户 UID，不是抖音号或 sec_user_id。","schema":{"description":"用户 UID，不是抖音号或 sec_user_id。","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/web/handler_user_profile":{"get":{"tags":["抖音"],"summary":"通过主页标识获取抖音用户资料","description":"使用用户主页标识查询用户资料。\n\n参数：\n- sec_user_id（string，必填）：用户主页路径 /user/ 后的 sec_user_id，不是抖音号 unique_id，也不是 UID。\n\n使用说明：sec_user_id 取自能正常访问的用户主页路径 /user/ 之后，不要填抖音号或 UID。","operationId":"data_relay_douyin_web_handler_user_profile","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"sec_user_id","in":"query","required":true,"description":"用户主页路径 /user/ 后的 sec_user_id，不是抖音号 unique_id，也不是 UID。","schema":{"description":"用户主页路径 /user/ 后的 sec_user_id，不是抖音号 unique_id，也不是 UID。","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/web/handler_user_profile_v2":{"get":{"tags":["抖音"],"summary":"通过抖音号获取用户资料","description":"使用抖音号查询用户资料。\n\n参数：\n- unique_id（string，必填）：用户的抖音号，不是昵称、UID 或 sec_user_id。\n\n使用说明：unique_id 应填写抖音号，不能用用户昵称替代。","operationId":"data_relay_douyin_web_handler_user_profile_v2","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"unique_id","in":"query","required":true,"description":"用户的抖音号，不是昵称、UID 或 sec_user_id。","schema":{"description":"用户的抖音号，不是昵称、UID 或 sec_user_id。","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/douyin/xingtu_v2/multi_get_author_info":{"post":{"tags":["抖音"],"summary":"批量获取抖音创作者信息","description":"批量获取创作者信息，一次调用查询多个创作者，节省调用次数 价格：0.002$ / 次\n\n参数：\n- author_ids（array，必填，未声明默认值）：星图创作者 ID 字符串数组，最多 50 个；不是任意抖音 UID。\n- platform_source（integer，可选，默认 1）：平台来源，默认1\n- platform_channel（integer，可选，默认 1）：平台渠道，默认1\n\n使用说明： 创作者信息数据（authors 为命中的创作者，not_exist_author_ids 为不存在的ID） 标识说明：author_ids 使用星图创作者 ID，不是任意抖音 UID。 author_ids 使用星图创作者 ID，不是任意抖音 UID。","operationId":"data_relay_douyin_xingtu_v2_multi_get_author_info","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"description":"批量获取创作者信息","properties":{"author_ids":{"description":"星图创作者 ID 字符串数组，最多 50 个；不是任意抖音 UID。","items":{"type":"string"},"maxItems":50,"title":"Author Ids","type":"array"},"platform_channel":{"default":1,"description":"平台渠道，默认1","title":"Platform Channel","type":"integer"},"platform_source":{"default":1,"description":"平台来源，默认1","title":"Platform Source","type":"integer"}},"required":["author_ids"],"type":"object"}}}}}},"/api/v1/xiaohongshu/app_v2/get_creator_hot_inspiration_feed":{"get":{"tags":["小红书"],"summary":"获取热门创作灵感","description":"使用游标分页获取创作者中心的热点创作灵感。","operationId":"get_creator_hot_inspiration_feed_api_v1_xiaohongshu_app_v2_get_creator_hot_inspiration_feed_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"cursor","in":"query","required":false,"schema":{"type":"string","description":"分页游标，首次请求留空 / Pagination cursor","default":"","title":"Cursor"},"description":"分页游标，首次请求留空 / Pagination cursor"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/app_v2/get_creator_inspiration_feed":{"get":{"tags":["小红书"],"summary":"获取创作者灵感","description":"使用游标分页获取创作者中心的推荐创作灵感。","operationId":"get_creator_inspiration_feed_api_v1_xiaohongshu_app_v2_get_creator_inspiration_feed_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"cursor","in":"query","required":false,"schema":{"type":"string","description":"分页游标，首次请求留空 / Pagination cursor","default":"","title":"Cursor"},"description":"分页游标，首次请求留空 / Pagination cursor"},{"name":"tab","in":"query","required":false,"schema":{"type":"integer","description":"标签类型 / Tab type","default":0,"title":"Tab"},"description":"标签类型 / Tab type"},{"name":"source","in":"query","required":false,"schema":{"type":"string","description":"请求来源 / Source","default":"creator_center","title":"Source"},"description":"请求来源 / Source"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/app_v2/get_image_note_detail":{"get":{"tags":["小红书"],"summary":"获取图文笔记详情","description":"获取图文笔记的完整详情，包括内容、图片、作者和互动数据；视频笔记只返回封面，不返回播放链接。","operationId":"get_image_note_detail_api_v1_xiaohongshu_app_v2_get_image_note_detail_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"note_id","in":"query","required":false,"schema":{"type":"string","description":"笔记 ID / Note ID","default":"","title":"Note Id"},"description":"笔记 ID / Note ID"},{"name":"share_text","in":"query","required":false,"schema":{"type":"string","description":"小红书分享链接，支持 xiaohongshu.com、xhslink.com 和 xhslink.cn / Share link","default":"","title":"Share Text"},"description":"小红书分享链接，支持 xiaohongshu.com、xhslink.com 和 xhslink.cn / Share link"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/app_v2/get_note_comments":{"get":{"tags":["小红书"],"summary":"获取笔记评论","description":"分页获取指定笔记的评论列表，并支持按时间或点赞数排序。","operationId":"get_note_comments_api_v1_xiaohongshu_app_v2_get_note_comments_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"note_id","in":"query","required":false,"schema":{"type":"string","description":"笔记 ID / Note ID","default":"","title":"Note Id"},"description":"笔记 ID / Note ID"},{"name":"share_text","in":"query","required":false,"schema":{"type":"string","description":"小红书分享链接，支持 xiaohongshu.com、xhslink.com 和 xhslink.cn / Share link","default":"","title":"Share Text"},"description":"小红书分享链接，支持 xiaohongshu.com、xhslink.com 和 xhslink.cn / Share link"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","description":"分页游标，首次请求留空 / Pagination cursor","default":"","title":"Cursor"},"description":"分页游标，首次请求留空 / Pagination cursor"},{"name":"index","in":"query","required":false,"schema":{"type":"integer","description":"评论索引，首次请求传 0 / Comment index","default":0,"title":"Index"},"description":"评论索引，首次请求传 0 / Comment index"},{"name":"pageArea","in":"query","required":false,"schema":{"type":"string","description":"折叠状态：UNFOLDED=展开，FOLDED=折叠","default":"UNFOLDED","title":"Pagearea"},"description":"折叠状态：UNFOLDED=展开，FOLDED=折叠"},{"name":"sort_strategy","in":"query","required":false,"schema":{"type":"string","description":"排序策略：default、latest_v2（最新）或 like_count（最热）","default":"latest_v2","title":"Sort Strategy"},"description":"排序策略：default、latest_v2（最新）或 like_count（最热）"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/app_v2/get_note_sub_comments":{"get":{"tags":["小红书"],"summary":"获取评论回复","description":"使用游标分页获取指定父评论下的子评论（回复）列表。","operationId":"get_note_sub_comments_api_v1_xiaohongshu_app_v2_get_note_sub_comments_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"comment_id","in":"query","required":true,"schema":{"type":"string","description":"父评论 ID / Parent comment ID","title":"Comment Id"},"description":"父评论 ID / Parent comment ID"},{"name":"note_id","in":"query","required":false,"schema":{"type":"string","description":"笔记 ID / Note ID","default":"","title":"Note Id"},"description":"笔记 ID / Note ID"},{"name":"share_text","in":"query","required":false,"schema":{"type":"string","description":"小红书分享链接，支持 xiaohongshu.com、xhslink.com 和 xhslink.cn / Share link","default":"","title":"Share Text"},"description":"小红书分享链接，支持 xiaohongshu.com、xhslink.com 和 xhslink.cn / Share link"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","description":"分页游标；首次留空，翻页时取上一页 $.data.data.cursor.cursor","default":"","title":"Cursor"},"description":"分页游标；首次留空，翻页时取上一页 $.data.data.cursor.cursor"},{"name":"index","in":"query","required":false,"schema":{"type":"integer","description":"分页索引；首次传 1，翻页时取上一页 $.data.data.cursor.index","default":1,"title":"Index"},"description":"分页索引；首次传 1，翻页时取上一页 $.data.data.cursor.index"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/app_v2/get_topic_feed":{"get":{"tags":["小红书"],"summary":"获取话题动态","description":"分页获取指定话题下的笔记，并支持按最热或最新排序。","operationId":"get_topic_feed_api_v1_xiaohongshu_app_v2_get_topic_feed_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"page_id","in":"query","required":true,"schema":{"type":"string","description":"话题页面 ID / Topic page ID","title":"Page Id"},"description":"话题页面 ID / Topic page ID"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","description":"排序方式：trend=最热，time=最新","default":"trend","title":"Sort"},"description":"排序方式：trend=最热，time=最新"},{"name":"cursor_score","in":"query","required":false,"schema":{"type":"string","description":"分页游标分数；翻页时传入","default":"","title":"Cursor Score"},"description":"分页游标分数；翻页时传入"},{"name":"last_note_id","in":"query","required":false,"schema":{"type":"string","description":"上一页最后一条笔记 ID；翻页时传入","default":"","title":"Last Note Id"},"description":"上一页最后一条笔记 ID；翻页时传入"},{"name":"last_note_ct","in":"query","required":false,"schema":{"type":"string","description":"上一页最后一条笔记创建时间；翻页时传入","default":"","title":"Last Note Ct"},"description":"上一页最后一条笔记创建时间；翻页时传入"},{"name":"session_id","in":"query","required":false,"schema":{"type":"string","description":"会话 ID；翻页时保持一致","default":"","title":"Session Id"},"description":"会话 ID；翻页时保持一致"},{"name":"first_load_time","in":"query","required":false,"schema":{"type":"string","description":"首次加载时间戳；翻页时保持一致","default":"","title":"First Load Time"},"description":"首次加载时间戳；翻页时保持一致"},{"name":"source","in":"query","required":false,"schema":{"type":"string","description":"请求来源 / Source","default":"normal","title":"Source"},"description":"请求来源 / Source"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/app_v2/get_topic_info":{"get":{"tags":["小红书"],"summary":"获取话题信息","description":"获取话题名称、浏览量、讨论数和分享信息等详情。","operationId":"get_topic_info_api_v1_xiaohongshu_app_v2_get_topic_info_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"page_id","in":"query","required":true,"schema":{"type":"string","description":"话题页面 ID / Topic page ID","title":"Page Id"},"description":"话题页面 ID / Topic page ID"},{"name":"source","in":"query","required":false,"schema":{"type":"string","description":"请求来源 / Source","default":"normal","title":"Source"},"description":"请求来源 / Source"},{"name":"note_id","in":"query","required":false,"schema":{"type":"string","description":"来源笔记 ID；从笔记跳转到话题时传入","default":"","title":"Note Id"},"description":"来源笔记 ID；从笔记跳转到话题时传入"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/app_v2/get_user_faved_notes":{"get":{"tags":["小红书"],"summary":"获取用户收藏笔记","description":"使用游标分页获取指定用户公开收藏的笔记列表。","operationId":"get_user_faved_notes_api_v1_xiaohongshu_app_v2_get_user_faved_notes_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"user_id","in":"query","required":false,"schema":{"type":"string","description":"用户 ID / User ID","default":"","title":"User Id"},"description":"用户 ID / User ID"},{"name":"share_text","in":"query","required":false,"schema":{"type":"string","description":"小红书分享链接，支持 xiaohongshu.com、xhslink.com 和 xhslink.cn / Share link","default":"","title":"Share Text"},"description":"小红书分享链接，支持 xiaohongshu.com、xhslink.com 和 xhslink.cn / Share link"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","description":"分页游标；翻页时传上一页最后一条笔记的 note_id","default":"","title":"Cursor"},"description":"分页游标；翻页时传上一页最后一条笔记的 note_id"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/app_v2/get_user_info":{"get":{"tags":["小红书"],"summary":"获取用户信息","description":"通过用户 ID 或个人主页分享链接获取用户详细信息。","operationId":"get_user_info_api_v1_xiaohongshu_app_v2_get_user_info_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"user_id","in":"query","required":false,"schema":{"type":"string","description":"用户 ID / User ID","default":"","title":"User Id"},"description":"用户 ID / User ID"},{"name":"share_text","in":"query","required":false,"schema":{"type":"string","description":"小红书分享链接，支持 xiaohongshu.com、xhslink.com 和 xhslink.cn / Share link","default":"","title":"Share Text"},"description":"小红书分享链接，支持 xiaohongshu.com、xhslink.com 和 xhslink.cn / Share link"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/app_v2/get_user_posted_notes":{"get":{"tags":["小红书"],"summary":"获取用户发布笔记","description":"使用游标分页获取指定用户已发布的笔记列表。","operationId":"get_user_posted_notes_api_v1_xiaohongshu_app_v2_get_user_posted_notes_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"user_id","in":"query","required":false,"schema":{"type":"string","description":"用户 ID / User ID","default":"","title":"User Id"},"description":"用户 ID / User ID"},{"name":"share_text","in":"query","required":false,"schema":{"type":"string","description":"小红书分享链接，支持 xiaohongshu.com、xhslink.com 和 xhslink.cn / Share link","default":"","title":"Share Text"},"description":"小红书分享链接，支持 xiaohongshu.com、xhslink.com 和 xhslink.cn / Share link"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","description":"分页游标，首次请求留空 / Pagination cursor","default":"","title":"Cursor"},"description":"分页游标，首次请求留空 / Pagination cursor"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/app_v2/get_video_note_detail":{"get":{"tags":["小红书"],"summary":"获取视频笔记详情","description":"获取视频笔记的完整详情和视频播放地址；不适用于图文笔记。","operationId":"get_video_note_detail_api_v1_xiaohongshu_app_v2_get_video_note_detail_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"note_id","in":"query","required":false,"schema":{"type":"string","description":"笔记 ID / Note ID","default":"","title":"Note Id"},"description":"笔记 ID / Note ID"},{"name":"share_text","in":"query","required":false,"schema":{"type":"string","description":"小红书分享链接，支持 xiaohongshu.com、xhslink.com 和 xhslink.cn / Share link","default":"","title":"Share Text"},"description":"小红书分享链接，支持 xiaohongshu.com、xhslink.com 和 xhslink.cn / Share link"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/app_v2/search_groups":{"get":{"tags":["小红书"],"summary":"搜索群组","description":"按关键词分页搜索小红书群聊。","operationId":"search_groups_api_v1_xiaohongshu_app_v2_search_groups_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"keyword","in":"query","required":true,"schema":{"type":"string","description":"搜索关键词 / Search keyword","title":"Keyword"},"description":"搜索关键词 / Search keyword"},{"name":"page_no","in":"query","required":false,"schema":{"type":"integer","description":"页码，从 0 开始 / Page number","default":0,"title":"Page No"},"description":"页码，从 0 开始 / Page number"},{"name":"search_id","in":"query","required":false,"schema":{"type":"string","description":"搜索 ID；翻页时传入首次搜索返回的值 / Search ID for pagination","default":"","title":"Search Id"},"description":"搜索 ID；翻页时传入首次搜索返回的值 / Search ID for pagination"},{"name":"source","in":"query","required":false,"schema":{"type":"string","description":"请求来源 / Source","default":"unifiedSearchGroup","title":"Source"},"description":"请求来源 / Source"},{"name":"is_recommend","in":"query","required":false,"schema":{"type":"integer","description":"是否推荐：0=否，1=是","default":0,"title":"Is Recommend"},"description":"是否推荐：0=否，1=是"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/app_v2/search_images":{"get":{"tags":["小红书"],"summary":"搜索图片","description":"按关键词分页搜索小红书图片，每页返回 20 条结果。","operationId":"search_images_api_v1_xiaohongshu_app_v2_search_images_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"keyword","in":"query","required":true,"schema":{"type":"string","description":"搜索关键词 / Search keyword","title":"Keyword"},"description":"搜索关键词 / Search keyword"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","description":"页码，从 1 开始 / Page number","default":1,"title":"Page"},"description":"页码，从 1 开始 / Page number"},{"name":"search_id","in":"query","required":false,"schema":{"type":"string","description":"搜索 ID；翻页时传入首次搜索返回的值 / Search ID for pagination","default":"","title":"Search Id"},"description":"搜索 ID；翻页时传入首次搜索返回的值 / Search ID for pagination"},{"name":"search_session_id","in":"query","required":false,"schema":{"type":"string","description":"搜索会话 ID；翻页时传入首次搜索返回的值","default":"","title":"Search Session Id"},"description":"搜索会话 ID；翻页时传入首次搜索返回的值"},{"name":"word_request_id","in":"query","required":false,"schema":{"type":"string","description":"词请求 ID；翻页时传入首次搜索返回的值","default":"","title":"Word Request Id"},"description":"词请求 ID；翻页时传入首次搜索返回的值"},{"name":"source","in":"query","required":false,"schema":{"type":"string","description":"请求来源 / Source","default":"explore_feed","title":"Source"},"description":"请求来源 / Source"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/app_v2/search_notes":{"get":{"tags":["小红书"],"summary":"搜索笔记","description":"按关键词搜索小红书笔记，并按排序、笔记类型和发布时间筛选。","operationId":"search_notes_api_v1_xiaohongshu_app_v2_search_notes_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"keyword","in":"query","required":true,"schema":{"type":"string","description":"搜索关键词 / Search keyword","title":"Keyword"},"description":"搜索关键词 / Search keyword"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","description":"页码，从 1 开始 / Page number","default":1,"title":"Page"},"description":"页码，从 1 开始 / Page number"},{"name":"sort_type","in":"query","required":false,"schema":{"type":"string","description":"排序方式：general、time_descending 或 popularity_descending","default":"general","title":"Sort Type"},"description":"排序方式：general、time_descending 或 popularity_descending"},{"name":"note_type","in":"query","required":false,"schema":{"type":"string","description":"笔记类型：不限、视频笔记、普通笔记或直播笔记","default":"不限","title":"Note Type"},"description":"笔记类型：不限、视频笔记、普通笔记或直播笔记"},{"name":"time_filter","in":"query","required":false,"schema":{"type":"string","description":"发布时间：不限、一天内、一周内或半年内","default":"不限","title":"Time Filter"},"description":"发布时间：不限、一天内、一周内或半年内"},{"name":"search_id","in":"query","required":false,"schema":{"type":"string","description":"搜索 ID；翻页时传入首次搜索返回的值 / Search ID for pagination","default":"","title":"Search Id"},"description":"搜索 ID；翻页时传入首次搜索返回的值 / Search ID for pagination"},{"name":"search_session_id","in":"query","required":false,"schema":{"type":"string","description":"搜索会话 ID；翻页时传入首次搜索返回的值","default":"","title":"Search Session Id"},"description":"搜索会话 ID；翻页时传入首次搜索返回的值"},{"name":"source","in":"query","required":false,"schema":{"type":"string","description":"请求来源 / Source","default":"explore_feed","title":"Source"},"description":"请求来源 / Source"},{"name":"ai_mode","in":"query","required":false,"schema":{"type":"integer","description":"AI 模式：0=关闭，1=开启","default":0,"title":"Ai Mode"},"description":"AI 模式：0=关闭，1=开启"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/app_v2/search_users":{"get":{"tags":["小红书"],"summary":"搜索用户","description":"按关键词分页搜索小红书用户，每页返回 20 条结果。","operationId":"search_users_api_v1_xiaohongshu_app_v2_search_users_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"keyword","in":"query","required":true,"schema":{"type":"string","description":"搜索关键词 / Search keyword","title":"Keyword"},"description":"搜索关键词 / Search keyword"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","description":"页码，从 1 开始 / Page number","default":1,"title":"Page"},"description":"页码，从 1 开始 / Page number"},{"name":"search_id","in":"query","required":false,"schema":{"type":"string","description":"搜索 ID；翻页时传入首次搜索返回的值 / Search ID for pagination","default":"","title":"Search Id"},"description":"搜索 ID；翻页时传入首次搜索返回的值 / Search ID for pagination"},{"name":"source","in":"query","required":false,"schema":{"type":"string","description":"请求来源 / Source","default":"explore_feed","title":"Source"},"description":"请求来源 / Source"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/pgy/get_blogger_core_data":{"post":{"tags":["小红书"],"summary":"获取博主核心数据","description":"获取博主核心指标的逐日趋势和区间汇总，用于绘制表现趋势。","operationId":"get_blogger_core_data_api_v1_xiaohongshu_pgy_get_blogger_core_data_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/pgy/get_blogger_data_summary":{"post":{"tags":["小红书"],"summary":"获取博主数据汇总","description":"获取博主账号维度的数据概览汇总。","operationId":"get_blogger_data_summary_api_v1_xiaohongshu_pgy_get_blogger_data_summary_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSummaryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/pgy/get_blogger_detail":{"post":{"tags":["小红书"],"summary":"获取博主详情","description":"获取蒲公英博主的资料、报价及内容表现等详细数据。","operationId":"get_blogger_detail_api_v1_xiaohongshu_pgy_get_blogger_detail_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserIdRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/pgy/get_blogger_fans_history":{"post":{"tags":["小红书"],"summary":"获取博主粉丝历史","description":"获取博主粉丝总量或每日新增随时间的变化曲线。","operationId":"get_blogger_fans_history_api_v1_xiaohongshu_pgy_get_blogger_fans_history_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FansHistoryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/pgy/get_blogger_fans_profile":{"post":{"tags":["小红书"],"summary":"获取博主粉丝画像","description":"获取粉丝分布画像，用于判断受众与目标人群的匹配度。","operationId":"get_blogger_fans_profile_api_v1_xiaohongshu_pgy_get_blogger_fans_profile_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserIdRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/pgy/get_blogger_fans_summary":{"post":{"tags":["小红书"],"summary":"获取博主粉丝汇总","description":"获取博主粉丝分析中的核心指标概览。","operationId":"get_blogger_fans_summary_api_v1_xiaohongshu_pgy_get_blogger_fans_summary_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserIdRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/pgy/get_blogger_filter_options":{"post":{"tags":["小红书"],"summary":"获取博主筛选项","description":"获取博主列表接口所需的动态树形筛选项字典，建议客户端缓存复用。","operationId":"get_blogger_filter_options_api_v1_xiaohongshu_pgy_get_blogger_filter_options_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/pgy/get_blogger_list":{"post":{"tags":["小红书"],"summary":"获取博主列表","description":"搜索和筛选蒲公英笔记博主，用于找博主和商业合作选号。","operationId":"get_blogger_list_api_v1_xiaohongshu_pgy_get_blogger_list_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BloggerListRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/pgy/get_blogger_notes":{"post":{"tags":["小红书"],"summary":"获取博主笔记","description":"分页获取博主的原生笔记案例，可筛选合作笔记和内容类型。","operationId":"get_blogger_notes_api_v1_xiaohongshu_pgy_get_blogger_notes_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/pgy/get_blogger_notes_rate":{"post":{"tags":["小红书"],"summary":"获取博主笔记数据","description":"评估博主笔记的整体内容表现、质量和稳定性。","operationId":"get_blogger_notes_rate_api_v1_xiaohongshu_pgy_get_blogger_notes_rate_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/pgy/get_blogger_notes_v2":{"post":{"tags":["小红书"],"summary":"获取博主笔记 V2","description":"分页获取博主笔记案例，并覆盖跨平台或跨域合作内容。","operationId":"get_blogger_notes_v2_api_v1_xiaohongshu_pgy_get_blogger_notes_v2_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotesV2Request"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/pgy/get_blogger_similar":{"post":{"tags":["小红书"],"summary":"获取相似博主","description":"根据标杆博主推荐相似博主，用于扩展候选合作账号。","operationId":"get_blogger_similar_api_v1_xiaohongshu_pgy_get_blogger_similar_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimilarRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/pgy/get_content_square":{"post":{"tags":["小红书"],"summary":"获取内容广场","description":"查询蒲公英内容广场热门榜单，发现当前热门内容和候选博主。","operationId":"get_content_square_api_v1_xiaohongshu_pgy_get_content_square_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentSquareRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/pgy/get_keyword_daily":{"post":{"tags":["小红书"],"summary":"获取关键词趋势","description":"获取关键词的逐日搜索热度，用于判断趋势和季节性。","operationId":"get_keyword_daily_api_v1_xiaohongshu_pgy_get_keyword_daily_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeywordRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/pgy/get_keyword_related":{"post":{"tags":["小红书"],"summary":"获取相关关键词","description":"获取用户搜索前后的关联词，用于选题扩词和机会词分析。","operationId":"get_keyword_related_api_v1_xiaohongshu_pgy_get_keyword_related_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeywordRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/pgy/get_keyword_stat":{"post":{"tags":["小红书"],"summary":"获取关键词统计","description":"获取关键词全站热度概览和相关内容博主画像。","operationId":"get_keyword_stat_api_v1_xiaohongshu_pgy_get_keyword_stat_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeywordRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/pgy/get_note_comments":{"post":{"tags":["小红书"],"summary":"获取笔记评论","description":"获取单篇蒲公英笔记的精选评论及博主回复。","operationId":"get_note_comments_api_v1_xiaohongshu_pgy_get_note_comments_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteDetailRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/pgy/get_note_components":{"post":{"tags":["小红书"],"summary":"获取笔记组件","description":"获取笔记正文、评论区和底部挂载的组件配置。","operationId":"get_note_components_api_v1_xiaohongshu_pgy_get_note_components_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteDetailRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/pgy/get_note_detail":{"post":{"tags":["小红书"],"summary":"获取笔记详情","description":"获取单篇蒲公英笔记的详情数据，用于分析商业笔记表现。","operationId":"get_note_detail_api_v1_xiaohongshu_pgy_get_note_detail_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteDetailRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/web_v3/fetch_homefeed":{"get":{"tags":["小红书"],"summary":"获取首页信息流","description":"获取小红书首页推荐笔记列表。","operationId":"fetch_homefeed_api_v1_xiaohongshu_web_v3_fetch_homefeed_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"num","in":"query","required":false,"schema":{"type":"integer","description":"返回数量，最大 40 / Number of results","default":20,"title":"Num"},"description":"返回数量，最大 40 / Number of results"},{"name":"cursor_score","in":"query","required":false,"schema":{"type":"string","description":"翻页游标 / Pagination cursor","default":"","title":"Cursor Score"},"description":"翻页游标 / Pagination cursor"},{"name":"category","in":"query","required":false,"schema":{"type":"string","description":"分类频道 ID / Category channel ID","default":"homefeed_recommend","title":"Category"},"description":"分类频道 ID / Category channel ID"},{"name":"need_filter_image","in":"query","required":false,"schema":{"type":"boolean","description":"是否仅返回图文笔记 / Image notes only","default":false,"title":"Need Filter Image"},"description":"是否仅返回图文笔记 / Image notes only"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/web_v3/fetch_homefeed_categories":{"get":{"tags":["小红书"],"summary":"获取首页信息流分类","description":"获取首页频道分类列表，可用于选择首页信息流的 category 参数。","operationId":"fetch_homefeed_categories_api_v1_xiaohongshu_web_v3_fetch_homefeed_categories_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/web_v3/fetch_note_detail":{"get":{"tags":["小红书"],"summary":"获取 Web 笔记详情","description":"获取图文或视频笔记的详情数据。","operationId":"fetch_note_detail_api_v1_xiaohongshu_web_v3_fetch_note_detail_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"note_id","in":"query","required":true,"schema":{"type":"string","description":"笔记 ID / Note ID","title":"Note Id"},"description":"笔记 ID / Note ID"},{"name":"xsec_token","in":"query","required":true,"schema":{"type":"string","description":"安全令牌，可从小红书分享链接中获取 / Security token from share link","title":"Xsec Token"},"description":"安全令牌，可从小红书分享链接中获取 / Security token from share link"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/web_v3/fetch_search_suggest":{"get":{"tags":["小红书"],"summary":"获取搜索建议","description":"获取搜索联想词；keyword 为空时返回热门推荐。","operationId":"fetch_search_suggest_api_v1_xiaohongshu_web_v3_fetch_search_suggest_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"keyword","in":"query","required":false,"schema":{"type":"string","description":"关键词，可为空 / Keyword, optional","default":"","title":"Keyword"},"description":"关键词，可为空 / Keyword, optional"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/web_v3/fetch_user_info":{"get":{"tags":["小红书"],"summary":"获取 Web 用户信息","description":"获取指定用户的公开资料。","operationId":"fetch_user_info_api_v1_xiaohongshu_web_v3_fetch_user_info_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"user_id","in":"query","required":true,"schema":{"type":"string","description":"用户 ID / User ID","title":"User Id"},"description":"用户 ID / User ID"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v1/fetch_post_by_url_v2":{"get":{"tags":["Instagram"],"summary":"通过链接获取Instagram帖子详情 V2","description":"通过URL获取单个帖子的详细信息 V2 - 数据没有V1完整，但速度更快，用于下载大量帖子时推荐使用。\n\n参数：\n- post_url（string，必填，未声明默认值）：帖子URL\n\n使用说明：- 帖子详情对象，包含媒体、点赞数、评论等\n- 0.001 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v1_fetch_post_by_url_v2","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"post_url","in":"query","required":true,"description":"帖子URL","schema":{"description":"帖子URL","examples":["实际分享链接"],"title":"Post Url","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v1/fetch_user_about_info":{"get":{"tags":["Instagram"],"summary":"获取Instagram账户简介","description":"获取用户的\"关于此账户\"（About This Account）信息 包含账户创建日期、所在地区、认证状态等详细信息\n\n参数：\n- user_id（string，必填，未声明默认值）：Instagram用户ID（数字格式）\n\n使用说明：- `status`: 请求状态\n- `user_id`: 用户ID\n- `username`: 用户名\n- `profile_pic_url`: 头像URL\n- `is_verified`: 是否认证\n- `date_joined`: 账户创建日期（如：\"June 2012\"）\n- `account_based_in`: 账户所在地区（如：\"United States\"）\n- `verified_date`: 认证日期（如：\"August 2017\"，未认证则为None）\n- 0.001 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v1_fetch_user_about_info","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"user_id","in":"query","required":true,"description":"Instagram用户ID（数字格式）","schema":{"description":"Instagram用户ID（数字格式）","examples":["182988865"],"title":"User Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v1/fetch_user_info_by_username_v3":{"get":{"tags":["Instagram"],"summary":"通过用户名获取Instagram用户资料 V3","description":"根据Instagram用户名获取用户数据，返回更详细的信息\n\n参数：\n- username（string，必填，未声明默认值）：Instagram用户名\n\n使用说明：- 用户信息对象，包含以下主要字段：\n  - `pk/id`: 用户ID\n  - `username`: 用户名\n  - `full_name`: 用户全名\n  - `biography`: 个人简介\n  - `bio_links`: 个人简介链接列表\n  - `follower_count`: 粉丝数\n  - `following_count`: 关注数\n  - `media_count`: 媒体数量\n  - `profile_pic_url`: 头像URL\n  - `hd_profile_pic_url_info`: 高清头像URL信息\n  - `is_private`: 是否私密账户\n  - `is_verified`: 是否已认证\n- 0.001 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v1_fetch_user_info_by_username_v3","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"username","in":"query","required":true,"description":"Instagram用户名","schema":{"description":"Instagram用户名","examples":["instagram"],"title":"Username","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v1/fetch_user_reposts":{"get":{"tags":["Instagram"],"summary":"获取Instagram用户转发列表","description":"获取用户转发/分享的帖子列表，支持分页\n\n参数：\n- max_id（string，可选，未声明默认值）：分页游标，首次请求不传\n- user_id（string，必填，未声明默认值）：Instagram用户ID\n\n使用说明：- `items`: 转发帖子列表\n- `more_available`: 是否有更多数据\n- `next_max_id`: 下一页游标\n- 0.001 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v1_fetch_user_reposts","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"max_id","in":"query","required":false,"description":"分页游标，首次请求不传","schema":{"description":"分页游标，首次请求不传","title":"Max Id","type":"string"}},{"name":"user_id","in":"query","required":true,"description":"Instagram用户ID","schema":{"description":"Instagram用户ID","examples":["25025320"],"title":"User Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/fetch_comment_replies":{"get":{"tags":["Instagram"],"summary":"获取Instagram评论回复","description":"获取评论的回复列表 需要先通过fetch_post_comments获取评论ID 支持分页获取\n\n参数：\n- code_or_url（string，必填，未声明默认值）：帖子Shortcode或完整URL\n- comment_id（string，必填，未声明默认值）：评论ID\n- pagination_token（string，可选，未声明默认值）：分页token，从上一次响应获取\n\n使用说明：- `data.items`: 回复列表\n- `pagination_token`: 下一页token\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_fetch_comment_replies","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"code_or_url","in":"query","required":true,"description":"帖子Shortcode或完整URL","schema":{"description":"帖子Shortcode或完整URL","examples":["DRhvwVLAHAG"],"title":"Code Or Url","type":"string"}},{"name":"comment_id","in":"query","required":true,"description":"评论ID","schema":{"description":"评论ID","examples":["18067775592012345"],"title":"Comment Id","type":"string"}},{"name":"pagination_token","in":"query","required":false,"description":"分页token，从上一次响应获取","schema":{"description":"分页token，从上一次响应获取","title":"Pagination Token","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/fetch_hashtag_posts":{"get":{"tags":["Instagram"],"summary":"获取Instagram话题帖子","description":"获取指定话题标签下的帖子列表 支持按热门、最新或仅Reels筛选 支持分页获取\n\n参数：\n- feed_type（string，可选，默认 \"top\"）：帖子类型，\"top\"（热门）、\"recent\"（最新）或\"reels\"（仅Reels），默认top\n- keyword（string，必填，未声明默认值）：话题关键词（不含#号）\n- pagination_token（string，可选，未声明默认值）：分页token，从上一次响应获取\n\n使用说明：- `data.items`: 帖子列表\n- `pagination_token`: 下一页token\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_fetch_hashtag_posts","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"feed_type","in":"query","required":false,"description":"帖子类型，\"top\"（热门）、\"recent\"（最新）或\"reels\"（仅Reels），默认top","schema":{"default":"top","description":"帖子类型，\"top\"（热门）、\"recent\"（最新）或\"reels\"（仅Reels），默认top","title":"Feed Type","type":"string"}},{"name":"keyword","in":"query","required":true,"description":"话题关键词（不含#号）","schema":{"description":"话题关键词（不含#号）","examples":["cat"],"title":"Keyword","type":"string"}},{"name":"pagination_token","in":"query","required":false,"description":"分页token，从上一次响应获取","schema":{"description":"分页token，从上一次响应获取","title":"Pagination Token","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/fetch_highlight_stories":{"get":{"tags":["Instagram"],"summary":"获取Instagram精选故事详情","description":"获取指定精选（Highlight）中的所有故事 需要先通过fetch_user_highlights获取精选ID\n\n参数：\n- highlight_id（string，必填，未声明默认值）：精选ID（可带或不带\"highlight:\"前缀）\n\n使用说明：- `data.items`: 故事列表，包含图片/视频URL、发布时间等\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_fetch_highlight_stories","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"highlight_id","in":"query","required":true,"description":"精选ID（可带或不带\"highlight:\"前缀）","schema":{"description":"精选ID（可带或不带\"highlight:\"前缀）","examples":["17895069621772257"],"title":"Highlight Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/fetch_location_posts":{"get":{"tags":["Instagram"],"summary":"获取Instagram地点帖子","description":"获取指定地点的帖子列表 地点ID可通过search_locations获取 支持分页获取\n\n参数：\n- location_id（string，必填，未声明默认值）：地点ID\n- pagination_token（string，可选，未声明默认值）：分页token，从上一次响应获取\n\n使用说明：- `data.items`: 帖子列表\n- `pagination_token`: 下一页token\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_fetch_location_posts","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"location_id","in":"query","required":true,"description":"地点ID","schema":{"description":"地点ID","examples":["331004901"],"title":"Location Id","type":"string"}},{"name":"pagination_token","in":"query","required":false,"description":"分页token，从上一次响应获取","schema":{"description":"分页token，从上一次响应获取","title":"Pagination Token","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/fetch_music_posts":{"get":{"tags":["Instagram"],"summary":"获取Instagram音乐帖子","description":"获取使用指定音乐的帖子列表 音频ID可从帖子详情中获取 支持分页获取\n\n参数：\n- audio_canonical_id（string，必填，未声明默认值）：音频ID\n- pagination_token（string，可选，未声明默认值）：分页token，从上一次响应获取\n\n使用说明：- `data.items`: 帖子列表\n- `pagination_token`: 下一页token\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_fetch_music_posts","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"audio_canonical_id","in":"query","required":true,"description":"音频ID","schema":{"description":"音频ID","examples":["564058920086577"],"title":"Audio Canonical Id","type":"string"}},{"name":"pagination_token","in":"query","required":false,"description":"分页token，从上一次响应获取","schema":{"description":"分页token，从上一次响应获取","title":"Pagination Token","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/fetch_post_comments":{"get":{"tags":["Instagram"],"summary":"获取Instagram帖子评论","description":"获取帖子的评论列表 支持按最新或热门排序 支持分页获取\n\n参数：\n- code_or_url（string，必填，未声明默认值）：帖子Shortcode或完整URL\n- pagination_token（string，可选，未声明默认值）：分页token，从上一次响应获取\n- sort_by（string，可选，默认 \"recent\"）：排序方式，\"recent\"（最新）或\"popular\"（热门），默认recent\n\n使用说明：- `data.items`: 评论列表\n- `pagination_token`: 下一页token\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_fetch_post_comments","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"code_or_url","in":"query","required":true,"description":"帖子Shortcode或完整URL","schema":{"description":"帖子Shortcode或完整URL","examples":["DRhvwVLAHAG"],"title":"Code Or Url","type":"string"}},{"name":"pagination_token","in":"query","required":false,"description":"分页token，从上一次响应获取","schema":{"description":"分页token，从上一次响应获取","title":"Pagination Token","type":"string"}},{"name":"sort_by","in":"query","required":false,"description":"排序方式，\"recent\"（最新）或\"popular\"（热门），默认recent","schema":{"default":"recent","description":"排序方式，\"recent\"（最新）或\"popular\"（热门），默认recent","examples":["recent"],"title":"Sort By","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/fetch_post_info":{"get":{"tags":["Instagram"],"summary":"获取Instagram帖子详情","description":"获取Instagram帖子的详细信息 支持Shortcode或完整URL\n\n参数：\n- code_or_url（string，必填，未声明默认值）：帖子Shortcode或完整URL\n\n使用说明：- `data`: 帖子详情，包含媒体资源、描述、点赞数、评论数等\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_fetch_post_info","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"code_or_url","in":"query","required":true,"description":"帖子Shortcode或完整URL","schema":{"description":"帖子Shortcode或完整URL","examples":["DRhvwVLAHAG"],"title":"Code Or Url","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/fetch_post_likes":{"get":{"tags":["Instagram"],"summary":"获取Instagram帖子点赞列表","description":"获取帖子的点赞用户列表 支持分页获取\n\n参数：\n- code_or_url（string，必填，未声明默认值）：帖子Shortcode或完整URL\n- end_cursor（string，可选，未声明默认值）：分页游标，从上一次响应获取\n\n使用说明：- `data.items`: 点赞用户列表\n- `end_cursor`: 下一页游标\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_fetch_post_likes","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"code_or_url","in":"query","required":true,"description":"帖子Shortcode或完整URL","schema":{"description":"帖子Shortcode或完整URL","examples":["DRhvwVLAHAG"],"title":"Code Or Url","type":"string"}},{"name":"end_cursor","in":"query","required":false,"description":"分页游标，从上一次响应获取","schema":{"description":"分页游标，从上一次响应获取","title":"End Cursor","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/fetch_similar_users":{"get":{"tags":["Instagram"],"summary":"获取Instagram相似用户","description":"获取与指定用户相似的用户推荐列表 基于Instagram的推荐算法\n\n参数：\n- user_id（string，可选，未声明默认值）：用户ID（与username二选一）\n- username（string，可选，未声明默认值）：用户名（与user_id二选一）\n\n使用说明：- `data.items`: 相似用户列表\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_fetch_similar_users","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"user_id","in":"query","required":false,"description":"用户ID（与username二选一）","schema":{"description":"用户ID（与username二选一）","examples":["18527"],"title":"User Id","type":"string"}},{"name":"username","in":"query","required":false,"description":"用户名（与user_id二选一）","schema":{"description":"用户名（与user_id二选一）","examples":["instagram"],"title":"Username","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/fetch_user_followers":{"get":{"tags":["Instagram"],"summary":"获取Instagram用户粉丝","description":"获取Instagram用户的粉丝列表 支持分页获取\n\n参数：\n- pagination_token（string，可选，未声明默认值）：分页token，从上一次响应获取\n- user_id（string，可选，未声明默认值）：用户ID（与username二选一）\n- username（string，可选，未声明默认值）：用户名（与user_id二选一）\n\n使用说明：- `data.items`: 粉丝列表\n- `pagination_token`: 下一页token\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_fetch_user_followers","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"pagination_token","in":"query","required":false,"description":"分页token，从上一次响应获取","schema":{"description":"分页token，从上一次响应获取","title":"Pagination Token","type":"string"}},{"name":"user_id","in":"query","required":false,"description":"用户ID（与username二选一）","schema":{"description":"用户ID（与username二选一）","examples":["18527"],"title":"User Id","type":"string"}},{"name":"username","in":"query","required":false,"description":"用户名（与user_id二选一）","schema":{"description":"用户名（与user_id二选一）","examples":["instagram"],"title":"Username","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/fetch_user_following":{"get":{"tags":["Instagram"],"summary":"获取Instagram用户关注","description":"获取Instagram用户关注的用户列表 支持分页获取\n\n参数：\n- pagination_token（string，可选，未声明默认值）：分页token，从上一次响应获取\n- user_id（string，可选，未声明默认值）：用户ID（与username二选一）\n- username（string，可选，未声明默认值）：用户名（与user_id二选一）\n\n使用说明：- `data.items`: 关注列表\n- `pagination_token`: 下一页token\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_fetch_user_following","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"pagination_token","in":"query","required":false,"description":"分页token，从上一次响应获取","schema":{"description":"分页token，从上一次响应获取","title":"Pagination Token","type":"string"}},{"name":"user_id","in":"query","required":false,"description":"用户ID（与username二选一）","schema":{"description":"用户ID（与username二选一）","examples":["18527"],"title":"User Id","type":"string"}},{"name":"username","in":"query","required":false,"description":"用户名（与user_id二选一）","schema":{"description":"用户名（与user_id二选一）","examples":["instagram"],"title":"Username","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/fetch_user_highlights":{"get":{"tags":["Instagram"],"summary":"获取Instagram用户精选","description":"获取Instagram用户的精选故事（Highlights）列表 精选是用户保存的故事合集\n\n参数：\n- user_id（string，可选，未声明默认值）：用户ID（与username二选一）\n- username（string，可选，未声明默认值）：用户名（与user_id二选一）\n\n使用说明：- `data.items`: 精选列表，包含精选ID、标题、封面等\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_fetch_user_highlights","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"user_id","in":"query","required":false,"description":"用户ID（与username二选一）","schema":{"description":"用户ID（与username二选一）","examples":["18527"],"title":"User Id","type":"string"}},{"name":"username","in":"query","required":false,"description":"用户名（与user_id二选一）","schema":{"description":"用户名（与user_id二选一）","examples":["instagram"],"title":"Username","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/fetch_user_info":{"get":{"tags":["Instagram"],"summary":"获取Instagram用户信息","description":"获取Instagram用户的详细信息 支持通过用户名或用户ID查询\n\n参数：\n- user_id（string，可选，未声明默认值）：用户ID（与username二选一）\n- username（string，可选，未声明默认值）：用户名（与user_id二选一）\n\n使用说明：- `data`: 用户信息，包含用户名、头像、简介、粉丝数、关注数、帖子数等\n- 此接口会返回用户的关于信息，包括国家，加入时间，是否认证等信息。\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。 本服务抽样的响应根 data 为用户资料对象，可从 data.username 等字段读取信息。","operationId":"data_relay_instagram_v2_fetch_user_info","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"user_id","in":"query","required":false,"description":"用户ID（与username二选一）","schema":{"description":"用户ID（与username二选一）","examples":["18527"],"title":"User Id","type":"string"}},{"name":"username","in":"query","required":false,"description":"用户名（与user_id二选一）","schema":{"description":"用户名（与user_id二选一）","examples":["instagram"],"title":"Username","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/fetch_user_posts":{"get":{"tags":["Instagram"],"summary":"获取Instagram用户帖子","description":"获取Instagram用户发布的帖子列表 支持分页获取\n\n参数：\n- pagination_token（string，可选，未声明默认值）：分页token，从上一次响应获取\n- user_id（string，可选，未声明默认值）：用户ID（与username二选一）\n- username（string，可选，未声明默认值）：用户名（与user_id二选一）\n\n使用说明：- `data.items`: 帖子列表\n- `pagination_token`: 下一页token\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_fetch_user_posts","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"pagination_token","in":"query","required":false,"description":"分页token，从上一次响应获取","schema":{"description":"分页token，从上一次响应获取","title":"Pagination Token","type":"string"}},{"name":"user_id","in":"query","required":false,"description":"用户ID（与username二选一）","schema":{"description":"用户ID（与username二选一）","examples":["18527"],"title":"User Id","type":"string"}},{"name":"username","in":"query","required":false,"description":"用户名（与user_id二选一）","schema":{"description":"用户名（与user_id二选一）","examples":["instagram"],"title":"Username","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/fetch_user_reels":{"get":{"tags":["Instagram"],"summary":"获取Instagram用户Reels","description":"获取Instagram用户发布的Reels短视频列表 支持分页获取\n\n参数：\n- pagination_token（string，可选，未声明默认值）：分页token，从上一次响应获取\n- user_id（string，可选，未声明默认值）：用户ID（与username二选一）\n- username（string，可选，未声明默认值）：用户名（与user_id二选一）\n\n使用说明：- `data.items`: Reels列表\n- `pagination_token`: 下一页token\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_fetch_user_reels","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"pagination_token","in":"query","required":false,"description":"分页token，从上一次响应获取","schema":{"description":"分页token，从上一次响应获取","title":"Pagination Token","type":"string"}},{"name":"user_id","in":"query","required":false,"description":"用户ID（与username二选一）","schema":{"description":"用户ID（与username二选一）","examples":["18527"],"title":"User Id","type":"string"}},{"name":"username","in":"query","required":false,"description":"用户名（与user_id二选一）","schema":{"description":"用户名（与user_id二选一）","examples":["instagram"],"title":"Username","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/fetch_user_stories":{"get":{"tags":["Instagram"],"summary":"获取Instagram用户故事","description":"获取Instagram用户当前发布的故事（Stories） 故事在24小时后过期\n\n参数：\n- user_id（string，可选，未声明默认值）：用户ID（与username二选一）\n- username（string，可选，未声明默认值）：用户名（与user_id二选一）\n\n使用说明：- `data.items`: 故事列表，包含图片/视频URL、发布时间等\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_fetch_user_stories","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"user_id","in":"query","required":false,"description":"用户ID（与username二选一）","schema":{"description":"用户ID（与username二选一）","examples":["18527"],"title":"User Id","type":"string"}},{"name":"username","in":"query","required":false,"description":"用户名（与user_id二选一）","schema":{"description":"用户名（与user_id二选一）","examples":["instagram"],"title":"Username","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/fetch_user_tagged_posts":{"get":{"tags":["Instagram"],"summary":"获取Instagram用户被标记的帖子","description":"获取其他用户标记了该用户的帖子列表 支持分页获取\n\n参数：\n- pagination_token（string，可选，未声明默认值）：分页token，从上一次响应获取\n- user_id（string，可选，未声明默认值）：用户ID（与username二选一）\n- username（string，可选，未声明默认值）：用户名（与user_id二选一）\n\n使用说明：- `data.items`: 帖子列表\n- `pagination_token`: 下一页token\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_fetch_user_tagged_posts","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"pagination_token","in":"query","required":false,"description":"分页token，从上一次响应获取","schema":{"description":"分页token，从上一次响应获取","title":"Pagination Token","type":"string"}},{"name":"user_id","in":"query","required":false,"description":"用户ID（与username二选一）","schema":{"description":"用户ID（与username二选一）","examples":["18527"],"title":"User Id","type":"string"}},{"name":"username","in":"query","required":false,"description":"用户名（与user_id二选一）","schema":{"description":"用户名（与user_id二选一）","examples":["instagram"],"title":"Username","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/general_search":{"get":{"tags":["Instagram"],"summary":"搜索Instagram综合内容","description":"根据关键词进行Instagram综合搜索 支持分页获取\n\n参数：\n- keyword（string，必填，未声明默认值）：搜索关键词\n- pagination_token（string，可选，未声明默认值）：分页token，从上一次响应获取\n\n使用说明：- `data.items`: 综合搜索结果列表，包含用户、帖子、Reels等\n- `pagination_token`: 下一页token\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_general_search","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"keyword","in":"query","required":true,"description":"搜索关键词","schema":{"description":"搜索关键词","examples":["cat"],"title":"Keyword","type":"string"}},{"name":"pagination_token","in":"query","required":false,"description":"分页token，从上一次响应获取","schema":{"description":"分页token，从上一次响应获取","title":"Pagination Token","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/search_by_coordinates":{"get":{"tags":["Instagram"],"summary":"按坐标搜索Instagram地点","description":"根据GPS坐标搜索附近的Instagram地点\n\n参数：\n- latitude（number，必填，未声明默认值）：纬度\n- longitude（number，必填，未声明默认值）：经度\n\n使用说明：- `data.items`: 附近地点列表，包含名称、地址、分类等\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_search_by_coordinates","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"latitude","in":"query","required":true,"description":"纬度","schema":{"description":"纬度","examples":[40.7],"title":"Latitude","type":"number"}},{"name":"longitude","in":"query","required":true,"description":"经度","schema":{"description":"经度","examples":[-74],"title":"Longitude","type":"number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/search_hashtags":{"get":{"tags":["Instagram"],"summary":"搜索Instagram话题标签","description":"根据关键词搜索Instagram话题标签\n\n参数：\n- keyword（string，必填，未声明默认值）：搜索关键词\n\n使用说明：- `data.items`: 话题标签列表，包含名称、帖子数量等\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_search_hashtags","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"keyword","in":"query","required":true,"description":"搜索关键词","schema":{"description":"搜索关键词","examples":["cat"],"title":"Keyword","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/search_locations":{"get":{"tags":["Instagram"],"summary":"搜索Instagram地点","description":"根据关键词搜索Instagram地点\n\n参数：\n- keyword（string，必填，未声明默认值）：搜索关键词（地点名称、城市等）\n\n使用说明：- `data.items`: 地点列表，包含名称、地址、坐标等\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_search_locations","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"keyword","in":"query","required":true,"description":"搜索关键词（地点名称、城市等）","schema":{"description":"搜索关键词（地点名称、城市等）","examples":["paris"],"title":"Keyword","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/search_music":{"get":{"tags":["Instagram"],"summary":"搜索Instagram音乐","description":"根据关键词搜索Instagram上可用的音乐\n\n参数：\n- keyword（string，必填，未声明默认值）：搜索关键词\n\n使用说明：- `data.items`: 音乐列表，包含标题、艺术家、时长、音频ID等\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_search_music","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"keyword","in":"query","required":true,"description":"搜索关键词","schema":{"description":"搜索关键词","examples":["happy"],"title":"Keyword","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/search_reels":{"get":{"tags":["Instagram"],"summary":"搜索InstagramReels","description":"根据关键词搜索Instagram Reels短视频 支持分页获取\n\n参数：\n- keyword（string，必填，未声明默认值）：搜索关键词\n- pagination_token（string，可选，未声明默认值）：分页token，从上一次响应获取\n\n使用说明：- `data.items`: Reels列表\n- `pagination_token`: 下一页token\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_search_reels","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"keyword","in":"query","required":true,"description":"搜索关键词","schema":{"description":"搜索关键词","examples":["cat"],"title":"Keyword","type":"string"}},{"name":"pagination_token","in":"query","required":false,"description":"分页token，从上一次响应获取","schema":{"description":"分页token，从上一次响应获取","title":"Pagination Token","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/v2/search_users":{"get":{"tags":["Instagram"],"summary":"搜索Instagram用户","description":"根据关键词搜索Instagram用户\n\n参数：\n- keyword（string，必填，未声明默认值）：搜索关键词\n\n使用说明：- `data.items`: 用户列表\n- 0.002 USD/请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_instagram_v2_search_users","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"keyword","in":"query","required":true,"description":"搜索关键词","schema":{"description":"搜索关键词","examples":["instagram"],"title":"Keyword","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_community_info":{"get":{"tags":["X"],"summary":"获取X社区详情","description":"获取社区详情\n\n参数：\n- community_id（string，必填，未声明默认值）：社区ID，例如：1493290339532222469\n\n使用说明：- 社区详情，包含社区名称、简介、成员数、主题分类、规则等\n\n- 平台返回体中的 status 字段是\"社区加入状态\"（实测恒为 failed），与请求成败无关，请勿据此判断成功与否。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_community_info","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"community_id","in":"query","required":true,"description":"社区ID，例如：1493290339532222469","schema":{"description":"社区ID，例如：1493290339532222469","examples":["1493290339532222469"],"title":"Community Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_community_members":{"get":{"tags":["X"],"summary":"获取X社区成员","description":"获取社区成员列表\n\n参数：\n- community_id（string，必填，未声明默认值）：社区ID，例如：1493290339532222469\n- cursor（string，可选，未声明默认值）：游标，默认为None。本接口不支持分页，传入无效\n\n使用说明：- 单次调用只返回第一页，约 19 条成员，无法获取更多。\n- 平台虽然会在响应里给出 next_cursor，但把该 cursor 传回去只会得到空列表\n  （已在多个不同规模的社区上验证，行为一致）。\n- cursor 参数仅为兼容平台后续修复而保留，当前传入无任何效果，请勿依赖。\n- 如需完整成员名单，本接口无法满足。\n\n\n- 社区成员列表（仅第一页，约 19 条） 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_community_members","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"community_id","in":"query","required":true,"description":"社区ID，例如：1493290339532222469","schema":{"description":"社区ID，例如：1493290339532222469","examples":["1493290339532222469"],"title":"Community Id","type":"string"}},{"name":"cursor","in":"query","required":false,"description":"游标，默认为None。本接口不支持分页，传入无效","schema":{"description":"游标，默认为None。本接口不支持分页，传入无效","title":"Cursor","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_community_timeline":{"get":{"tags":["X"],"summary":"获取X社区帖子","description":"获取社区帖子列表\n\n参数：\n- community_id（string，必填，未声明默认值）：社区ID，例如：1493290339532222469\n- cursor（string，可选，未声明默认值）：游标，默认为None，用于翻页，从上一次返回结果的 cursor 获取\n- ranking（string，可选，未声明默认值）：排序方式，可选，默认为None（平台默认排序），可选值为 Relevance、Recency\n\n使用说明：- 社区帖子列表 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_community_timeline","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"community_id","in":"query","required":true,"description":"社区ID，例如：1493290339532222469","schema":{"description":"社区ID，例如：1493290339532222469","examples":["1493290339532222469"],"title":"Community Id","type":"string"}},{"name":"cursor","in":"query","required":false,"description":"游标，默认为None，用于翻页，从上一次返回结果的 cursor 获取","schema":{"description":"游标，默认为None，用于翻页，从上一次返回结果的 cursor 获取","title":"Cursor","type":"string"}},{"name":"ranking","in":"query","required":false,"description":"排序方式，可选，默认为None（平台默认排序），可选值为 Relevance、Recency","schema":{"description":"排序方式，可选，默认为None（平台默认排序），可选值为 Relevance、Recency","title":"Ranking","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_latest_post_comments":{"get":{"tags":["X"],"summary":"获取X帖子最新评论","description":"获取最新的推文评论\n\n参数：\n- cursor（string，可选，未声明默认值）：游标，默认为None，用于翻页，后续从上一次请求的返回结果中获取\n- tweet_id（string，必填，未声明默认值）：推文ID\n\n使用说明：- 推文评论 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_latest_post_comments","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"cursor","in":"query","required":false,"description":"游标，默认为None，用于翻页，后续从上一次请求的返回结果中获取","schema":{"description":"游标，默认为None，用于翻页，后续从上一次请求的返回结果中获取","title":"Cursor","type":"string"}},{"name":"tweet_id","in":"query","required":true,"description":"推文ID","schema":{"description":"推文ID","examples":["1808168603721650364"],"title":"Tweet Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_list_followers":{"get":{"tags":["X"],"summary":"获取X列表关注者","description":"获取列表关注者\n\n参数：\n- cursor（string，可选，未声明默认值）：游标，默认为None，用于翻页，从上一次返回结果的 next_cursor 获取\n- list_id（string，必填，未声明默认值）：列表ID，例如：84839422\n\n使用说明：- 列表关注者 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_list_followers","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"cursor","in":"query","required":false,"description":"游标，默认为None，用于翻页，从上一次返回结果的 next_cursor 获取","schema":{"description":"游标，默认为None，用于翻页，从上一次返回结果的 next_cursor 获取","title":"Cursor","type":"string"}},{"name":"list_id","in":"query","required":true,"description":"列表ID，例如：84839422","schema":{"description":"列表ID，例如：84839422","examples":["84839422"],"title":"List Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_list_members":{"get":{"tags":["X"],"summary":"获取X列表成员","description":"获取列表成员\n\n参数：\n- cursor（string，可选，未声明默认值）：游标，默认为None，用于翻页，从上一次返回结果的 next_cursor 获取\n- list_id（string，必填，未声明默认值）：列表ID，例如：84839422\n\n使用说明：- 列表成员 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_list_members","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"cursor","in":"query","required":false,"description":"游标，默认为None，用于翻页，从上一次返回结果的 next_cursor 获取","schema":{"description":"游标，默认为None，用于翻页，从上一次返回结果的 next_cursor 获取","title":"Cursor","type":"string"}},{"name":"list_id","in":"query","required":true,"description":"列表ID，例如：84839422","schema":{"description":"列表ID，例如：84839422","examples":["84839422"],"title":"List Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_list_timeline":{"get":{"tags":["X"],"summary":"获取X列表帖子","description":"获取列表帖子\n\n参数：\n- cursor（string，可选，未声明默认值）：游标，默认为None，用于翻页，从上一次返回结果的 next_cursor 获取\n- list_id（string，必填，未声明默认值）：列表ID，例如：84839422\n\n使用说明：- 列表帖子 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_list_timeline","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"cursor","in":"query","required":false,"description":"游标，默认为None，用于翻页，从上一次返回结果的 next_cursor 获取","schema":{"description":"游标，默认为None，用于翻页，从上一次返回结果的 next_cursor 获取","title":"Cursor","type":"string"}},{"name":"list_id","in":"query","required":true,"description":"列表ID，例如：84839422","schema":{"description":"列表ID，例如：84839422","examples":["84839422"],"title":"List Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_post_comments":{"get":{"tags":["X"],"summary":"获取X帖子评论","description":"获取推文下的评论\n\n参数：\n- cursor（string，可选，未声明默认值）：游标，默认为None，用于翻页，后续从上一次请求的返回结果中获取\n- tweet_id（string，必填，未声明默认值）：推文ID\n\n使用说明：- 评论 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_post_comments","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"cursor","in":"query","required":false,"description":"游标，默认为None，用于翻页，后续从上一次请求的返回结果中获取","schema":{"description":"游标，默认为None，用于翻页，后续从上一次请求的返回结果中获取","title":"Cursor","type":"string"}},{"name":"tweet_id","in":"query","required":true,"description":"推文ID","schema":{"description":"推文ID","examples":["1835124037934367098"],"title":"Tweet Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_retweet_user_list":{"get":{"tags":["X"],"summary":"获取X转推用户列表","description":"获取转推用户列表\n\n参数：\n- cursor（string，可选，未声明默认值）：游标，默认为None，用于翻页，后续从上一次请求的返回结果中获取\n- tweet_id（string，必填，未声明默认值）：推文ID，可以从推文链接中获取。例如：实际分享链接 中的 1808168603721650364。\n\n使用说明：- 转推用户列表 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_retweet_user_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"cursor","in":"query","required":false,"description":"游标，默认为None，用于翻页，后续从上一次请求的返回结果中获取","schema":{"description":"游标，默认为None，用于翻页，后续从上一次请求的返回结果中获取","title":"Cursor","type":"string"}},{"name":"tweet_id","in":"query","required":true,"description":"推文ID，可以从推文链接中获取。例如：实际分享链接 中的 1808168603721650364。","schema":{"description":"推文ID，可以从推文链接中获取。例如：实际分享链接 中的 1808168603721650364。","examples":["1835124037934367098"],"title":"Tweet Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_search_communities":{"get":{"tags":["X"],"summary":"搜索X社区","description":"搜索社区\n\n参数：\n- cursor（string，可选，未声明默认值）：游标，默认为None，用于翻页，从上一次返回结果的 next_cursor 获取\n- keyword（string，必填，未声明默认值）：搜索关键字，例如：superman\n\n使用说明：- 社区搜索结果 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_search_communities","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"cursor","in":"query","required":false,"description":"游标，默认为None，用于翻页，从上一次返回结果的 next_cursor 获取","schema":{"description":"游标，默认为None，用于翻页，从上一次返回结果的 next_cursor 获取","title":"Cursor","type":"string"}},{"name":"keyword","in":"query","required":true,"description":"搜索关键字，例如：superman","schema":{"description":"搜索关键字，例如：superman","examples":["superman"],"title":"Keyword","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_search_timeline":{"get":{"tags":["X"],"summary":"搜索X内容","description":"搜索\n\n参数：\n- cursor（string，可选，未声明默认值）：游标，默认为None，用于翻页，后续从上一次请求的返回结果中获取\n- keyword（string，必填，未声明默认值）：搜索关键字\n- search_type（string，可选，默认 \"Top\"）：搜索类型，默认为Top，其他可选值为Latest，Media，People, Lists\n\n使用说明：- 搜索结果\n\n- X 的搜索并不保证关键词或话题标签一定出现在推文正文（text 字段）中。\n- 匹配范围远大于正文，还包括：被引用的推文、外链文章的元数据、媒体内容以及账号信号。\n- 因此返回的推文完全可能是一条合法匹配，但关键词根本不在 text 字段里。\n- 如果在结果上再做一次\"正文必须包含关键词\"的字面子串过滤，会丢弃掉很大一部分有效结果\n  （实测可达 94.6% 的丢弃率）。\n- 若发现结果看起来\"不准\"，请优先检查是否在调用侧做了这类字面过滤。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_search_timeline","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"cursor","in":"query","required":false,"description":"游标，默认为None，用于翻页，后续从上一次请求的返回结果中获取","schema":{"description":"游标，默认为None，用于翻页，后续从上一次请求的返回结果中获取","title":"Cursor","type":"string"}},{"name":"keyword","in":"query","required":true,"description":"搜索关键字","schema":{"description":"搜索关键字","examples":["Elon Musk"],"title":"Keyword","type":"string"}},{"name":"search_type","in":"query","required":false,"description":"搜索类型，默认为Top，其他可选值为Latest，Media，People, Lists","schema":{"default":"Top","description":"搜索类型，默认为Top，其他可选值为Latest，Media，People, Lists","examples":["Top"],"title":"Search Type","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_trending":{"get":{"tags":["X"],"summary":"获取X热门趋势","description":"获取趋势\n\n参数：\n- country（string，可选，默认 \"UnitedStates\"）：国家，默认为UnitedStates，其他可选值见下方\n    - China\n    - India\n    - Japan\n    - Russia\n    - Germany\n    - Indonesia\n    - Brazil\n    - France\n    - UnitedKingdom\n    - Turkey\n    - Italy\n    - Mexico\n    - SouthKorea\n    - Canada\n    - Spain\n    - SaudiArabia\n    - Egypt\n    - Australia\n    - Poland\n    - Iran\n    - Pakistan\n    - Vietnam\n    - Nigeria\n    - Bangladesh\n    - Netherlands\n    - Argentina\n    - Philippines\n    - Malaysia\n    - Colombia\n    - UniteArabEmirates\n    - Romania\n    - Belgium\n    - Switzerland\n    - Singapore\n    - Sweden\n    - Norway\n    - Austria\n    - Kazakhstan\n    - Algeria\n    - Chile\n    - Czechia\n    - Peru\n    - Iraq\n    - Israel\n    - Ukraine\n    - Denmark\n    - Portugal\n    - Hungary\n    - Greece\n    - Finland\n    - NewZealand\n    - Belarus\n    - Slovakia\n    - Serbia\n    - Lithuania\n    - Luxembourg\n    - Estonia\n\n使用说明：- 趋势 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_trending","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"country","in":"query","required":false,"description":"国家，默认为UnitedStates，其他可选值见下方\n    - China\n    - India\n    - Japan\n    - Russia\n    - Germany\n    - Indonesia\n    - Brazil\n    - France\n    - UnitedKingdom\n    - Turkey\n    - Italy\n    - Mexico\n    - SouthKorea\n    - Canada\n    - Spain\n    - SaudiArabia\n    - Egypt\n    - Australia\n    - Poland\n    - Iran\n    - Pakistan\n    - Vietnam\n    - Nigeria\n    - Bangladesh\n    - Netherlands\n    - Argentina\n    - Philippines\n    - Malaysia\n    - Colombia\n    - UniteArabEmirates\n    - Romania\n    - Belgium\n    - Switzerland\n    - Singapore\n    - Sweden\n    - Norway\n    - Austria\n    - Kazakhstan\n    - Algeria\n    - Chile\n    - Czechia\n    - Peru\n    - Iraq\n    - Israel\n    - Ukraine\n    - Denmark\n    - Portugal\n    - Hungary\n    - Greece\n    - Finland\n    - NewZealand\n    - Belarus\n    - Slovakia\n    - Serbia\n    - Lithuania\n    - Luxembourg\n    - Estonia","schema":{"default":"UnitedStates","description":"国家，默认为UnitedStates，其他可选值见下方\n    - China\n    - India\n    - Japan\n    - Russia\n    - Germany\n    - Indonesia\n    - Brazil\n    - France\n    - UnitedKingdom\n    - Turkey\n    - Italy\n    - Mexico\n    - SouthKorea\n    - Canada\n    - Spain\n    - SaudiArabia\n    - Egypt\n    - Australia\n    - Poland\n    - Iran\n    - Pakistan\n    - Vietnam\n    - Nigeria\n    - Bangladesh\n    - Netherlands\n    - Argentina\n    - Philippines\n    - Malaysia\n    - Colombia\n    - UniteArabEmirates\n    - Romania\n    - Belgium\n    - Switzerland\n    - Singapore\n    - Sweden\n    - Norway\n    - Austria\n    - Kazakhstan\n    - Algeria\n    - Chile\n    - Czechia\n    - Peru\n    - Iraq\n    - Israel\n    - Ukraine\n    - Denmark\n    - Portugal\n    - Hungary\n    - Greece\n    - Finland\n    - NewZealand\n    - Belarus\n    - Slovakia\n    - Serbia\n    - Lithuania\n    - Luxembourg\n    - Estonia","examples":["UnitedStates"],"title":"Country","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_tweet_detail":{"get":{"tags":["X"],"summary":"获取X单个推文数据","description":"获取单个推文数据\n\n参数：\n- tweet_id（string，必填，未声明默认值）：推文ID，可以从推文链接中获取。例如：实际分享链接 中的 1808168603721650364。\n\n使用说明：- 推文数据 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_tweet_detail","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"tweet_id","in":"query","required":true,"description":"推文ID，可以从推文链接中获取。例如：实际分享链接 中的 1808168603721650364。","schema":{"description":"推文ID，可以从推文链接中获取。例如：实际分享链接 中的 1808168603721650364。","examples":["1808168603721650364"],"title":"Tweet Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_user_about":{"get":{"tags":["X"],"summary":"获取X用户账号档案信息","description":"获取用户账号档案信息\n\n参数：\n- screen_name（string，必填，未声明默认值）：用户名，例如：elonmusk\n\n使用说明：- 用户账号档案信息，包含注册时间、账号状态、使用情况等 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_user_about","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"screen_name","in":"query","required":true,"description":"用户名，例如：elonmusk","schema":{"description":"用户名，例如：elonmusk","examples":["elonmusk"],"title":"Screen Name","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_user_affiliates":{"get":{"tags":["X"],"summary":"获取X用户关联子账号","description":"获取用户关联子账号\n\n参数：\n- cursor（string，可选，未声明默认值）：游标，默认为None，用于翻页，从上一次返回结果的 next_cursor 获取\n- screen_name（string，必填，未声明默认值）：用户名，例如：NASA。需为拥有子账号的机构账号，普通个人账号会返回空列表\n\n使用说明：- 用户关联子账号列表 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_user_affiliates","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"cursor","in":"query","required":false,"description":"游标，默认为None，用于翻页，从上一次返回结果的 next_cursor 获取","schema":{"description":"游标，默认为None，用于翻页，从上一次返回结果的 next_cursor 获取","title":"Cursor","type":"string"}},{"name":"screen_name","in":"query","required":true,"description":"用户名，例如：NASA。需为拥有子账号的机构账号，普通个人账号会返回空列表","schema":{"description":"用户名，例如：NASA。需为拥有子账号的机构账号，普通个人账号会返回空列表","examples":["NASA"],"title":"Screen Name","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_user_followers":{"get":{"tags":["X"],"summary":"获取X用户粉丝","description":"获取用户粉丝\n\n参数：\n- cursor（string，可选，未声明默认值）：游标，默认为None，用于翻页，后续从上一次请求的返回结果中获取\n- screen_name（string，必填，未声明默认值）：用户名，例如：elonmusk，可以从用户主页链接中获取，例如：实际分享链接 中的 elonmusk。\n\n使用说明：- 用户粉丝 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_user_followers","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"cursor","in":"query","required":false,"description":"游标，默认为None，用于翻页，后续从上一次请求的返回结果中获取","schema":{"description":"游标，默认为None，用于翻页，后续从上一次请求的返回结果中获取","title":"Cursor","type":"string"}},{"name":"screen_name","in":"query","required":true,"description":"用户名，例如：elonmusk，可以从用户主页链接中获取，例如：实际分享链接 中的 elonmusk。","schema":{"description":"用户名，例如：elonmusk，可以从用户主页链接中获取，例如：实际分享链接 中的 elonmusk。","examples":["elonmusk"],"title":"Screen Name","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_user_followings":{"get":{"tags":["X"],"summary":"获取X用户关注","description":"获取用户关注\n\n参数：\n- cursor（string，可选，未声明默认值）：游标，默认为None，用于翻页，后续从上一次请求的返回结果中获取\n- screen_name（string，必填，未声明默认值）：用户名，例如：elonmusk，可以从用户主页链接中获取，例如：实际分享链接 中的 elonmusk。\n\n使用说明：- 用户关注 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_user_followings","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"cursor","in":"query","required":false,"description":"游标，默认为None，用于翻页，后续从上一次请求的返回结果中获取","schema":{"description":"游标，默认为None，用于翻页，后续从上一次请求的返回结果中获取","title":"Cursor","type":"string"}},{"name":"screen_name","in":"query","required":true,"description":"用户名，例如：elonmusk，可以从用户主页链接中获取，例如：实际分享链接 中的 elonmusk。","schema":{"description":"用户名，例如：elonmusk，可以从用户主页链接中获取，例如：实际分享链接 中的 elonmusk。","examples":["elonmusk"],"title":"Screen Name","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_user_live_status":{"get":{"tags":["X"],"summary":"检查X用户是否正在直播","description":"检查用户是否正在直播\n\n参数：\n- rest_id（string，必填，未声明默认值）：用户ID（数字ID），例如：44196397\n\n使用说明：- 用户当前直播状态\n\n- 本接口必须使用 rest_id（用户数字ID）。传用户名会得到平台的占位响应（所有字段值为 \"s\"），不是真实数据。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_user_live_status","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"rest_id","in":"query","required":true,"description":"用户ID（数字ID），例如：44196397","schema":{"description":"用户ID（数字ID），例如：44196397","examples":["44196397"],"title":"Rest Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_user_media":{"get":{"tags":["X"],"summary":"获取X用户媒体","description":"获取用户媒体\n\n参数：\n- cursor（string，可选，未声明默认值）：游标，默认为None，用于翻页，后续从上一次请求的返回结果中的 `next_cursor` 获取\n- rest_id（integer，可选，未声明默认值）：用户ID，例如：44196397，如果使用用户ID则会忽略用户名，两者只能选其一。\n- screen_name（string，必填，未声明默认值）：用户名，例如：elonmusk，可以从用户主页链接中获取，例如：实际分享链接 中的 elonmusk。\n\n使用说明：- 用户媒体 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_user_media","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"cursor","in":"query","required":false,"description":"游标，默认为None，用于翻页，后续从上一次请求的返回结果中的 `next_cursor` 获取","schema":{"description":"游标，默认为None，用于翻页，后续从上一次请求的返回结果中的 `next_cursor` 获取","title":"Cursor","type":"string"}},{"name":"rest_id","in":"query","required":false,"description":"用户ID，例如：44196397，如果使用用户ID则会忽略用户名，两者只能选其一。","schema":{"description":"用户ID，例如：44196397，如果使用用户ID则会忽略用户名，两者只能选其一。","examples":["44196397"],"title":"Rest Id","type":"integer"}},{"name":"screen_name","in":"query","required":true,"description":"用户名，例如：elonmusk，可以从用户主页链接中获取，例如：实际分享链接 中的 elonmusk。","schema":{"description":"用户名，例如：elonmusk，可以从用户主页链接中获取，例如：实际分享链接 中的 elonmusk。","examples":["elonmusk"],"title":"Screen Name","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_user_post_tweet":{"get":{"tags":["X"],"summary":"获取X用户发帖","description":"获取用户发帖\n\n参数：\n- cursor（string，可选，未声明默认值）：游标，默认为None，用于翻页，后续从上一次请求的返回结果中的JSON中获取。\n- rest_id（integer，可选，未声明默认值）：用户ID，例如：44196397，如果使用用户ID则会忽略用户名，两者只能选其一。\n- screen_name（string，可选，未声明默认值）：用户名，例如：elonmusk，可以从用户主页链接中获取，例如：实际分享链接 中的 elonmusk。\n\n使用说明：- 用户发帖 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_user_post_tweet","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"cursor","in":"query","required":false,"description":"游标，默认为None，用于翻页，后续从上一次请求的返回结果中的JSON中获取。","schema":{"description":"游标，默认为None，用于翻页，后续从上一次请求的返回结果中的JSON中获取。","title":"Cursor","type":"string"}},{"name":"rest_id","in":"query","required":false,"description":"用户ID，例如：44196397，如果使用用户ID则会忽略用户名，两者只能选其一。","schema":{"description":"用户ID，例如：44196397，如果使用用户ID则会忽略用户名，两者只能选其一。","examples":["44196397"],"title":"Rest Id","type":"integer"}},{"name":"screen_name","in":"query","required":false,"description":"用户名，例如：elonmusk，可以从用户主页链接中获取，例如：实际分享链接 中的 elonmusk。","schema":{"description":"用户名，例如：elonmusk，可以从用户主页链接中获取，例如：实际分享链接 中的 elonmusk。","examples":["elonmusk"],"title":"Screen Name","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_user_profile":{"get":{"tags":["X"],"summary":"获取X用户资料","description":"获取用户资料\n\n参数：\n- rest_id（integer，可选，未声明默认值）：用户ID，例如：44196397，如果使用用户ID则会忽略用户名，两者只能选其一。\n- screen_name（string，可选，未声明默认值）：用户名，例如：elonmusk，可以从用户主页链接中获取，例如：实际分享链接 中的 elonmusk。\n\n使用说明：- 用户资料 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。 本服务抽样的响应根包含 id、profile、name 等字段，其中 profile 是用户名；不要假定返回字段名也叫 screen_name。","operationId":"data_relay_twitter_web_fetch_user_profile","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"rest_id","in":"query","required":false,"description":"用户ID，例如：44196397，如果使用用户ID则会忽略用户名，两者只能选其一。","schema":{"description":"用户ID，例如：44196397，如果使用用户ID则会忽略用户名，两者只能选其一。","examples":["44196397"],"title":"Rest Id","type":"integer"}},{"name":"screen_name","in":"query","required":false,"description":"用户名，例如：elonmusk，可以从用户主页链接中获取，例如：实际分享链接 中的 elonmusk。","schema":{"description":"用户名，例如：elonmusk，可以从用户主页链接中获取，例如：实际分享链接 中的 elonmusk。","examples":["elonmusk"],"title":"Screen Name","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_user_profiles_by_rest_ids":{"get":{"tags":["X"],"summary":"批量获取X用户资料","description":"批量根据用户ID获取用户资料\n\n参数：\n- rest_ids（string，必填，未声明默认值）：用户ID，多个用英文逗号分隔，例如：44196397,34743251\n\n使用说明：- 用户资料列表 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_user_profiles_by_rest_ids","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"rest_ids","in":"query","required":true,"description":"用户ID，多个用英文逗号分隔，例如：44196397,34743251","schema":{"description":"用户ID，多个用英文逗号分隔，例如：44196397,34743251","examples":["44196397,34743251"],"title":"Rest Ids","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twitter/web/fetch_user_tweet_replies":{"get":{"tags":["X"],"summary":"获取X用户推文回复","description":"获取用户推文回复\n\n参数：\n- cursor（string，可选，未声明默认值）：游标，默认为None，用于翻页，后续从上一次请求的返回结果中获取\n- screen_name（string，必填，未声明默认值）：用户名，例如：elonmusk，可以从用户主页链接中获取，例如：实际分享链接 中的 elonmusk。\n\n使用说明：- 用户推文回复 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_twitter_web_fetch_user_tweet_replies","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"cursor","in":"query","required":false,"description":"游标，默认为None，用于翻页，后续从上一次请求的返回结果中获取","schema":{"description":"游标，默认为None，用于翻页，后续从上一次请求的返回结果中获取","title":"Cursor","type":"string"}},{"name":"screen_name","in":"query","required":true,"description":"用户名，例如：elonmusk，可以从用户主页链接中获取，例如：实际分享链接 中的 elonmusk。","schema":{"description":"用户名，例如：elonmusk，可以从用户主页链接中获取，例如：实际分享链接 中的 elonmusk。","examples":["elonmusk"],"title":"Screen Name","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/youtube/web/get_channel_info":{"get":{"tags":["YouTube"],"summary":"获取YouTube频道信息","description":"获取频道信息。\n\n参数：\n- channel_id（string，必填，未声明默认值）：频道ID。\n\n使用说明：- 频道信息。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_youtube_web_get_channel_info","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"channel_id","in":"query","required":true,"description":"频道ID。","schema":{"description":"频道ID。","examples":["UCXuqSBlHAE6Xw-yeJA0Tunw"],"title":"Channel Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/youtube/web_v2/get_channel_community_posts":{"get":{"tags":["YouTube"],"summary":"获取YouTube频道帖子列表","description":"获取YouTube频道的帖子（社区帖子）列表 支持分页获取，可通过 continuation_token 获取更多帖子\n\n参数：\n- channel_id（string，必填，未声明默认值）：频道ID\n- continuation_token（string，可选，未声明默认值）：下一页分页token\n- country_code（string，可选，默认 \"US\"）：国家代码（如US, JP等）\n- language_code（string，可选，默认 \"zh-CN\"）：语言代码（如zh-CN, en-US等）\n- need_format（boolean，可选，默认 true）：是否需要清洗数据，提取关键内容，移除冗余数据\n\n使用说明：#**channel_id** (string)\n- **作用**: 频道ID\n- **获取方式**: 从频道URL中提取，例如 `实际分享链接`\n- **示例**: `\"UCkRfArvrzheW2E7b6SVT7vQ\"`\n\n#**language_code** (string, 可选)\n- **作用**: 语言代码，影响返回的文本语言\n- **默认值**: `\"zh-CN\"`\n\n**country_code** (string, 可选)\n- **作用**: 国家代码\n- **默认值**: `\"US\"`\n\n**continuation_token** (string, 可选)\n- **作用**: 分页token，用于获取下一页帖子\n- **获取方式**: 从上一次请求的响应中获取\n\n**need_format** (bool, 可选)\n- **作用**: 是否格式化数据\n- **默认值**: `true`\n\n#- channel_id: 频道ID\n- posts: 帖子列表\n  - post_id: 帖子ID\n  - post_url: 帖子URL\n  - author_name: 作者名称\n  - author_channel_id: 作者频道ID\n  - author_url: 作者频道URL\n  - author_thumbnails: 作者头像缩略图\n  - content_text: 帖子文本内容\n  - published_time: 发布时间（相对时间）\n  - vote_count: 点赞数\n  - comment_count: 评论数\n  - attachment: 附件（图片/多图/视频/投票等，可能为null）\n- continuation_token: 下一页分页token\n- has_more: 是否还有更多帖子\n- total_count: 当前页帖子数量\n\n#- 返回原始响应数据\n\n1. 首次请求：只传 channel_id 参数\n2. 获取响应中的 continuation_token\n3. 下次请求：传入 channel_id 和 continuation_token\n4. 重复步骤 2-3 直到 has_more 为 false\n\n- 每页通常返回 20 个左右的帖子\n- 帖子附件支持: 图片、多图、视频、投票等类型\n- 部分频道可能没有帖子/社区标签页\n\n- $0.001 USD / 请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_youtube_web_v2_get_channel_community_posts","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"channel_id","in":"query","required":true,"description":"频道ID","schema":{"description":"频道ID","examples":["UCkRfArvrzheW2E7b6SVT7vQ"],"title":"Channel Id","type":"string"}},{"name":"continuation_token","in":"query","required":false,"description":"下一页分页token","schema":{"description":"下一页分页token","title":"Continuation Token","type":"string"}},{"name":"country_code","in":"query","required":false,"description":"国家代码（如US, JP等）","schema":{"default":"US","description":"国家代码（如US, JP等）","examples":["US"],"title":"Country Code","type":"string"}},{"name":"language_code","in":"query","required":false,"description":"语言代码（如zh-CN, en-US等）","schema":{"default":"zh-CN","description":"语言代码（如zh-CN, en-US等）","examples":["zh-CN"],"title":"Language Code","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据，提取关键内容，移除冗余数据","schema":{"default":true,"description":"是否需要清洗数据，提取关键内容，移除冗余数据","title":"Need Format","type":"boolean"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/youtube/web_v2/get_channel_description":{"get":{"tags":["YouTube"],"summary":"获取YouTube频道描述信息","description":"获取YouTube频道的介绍信息（订阅数、视频数、观看次数、注册时间、社交链接等）\n\n参数：\n- channel_id（string，可选，未声明默认值）：频道ID（格式如：UCeu6U67OzJhV1KwBansH3Dg），可通过get_channel_id接口从频道URL获取\n- continuation_token（string，可选，未声明默认值）：翻页标志（用于获取频道注册时间等高级信息）\n- country_code（string，可选，默认 \"US\"）：国家代码（如US, JP等）\n- language_code（string，可选，默认 \"zh-CN\"）：语言代码（如zh-CN, en-US等）\n- need_format（boolean，可选，默认 true）：是否需要清洗数据，提取关键内容，移除冗余数据\n\n使用说明：- **第一次请求**（使用channel_id）: 返回基本信息（频道名称、描述、订阅数、视频数、头像、横幅等）\n- **第二次请求**（使用continuation_token）: 返回高级信息（**注册时间、社交媒体链接、国家、观看次数**等）\n\n- 如果你只有频道URL（如 `实际分享链接`），请先调用 **get_channel_id** 接口获取channel_id\n- 该接口会返回类似 `UCeu6U67OzJhV1KwBansH3Dg` 的频道ID\n\n\n#**channel_id** (string)\n- **作用**: 频道ID，用于第一次请求获取频道基本信息\n- **格式**: 通常以 `UC` 开头的24位字符串\n- **示例**: `\"UCeu6U67OzJhV1KwBansH3Dg\"`\n- **获取方式**: 调用 **get_channel_id** 接口，传入频道URL即可获取\n\n**continuation_token** (string)\n- **作用**: 翻页标志，用于第二次请求获取频道的高级信息\n- **获取方式**: 从第一次请求的响应中获取 `continuation_token` 字段\n- **注意**: `channel_id` 和 `continuation_token` 必须提供其中一个\n\n#**language_code** (string, 可选)\n- **作用**: 设置显示语言偏好\n- **默认值**: `\"zh-CN\"`\n- **可用值**: `\"zh-CN\"`, `\"en-US\"`, `\"ja-JP\"`, `\"ko-KR\"` 等\n\n**country_code** (string, 可选)\n- **作用**: 设置地区代码\n- **默认值**: `\"US\"`\n- **可用值**: `\"US\"`, `\"JP\"`, `\"GB\"` 等\n\n**need_format** (boolean, 可选)\n- **作用**: 是否返回清洗后的精简数据\n- **默认值**: `true`\n- **可用值**:\n  - `false` - 返回原始完整数据\n  - `true` - 返回清洗后的精简数据（推荐，默认）\n\n1. **获取channel_id**: 如果只有频道URL，先调用 `get_channel_id?channel_url=实际分享链接`\n2. **第一次请求**: 使用 `channel_id` 参数获取频道基本信息，同时获取 `continuation_token`\n3. **第二次请求**: 使用 `continuation_token` 获取高级信息（注册时间、社交链接等）\n\n\n#\n\n#\n\n- **必须进行两次请求才能获取完整的频道信息**\n- 第一次请求: 获取基本信息（title、avatar、banner、keywords、rss_url等）和 continuation_token\n- 第二次请求: 获取高级信息（creation_date、links、view_count、country等）\n- 建议两次请求都设置 `need_format=true` 获取清洗后的数据\n- 可以合并两次请求的结果来获得完整的频道信息 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_youtube_web_v2_get_channel_description","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"channel_id","in":"query","required":false,"description":"频道ID（格式如：UCeu6U67OzJhV1KwBansH3Dg），可通过get_channel_id接口从频道URL获取","schema":{"description":"频道ID（格式如：UCeu6U67OzJhV1KwBansH3Dg），可通过get_channel_id接口从频道URL获取","examples":["UCeu6U67OzJhV1KwBansH3Dg"],"title":"Channel Id","type":"string"}},{"name":"continuation_token","in":"query","required":false,"description":"翻页标志（用于获取频道注册时间等高级信息）","schema":{"description":"翻页标志（用于获取频道注册时间等高级信息）","title":"Continuation Token","type":"string"}},{"name":"country_code","in":"query","required":false,"description":"国家代码（如US, JP等）","schema":{"default":"US","description":"国家代码（如US, JP等）","examples":["US"],"title":"Country Code","type":"string"}},{"name":"language_code","in":"query","required":false,"description":"语言代码（如zh-CN, en-US等）","schema":{"default":"zh-CN","description":"语言代码（如zh-CN, en-US等）","examples":["zh-CN"],"title":"Language Code","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据，提取关键内容，移除冗余数据","schema":{"default":true,"description":"是否需要清洗数据，提取关键内容，移除冗余数据","title":"Need Format","type":"boolean"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/youtube/web_v2/get_channel_shorts":{"get":{"tags":["YouTube"],"summary":"获取YouTube频道短视频列表","description":"获取YouTube频道的短视频(Shorts)列表 支持分页获取更多短视频\n\n参数：\n- channel_id（string，可选，未声明默认值）：频道ID（推荐，如 UCuAXFkgsw1L7xaCfnd5JJOw）\n- channel_url（string，可选，未声明默认值）：频道URL（可选，如果提供channel_id则忽略）\n- continuation_token（string，可选，未声明默认值）：分页token（可选，用于获取下一页）\n- need_format（boolean，可选，默认 true）：是否格式化数据（默认 true）\n  - true: 返回格式化的结构化数据（推荐）\n  - false: 返回原始的 YouTube API 结构（用于调试）\n\n使用说明：#- channel_id: 频道ID\n- shorts: 短视频列表\n  - video_id: 短视频的ID\n  - title: 标题\n  - view_count_text: 观看次数文本（如 \"1.2M views\"）\n  - thumbnails: 缩略图列表\n  - accessibility_text: 无障碍文本描述\n  - video_url: 短视频链接\n- continuation_token: 下一页的分页token\n- has_more: 是否还有更多短视频\n- total_count: 当前页短视频数量\n\n#- channel_id: 频道ID\n- shorts: 原始的 reelItemRenderer 对象列表\n- continuation_token: 下一页的分页token\n- has_more: 是否还有更多短视频\n- total_count: 当前页短视频数量\n\n1. 首次请求：只传 channel_id 参数\n2. 获取响应中的 continuation_token\n3. 下次请求：传入 channel_id 和 continuation_token\n4. 重复步骤 2-3 直到 has_more 为 false\n\n- 每页通常返回 30 个左右的短视频\n- ⚠️ 目前暂不支持 @username 格式，请使用频道ID（UCxxxx 格式）\n\n- $0.001 USD / 请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_youtube_web_v2_get_channel_shorts","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"channel_id","in":"query","required":false,"description":"频道ID（推荐，如 UCuAXFkgsw1L7xaCfnd5JJOw）","schema":{"description":"频道ID（推荐，如 UCuAXFkgsw1L7xaCfnd5JJOw）","examples":["UCuAXFkgsw1L7xaCfnd5JJOw"],"title":"Channel Id","type":"string"}},{"name":"channel_url","in":"query","required":false,"description":"频道URL（可选，如果提供channel_id则忽略）","schema":{"description":"频道URL（可选，如果提供channel_id则忽略）","examples":["实际分享链接"],"title":"Channel Url","type":"string"}},{"name":"continuation_token","in":"query","required":false,"description":"分页token（可选，用于获取下一页）","schema":{"description":"分页token（可选，用于获取下一页）","title":"Continuation Token","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否格式化数据（默认 true）\n  - true: 返回格式化的结构化数据（推荐）\n  - false: 返回原始的 YouTube API 结构（用于调试）","schema":{"default":true,"description":"是否格式化数据（默认 true）\n  - true: 返回格式化的结构化数据（推荐）\n  - false: 返回原始的 YouTube API 结构（用于调试）","title":"Need Format","type":"boolean"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/youtube/web_v2/get_channel_videos":{"get":{"tags":["YouTube"],"summary":"获取YouTube频道视频","description":"获取YouTube频道的视频列表 支持分页获取，可通过 continuation_token 获取更多视频\n\n参数：\n- channel_id（string，必填，未声明默认值）：频道ID\n- continuation_token（string，可选，未声明默认值）：分页token，用于获取下一页\n- country_code（string，可选，默认 \"US\"）：国家代码（如US, JP等）\n- language_code（string，可选，默认 \"zh-CN\"）：语言代码（如zh-CN, en-US等）\n- need_format（boolean，可选，默认 true）：是否需要清洗数据，提取关键内容，移除冗余数据\n\n使用说明：#**channel_id** (string)\n- **作用**: 频道ID\n- **获取方式**:\n  - 从频道URL中提取，例如 `实际分享链接`\n  - 或从 `@用户名` 格式的URL中，先访问频道页面获取真实的频道ID\n- **示例**: `\"UCJHBJ7F-nAIlMGolm0Hu4vg\"`\n\n#**language_code** (string, 可选)\n- **作用**: 设置语言偏好\n- **默认值**: `\"zh-CN\"`\n- **可用值**: `\"zh-CN\"`, `\"en-US\"`, `\"ja-JP\"`, `\"ko-KR\"` 等\n\n**country_code** (string, 可选)\n- **作用**: 设置地区代码\n- **默认值**: `\"US\"`\n- **可用值**: `\"US\"`, `\"JP\"`, `\"GB\"` 等\n\n**continuation_token** (string, 可选)\n- **作用**: 分页token，用于获取下一页视频\n- **获取方式**: 从上一次请求的响应中提取\n- **首次请求**: 不传此参数或传 `null`\n\n**need_format** (boolean, 可选)\n- **作用**: 是否返回清洗后的精简数据\n- **默认值**: `true`\n- **可用值**:\n  - `false` - 返回原始完整数据\n  - `true` - 返回清洗后的精简数据（推荐，默认）\n\n\n\n\n**`channel` (object, 频道级 metadata，整页 listing 共用):**\n\n⚠️ **仅首次请求（未传 `continuation_token`）返回此字段**。分页请求的响应里 YouTube 不再下发频道级 metadata，此时返回里**不包含** `channel` 字段，请缓存首页结果作为权威值。同理 `videos[].is_verified` 在分页响应里恒为 `false`（不可信）。\n\n- `id`: 频道ID（同请求参数 channel_id）\n- `name`: 频道名称\n- `description`: 频道简介（多行文本，常含联系方式 / 社媒链接 / 频道介绍）\n- `handle_url`: 频道 handle URL（如 `实际分享链接`）\n- `avatar`: 频道头像 URL（最大尺寸，最大 900×900）\n- `url`: 频道主页 URL\n- `rss_url`: 频道 RSS 订阅链接\n- `keywords`: 频道关键词\n- `is_family_safe`: 是否适合家庭观看\n- `is_verified`: 频道是否已通过 YouTube 蓝勾认证\n\n**`videos[]` (列表，每条视频):**\n- `video_id`: 视频ID\n- `title`: 视频标题\n- `thumbnail`: 最高清晰度缩略图URL\n- `thumbnails`: 所有分辨率的缩略图列表\n- `moving_thumbnail`: 动态缩略图URL（webp格式，鼠标悬停预览）\n- `duration`: 视频时长（如\"16:57\"）\n- `duration_accessibility`: 时长无障碍文本（如\"16分钟57秒钟\"）\n- `view_count`: 完整观看次数（如\"343,369次观看\"）\n- `short_view_count`: 简短观看次数（如\"34万次观看\"。注：lockup 格式下与 `view_count` 同值，仅保留以兼容旧调用方）\n- `published_time`: 发布时间（如\"18小时前\"）\n- `description`: ⚠️ YouTube 自 2026 起的频道视频列表（lockup 格式）已不再下发视频描述片段，此字段恒为空字符串 `\"\"`；如需频道整体简介请使用顶层 `channel.description`，单条视频描述请单独调用视频详情接口\n- `is_live`: 是否为直播\n- `is_verified`: 频道是否已认证（频道页下与顶层 `channel.is_verified` 同值）\n- `url`: 视频播放页URL\n- `playback_url`: 视频播放初始化URL（googlevideo.com）\n- `continuation_token`: 下一页的分页token 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_youtube_web_v2_get_channel_videos","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"channel_id","in":"query","required":true,"description":"频道ID","schema":{"description":"频道ID","examples":["UCJHBJ7F-nAIlMGolm0Hu4vg"],"title":"Channel Id","type":"string"}},{"name":"continuation_token","in":"query","required":false,"description":"分页token，用于获取下一页","schema":{"description":"分页token，用于获取下一页","title":"Continuation Token","type":"string"}},{"name":"country_code","in":"query","required":false,"description":"国家代码（如US, JP等）","schema":{"default":"US","description":"国家代码（如US, JP等）","examples":["US"],"title":"Country Code","type":"string"}},{"name":"language_code","in":"query","required":false,"description":"语言代码（如zh-CN, en-US等）","schema":{"default":"zh-CN","description":"语言代码（如zh-CN, en-US等）","examples":["zh-CN"],"title":"Language Code","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据，提取关键内容，移除冗余数据","schema":{"default":true,"description":"是否需要清洗数据，提取关键内容，移除冗余数据","title":"Need Format","type":"boolean"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/youtube/web_v2/get_general_search_v2":{"get":{"tags":["YouTube"],"summary":"搜索YouTube内容 V2","description":"搜索 YouTube 视频、Shorts、频道、播放列表 返回清洗后的结构化数据（相比 get_general_search 返回原始数据） 支持多种过滤条件和排序方式 支持分页加载更多结果\n\n参数：\n- continuation_token（见 Schema，可选，未声明默认值）：分页token（获取下一页时传入，从上一次返回结果中获取）\n- duration（见 Schema，可选，未声明默认值）：视频时长过滤 - short(<4分钟)/medium(4-20分钟)/long(>20分钟)\n- features（见 Schema，可选，未声明默认值）：特性过滤（多个用逗号分隔）- live/4k/hd/subtitles/creative_commons/360/vr180/3d/hdr\n- keyword（见 Schema，可选，未声明默认值）：搜索关键词（首次请求必填）\n- sort_by（见 Schema，可选，未声明默认值）：排序方式 - relevance(相关性)/upload_date(上传日期)/view_count(播放量)/rating(评分)\n- type（见 Schema，可选，未声明默认值）：结果类型过滤 - video/channel/playlist/movie\n- upload_date（见 Schema，可选，未声明默认值）：上传时间过滤 - last_hour/today/this_week/this_month/this_year\n\n使用说明：- videos: 视频列表（标题、时长、播放量、作者、频道ID、缩略图等）\n- shorts: Shorts 短视频列表\n- channels: 频道列表\n- playlists: 播放列表\n- continuation_token: 下一页 token\n- completion_suggestions: 搜索建议词\n\n1. 首次搜索传入 keyword（可选过滤参数）\n2. 加载更多时传入上一次返回的 continuation_token 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_youtube_web_v2_get_general_search_v2","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"continuation_token","in":"query","required":false,"description":"分页token（获取下一页时传入，从上一次返回结果中获取）","schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"分页token（获取下一页时传入，从上一次返回结果中获取）","title":"Continuation Token"}},{"name":"duration","in":"query","required":false,"description":"视频时长过滤 - short(<4分钟)/medium(4-20分钟)/long(>20分钟)","schema":{"anyOf":[{"enum":["short","medium","long"],"type":"string"},{"type":"null"}],"description":"视频时长过滤 - short(<4分钟)/medium(4-20分钟)/long(>20分钟)","title":"Duration"}},{"name":"features","in":"query","required":false,"description":"特性过滤（多个用逗号分隔）- live/4k/hd/subtitles/creative_commons/360/vr180/3d/hdr","schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"特性过滤（多个用逗号分隔）- live/4k/hd/subtitles/creative_commons/360/vr180/3d/hdr","title":"Features"}},{"name":"keyword","in":"query","required":false,"description":"搜索关键词（首次请求必填）","schema":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"description":"搜索关键词（首次请求必填）","examples":["Python tutorial"],"title":"Keyword"}},{"name":"sort_by","in":"query","required":false,"description":"排序方式 - relevance(相关性)/upload_date(上传日期)/view_count(播放量)/rating(评分)","schema":{"anyOf":[{"enum":["relevance","upload_date","view_count","rating"],"type":"string"},{"type":"null"}],"description":"排序方式 - relevance(相关性)/upload_date(上传日期)/view_count(播放量)/rating(评分)","title":"Sort By"}},{"name":"type","in":"query","required":false,"description":"结果类型过滤 - video/channel/playlist/movie","schema":{"anyOf":[{"enum":["video","channel","playlist","movie"],"type":"string"},{"type":"null"}],"description":"结果类型过滤 - video/channel/playlist/movie","title":"Type"}},{"name":"upload_date","in":"query","required":false,"description":"上传时间过滤 - last_hour/today/this_week/this_month/this_year","schema":{"anyOf":[{"enum":["last_hour","today","this_week","this_month","this_year"],"type":"string"},{"type":"null"}],"description":"上传时间过滤 - last_hour/today/this_week/this_month/this_year","title":"Upload Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/youtube/web_v2/get_post_comment_replies":{"get":{"tags":["YouTube"],"summary":"获取YouTube帖子评论回复","description":"获取帖子评论的回复（二级评论）\n\n参数：\n- continuation_token（string，必填，未声明默认值）：下一页token（如果有更多回复）\n- country_code（string，可选，默认 \"US\"）：国家代码（如US, JP等）\n- language_code（string，可选，默认 \"zh-CN\"）：语言代码（如zh-CN, en-US等）\n- need_format（boolean，可选，默认 true）：是否需要清洗数据，提取关键内容，移除冗余数据\n\n使用说明：#**continuation_token** (string)\n- **作用**: 回复的continuation token\n- **获取方式**: 从帖子一级评论的响应数据中获取 `reply_continuation_token` 字段\n\n#**language_code** (string, 可选) - 语言代码，默认 `\"zh-CN\"`\n\n**country_code** (string, 可选) - 国家代码，默认 `\"US\"`\n\n**need_format** (bool, 可选) - 是否格式化数据，默认 `true`\n\n1. 先调用 `/get_post_comments` 获取帖子一级评论\n2. 从一级评论中找到 `reply_continuation_token` 字段\n3. 使用该 token 调用本接口获取该评论的所有回复\n4. 如果还有更多回复，使用返回的 `continuation_token` 继续获取\n\n- comments: 回复评论列表\n  - comment_id: 评论ID\n  - content: 评论内容文本\n  - published_time: 发布时间\n  - like_count: 点赞数\n  - author: 作者信息\n- continuation_token: 下一页token（如果有更多回复）\n\n- $0.001 USD / 请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_youtube_web_v2_get_post_comment_replies","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"continuation_token","in":"query","required":true,"description":"下一页token（如果有更多回复）","schema":{"description":"下一页token（如果有更多回复）","title":"Continuation Token","type":"string"}},{"name":"country_code","in":"query","required":false,"description":"国家代码（如US, JP等）","schema":{"default":"US","description":"国家代码（如US, JP等）","examples":["US"],"title":"Country Code","type":"string"}},{"name":"language_code","in":"query","required":false,"description":"语言代码（如zh-CN, en-US等）","schema":{"default":"zh-CN","description":"语言代码（如zh-CN, en-US等）","examples":["zh-CN"],"title":"Language Code","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据，提取关键内容，移除冗余数据","schema":{"default":true,"description":"是否需要清洗数据，提取关键内容，移除冗余数据","title":"Need Format","type":"boolean"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/youtube/web_v2/get_post_comments":{"get":{"tags":["YouTube"],"summary":"获取YouTube帖子评论","description":"获取YouTube帖子（社区帖子）的评论列表 支持分页获取更多评论\n\n参数：\n- continuation_token（string，可选，未声明默认值）：下一页评论的分页token\n- country_code（string，可选，默认 \"US\"）：国家代码（如US, JP等）\n- language_code（string，可选，默认 \"zh-CN\"）：语言代码（如zh-CN, en-US等）\n- need_format（boolean，可选，默认 true）：是否需要清洗数据，提取关键内容，移除冗余数据\n- post_id（string，可选，未声明默认值）：帖子ID（首次请求时必填）\n\n使用说明：\n\n#\n#**language_code** (string, 可选) - 语言代码，默认 `\"zh-CN\"`\n\n**country_code** (string, 可选) - 国家代码，默认 `\"US\"`\n\n**need_format** (bool, 可选) - 是否格式化数据，默认 `true`\n\n- comments: 评论列表\n  - comment_id: 评论ID\n  - content: 评论内容文本\n  - published_time: 发布时间\n  - like_count: 点赞数\n  - like_count_a11y: 点赞数无障碍文本\n  - reply_count: 回复数\n  - reply_count_text: 回复数文本\n  - reply_continuation_token: 回复的continuation token（用于获取二级评论）\n  - author: 作者信息\n    - channel_id: 作者频道ID\n    - display_name: 显示名称\n    - channel_url: 频道URL\n    - avatar_url: 头像URL\n    - is_verified: 是否认证\n    - is_creator: 是否为创作者\n- continuation_token: 下一页评论的分页token\n\n1. 首次请求：传入 post_id（或从 get_post_detail 获取 comments_continuation_token 作为 continuation_token）\n2. 获取响应中的 continuation_token\n3. 下次请求：传入 continuation_token 获取更多评论\n4. 每条评论如有回复，可用 reply_continuation_token 调用 get_post_comment_replies\n\n- $0.001 USD / 请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_youtube_web_v2_get_post_comments","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"continuation_token","in":"query","required":false,"description":"下一页评论的分页token","schema":{"description":"下一页评论的分页token","title":"Continuation Token","type":"string"}},{"name":"country_code","in":"query","required":false,"description":"国家代码（如US, JP等）","schema":{"default":"US","description":"国家代码（如US, JP等）","examples":["US"],"title":"Country Code","type":"string"}},{"name":"language_code","in":"query","required":false,"description":"语言代码（如zh-CN, en-US等）","schema":{"default":"zh-CN","description":"语言代码（如zh-CN, en-US等）","examples":["zh-CN"],"title":"Language Code","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据，提取关键内容，移除冗余数据","schema":{"default":true,"description":"是否需要清洗数据，提取关键内容，移除冗余数据","title":"Need Format","type":"boolean"}},{"name":"post_id","in":"query","required":false,"description":"帖子ID（首次请求时必填）","schema":{"description":"帖子ID（首次请求时必填）","examples":["UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy"],"title":"Post Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/youtube/web_v2/get_post_detail":{"get":{"tags":["YouTube"],"summary":"获取YouTube帖子详情","description":"获取YouTube帖子（社区帖子）的详细信息 包含帖子内容、附件、互动数据等\n\n参数：\n- country_code（string，可选，默认 \"US\"）：国家代码（如US, JP等）\n- language_code（string，可选，默认 \"zh-CN\"）：语言代码（如zh-CN, en-US等）\n- need_format（boolean，可选，默认 true）：是否需要清洗数据，提取关键内容，移除冗余数据\n- post_id（string，必填，未声明默认值）：帖子ID\n\n使用说明：#**post_id** (string)\n- **作用**: 帖子ID\n- **获取方式**: 从帖子URL中提取，例如 `实际分享链接`\n- **示例**: `\"UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy\"`\n\n#**language_code** (string, 可选) - 语言代码，默认 `\"zh-CN\"`\n\n**country_code** (string, 可选) - 国家代码，默认 `\"US\"`\n\n**need_format** (bool, 可选) - 是否格式化数据，默认 `true`\n\n#- post: 帖子详情\n  - post_id: 帖子ID\n  - post_url: 帖子URL\n  - author_name: 作者名称\n  - author_channel_id: 作者频道ID\n  - author_url: 作者频道URL\n  - author_thumbnails: 作者头像缩略图\n  - content_text: 帖子文本内容\n  - published_time: 发布时间（相对时间）\n  - vote_count: 点赞数\n  - comment_count: 评论数\n  - attachment: 附件数据（图片/多图/视频/投票等，可能为null）\n- channel_metadata: 频道元数据（名称、描述、URL等）\n- comments_continuation_token: 评论分页token（可用于获取评论）\n\n#- 返回原始数据\n\n- post_id 以 \"Ugk\" 开头\n- 帖子附件支持: 图片、多图、视频、投票等类型\n\n- $0.001 USD / 请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_youtube_web_v2_get_post_detail","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"country_code","in":"query","required":false,"description":"国家代码（如US, JP等）","schema":{"default":"US","description":"国家代码（如US, JP等）","examples":["US"],"title":"Country Code","type":"string"}},{"name":"language_code","in":"query","required":false,"description":"语言代码（如zh-CN, en-US等）","schema":{"default":"zh-CN","description":"语言代码（如zh-CN, en-US等）","examples":["zh-CN"],"title":"Language Code","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据，提取关键内容，移除冗余数据","schema":{"default":true,"description":"是否需要清洗数据，提取关键内容，移除冗余数据","title":"Need Format","type":"boolean"}},{"name":"post_id","in":"query","required":true,"description":"帖子ID","schema":{"description":"帖子ID","examples":["UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy"],"title":"Post Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/youtube/web_v2/get_related_videos":{"get":{"tags":["YouTube"],"summary":"获取YouTube视频相似内容","description":"获取YouTube视频的相似内容推荐（推荐视频列表） 类似于视频播放页面右侧的相关视频 一次性返回所有推荐视频（通常20-30个）\n\n参数：\n- need_format（boolean，可选，默认 true）：是否格式化数据（默认 true）\n  - true: 返回格式化的结构化数据（推荐）\n  - false: 返回原始的 YouTube API 结构（用于调试或自定义解析）\n- video_id（string，可选，未声明默认值）：视频ID（推荐）\n- video_url（string，可选，未声明默认值）：完整的视频URL（可选，如果提供video_id则忽略）\n\n使用说明：#- video_id: 当前视频ID\n- related_videos: 相关视频列表（格式化后的数据）\n  - video_id: 相关视频的ID\n  - title: 视频标题\n  - author: 作者名称\n  - author_id: 作者频道ID\n  - author_url: 作者频道链接\n  - length_text: 视频时长文本（如 \"3:45\"）\n  - length_seconds: 视频时长（秒数）\n  - view_count_text: 观看次数文本（如 \"1.2M views\"）\n  - short_view_count_text: 简短观看次数文本（如 \"1.2M\"）\n  - published_time_text: 发布时间文本（如 \"2 days ago\"）\n  - thumbnails: 所有分辨率的缩略图列表\n  - rich_thumbnail: 动态缩略图（如果有）\n  - badges: 视频徽章（如 NEW、LIVE 等）\n  - owner_badges: 作者徽章（如验证标识）\n  - video_url: 视频链接\n  - navigation_endpoint: 导航端点\n- total_count: 推荐视频总数\n\n#- video_id: 当前视频ID\n- related_videos: 原始的 lockupViewModel 对象列表\n- total_count: 推荐视频总数\n\n- 每个视频的推荐内容由 YouTube 算法生成，可能会变化\n- 推荐列表通常包含 20-30 个视频\n- ⚠️ **此接口不支持分页**，一次性返回所有推荐视频\n\n- $0.001 USD / 请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_youtube_web_v2_get_related_videos","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"need_format","in":"query","required":false,"description":"是否格式化数据（默认 true）\n  - true: 返回格式化的结构化数据（推荐）\n  - false: 返回原始的 YouTube API 结构（用于调试或自定义解析）","schema":{"default":true,"description":"是否格式化数据（默认 true）\n  - true: 返回格式化的结构化数据（推荐）\n  - false: 返回原始的 YouTube API 结构（用于调试或自定义解析）","title":"Need Format","type":"boolean"}},{"name":"video_id","in":"query","required":false,"description":"视频ID（推荐）","schema":{"description":"视频ID（推荐）","examples":["dQw4w9WgXcQ"],"title":"Video Id","type":"string"}},{"name":"video_url","in":"query","required":false,"description":"完整的视频URL（可选，如果提供video_id则忽略）","schema":{"description":"完整的视频URL（可选，如果提供video_id则忽略）","examples":["实际分享链接"],"title":"Video Url","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/youtube/web_v2/get_search_suggestions":{"get":{"tags":["YouTube"],"summary":"获取YouTube搜索推荐词","description":"获取YouTube搜索推荐词（自动补全） 类似于在YouTube搜索框输入时显示的推荐词\n\n参数：\n- keyword（string，必填，未声明默认值）：搜索关键词（必填）\n- language（string，可选，默认 \"en\"）：语言代码（可选，默认 en）\n  - en: 英语\n  - zh-cn: 简体中文\n  - ja: 日语\n  - ko: 韩语\n- region（string，可选，默认 \"US\"）：地区代码（可选，默认 US）\n  - US: 美国\n  - SG: 新加坡\n  - CN: 中国\n  - JP: 日本\n  - KR: 韩国\n\n使用说明：- keyword: 搜索关键词\n- suggestions: 推荐词列表（字符串数组）\n- total_count: 推荐词数量\n\n- 推荐词会根据语言和地区有所不同\n- 通常返回 10-20 个推荐词\n- 响应速度非常快（< 1秒）\n\n- $0.0001 USD / 请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_youtube_web_v2_get_search_suggestions","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"keyword","in":"query","required":true,"description":"搜索关键词（必填）","schema":{"description":"搜索关键词（必填）","examples":["Rick Astley"],"maxLength":200,"title":"Keyword","type":"string"}},{"name":"language","in":"query","required":false,"description":"语言代码（可选，默认 en）\n  - en: 英语\n  - zh-cn: 简体中文\n  - ja: 日语\n  - ko: 韩语","schema":{"default":"en","description":"语言代码（可选，默认 en）\n  - en: 英语\n  - zh-cn: 简体中文\n  - ja: 日语\n  - ko: 韩语","examples":["en"],"title":"Language","type":"string"}},{"name":"region","in":"query","required":false,"description":"地区代码（可选，默认 US）\n  - US: 美国\n  - SG: 新加坡\n  - CN: 中国\n  - JP: 日本\n  - KR: 韩国","schema":{"default":"US","description":"地区代码（可选，默认 US）\n  - US: 美国\n  - SG: 新加坡\n  - CN: 中国\n  - JP: 日本\n  - KR: 韩国","examples":["US"],"title":"Region","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/youtube/web_v2/get_shorts_search_v2":{"get":{"tags":["YouTube"],"summary":"搜索YouTube Shorts V2","description":"专门搜索 YouTube Shorts 短视频 返回清洗后的结构化数据（相比 get_shorts_search 返回原始数据） 自动过滤非 Shorts 内容，仅返回短视频结果 支持分页加载更多\n\n参数：\n- continuation_token（见 Schema，可选，未声明默认值）：分页token（从上一次返回结果获取）\n- keyword（见 Schema，可选，未声明默认值）：搜索关键词（首次请求必填）\n- sort_by（见 Schema，可选，未声明默认值）：排序方式 - relevance/upload_date/view_count/rating\n- upload_date（见 Schema，可选，未声明默认值）：上传时间过滤 - last_hour/today/this_week/this_month/this_year\n\n使用说明：- shorts: Shorts 列表（video_id、标题、播放量、作者、频道ID、缩略图、URL）\n- continuation_token: 下一页 token 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_youtube_web_v2_get_shorts_search_v2","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"continuation_token","in":"query","required":false,"description":"分页token（从上一次返回结果获取）","schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"分页token（从上一次返回结果获取）","title":"Continuation Token"}},{"name":"keyword","in":"query","required":false,"description":"搜索关键词（首次请求必填）","schema":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"description":"搜索关键词（首次请求必填）","examples":["coding tips"],"title":"Keyword"}},{"name":"sort_by","in":"query","required":false,"description":"排序方式 - relevance/upload_date/view_count/rating","schema":{"anyOf":[{"enum":["relevance","upload_date","view_count","rating"],"type":"string"},{"type":"null"}],"description":"排序方式 - relevance/upload_date/view_count/rating","title":"Sort By"}},{"name":"upload_date","in":"query","required":false,"description":"上传时间过滤 - last_hour/today/this_week/this_month/this_year","schema":{"anyOf":[{"enum":["last_hour","today","this_week","this_month","this_year"],"type":"string"},{"type":"null"}],"description":"上传时间过滤 - last_hour/today/this_week/this_month/this_year","title":"Upload Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/youtube/web_v2/get_video_captions":{"get":{"tags":["YouTube"],"summary":"获取YouTube视频字幕","description":"获取视频的字幕列表或指定语言的字幕内容 支持多种字幕格式输出\n\n参数：\n- format（string，可选，默认 \"srt\"）：字幕格式\n  - srt: SubRip 字幕格式（带时间轴）\n  - xml: 原始 XML 格式\n  - json3: JSON 格式（YouTube 原始结构）\n  - txt: 纯文本（无时间轴）\n- language_code（string，可选，未声明默认值）：语言代码（如 en, zh-Hans, a.en），为空时返回可用字幕列表\n- video_id（string，可选，未声明默认值）：视频ID（推荐）\n- video_url（string，可选，未声明默认值）：完整的视频URL（可选）\n\n使用说明：1. 不传 language_code，获取字幕列表\n2. 从列表中选择 language_code，获取字幕内容\n\n#\n\n#- format=srt: 标准 SRT 字幕文件内容（含序号、时间轴、文本）\n- format=txt: 纯文本（仅文字，无时间轴）\n- format=xml: YouTube 原始 XML 字幕\n- format=json3: YouTube JSON 格式字幕\n\n#\n- 返回 `status=\"processing\"` 时，用 `job_id` 调用 `/get_video_captions_result` 取最终字幕\n\n#\n\n- 并非所有视频都有字幕\n- 仅返回视频本身已有的字幕，不提供 AI 语音转写生成；视频没有字幕时直接返回上述无字幕结果\n- video_id 和 video_url 至少提供一个\n- 大视频会转为异步任务，需配合 `/get_video_captions_result` 轮询获取结果\n- 视频无字幕时返回 200 + 上述提示，且照常计费（平台已对该请求计费）\n\n- $0.008 USD / 请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_youtube_web_v2_get_video_captions","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"format","in":"query","required":false,"description":"字幕格式\n  - srt: SubRip 字幕格式（带时间轴）\n  - xml: 原始 XML 格式\n  - json3: JSON 格式（YouTube 原始结构）\n  - txt: 纯文本（无时间轴）","schema":{"default":"srt","description":"字幕格式\n  - srt: SubRip 字幕格式（带时间轴）\n  - xml: 原始 XML 格式\n  - json3: JSON 格式（YouTube 原始结构）\n  - txt: 纯文本（无时间轴）","enum":["srt","xml","json3","txt"],"examples":["srt"],"title":"Format","type":"string"}},{"name":"language_code","in":"query","required":false,"description":"语言代码（如 en, zh-Hans, a.en），为空时返回可用字幕列表","schema":{"description":"语言代码（如 en, zh-Hans, a.en），为空时返回可用字幕列表","examples":["en"],"title":"Language Code","type":"string"}},{"name":"video_id","in":"query","required":false,"description":"视频ID（推荐）","schema":{"description":"视频ID（推荐）","examples":["dQw4w9WgXcQ"],"title":"Video Id","type":"string"}},{"name":"video_url","in":"query","required":false,"description":"完整的视频URL（可选）","schema":{"description":"完整的视频URL（可选）","examples":["实际分享链接"],"title":"Video Url","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/youtube/web_v2/get_video_captions_result":{"get":{"tags":["YouTube"],"summary":"获取YouTube视频字幕异步任务结果","description":"查询字幕异步任务的处理结果 视频较大时 `/get_video_captions` 会返回 `status=\"processing\"` 和 `job_id`， 用该 `job_id` 调用本接口即可获取最终字幕 本接口为单次查询、不阻塞等待，由调用方按需重复调用直到任务完成\n\n参数：\n- format（string，可选，默认 \"srt\"）：字幕格式（仅任务完成时生效）\n  - srt: SubRip 字幕格式（带时间轴）\n  - xml: XML 格式\n  - json3: JSON 格式\n  - txt: 纯文本（无时间轴）\n- job_id（string，必填，未声明默认值）：异步任务ID（由 `/get_video_captions` 返回）\n\n使用说明：\n\n#\n- status 为 `queued`（排队中）或 `active`（处理中），稍后重试即可\n\n#\n\n- 任务失败时返回错误\n- 建议轮询间隔 2-5 秒（本接口有 RPS 限制，请勿高频轮询）\n- job_id 仅创建它的账号可查询，他人查询返回 403\n\n- 免费（$0 USD / 请求） 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_youtube_web_v2_get_video_captions_result","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"format","in":"query","required":false,"description":"字幕格式（仅任务完成时生效）\n  - srt: SubRip 字幕格式（带时间轴）\n  - xml: XML 格式\n  - json3: JSON 格式\n  - txt: 纯文本（无时间轴）","schema":{"default":"srt","description":"字幕格式（仅任务完成时生效）\n  - srt: SubRip 字幕格式（带时间轴）\n  - xml: XML 格式\n  - json3: JSON 格式\n  - txt: 纯文本（无时间轴）","enum":["srt","xml","json3","txt"],"examples":["srt"],"title":"Format","type":"string"}},{"name":"job_id","in":"query","required":true,"description":"异步任务ID（由 `/get_video_captions` 返回）","schema":{"description":"异步任务ID（由 `/get_video_captions` 返回）","examples":["123e4567-e89b-12d3-a456-426614174000"],"maxLength":128,"minLength":8,"pattern":"^[A-Za-z0-9_-]+$","title":"Job Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/youtube/web_v2/get_video_comment_replies":{"get":{"tags":["YouTube"],"summary":"获取YouTube视频二级评论","description":"获取视频二级评论\n\n参数：\n- continuation_token（string，必填，未声明默认值）：回复的continuation token（从一级评论的reply_continuation_token字段获取）\n- country_code（string，可选，默认 \"US\"）：国家代码（如US, JP等）\n- language_code（string，可选，默认 \"zh-CN\"）：语言代码（如zh-CN, en-US等）\n- need_format（boolean，可选，默认 true）：是否需要清洗数据，提取关键内容，移除冗余数据\n\n使用说明：#**continuation_token** (string)\n- **作用**: 回复的continuation token\n- **获取方式**: 从一级评论的响应数据中获取 `reply_continuation_token` 字段\n- **示例**: `\"Eg0SC29hU05CejRxTVFZGAYygwEaUBIaVWd3WmhjUXVGUmJZTlhkUV85VjRBYUFCQWciAggAKhhVQ0pIQko3Ri1uQUlsTUdvbG0wSHU0dmcyC29hU05CejRxTVFZQAFICoIBAggBQi9jb21tZW50LXJlcGxpZXMtaXRlbS1VZ3daaGNRdUZSYllOWGRRXzlWNEFhQUJBZw%3D%3D\"`\n\n#**language_code** (string, 可选)\n- **作用**: 设置回复显示的语言偏好\n- **默认值**: `\"zh-CN\"`\n- **可用值**: `\"zh-CN\"`, `\"en-US\"`, `\"ja-JP\"`, `\"ko-KR\"` 等\n\n**country_code** (string, 可选)\n- **作用**: 设置地区代码\n- **默认值**: `\"US\"`\n- **可用值**: `\"US\"`, `\"JP\"`, `\"GB\"` 等\n\n**need_format** (boolean, 可选)\n- **作用**: 是否返回清洗后的精简数据\n- **默认值**: `true`\n- **可用值**:\n  - `false` - 返回原始完整数据\n  - `true` - 返回清洗后的精简数据（推荐，默认）\n\n1. 先调用 `/get_video_comments` 接口获取一级评论\n2. 从一级评论的响应中找到 `reply_continuation_token` 字段\n3. 使用该 token 调用本接口获取该评论的所有回复\n\n\n\n- `reply_level`: 回复层级（1表示二级评论/回复）\n- `is_creator`: 是否为视频创作者（如果是创作者回复会标记为true）\n- 其他字段与一级评论相同 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_youtube_web_v2_get_video_comment_replies","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"continuation_token","in":"query","required":true,"description":"回复的continuation token（从一级评论的reply_continuation_token字段获取）","schema":{"description":"回复的continuation token（从一级评论的reply_continuation_token字段获取）","title":"Continuation Token","type":"string"}},{"name":"country_code","in":"query","required":false,"description":"国家代码（如US, JP等）","schema":{"default":"US","description":"国家代码（如US, JP等）","examples":["US"],"title":"Country Code","type":"string"}},{"name":"language_code","in":"query","required":false,"description":"语言代码（如zh-CN, en-US等）","schema":{"default":"zh-CN","description":"语言代码（如zh-CN, en-US等）","examples":["zh-CN"],"title":"Language Code","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据，提取关键内容，移除冗余数据","schema":{"default":true,"description":"是否需要清洗数据，提取关键内容，移除冗余数据","title":"Need Format","type":"boolean"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/youtube/web_v2/get_video_comments":{"get":{"tags":["YouTube"],"summary":"获取YouTube视频评论","description":"获取YouTube视频的一级评论\n\n参数：\n- continuation_token（string，可选，未声明默认值）：翻页令牌\n- country_code（string，可选，默认 \"US\"）：国家代码（如US, JP等）\n- language_code（string，可选，默认 \"zh-CN\"）：语言代码（如zh-CN, en-US等）\n- need_format（boolean，可选，默认 true）：是否需要清洗数据，提取关键内容，移除冗余数据\n- sort_by（string，可选，默认 \"top\"）：排序方式 | Sort by\n- video_id（string，必填，未声明默认值）：视频ID\n\n使用说明：#**video_id** (string)\n- **作用**: 视频ID\n- **格式**: YouTube视频ID字符串\n- **示例**: `\"oaSNBz4qMQY\"`\n- **获取方式**: 从URL `实际分享链接` 中提取\n\n#**language_code** (string, 可选)\n- **作用**: 设置评论显示的语言偏好\n- **默认值**: `\"zh-CN\"`\n- **可用值**: `\"zh-CN\"`, `\"en-US\"`, `\"ja-JP\"`, `\"ko-KR\"` 等\n\n**country_code** (string, 可选)\n- **作用**: 设置地区代码\n- **默认值**: `\"US\"`\n- **可用值**: `\"US\"`, `\"JP\"`, `\"GB\"` 等\n\n**sort_by** (string, 可选)\n- **作用**: 评论排序方式\n- **默认值**: `\"top\"`\n- **可用值**:\n  - `\"top\"` - 热门评论（按点赞数排序）\n  - `\"newest\"` - 最新评论（按时间排序）\n\n**continuation_token** (string, 可选)\n- **作用**: 翻页令牌，用于获取下一页评论\n- **默认值**: `null`\n- **获取方式**: 从上一次请求的响应中提取\n\n**need_format** (boolean, 可选)\n- **作用**: 是否返回清洗后的精简数据\n- **默认值**: `true`\n- **可用值**:\n  - `false` - 返回原始完整数据\n  - `true` - 返回清洗后的精简数据（推荐，默认）\n\n\n\n- `comment_id`: 评论唯一ID\n- `content`: 评论文本内容\n- `published_time`: 发布时间（相对时间，如\"1天前\"）\n- `reply_level`: 回复层级（0表示一级评论）\n- `like_count`: 点赞数\n- `reply_count`: 回复数\n- `reply_count_text`: 回复数文本（如\"1 条回复\"）\n- `reply_continuation_token`: 获取该评论回复的token\n- `author`: 评论作者信息\n  - `channel_id`: 作者频道ID\n  - `display_name`: 显示名称\n  - `channel_url`: 频道URL\n  - `avatar_url`: 头像URL\n  - `is_verified`: 是否已认证\n  - `is_creator`: 是否为视频创作者\n  - `is_artist`: 是否为音乐人\n- `creator_thumbnail_url`: 视频创作者头像URL 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_youtube_web_v2_get_video_comments","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"continuation_token","in":"query","required":false,"description":"翻页令牌","schema":{"description":"翻页令牌","title":"Continuation Token","type":"string"}},{"name":"country_code","in":"query","required":false,"description":"国家代码（如US, JP等）","schema":{"default":"US","description":"国家代码（如US, JP等）","examples":["US"],"title":"Country Code","type":"string"}},{"name":"language_code","in":"query","required":false,"description":"语言代码（如zh-CN, en-US等）","schema":{"default":"zh-CN","description":"语言代码（如zh-CN, en-US等）","examples":["zh-CN"],"title":"Language Code","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据，提取关键内容，移除冗余数据","schema":{"default":true,"description":"是否需要清洗数据，提取关键内容，移除冗余数据","title":"Need Format","type":"boolean"}},{"name":"sort_by","in":"query","required":false,"description":"排序方式 | Sort by","schema":{"default":"top","description":"排序方式 | Sort by","enum":["top","newest"],"examples":["top","newest"],"title":"CommentSortByAPI","type":"string"}},{"name":"video_id","in":"query","required":true,"description":"视频ID","schema":{"description":"视频ID","examples":["LuIL5JATZsc"],"maxLength":11,"minLength":11,"title":"Video Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/youtube/web_v2/get_video_info_v2":{"get":{"tags":["YouTube"],"summary":"获取YouTube视频详情 V2","description":"获取 YouTube 视频详情（其它版本获取路径，字段提取更稳定） 适用场景: v1 `/get_video_info` 返回 title/author 为空时 （年龄限制、未公开、部分音乐视频等）\n\n参数：\n- need_format（boolean，可选，默认 true）：是否需要清洗数据，提取关键字段\n- video_id（string，可选，未声明默认值）：视频ID\n- video_url（string，可选，未声明默认值）：视频URL\n\n使用说明：- **调用本详情接口无需自带代理**，也不接受 `proxy_url`；原始数据中即使有媒体 URL，\n  也不保证可从不同公网出口下载。\n- 下载请使用 get_video_streams_v3：首选固定出口或粘性会话的美国住宅代理，\n  或固定公网出口的静态住宅/ISP 代理；数据中心代理不作为首选。\n  美国并非强制地区，地区受限视频应选择允许访问的国家/地区并保持同一下载出口。\n\n\n#**video_id** (string)\n- **作用**: 视频ID\n- **示例**: `\"dQw4w9WgXcQ\"`\n\n**video_url** (string)\n- **作用**: 视频URL（如果提供 video_id 则忽略此参数）\n- **示例**: `\"实际分享链接\"`\n\n#**need_format** (bool, 可选)\n- **作用**: 是否返回清洗后的字段字典\n- **默认值**: `True`\n- `True`: 返回精简的字段字典（title / author / view_count 等）\n- `False`: 返回完整原始数据\n\n- **get_video_info**: 字段更全（含 like_count_text / merchandise / endscreen / super_title /\n  subscriber_count_text / is_verified 等），但部分场景下字段提取不稳定\n- **get_video_info_v2 (本接口)**: 核心字段更稳定，但 v1 独有的部分附加字段不再返回\n\n- 视频: `video_id` / `video_url` / `embed_url` / `title` / `description`\n- 频道: `author` / `channel_name` / `channel_id` / `channel_handle` / `channel_url` /\n  `channel_follower_count` / `channel_is_verified`\n- 时间与状态: `publish_date` / `published_at` / `upload_date` / `length_seconds` /\n  `duration_string` / `availability` / `live_status` / `age_limit`\n- 互动与分类: `view_count` / `like_count` / `comment_count` / `rating` /\n  `keywords` / `categories` / `language`\n- 媒体辅助: `thumbnail_url` / `thumbnails` / `playability_status` / `captions` /\n  `caption_count` / `chapters` 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_youtube_web_v2_get_video_info_v2","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据，提取关键字段","schema":{"default":true,"description":"是否需要清洗数据，提取关键字段","title":"Need Format","type":"boolean"}},{"name":"video_id","in":"query","required":false,"description":"视频ID","schema":{"description":"视频ID","examples":["dQw4w9WgXcQ"],"title":"Video Id","type":"string"}},{"name":"video_url","in":"query","required":false,"description":"视频URL","schema":{"description":"视频URL","examples":["实际分享链接"],"title":"Video Url","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/youtube/web_v2/search_channels":{"get":{"tags":["YouTube"],"summary":"搜索YouTube频道","description":"搜索YouTube频道 只返回频道类型的搜索结果（过滤掉视频、播放列表等） 支持分页获取更多频道\n\n参数：\n- continuation_token（string，可选，未声明默认值）：分页token（可选，用于获取下一页）\n- keyword（见 Schema，可选，未声明默认值）：搜索关键词（首次请求必填）\n- need_format（boolean，可选，默认 true）：是否格式化数据（默认 true）\n  - true: 返回格式化的结构化数据（推荐）\n  - false: 返回原始的 YouTube API 结构（用于调试）\n\n使用说明：#- keyword: 搜索关键词\n- channels: 频道列表\n  - channel_id: 频道ID（如 \"UCjuNibFJ21MiSNpu8LZyV4w\"）\n  - title: 频道名称\n  - handle: 频道自定义handle（如 \"@chaijing2023\"）\n  - subscriber_count_text: 订阅者数量文本（如 \"1.11M subscribers\"）\n  - description: 频道描述片段\n  - thumbnails: 缩略图列表（包含不同尺寸）\n  - is_subscribed: 当前用户是否已订阅该频道（布尔值）\n  - canonical_url: 频道规范URL路径（如 \"/@chaijing2023\"）\n  - channel_url: 频道完整URL（优先使用自定义URL）\n- continuation_token: 下一页的分页token\n- has_more: 是否还有更多频道\n- total_count: 当前页频道数量\n\n#- keyword: 搜索关键词\n- channels: 原始的 channelRenderer 对象列表\n- continuation_token: 下一页的分页token\n- has_more: 是否还有更多频道\n- total_count: 当前页频道数量\n\n1. 首次请求：只传 keyword 参数\n2. 获取响应中的 continuation_token\n3. 下次请求：传入 continuation_token（keyword 可选）\n4. 重复步骤 2-3 直到 has_more 为 false\n\n- 每页通常返回 10-20 个频道\n- 搜索结果只包含频道，不包含视频、播放列表等\n- 搜索结果的顺序和数量由 YouTube 算法决定\n\n- $0.001 USD / 请求 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_youtube_web_v2_search_channels","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"continuation_token","in":"query","required":false,"description":"分页token（可选，用于获取下一页）","schema":{"description":"分页token（可选，用于获取下一页）","title":"Continuation Token","type":"string"}},{"name":"keyword","in":"query","required":false,"description":"搜索关键词（首次请求必填）","schema":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"description":"搜索关键词（首次请求必填）","examples":["Rick Astley"],"title":"Keyword"}},{"name":"need_format","in":"query","required":false,"description":"是否格式化数据（默认 true）\n  - true: 返回格式化的结构化数据（推荐）\n  - false: 返回原始的 YouTube API 结构（用于调试）","schema":{"default":true,"description":"是否格式化数据（默认 true）\n  - true: 返回格式化的结构化数据（推荐）\n  - false: 返回原始的 YouTube API 结构（用于调试）","title":"Need Format","type":"boolean"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/app/fetch_ai_smart_search":{"get":{"tags":["微博"],"summary":"搜索微博AI内容","description":"使用微博AI智搜功能进行搜索，返回AI增强的搜索结果。\n\n参数：\n- page（integer，可选，默认 1）：页码，从1开始（默认1）\n- query（string，必填，未声明默认值）：搜索关键词（必填）\n\n使用说明：- AI智搜结果，包含AI增强的搜索内容\n- 此接口为AI增强搜索，返回结果经过AI处理 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_app_fetch_ai_smart_search","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"page","in":"query","required":false,"description":"页码，从1开始（默认1）","schema":{"default":1,"description":"页码，从1开始（默认1）","examples":[1],"minimum":1,"title":"Page","type":"integer"}},{"name":"query","in":"query","required":true,"description":"搜索关键词（必填）","schema":{"description":"搜索关键词（必填）","examples":["人工智能"],"title":"Query","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/app/fetch_hot_search_brief":{"get":{"tags":["微博"],"summary":"获取微博热搜简报","description":"获取微博热搜简报（今日热点事件纪要），返回当日热点事件的AI摘要， 每个事件包含标题、摘要、热搜战绩（如\"TOP1热搜×19\"、\"热搜霸榜23小时\"）和来源微博。\n\n参数：\n- 无必填参数；可传空对象。\n\n使用说明：- 热搜简报数据（微博原始响应），简报内容嵌套在AI智搜卡片中，取值路径为:\n    - items[].data.wboxParam.analysis_result: JSON字符串，需先反序列化\n    - analysis_result.msg: markdown文本，内含 ```wbCustomBlock 代码块\n    - 代码块JSON（type为 hotQuickReport）的 data.event_list: 当日热点事件数组\n    - analysis_result.hot_brief_data: JSON字符串，反序列化后 slogan_info 内含简报标题与更新时间\n- 简报由微博智搜（AI）生成，内容每隔一段时间更新一次，更新时间见 slogan_info.dynamic_wenan\n- 单次返回当日约20条热点事件，该接口不支持翻页\n- 简报内容为多层嵌套的JSON字符串，调用方需要逐层反序列化后才能取到事件列表\n- 简报由AI边生成边返回，命中生成中的响应时服务端会自动重试；极端情况下仍可能返回生成中的响应，\n  此时 analysis_result 的 chat_status_stage 不为0，msg里只有AI的生成过程而没有简报正文 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_app_fetch_hot_search_brief","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/app/fetch_search_all":{"get":{"tags":["微博"],"summary":"搜索微博综合内容","description":"在微博中进行综合搜索，返回相关内容。支持多种搜索类型。\n\n参数：\n- page（integer，可选，默认 1）：页码，从1开始（默认1）\n- query（string，必填，未声明默认值）：搜索关键词（必填）\n- search_type（integer，可选，默认 1）：搜索类型\n    - 1: 综合（默认）\n    - 61: 实时\n    - 3: 用户\n    - 64: 视频\n    - 63: 图片\n    - 62: 关注\n    - 60: 热门\n    - 21: 全网\n    - 38: 话题\n    - 98: 超话\n    - 92: 地点\n    - 97: 商品\n\n使用说明：- 搜索结果列表，包含微博内容、作者信息、图片、视频等\n- 搜索结果按相关度排序\n- 仅使用 page 参数进行翻页 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_app_fetch_search_all","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"page","in":"query","required":false,"description":"页码，从1开始（默认1）","schema":{"default":1,"description":"页码，从1开始（默认1）","examples":[1],"minimum":1,"title":"Page","type":"integer"}},{"name":"query","in":"query","required":true,"description":"搜索关键词（必填）","schema":{"description":"搜索关键词（必填）","examples":["NVIDIA"],"title":"Query","type":"string"}},{"name":"search_type","in":"query","required":false,"description":"搜索类型\n    - 1: 综合（默认）\n    - 61: 实时\n    - 3: 用户\n    - 64: 视频\n    - 63: 图片\n    - 62: 关注\n    - 60: 热门\n    - 21: 全网\n    - 38: 话题\n    - 98: 超话\n    - 92: 地点\n    - 97: 商品","schema":{"default":1,"description":"搜索类型\n    - 1: 综合（默认）\n    - 61: 实时\n    - 3: 用户\n    - 64: 视频\n    - 63: 图片\n    - 62: 关注\n    - 60: 热门\n    - 21: 全网\n    - 38: 话题\n    - 98: 超话\n    - 92: 地点\n    - 97: 商品","examples":[1],"title":"Search Type","type":"integer"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/app/fetch_status_likes":{"get":{"tags":["微博"],"summary":"获取微博点赞列表","description":"获取指定微博的点赞列表（也适用于视频点赞）。\n\n参数：\n- attitude_type（string，可选，默认 \"0\"）：点赞类型筛选\n    - 0: 全部（默认）\n    - 1: 点赞\n    - 2: 开心\n    - 3: 惊讶\n    - 4: 伤心\n    - 5: 愤怒\n    - 6: 打赏\n    - 8: 抱抱\n- status_id（string，必填，未声明默认值）：微博ID或视频ID（必填）\n\n使用说明：- 点赞列表数据，包含点赞者信息、点赞类型等\n- 每次返回约50条点赞记录 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_app_fetch_status_likes","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"attitude_type","in":"query","required":false,"description":"点赞类型筛选\n    - 0: 全部（默认）\n    - 1: 点赞\n    - 2: 开心\n    - 3: 惊讶\n    - 4: 伤心\n    - 5: 愤怒\n    - 6: 打赏\n    - 8: 抱抱","schema":{"default":"0","description":"点赞类型筛选\n    - 0: 全部（默认）\n    - 1: 点赞\n    - 2: 开心\n    - 3: 惊讶\n    - 4: 伤心\n    - 5: 愤怒\n    - 6: 打赏\n    - 8: 抱抱","examples":["0"],"title":"Attitude Type","type":"string"}},{"name":"status_id","in":"query","required":true,"description":"微博ID或视频ID（必填）","schema":{"description":"微博ID或视频ID（必填）","examples":["5016922058656962"],"title":"Status Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/app/fetch_status_reposts":{"get":{"tags":["微博"],"summary":"获取微博转发列表","description":"获取指定微博的转发列表（也适用于视频转发）。\n\n参数：\n- max_id（见 Schema，可选，未声明默认值）：翻页游标，首次请求不传，后续请求使用返回的max_id值\n- status_id（string，必填，未声明默认值）：微博ID或视频ID（必填）\n\n使用说明：- 转发列表数据，包含转发内容、转发者信息等\n- 包含 max_id 字段用于翻页\n- 每次返回约20条转发\n- 当没有更多转发时，max_id 为空或相同 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_app_fetch_status_reposts","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"max_id","in":"query","required":false,"description":"翻页游标，首次请求不传，后续请求使用返回的max_id值","schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"翻页游标，首次请求不传，后续请求使用返回的max_id值","title":"Max Id"}},{"name":"status_id","in":"query","required":true,"description":"微博ID或视频ID（必填）","schema":{"description":"微博ID或视频ID（必填）","examples":["5016922058656962"],"title":"Status Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/app/fetch_user_articles":{"get":{"tags":["微博"],"summary":"获取微博用户文章列表","description":"获取指定用户发布的文章列表。\n\n参数：\n- since_id（见 Schema，可选，未声明默认值）：翻页游标，初次请求不传，后续请求使用返回的since_id值\n- uid（string，必填，未声明默认值）：用户ID（必填）\n\n使用说明：- 用户文章列表数据\n- 如果用户没有发布过文章，返回空列表\n- 使用游标翻页（since_id），不使用页码翻页 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_app_fetch_user_articles","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"since_id","in":"query","required":false,"description":"翻页游标，初次请求不传，后续请求使用返回的since_id值","schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"翻页游标，初次请求不传，后续请求使用返回的since_id值","title":"Since Id"}},{"name":"uid","in":"query","required":true,"description":"用户ID（必填）","schema":{"description":"用户ID（必填）","examples":["1725941200"],"title":"Uid","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/app/fetch_user_info_detail":{"get":{"tags":["微博"],"summary":"获取微博用户详细信息","description":"获取微博用户的详细信息，比基本信息更加完整，包括认证信息、标签、等级等。\n\n参数：\n- uid（string，必填，未声明默认值）：用户ID（必填）\n\n使用说明：- 用户详细信息数据\n- 如果用户设置了隐私保护，部分信息可能无法获取 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_app_fetch_user_info_detail","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"uid","in":"query","required":true,"description":"用户ID（必填）","schema":{"description":"用户ID（必填）","examples":["7648703289"],"title":"Uid","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/app/fetch_user_super_topics":{"get":{"tags":["微博"],"summary":"获取微博用户参与的超话列表","description":"获取指定用户参与的超话列表。\n\n参数：\n- page（integer，可选，默认 1）：页码，从1开始（默认1）\n- uid（string，必填，未声明默认值）：用户ID（必填）\n\n使用说明：- 用户参与的超话列表数据\n- 如果用户设置了隐私保护，可能无法获取超话列表 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_app_fetch_user_super_topics","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"page","in":"query","required":false,"description":"页码，从1开始（默认1）","schema":{"default":1,"description":"页码，从1开始（默认1）","examples":[1],"minimum":1,"title":"Page","type":"integer"}},{"name":"uid","in":"query","required":true,"description":"用户ID（必填）","schema":{"description":"用户ID（必填）","examples":["7648703289"],"title":"Uid","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/app/fetch_user_timeline":{"get":{"tags":["微博"],"summary":"获取用户发布的微博","description":"获取指定用户发布的微博列表，支持分页和多种内容筛选。\n\n参数：\n- filter_type（string，可选，默认 \"all\"）：筛选类型（默认\"all\"）\n    - all: 全部微博\n    - original: 原创微博\n    - likes: 她/他的赞\n    - video: 视频微博\n    - pic: 图片微博\n    - location: 签到足迹\n    - month: 按时间筛选（需要同时传入month参数）\n- month（见 Schema，可选，未声明默认值）：时间筛选参数，格式YYYYMMDD（仅当filter_type=month时使用）\n- page（integer，可选，默认 1）：页码，从1开始（默认1）\n- uid（string，必填，未声明默认值）：用户ID（必填）\n\n使用说明：- 微博列表数据，包含微博内容、图片、视频等信息\n- 如果用户设置了隐私保护，可能无法获取微博列表\n- 每页返回数量约为20条微博\n- 使用时间筛选时必须同时指定filter_type=month和month参数 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_app_fetch_user_timeline","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"filter_type","in":"query","required":false,"description":"筛选类型（默认\"all\"）\n    - all: 全部微博\n    - original: 原创微博\n    - likes: 她/他的赞\n    - video: 视频微博\n    - pic: 图片微博\n    - location: 签到足迹\n    - month: 按时间筛选（需要同时传入month参数）","schema":{"default":"all","description":"筛选类型（默认\"all\"）\n    - all: 全部微博\n    - original: 原创微博\n    - likes: 她/他的赞\n    - video: 视频微博\n    - pic: 图片微博\n    - location: 签到足迹\n    - month: 按时间筛选（需要同时传入month参数）","examples":["all"],"title":"Filter Type","type":"string"}},{"name":"month","in":"query","required":false,"description":"时间筛选参数，格式YYYYMMDD（仅当filter_type=month时使用）","schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"时间筛选参数，格式YYYYMMDD（仅当filter_type=month时使用）","examples":["20251010"],"title":"Month"}},{"name":"page","in":"query","required":false,"description":"页码，从1开始（默认1）","schema":{"default":1,"description":"页码，从1开始（默认1）","examples":[1],"minimum":1,"title":"Page","type":"integer"}},{"name":"uid","in":"query","required":true,"description":"用户ID（必填）","schema":{"description":"用户ID（必填）","examples":["7648703289"],"title":"Uid","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/app/fetch_video_detail":{"get":{"tags":["微博"],"summary":"获取微博视频详情","description":"获取单个视频的详细信息，包括视频播放地址。 **重要**: 从微博视频链接（如 实际分享链接\n\n参数：\n- mid（string，必填，未声明默认值）：视频微博ID或链接中的ID（必填）\n\n使用说明：- 视频详细数据，包含视频播放地址、封面、时长、标题等\n- **items[0].data.idstr**: 真实的视频微博ID，可用于获取评论等操作\n- 返回的视频地址可能有时效性\n- 支持获取高清视频地址\n- **获取评论前必须先调用此接口**: 链接中的ID不能直接用于获取评论，需要先通过此接口获取 items[0].data.idstr 中的真实ID 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_app_fetch_video_detail","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"mid","in":"query","required":true,"description":"视频微博ID或链接中的ID（必填）","schema":{"description":"视频微博ID或链接中的ID（必填）","examples":["5242977759006596"],"title":"Mid","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_advanced_search":{"get":{"tags":["微博"],"summary":"微博高级搜索","description":"微博高级搜索，支持多维度筛选。\n\n参数：\n- include_type（见 Schema，可选，未声明默认值）：包含类型（all/pic/video/music/link）\n- page（integer，可选，默认 1）：页码（默认1）\n- q（string，必填，未声明默认值）：搜索关键词（必填）\n- search_type（见 Schema，可选，未声明默认值）：搜索类型（all/hot/original/verified/media/viewpoint）\n- timescope（见 Schema，可选，未声明默认值）：时间范围（格式: custom:开始日期:结束日期，如 custom:2025-09-01-0:2025-09-08-23）\n\n使用说明：- 搜索结果列表，包含微博内容、作者信息、图片、视频、互动数据等\n- 视频播放需设置请求头 Referer=实际分享链接 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_advanced_search","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"include_type","in":"query","required":false,"description":"包含类型（all/pic/video/music/link）","schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"包含类型（all/pic/video/music/link）","examples":["pic"],"title":"Include Type"}},{"name":"page","in":"query","required":false,"description":"页码（默认1）","schema":{"default":1,"description":"页码（默认1）","examples":[1],"title":"Page","type":"integer"}},{"name":"q","in":"query","required":true,"description":"搜索关键词（必填）","schema":{"description":"搜索关键词（必填）","examples":["yu7"],"title":"Q","type":"string"}},{"name":"search_type","in":"query","required":false,"description":"搜索类型（all/hot/original/verified/media/viewpoint）","schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"搜索类型（all/hot/original/verified/media/viewpoint）","examples":["hot"],"title":"Search Type"}},{"name":"timescope","in":"query","required":false,"description":"时间范围（格式: custom:开始日期:结束日期，如 custom:2025-09-01-0:2025-09-08-23）","schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"时间范围（格式: custom:开始日期:结束日期，如 custom:2025-09-01-0:2025-09-08-23）","examples":["custom:2025-09-01-0:2025-09-08-23"],"title":"Timescope"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_ai_related_search":{"get":{"tags":["微博"],"summary":"微博AI搜索内容扩展","description":"获取与关键词相关的内容扩展（相关问题、博主推荐、参考博文等）。\n\n参数：\n- keyword（string，必填，未声明默认值）：搜索关键词（必填，建议使用话题格式#话题名#）\n\n使用说明：- HTML格式的扩展内容，包含相关问题、博主推荐、参考博文等\n- 返回内容为HTML格式，需要进行HTML解析处理\n- HTML结构可能会发生变化，需要做好容错处理 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_ai_related_search","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"keyword","in":"query","required":true,"description":"搜索关键词（必填，建议使用话题格式#话题名#）","schema":{"description":"搜索关键词（必填，建议使用话题格式#话题名#）","examples":["#微博奇遇记#"],"title":"Keyword","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_ai_search":{"get":{"tags":["微博"],"summary":"微博智能搜索","description":"通过微博AI智能搜索获取搜索结果。\n\n参数：\n- query（string，必填，未声明默认值）：搜索关键词（必填，建议使用话题格式#话题名#）\n\n使用说明：- AI搜索结果，包含推荐内容、相关话题等\n- AI搜索结果会根据用户行为进行个性化调整 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_ai_search","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"query","in":"query","required":true,"description":"搜索关键词（必填，建议使用话题格式#话题名#）","schema":{"description":"搜索关键词（必填，建议使用话题格式#话题名#）","examples":["#法国#"],"title":"Query","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_entertainment_ranking":{"get":{"tags":["微博"],"summary":"获取微博文娱榜单","description":"获取微博文娱榜单数据（娱乐圈、影视、综艺等）。\n\n参数：\n- 无必填参数；可传空对象。\n\n使用说明：- 文娱话题列表，包含话题、热度值、排名、分类等\n- 建议缓存5-10分钟 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_entertainment_ranking","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_hot_ranking_timeline":{"get":{"tags":["微博"],"summary":"获取微博热门榜单时间轴","description":"获取微博平台各种类型的热门榜单内容。\n\n参数：\n- count（integer，可选，默认 10）：获取数量（默认10）\n- max_id（string，可选，默认 \"0\"）：翻页游标，首次请求传\"0\"\n- ranking_type（string，必填，未声明默认值）：榜单类型（必填）\n    - hour: 小时榜\n    - yesterday: 昨日榜\n    - day_before: 前日榜\n    - week: 周榜\n    - male: 男榜\n    - female: 女榜\n- since_id（string，可选，默认 \"0\"）：分页标识，默认为0\n\n使用说明：- 热门微博列表，包含微博内容、作者信息、互动数据等\n- 不同榜单更新频率不同：小时榜实时性最强，周榜影响力较大 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_hot_ranking_timeline","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"获取数量（默认10）","schema":{"default":10,"description":"获取数量（默认10）","examples":[10],"title":"Count","type":"integer"}},{"name":"max_id","in":"query","required":false,"description":"翻页游标，首次请求传\"0\"","schema":{"default":"0","description":"翻页游标，首次请求传\"0\"","examples":["0"],"title":"Max Id","type":"string"}},{"name":"ranking_type","in":"query","required":true,"description":"榜单类型（必填）\n    - hour: 小时榜\n    - yesterday: 昨日榜\n    - day_before: 前日榜\n    - week: 周榜\n    - male: 男榜\n    - female: 女榜","schema":{"description":"榜单类型（必填）\n    - hour: 小时榜\n    - yesterday: 昨日榜\n    - day_before: 前日榜\n    - week: 周榜\n    - male: 男榜\n    - female: 女榜","examples":["hour"],"title":"Ranking Type","type":"string"}},{"name":"since_id","in":"query","required":false,"description":"分页标识，默认为0","schema":{"default":"0","description":"分页标识，默认为0","examples":["0"],"title":"Since Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_hot_search_summary":{"get":{"tags":["微博"],"summary":"获取微博完整热搜榜单","description":"获取微博完整热搜榜单（50条）。\n\n参数：\n- 无必填参数；可传空对象。\n\n使用说明：- 完整热搜列表，包含排名、关键词、标签（热点/沸点/官宣/新）、热度值\n- 与fetch_hot_search_index的区别：本接口返回50条，fetch_hot_search_index返回10条\n- rank为0表示置顶内容\n- 建议缓存5-10分钟 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_hot_search_summary","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_life_ranking":{"get":{"tags":["微博"],"summary":"获取微博生活榜单","description":"获取微博生活榜单数据（美食、旅游、健康、时尚等）。\n\n参数：\n- 无必填参数；可传空对象。\n\n使用说明：- 生活话题列表，包含话题、热度值、排名、分类等\n- 建议缓存5-10分钟 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_life_ranking","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_post_comments":{"get":{"tags":["微博"],"summary":"获取微博评论","description":"获取指定微博的一级评论列表。\n\n参数：\n- count（integer，可选，默认 10）：评论数量（默认10）\n- id（string，必填，未声明默认值）：微博ID（必填）\n- max_id（string，可选，未声明默认值）：翻页游标，首次请求传空，后续请求使用返回的max_id值\n\n使用说明：- 评论列表数据，包含评论内容、评论者信息、点赞数等\n- 包含 max_id 字段用于翻页\n- 当没有更多评论时，max_id 为空 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_post_comments","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"评论数量（默认10）","schema":{"default":10,"description":"评论数量（默认10）","examples":[10],"title":"Count","type":"integer"}},{"name":"id","in":"query","required":true,"description":"微博ID（必填）","schema":{"description":"微博ID（必填）","examples":["5283919831764022"],"title":"Id","type":"string"}},{"name":"max_id","in":"query","required":false,"description":"翻页游标，首次请求传空，后续请求使用返回的max_id值","schema":{"description":"翻页游标，首次请求传空，后续请求使用返回的max_id值","title":"Max Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_post_detail":{"get":{"tags":["微博"],"summary":"获取微博单个作品数据","description":"获取指定微博的详细信息，包括内容、作者、互动数据等。\n\n参数：\n- id（string，必填，未声明默认值）：微博ID（必填）\n- is_get_long_text（string，可选，默认 \"true\"）：是否获取长微博全文（默认\"true\"）\n\n使用说明：- 微博详细数据，包含完整文本、图片、视频、点赞数、评论数、转发数等 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_post_detail","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"id","in":"query","required":true,"description":"微博ID（必填）","schema":{"description":"微博ID（必填）","examples":["5092682368025584"],"title":"Id","type":"string"}},{"name":"is_get_long_text","in":"query","required":false,"description":"是否获取长微博全文（默认\"true\"）","schema":{"default":"true","description":"是否获取长微博全文（默认\"true\"）","examples":["true"],"title":"Is Get Long Text","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_post_sub_comments":{"get":{"tags":["微博"],"summary":"获取微博子评论","description":"获取指定评论的回复（子评论）列表。\n\n参数：\n- count（integer，可选，默认 10）：子评论数量（默认10）\n- id（string，必填，未声明默认值）：主评论ID（必填）\n- max_id（string，可选，未声明默认值）：翻页游标，首次请求传空，后续请求使用返回的max_id值\n\n使用说明：- 子评论列表数据，包含回复内容、回复者信息、点赞数等\n- 包含 max_id 字段用于翻页\n- 与fetch_post_comments的区别：本接口获取的是评论的回复，而非微博的主评论 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_post_sub_comments","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"子评论数量（默认10）","schema":{"default":10,"description":"子评论数量（默认10）","examples":[10],"title":"Count","type":"integer"}},{"name":"id","in":"query","required":true,"description":"主评论ID（必填）","schema":{"description":"主评论ID（必填）","examples":["5283574244704555"],"title":"Id","type":"string"}},{"name":"max_id","in":"query","required":false,"description":"翻页游标，首次请求传空，后续请求使用返回的max_id值","schema":{"description":"翻页游标，首次请求传空，后续请求使用返回的max_id值","title":"Max Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_realtime_search":{"get":{"tags":["微博"],"summary":"搜索微博实时内容","description":"获取微博实时搜索结果（按时间排序的最新微博）。\n\n参数：\n- page（integer，可选，默认 1）：页码（默认1）\n- query（string，必填，未声明默认值）：搜索关键词（必填）\n\n使用说明：- 实时搜索结果列表，包含微博内容、作者信息、图片、视频、互动数据等\n- 视频播放需设置请求头 Referer=实际分享链接\n- 返回结构与高级搜索一致 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_realtime_search","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"page","in":"query","required":false,"description":"页码（默认1）","schema":{"default":1,"description":"页码（默认1）","examples":[1],"title":"Page","type":"integer"}},{"name":"query","in":"query","required":true,"description":"搜索关键词（必填）","schema":{"description":"搜索关键词（必填）","examples":["yu7"],"title":"Query","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_similar_search":{"get":{"tags":["微博"],"summary":"获取微博相似搜索词推荐","description":"根据关键词获取微博推荐的相似搜索词。\n\n参数：\n- keyword（string，必填，未声明默认值）：搜索关键词（必填，支持话题标签格式如#话题名#）\n\n使用说明：- 相似搜索词列表，包含推荐词、搜索次数等\n- 相似词推荐相对稳定，可缓存15-30分钟 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_similar_search","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"keyword","in":"query","required":true,"description":"搜索关键词（必填，支持话题标签格式如#话题名#）","schema":{"description":"搜索关键词（必填，支持话题标签格式如#话题名#）","examples":["#微博奇遇记#"],"title":"Keyword","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_social_ranking":{"get":{"tags":["微博"],"summary":"获取微博社会榜单","description":"获取微博社会榜单数据（时事新闻、社会热点、民生话题等）。\n\n参数：\n- 无必填参数；可传空对象。\n\n使用说明：- 社会话题列表，包含话题、热度值、排名、分类等\n- 社会热点变化较快，建议缓存2-5分钟 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_social_ranking","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_topic_search":{"get":{"tags":["微博"],"summary":"搜索微博话题","description":"搜索微博话题，获取话题名称、封面、讨论量、阅读量。\n\n参数：\n- page（integer，可选，默认 1）：页码（默认1）\n- query（string，必填，未声明默认值）：搜索关键词（必填）\n\n使用说明：- 话题列表，包含话题名、封面图、讨论数、阅读数\n- 数量单位（万/亿）已转换为整数 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_topic_search","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"page","in":"query","required":false,"description":"页码（默认1）","schema":{"default":1,"description":"页码（默认1）","examples":[1],"title":"Page","type":"integer"}},{"name":"query","in":"query","required":true,"description":"搜索关键词（必填）","schema":{"description":"搜索关键词（必填）","examples":["yu7"],"title":"Query","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_user_fans":{"get":{"tags":["微博"],"summary":"获取微博用户粉丝列表","description":"获取指定用户的粉丝列表（谁关注了该用户）。\n\n参数：\n- page（integer，可选，默认 0）：页码，从0开始（默认0）\n- uid（string，必填，未声明默认值）：用户ID（必填）\n\n使用说明：- 粉丝用户列表，包含用户名、头像、简介、粉丝数等\n- 粉丝列表受用户隐私设置影响\n- page参数从0开始，而不是1\n- 与fetch_user_following的区别：本接口获取谁关注了该用户，fetch_user_following获取用户关注了谁 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_user_fans","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"page","in":"query","required":false,"description":"页码，从0开始（默认0）","schema":{"default":0,"description":"页码，从0开始（默认0）","title":"Page","type":"integer"}},{"name":"uid","in":"query","required":true,"description":"用户ID（必填）","schema":{"description":"用户ID（必填）","examples":["1722594714"],"title":"Uid","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_user_following":{"get":{"tags":["微博"],"summary":"获取微博用户关注列表","description":"获取指定用户的关注列表（该用户关注了谁）。\n\n参数：\n- page（integer，可选，默认 0）：页码，从0开始（默认0）\n- uid（string，必填，未声明默认值）：用户ID（必填）\n\n使用说明：- 关注用户列表，包含用户名、头像、简介、粉丝数等\n- 关注列表受用户隐私设置影响\n- page参数从0开始，而不是1\n- 与fetch_user_fans的区别：本接口获取用户关注了谁，fetch_user_fans获取谁关注了该用户 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_user_following","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"page","in":"query","required":false,"description":"页码，从0开始（默认0）","schema":{"default":0,"description":"页码，从0开始（默认0）","title":"Page","type":"integer"}},{"name":"uid","in":"query","required":true,"description":"用户ID（必填）","schema":{"description":"用户ID（必填）","examples":["1722594714"],"title":"Uid","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_user_info":{"get":{"tags":["微博"],"summary":"获取微博用户信息","description":"获取微博用户的详细信息，包括昵称、头像、简介、关注数、粉丝数等。\n\n参数：\n- custom（见 Schema，可选，未声明默认值）：自定义用户名（可选，与uid二选一）\n- uid（见 Schema，可选，未声明默认值）：用户ID（可选，与custom二选一）\n\n使用说明：- 用户详细信息数据\n- uid和custom参数至少需要提供一个\n- 如果同时提供，优先使用uid\n- 建议优先使用uid参数 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_user_info","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"custom","in":"query","required":false,"description":"自定义用户名（可选，与uid二选一）","schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"自定义用户名（可选，与uid二选一）","examples":["shuqi"],"title":"Custom"}},{"name":"uid","in":"query","required":false,"description":"用户ID（可选，与custom二选一）","schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"用户ID（可选，与custom二选一）","examples":["1722594714"],"title":"Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_user_original_posts":{"get":{"tags":["微博"],"summary":"获取微博用户原创微博数据","description":"获取指定用户发布的原创微博列表（排除转发内容）。\n\n参数：\n- page（integer，可选，默认 1）：页码，从1开始（默认1）\n- since_id（string，可选，未声明默认值）：翻页标识（第一页必须从fetch_user_posts接口获取）\n- uid（string，必填，未声明默认值）：用户ID（必填）\n\n使用说明：- 原创微博列表，包含微博内容、图片、视频、互动数据等\n- 与fetch_user_posts的区别：本接口只返回原创微博，排除转发\n- since_id必须先调用fetch_user_posts获取，第一页必传，后续页面不传 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_user_original_posts","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"page","in":"query","required":false,"description":"页码，从1开始（默认1）","schema":{"default":1,"description":"页码，从1开始（默认1）","examples":[1],"title":"Page","type":"integer"}},{"name":"since_id","in":"query","required":false,"description":"翻页标识（第一页必须从fetch_user_posts接口获取）","schema":{"description":"翻页标识（第一页必须从fetch_user_posts接口获取）","title":"Since Id","type":"string"}},{"name":"uid","in":"query","required":true,"description":"用户ID（必填）","schema":{"description":"用户ID（必填）","examples":["7277477906"],"title":"Uid","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_user_posts":{"get":{"tags":["微博"],"summary":"获取微博用户文章数据","description":"获取指定用户发布的微博列表，支持分页和多种数据详细程度。\n\n参数：\n- feature（integer，可选，默认 0）：数据特征值（默认0）\n    - 0: 返回10条基础数据\n    - 1: 返回20条扩展数据\n    - 2: 返回20条图片相关数据\n    - 3: 返回20条完整数据\n- page（integer，可选，默认 1）：页码，从1开始（默认1）\n- since_id（string，可选，未声明默认值）：翻页标识，用于获取下一页数据\n- uid（string，必填，未声明默认值）：用户ID（必填）\n\n使用说明：- 微博列表数据，包含微博内容、图片、视频等信息\n- 包含 since_id 字段用于翻页\n- feature=0性能最佳，feature=3数据最全 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_user_posts","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"feature","in":"query","required":false,"description":"数据特征值（默认0）\n    - 0: 返回10条基础数据\n    - 1: 返回20条扩展数据\n    - 2: 返回20条图片相关数据\n    - 3: 返回20条完整数据","schema":{"default":0,"description":"数据特征值（默认0）\n    - 0: 返回10条基础数据\n    - 1: 返回20条扩展数据\n    - 2: 返回20条图片相关数据\n    - 3: 返回20条完整数据","title":"Feature","type":"integer"}},{"name":"page","in":"query","required":false,"description":"页码，从1开始（默认1）","schema":{"default":1,"description":"页码，从1开始（默认1）","examples":[1],"title":"Page","type":"integer"}},{"name":"since_id","in":"query","required":false,"description":"翻页标识，用于获取下一页数据","schema":{"description":"翻页标识，用于获取下一页数据","title":"Since Id","type":"string"}},{"name":"uid","in":"query","required":true,"description":"用户ID（必填）","schema":{"description":"用户ID（必填）","examples":["7277477906"],"title":"Uid","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_user_search":{"get":{"tags":["微博"],"summary":"搜索微博用户","description":"搜索微博用户，支持多种筛选条件。\n\n参数：\n- age（见 Schema，可选，未声明默认值）：年龄段 18y/22y/29y/39y/40y（可选）\n- auth（见 Schema，可选，未声明默认值）：认证类型 org_vip/per_vip/ord（可选）\n- gender（见 Schema，可选，未声明默认值）：性别 man/women（可选）\n- nickname（见 Schema，可选，未声明默认值）：昵称筛选（可选）\n- page（integer，可选，默认 1）：页码（默认1）\n- query（见 Schema，可选，未声明默认值）：搜索关键词（可选）\n- region（见 Schema，可选，未声明默认值）：地区编码，从/fetch_city_list获取（可选）\n- school（见 Schema，可选，未声明默认值）：学校筛选（可选）\n- tag（见 Schema，可选，未声明默认值）：标签筛选（可选）\n- work（见 Schema，可选，未声明默认值）：公司筛选（可选）\n\n使用说明：- 用户列表，包含uid、昵称、头像、粉丝数、主页链接\n- 筛选参数过多可能导致无结果 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_user_search","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"age","in":"query","required":false,"description":"年龄段 18y/22y/29y/39y/40y（可选）","schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"年龄段 18y/22y/29y/39y/40y（可选）","examples":["22y"],"title":"Age"}},{"name":"auth","in":"query","required":false,"description":"认证类型 org_vip/per_vip/ord（可选）","schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"认证类型 org_vip/per_vip/ord（可选）","examples":["org_vip"],"title":"Auth"}},{"name":"gender","in":"query","required":false,"description":"性别 man/women（可选）","schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"性别 man/women（可选）","examples":["man"],"title":"Gender"}},{"name":"nickname","in":"query","required":false,"description":"昵称筛选（可选）","schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"昵称筛选（可选）","examples":["张三"],"title":"Nickname"}},{"name":"page","in":"query","required":false,"description":"页码（默认1）","schema":{"default":1,"description":"页码（默认1）","examples":[1],"title":"Page","type":"integer"}},{"name":"query","in":"query","required":false,"description":"搜索关键词（可选）","schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"搜索关键词（可选）","examples":["yu7"],"title":"Query"}},{"name":"region","in":"query","required":false,"description":"地区编码，从/fetch_city_list获取（可选）","schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"地区编码，从/fetch_city_list获取（可选）","examples":["custom:11:1"],"title":"Region"}},{"name":"school","in":"query","required":false,"description":"学校筛选（可选）","schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"学校筛选（可选）","examples":["清华大学"],"title":"School"}},{"name":"tag","in":"query","required":false,"description":"标签筛选（可选）","schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"标签筛选（可选）","examples":["摄影"],"title":"Tag"}},{"name":"work","in":"query","required":false,"description":"公司筛选（可选）","schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"公司筛选（可选）","examples":["字节跳动"],"title":"Work"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_user_video_list":{"get":{"tags":["微博"],"summary":"获取微博用户全部视频","description":"获取指定用户发布的所有视频内容（瀑布流展示）。\n\n参数：\n- cursor（string，可选，默认 \"0\"）：翻页游标，初次请求传\"0\"，后续请求使用返回的next_cursor值\n- uid（string，必填，未声明默认值）：用户ID（必填）\n\n使用说明：- 视频列表数据，包含视频标题、封面、播放量等信息\n- 包含 next_cursor 和 has_more 字段用于翻页\n- 与收藏夹接口的区别：本接口获取用户发布的视频，收藏夹接口获取用户收藏的视频 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_user_video_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"cursor","in":"query","required":false,"description":"翻页游标，初次请求传\"0\"，后续请求使用返回的next_cursor值","schema":{"default":"0","description":"翻页游标，初次请求传\"0\"，后续请求使用返回的next_cursor值","examples":["0"],"title":"Cursor","type":"string"}},{"name":"uid","in":"query","required":true,"description":"用户ID（必填）","schema":{"description":"用户ID（必填）","examples":["7277477906"],"title":"Uid","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/fetch_video_search":{"get":{"tags":["微博"],"summary":"搜索微博视频","description":"搜索微博视频内容，支持热门和全部模式。\n\n参数：\n- mode（string，可选，默认 \"hot\"）：搜索模式 hot=热门 / all=全部（默认hot）\n- page（integer，可选，默认 1）：页码（默认1）\n- query（string，必填，未声明默认值）：搜索关键词（必填）\n\n使用说明：- 视频列表，包含微博ID、作者、内容、视频链接、互动数据\n- 播放视频需设置Referer=实际分享链接 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_fetch_video_search","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"mode","in":"query","required":false,"description":"搜索模式 hot=热门 / all=全部（默认hot）","schema":{"default":"hot","description":"搜索模式 hot=热门 / all=全部（默认hot）","examples":["hot"],"title":"Mode","type":"string"}},{"name":"page","in":"query","required":false,"description":"页码（默认1）","schema":{"default":1,"description":"页码（默认1）","examples":[1],"title":"Page","type":"integer"}},{"name":"query","in":"query","required":true,"description":"搜索关键词（必填）","schema":{"description":"搜索关键词（必填）","examples":["yu7"],"title":"Query","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/weibo/web_v2/search_user_posts":{"get":{"tags":["微博"],"summary":"搜索用户微博","description":"在指定用户的微博中搜索包含特定关键词的内容。\n\n参数：\n- endtime（见 Schema，可选，默认 1772294400）：结束时间戳（可选，Unix时间戳格式）\n- hasmusic（integer，可选，默认 1）：是否包含音乐（默认1包含）\n- hasori（integer，可选，默认 1）：是否包含原创（默认1包含）\n- haspic（integer，可选，默认 1）：是否包含图片（默认1包含）\n- hasret（integer，可选，默认 1）：是否包含转发（默认1包含）\n- hastext（integer，可选，默认 1）：是否包含文字（默认1包含）\n- hasvideo（integer，可选，默认 1）：是否包含视频（默认1包含）\n- page（integer，可选，默认 1）：页码，从1开始（默认1）\n- q（string，可选，未声明默认值）：搜索关键词（非必填，空字符串表示搜索全部内容）\n- starttime（见 Schema，可选，默认 1772294400）：开始时间戳（可选，Unix时间戳格式）\n- uid（string，必填，未声明默认值）：用户ID（必填）\n\n使用说明：- 搜索结果列表，包含微博内容、作者信息、互动数据等\n- 搜索结果受用户隐私设置影响\n- 时间戳参数使用Unix时间戳格式 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_weibo_web_v2_search_user_posts","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"endtime","in":"query","required":false,"description":"结束时间戳（可选，Unix时间戳格式）","schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":1772294400,"description":"结束时间戳（可选，Unix时间戳格式）","examples":[1772294400],"title":"Endtime"}},{"name":"hasmusic","in":"query","required":false,"description":"是否包含音乐（默认1包含）","schema":{"default":1,"description":"是否包含音乐（默认1包含）","examples":[1],"title":"Hasmusic","type":"integer"}},{"name":"hasori","in":"query","required":false,"description":"是否包含原创（默认1包含）","schema":{"default":1,"description":"是否包含原创（默认1包含）","examples":[1],"title":"Hasori","type":"integer"}},{"name":"haspic","in":"query","required":false,"description":"是否包含图片（默认1包含）","schema":{"default":1,"description":"是否包含图片（默认1包含）","examples":[1],"title":"Haspic","type":"integer"}},{"name":"hasret","in":"query","required":false,"description":"是否包含转发（默认1包含）","schema":{"default":1,"description":"是否包含转发（默认1包含）","examples":[1],"title":"Hasret","type":"integer"}},{"name":"hastext","in":"query","required":false,"description":"是否包含文字（默认1包含）","schema":{"default":1,"description":"是否包含文字（默认1包含）","examples":[1],"title":"Hastext","type":"integer"}},{"name":"hasvideo","in":"query","required":false,"description":"是否包含视频（默认1包含）","schema":{"default":1,"description":"是否包含视频（默认1包含）","examples":[1],"title":"Hasvideo","type":"integer"}},{"name":"page","in":"query","required":false,"description":"页码，从1开始（默认1）","schema":{"default":1,"description":"页码，从1开始（默认1）","examples":[1],"title":"Page","type":"integer"}},{"name":"q","in":"query","required":false,"description":"搜索关键词（非必填，空字符串表示搜索全部内容）","schema":{"description":"搜索关键词（非必填，空字符串表示搜索全部内容）","title":"Q","type":"string"}},{"name":"starttime","in":"query","required":false,"description":"开始时间戳（可选，Unix时间戳格式）","schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":1772294400,"description":"开始时间戳（可选，Unix时间戳格式）","examples":[1772294400],"title":"Starttime"}},{"name":"uid","in":"query","required":true,"description":"用户ID（必填）","schema":{"description":"用户ID（必填）","examples":["7277477906"],"title":"Uid","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reddit/app/fetch_comment_replies":{"get":{"tags":["Reddit"],"summary":"获取Reddit评论回复","description":"获取Reddit指定评论下的回复（二级评论/子评论） 当评论节点有 more.cursor 字段时，使用此接口获取该评论的子评论\n\n参数：\n- cursor（string，必填，未声明默认值）：评论游标，从评论数据的 more.cursor 字段获取，格式如 \"commenttree:ex:(xxx)\"。必须取自对应帖子的评论返回，不是登录凭据，不能自行生成。 最短长度：13。 最长长度：4096。 格式正则：`^commenttree:`。\n- language（string，可选，默认 \"en-US\"）：响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。\n- need_format（boolean，可选，默认 false）：是否需要清洗数据。\n- post_id（string，必填，未声明默认值）：帖子ID，格式如 \"t3_XXXXXX\" 最短长度：4。 最长长度：20。 格式正则：`^t3_[a-z0-9]{1,17}$`。\n- sort_type（string，可选，默认 \"CONFIDENCE\"）：排序方式，支持CONFIDENCE, NEW, TOP, HOT, CONTROVERSIAL, OLD, RANDOM。Schema 枚举：CONFIDENCE=最佳评论；NEW=最新；TOP=高评分；HOT=热门；CONTROVERSIAL=争议较多；OLD=最早；RANDOM=随机。\n\n使用说明：\n\n### 返回:\n- 指定评论下的回复JSON数据，包含：\n  - 子评论列表\n  - 每个子评论的详细信息（内容、作者、点赞数等）\n  - 分页信息\n### 使用步骤:\n1. 先调用 fetch_post_comments 获取帖子的一级评论\n2. 在返回数据中找到有子评论的节点（childCount > 0）\n3. 获取该节点的 more.cursor 值\n4. 使用该 cursor 调用本接口获取子评论\n### 注意:\n- cursor 值来自评论数据的 more.cursor 字段\n- 路径示例: 业务结果的 postInfoById.commentForest.trees[*].more.cursor\n- cursor 格式类似: \"commenttree:ex:(RjiJd\" 成功时仅返回业务 output；数据结构受 need_format 影响。无结果或业务异常也可能产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_reddit_app_fetch_comment_replies","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"cursor","in":"query","required":true,"description":"评论游标，从评论数据的 more.cursor 字段获取，格式如 \"commenttree:ex:(xxx)\"。必须取自对应帖子的评论返回，不是登录凭据，不能自行生成。 最短长度：13。 最长长度：4096。 格式正则：`^commenttree:`。","schema":{"description":"评论游标，从评论数据的 more.cursor 字段获取，格式如 \"commenttree:ex:(xxx)\"。必须取自对应帖子的评论返回，不是登录凭据，不能自行生成。 最短长度：13。 最长长度：4096。 格式正则：`^commenttree:`。","examples":["commenttree:ex:(RjiJd"],"maxLength":4096,"minLength":13,"pattern":"^commenttree:","title":"Cursor","type":"string"}},{"name":"language","in":"query","required":false,"description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","schema":{"default":"en-US","description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","maxLength":16,"minLength":2,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","title":"Language","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据。","schema":{"default":false,"description":"是否需要清洗数据。","title":"Need Format","type":"boolean"}},{"name":"post_id","in":"query","required":true,"description":"帖子ID，格式如 \"t3_XXXXXX\" 最短长度：4。 最长长度：20。 格式正则：`^t3_[a-z0-9]{1,17}$`。","schema":{"description":"帖子ID，格式如 \"t3_XXXXXX\" 最短长度：4。 最长长度：20。 格式正则：`^t3_[a-z0-9]{1,17}$`。","examples":["t3_1qmup73"],"maxLength":20,"minLength":4,"pattern":"^t3_[a-z0-9]{1,17}$","title":"Post Id","type":"string"}},{"name":"sort_type","in":"query","required":false,"description":"排序方式，支持CONFIDENCE, NEW, TOP, HOT, CONTROVERSIAL, OLD, RANDOM。Schema 枚举：CONFIDENCE=最佳评论；NEW=最新；TOP=高评分；HOT=热门；CONTROVERSIAL=争议较多；OLD=最早；RANDOM=随机。","schema":{"default":"CONFIDENCE","description":"排序方式，支持CONFIDENCE, NEW, TOP, HOT, CONTROVERSIAL, OLD, RANDOM。Schema 枚举：CONFIDENCE=最佳评论；NEW=最新；TOP=高评分；HOT=热门；CONTROVERSIAL=争议较多；OLD=最早；RANDOM=随机。","enum":["CONFIDENCE","NEW","TOP","HOT","CONTROVERSIAL","OLD","RANDOM"],"examples":["CONFIDENCE"],"title":"Sort Type","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reddit/app/fetch_community_highlights":{"get":{"tags":["Reddit"],"summary":"获取Reddit社区精选内容","description":"获取Reddit指定社区的精选亮点内容,包括热门帖子和重要公告\n\n参数：\n- language（string，可选，默认 \"en-US\"）：响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。\n- need_format（boolean，可选，默认 false）：是否需要清洗数据。\n- subreddit_id（string，必填，未声明默认值）：版块ID,格式为\"t5_\"开头,可从fetch_subreddit_info接口获取 最短长度：4。 最长长度：20。 格式正则：`^t5_[a-z0-9]{1,17}$`。\n\n使用说明：\n\n### 返回:\n- 社区亮点JSON数据,包含:\n  - 精选帖子列表\n  - 置顶公告\n  - 社区重要动态\n  - 推荐内容\n### 注意:\n- **APP接口的ID格式与Web接口不同，需要添加类型前缀**\n- 版块ID前缀: t5_ (例如: t5_2qh0u) 成功时仅返回业务 output；数据结构受 need_format 影响。无结果或业务异常也可能产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_reddit_app_fetch_community_highlights","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"language","in":"query","required":false,"description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","schema":{"default":"en-US","description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","maxLength":16,"minLength":2,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","title":"Language","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据。","schema":{"default":false,"description":"是否需要清洗数据。","title":"Need Format","type":"boolean"}},{"name":"subreddit_id","in":"query","required":true,"description":"版块ID,格式为\"t5_\"开头,可从fetch_subreddit_info接口获取 最短长度：4。 最长长度：20。 格式正则：`^t5_[a-z0-9]{1,17}$`。","schema":{"description":"版块ID,格式为\"t5_\"开头,可从fetch_subreddit_info接口获取 最短长度：4。 最长长度：20。 格式正则：`^t5_[a-z0-9]{1,17}$`。","examples":["t5_2qh0u"],"maxLength":20,"minLength":4,"pattern":"^t5_[a-z0-9]{1,17}$","title":"Subreddit Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reddit/app/fetch_dynamic_search":{"get":{"tags":["Reddit"],"summary":"搜索Reddit内容","description":"执行Reddit动态搜索,支持搜索帖子、社区、评论、媒体和用户\n\n参数：\n- after（string，可选，未声明默认值）：分页游标；need_format=true时，将pageInfo.endCursor原样传入以获取下一页。首次请求省略；下一页使用前一次返回的游标原值，保持搜索条件和排序不变；无后续游标时停止，不自行生成或用页码替代。 最长长度：4096。\n- allow_nsfw（string，可选，默认 \"0\"）：是否允许NSFW内容,\"0\"或\"1\"；字符串 \"0\"=不允许，\"1\"=允许，不能传布尔值或数字。\n- language（string，可选，默认 \"en-US\"）：响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。\n- need_format（boolean，可选，默认 false）：默认false；true时将data精简为children和pageInfo，保留结果核心内容及翻页参数。\n- query（string，必填，未声明默认值）：搜索关键词或搜索表达式；帖子搜索默认可匹配标题或正文中的部分关键词，详细语法见下方说明 最短长度：1。 最长长度：512。\n- safe_search（string，可选，默认 \"unset\"）：安全搜索设置,\"unset\"或\"strict\"；unset=未设置，strict=严格安全搜索。\n- search_type（string，可选，默认 \"post\"）：搜索类型,可选值:\n  - post: 搜索帖子(默认)\n  - community: 搜索社区/版块\n  - comment: 搜索评论\n  - media: 搜索媒体(图片/视频/GIF)\n  - people: 搜索用户\n- sort（类型见 Schema，可选，未声明默认值）：排序方式(仅适用于post/comment/media类型),可选值:\n  - RELEVANCE: 相关性\n  - HOT: 热门\n  - TOP: 最受欢迎\n  - NEW: 最新\n  - COMMENTS: 评论数(仅适用于post类型)。Schema 枚举：RELEVANCE=相关性；HOT=热门；TOP=高评分；NEW=最新；COMMENTS=评论数量。\n- time_range（类型见 Schema，可选，未声明默认值）：时间范围(仅适用于post/media类型),可选值:\n  - all: 所有时间\n  - year: 去年\n  - month: 上个月\n  - week: 上周\n  - day: 今天\n  - hour: 过去1小时；all=全部时间，year=过去一年，month=过去一个月，week=过去一周，day=过去一天，hour=过去一小时。\n\n使用说明：\n\n### 返回:\n- need_format=false: 返回原始嵌套搜索结果数据\n- need_format=true: data仅包含:\n  - children: 结果列表，按search_type包含post、comment、community或author等对应内容\n  - pageInfo: 分页信息，保留endCursor、startCursor、hasNextPage和hasPreviousPage等可用字段\n- children为空列表时表示没有结果；hasNextPage为true时，可继续使用endCursor翻页\n- 精简结果保留ID、标题、正文、时间、统计、作者、社区和媒体等核心内容；正文优先保留markdown，移除重复正文表示和重复尺寸头像\n### 注意:\n- community和people类型不支持sort和time_range参数\n- COMMENTS排序方式仅适用于post类型\n- time_range参数仅适用于post和media类型\n- 帖子搜索中，TOP和NEW分别按受欢迎程度和发布时间排序，不保证结果包含query的全部关键词；需要全部匹配时请使用AND\n- time_range限制结果的时间范围，不改变关键词匹配条件\n- need_format=true移除冗余字段、辅助展示信息、用户交互状态和空值，保留false和0等有效值，以及分页中的null结束游标\n- 翻页时保持query、search_type、sort及其他筛选条件与上一页一致\n\n### 精简结果示例:\n\n\n### 帖子搜索语法:\n\n| 语法 | query示例 | 含义 |\n| --- | --- | --- |\n| AND | `rust AND borrow AND checker` | 同时匹配所有指定词 |\n| OR | `rust OR golang` | 匹配任意一个指定词 |\n| NOT | `rust NOT game` | 排除指定词 |\n| 括号 | `rust AND (ownership OR borrowing)` | 明确组合条件 |\n| 引号 | `\"borrow checker\"` | 搜索短语 |\n| title: | `title:\"borrow checker\"` | 在标题中搜索 |\n| selftext: | `selftext:\"borrow checker\"` | 在帖子正文中搜索 |\n| subreddit: | `subreddit:rust` | 限定社区 |\n| author: | `author:reddit` | 限定作者 |\n| flair: | `flair:discussion` | 搜索帖子标签 |\n| site: | `site:github.com` | 限定链接域名 |\n| url: | `url:github.com` | 搜索链接地址 |\n| self: | `self:true` | 限定文字帖；false为非文字帖 |\n\n- AND、OR、NOT必须大写；字段冒号后不要加空格，例如`subreddit:rust`\n- 字段中的多词短语需要引号，例如`title:\"borrow checker\"`\n- 可组合字段，例如`title:\"borrow checker\" subreddit:rust`，再配合`sort=TOP`或`sort=NEW`\n- 使用HTTP客户端的查询参数编码功能传递query，保留空格、引号和括号\n- [Reddit官方搜索语法说明](实际分享链接\n- [Reddit官方排序说明](实际分享链接 成功时仅返回业务 output；数据结构受 need_format 影响。无结果或业务异常也可能产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_reddit_app_fetch_dynamic_search","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"after","in":"query","required":false,"description":"分页游标；need_format=true时，将pageInfo.endCursor原样传入以获取下一页。首次请求省略；下一页使用前一次返回的游标原值，保持搜索条件和排序不变；无后续游标时停止，不自行生成或用页码替代。 最长长度：4096。","schema":{"description":"分页游标；need_format=true时，将pageInfo.endCursor原样传入以获取下一页。首次请求省略；下一页使用前一次返回的游标原值，保持搜索条件和排序不变；无后续游标时停止，不自行生成或用页码替代。 最长长度：4096。","maxLength":4096,"title":"After","type":"string"}},{"name":"allow_nsfw","in":"query","required":false,"description":"是否允许NSFW内容,\"0\"或\"1\"；字符串 \"0\"=不允许，\"1\"=允许，不能传布尔值或数字。","schema":{"default":"0","description":"是否允许NSFW内容,\"0\"或\"1\"；字符串 \"0\"=不允许，\"1\"=允许，不能传布尔值或数字。","enum":["0","1"],"examples":["0"],"title":"Allow Nsfw","type":"string"}},{"name":"language","in":"query","required":false,"description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","schema":{"default":"en-US","description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","maxLength":16,"minLength":2,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","title":"Language","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"默认false；true时将data精简为children和pageInfo，保留结果核心内容及翻页参数。","schema":{"default":false,"description":"默认false；true时将data精简为children和pageInfo，保留结果核心内容及翻页参数。","title":"Need Format","type":"boolean"}},{"name":"query","in":"query","required":true,"description":"搜索关键词或搜索表达式；帖子搜索默认可匹配标题或正文中的部分关键词，详细语法见下方说明 最短长度：1。 最长长度：512。","schema":{"description":"搜索关键词或搜索表达式；帖子搜索默认可匹配标题或正文中的部分关键词，详细语法见下方说明 最短长度：1。 最长长度：512。","examples":["rust borrow checker","rust AND borrow AND checker","title:\"borrow checker\"","rust AND (ownership OR borrowing)","rust NOT game","title:\"borrow checker\" subreddit:rust"],"maxLength":512,"minLength":1,"title":"Query","type":"string"}},{"name":"safe_search","in":"query","required":false,"description":"安全搜索设置,\"unset\"或\"strict\"；unset=未设置，strict=严格安全搜索。","schema":{"default":"unset","description":"安全搜索设置,\"unset\"或\"strict\"；unset=未设置，strict=严格安全搜索。","enum":["unset","strict"],"examples":["unset"],"title":"Safe Search","type":"string"}},{"name":"search_type","in":"query","required":false,"description":"搜索类型,可选值:\n  - post: 搜索帖子(默认)\n  - community: 搜索社区/版块\n  - comment: 搜索评论\n  - media: 搜索媒体(图片/视频/GIF)\n  - people: 搜索用户","schema":{"default":"post","description":"搜索类型,可选值:\n  - post: 搜索帖子(默认)\n  - community: 搜索社区/版块\n  - comment: 搜索评论\n  - media: 搜索媒体(图片/视频/GIF)\n  - people: 搜索用户","enum":["post","community","comment","media","people"],"examples":["post"],"title":"Search Type","type":"string"}},{"name":"sort","in":"query","required":false,"description":"排序方式(仅适用于post/comment/media类型),可选值:\n  - RELEVANCE: 相关性\n  - HOT: 热门\n  - TOP: 最受欢迎\n  - NEW: 最新\n  - COMMENTS: 评论数(仅适用于post类型)。Schema 枚举：RELEVANCE=相关性；HOT=热门；TOP=高评分；NEW=最新；COMMENTS=评论数量。","schema":{"anyOf":[{"enum":["RELEVANCE","HOT","TOP","NEW","COMMENTS"],"type":"string"},{"type":"null"}],"description":"排序方式(仅适用于post/comment/media类型),可选值:\n  - RELEVANCE: 相关性\n  - HOT: 热门\n  - TOP: 最受欢迎\n  - NEW: 最新\n  - COMMENTS: 评论数(仅适用于post类型)。Schema 枚举：RELEVANCE=相关性；HOT=热门；TOP=高评分；NEW=最新；COMMENTS=评论数量。","examples":["RELEVANCE"],"title":"Sort"}},{"name":"time_range","in":"query","required":false,"description":"时间范围(仅适用于post/media类型),可选值:\n  - all: 所有时间\n  - year: 去年\n  - month: 上个月\n  - week: 上周\n  - day: 今天\n  - hour: 过去1小时；all=全部时间，year=过去一年，month=过去一个月，week=过去一周，day=过去一天，hour=过去一小时。","schema":{"anyOf":[{"enum":["all","year","month","week","day","hour"],"type":"string"},{"type":"null"}],"description":"时间范围(仅适用于post/media类型),可选值:\n  - all: 所有时间\n  - year: 去年\n  - month: 上个月\n  - week: 上周\n  - day: 今天\n  - hour: 过去1小时；all=全部时间，year=过去一年，month=过去一个月，week=过去一周，day=过去一天，hour=过去一小时。","examples":["all"],"title":"Time Range"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reddit/app/fetch_games_feed":{"get":{"tags":["Reddit"],"summary":"获取Reddit游戏热门帖子","description":"获取Reddit游戏相关的推荐内容,展示游戏社区的热门帖子\n\n参数：\n- after（string，可选，未声明默认值）：分页参数,获取下一页时使用。首次请求省略；下一页使用前一次返回的游标原值，保持搜索条件和排序不变；无后续游标时停止，不自行生成或用页码替代。 最长长度：4096。\n- language（string，可选，默认 \"en-US\"）：响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。\n- need_format（boolean，可选，默认 false）：是否需要清洗数据。\n- sort（string，可选，默认 \"NEW\"）：排序方式,可选: NEW(最新), HOT(热门), TOP(顶级), RISING(上升中)。Schema 枚举：BEST=最佳推荐；HOT=热门；NEW=最新；TOP=高评分；CONTROVERSIAL=争议较多；RISING=上升中。官方正文仅说明 NEW、HOT、TOP、RISING；Schema 另含 BEST、CONTROVERSIAL，尚未验证这两个值，建议使用正文列明的排序。\n- time（string，可选，默认 \"ALL\"）：时间范围,可选: ALL(全部时间), HOUR(一小时), DAY(一天), WEEK(一周), MONTH(一个月), YEAR(一年)。Schema 枚举：ALL=全部时间；HOUR=过去一小时；DAY=过去一天；WEEK=过去一周；MONTH=过去一个月；YEAR=过去一年。\n\n使用说明：\n\n### 返回:\n- 游戏推荐内容JSON数据,包含:\n  - 游戏相关帖子列表\n  - 游戏社区讨论\n  - 游戏新闻和更新 成功时仅返回业务 output；数据结构受 need_format 影响。无结果或业务异常也可能产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_reddit_app_fetch_games_feed","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"after","in":"query","required":false,"description":"分页参数,获取下一页时使用。首次请求省略；下一页使用前一次返回的游标原值，保持搜索条件和排序不变；无后续游标时停止，不自行生成或用页码替代。 最长长度：4096。","schema":{"description":"分页参数,获取下一页时使用。首次请求省略；下一页使用前一次返回的游标原值，保持搜索条件和排序不变；无后续游标时停止，不自行生成或用页码替代。 最长长度：4096。","maxLength":4096,"title":"After","type":"string"}},{"name":"language","in":"query","required":false,"description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","schema":{"default":"en-US","description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","maxLength":16,"minLength":2,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","title":"Language","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据。","schema":{"default":false,"description":"是否需要清洗数据。","title":"Need Format","type":"boolean"}},{"name":"sort","in":"query","required":false,"description":"排序方式,可选: NEW(最新), HOT(热门), TOP(顶级), RISING(上升中)。Schema 枚举：BEST=最佳推荐；HOT=热门；NEW=最新；TOP=高评分；CONTROVERSIAL=争议较多；RISING=上升中。官方正文仅说明 NEW、HOT、TOP、RISING；Schema 另含 BEST、CONTROVERSIAL，尚未验证这两个值，建议使用正文列明的排序。","schema":{"default":"NEW","description":"排序方式,可选: NEW(最新), HOT(热门), TOP(顶级), RISING(上升中)。Schema 枚举：BEST=最佳推荐；HOT=热门；NEW=最新；TOP=高评分；CONTROVERSIAL=争议较多；RISING=上升中。官方正文仅说明 NEW、HOT、TOP、RISING；Schema 另含 BEST、CONTROVERSIAL，尚未验证这两个值，建议使用正文列明的排序。","enum":["BEST","HOT","NEW","TOP","CONTROVERSIAL","RISING"],"examples":["HOT"],"title":"Sort","type":"string"}},{"name":"time","in":"query","required":false,"description":"时间范围,可选: ALL(全部时间), HOUR(一小时), DAY(一天), WEEK(一周), MONTH(一个月), YEAR(一年)。Schema 枚举：ALL=全部时间；HOUR=过去一小时；DAY=过去一天；WEEK=过去一周；MONTH=过去一个月；YEAR=过去一年。","schema":{"default":"ALL","description":"时间范围,可选: ALL(全部时间), HOUR(一小时), DAY(一天), WEEK(一周), MONTH(一个月), YEAR(一年)。Schema 枚举：ALL=全部时间；HOUR=过去一小时；DAY=过去一天；WEEK=过去一周；MONTH=过去一个月；YEAR=过去一年。","enum":["ALL","HOUR","DAY","WEEK","MONTH","YEAR"],"examples":["WEEK"],"title":"Time","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reddit/app/fetch_news_feed":{"post":{"tags":["Reddit"],"summary":"获取Reddit新闻帖子","description":"获取Reddit新闻资讯推荐内容,展示最新的新闻和时事讨论\n\n参数：\n- after（string，可选，未声明默认值）：分页参数,获取下一页时使用。首次请求省略；下一页使用前一次返回的游标原值，保持搜索条件和排序不变；无后续游标时停止，不自行生成或用页码替代。 最长长度：4096。\n- language（string，可选，默认 \"en-US\"）：响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。\n- need_format（boolean，可选，默认 false）：是否需要清洗数据。\n- subtopic_ids（array，可选，默认 [\"all\"]）：子话题ID列表,默认[\"all\"]表示所有新闻类别 最多元素数：50。\n\n使用说明：\n\n### 返回:\n- 新闻推荐内容JSON数据,包含:\n  - 新闻帖子列表\n  - 时事讨论\n  - 热点话题\n  - 新闻来源和链接 成功时仅返回业务 output；数据结构受 need_format 影响。无结果或业务异常也可能产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_reddit_app_fetch_news_feed","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":true,"description":"获取Reddit新闻资讯推荐内容,展示最新的新闻和时事讨论","examples":[{}],"properties":{"after":{"description":"分页参数,获取下一页时使用。首次请求省略；下一页使用前一次返回的游标原值，保持搜索条件和排序不变；无后续游标时停止，不自行生成或用页码替代。 最长长度：4096。","maxLength":4096,"title":"After","type":"string"},"language":{"default":"en-US","description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","maxLength":16,"minLength":2,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","title":"Language","type":"string"},"need_format":{"default":false,"description":"是否需要清洗数据。","title":"Need Format","type":"boolean"},"subtopic_ids":{"default":["all"],"description":"子话题ID列表,默认[\"all\"]表示所有新闻类别 最多元素数：50。","examples":["all"],"items":{"maxLength":64,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$","type":"string"},"maxItems":50,"title":"Subtopic Ids","type":"array"}},"type":"object"}}}}}},"/api/v1/reddit/app/fetch_popular_feed":{"post":{"tags":["Reddit"],"summary":"获取Reddit热门帖子","description":"获取Reddit流行/热门推荐内容,展示全站最受欢迎的帖子\n\n参数：\n- after（string，可选，未声明默认值）：分页参数,获取下一页时使用。首次请求省略；下一页使用前一次返回的游标原值，保持搜索条件和排序不变；无后续游标时停止，不自行生成或用页码替代。 最长长度：4096。\n- filter_posts（array，可选，默认 []）：过滤掉指定的帖子ID列表,用于避免重复获取 最多元素数：100。\n- language（string，可选，默认 \"en-US\"）：响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。\n- need_format（boolean，可选，默认 false）：是否需要清洗数据。\n- sort（string，可选，默认 \"BEST\"）：排序方式,可选: BEST(最佳), HOT(热门), NEW(最新), TOP(顶级), CONTROVERSIAL(有争议), RISING(上升中)。Schema 枚举：BEST=最佳推荐；HOT=热门；NEW=最新；TOP=高评分；CONTROVERSIAL=争议较多；RISING=上升中。\n- time（string，可选，默认 \"ALL\"）：时间范围,可选: ALL(全部时间), HOUR(一小时), DAY(一天), WEEK(一周), MONTH(一个月), YEAR(一年)。Schema 枚举：ALL=全部时间；HOUR=过去一小时；DAY=过去一天；WEEK=过去一周；MONTH=过去一个月；YEAR=过去一年。\n\n使用说明：\n\n### 返回:\n- 流行推荐内容JSON数据,包含:\n  - 热门帖子列表\n  - 帖子详细信息(标题、内容、点赞数、评论数等)\n  - 分页信息(after参数用于下一页) 成功时仅返回业务 output；数据结构受 need_format 影响。无结果或业务异常也可能产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_reddit_app_fetch_popular_feed","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":true,"description":"获取Reddit流行/热门推荐内容,展示全站最受欢迎的帖子","examples":[{}],"properties":{"after":{"description":"分页参数,获取下一页时使用。首次请求省略；下一页使用前一次返回的游标原值，保持搜索条件和排序不变；无后续游标时停止，不自行生成或用页码替代。 最长长度：4096。","maxLength":4096,"title":"After","type":"string"},"filter_posts":{"default":[],"description":"过滤掉指定的帖子ID列表,用于避免重复获取 最多元素数：100。","items":{"maxLength":20,"minLength":4,"pattern":"^t3_[a-z0-9]+$","type":"string"},"maxItems":100,"title":"Filter Posts","type":"array"},"language":{"default":"en-US","description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","maxLength":16,"minLength":2,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","title":"Language","type":"string"},"need_format":{"default":false,"description":"是否需要清洗数据。","title":"Need Format","type":"boolean"},"sort":{"default":"BEST","description":"排序方式,可选: BEST(最佳), HOT(热门), NEW(最新), TOP(顶级), CONTROVERSIAL(有争议), RISING(上升中)。Schema 枚举：BEST=最佳推荐；HOT=热门；NEW=最新；TOP=高评分；CONTROVERSIAL=争议较多；RISING=上升中。","enum":["BEST","HOT","NEW","TOP","CONTROVERSIAL","RISING"],"examples":["HOT"],"title":"Sort","type":"string"},"time":{"default":"ALL","description":"时间范围,可选: ALL(全部时间), HOUR(一小时), DAY(一天), WEEK(一周), MONTH(一个月), YEAR(一年)。Schema 枚举：ALL=全部时间；HOUR=过去一小时；DAY=过去一天；WEEK=过去一周；MONTH=过去一个月；YEAR=过去一年。","enum":["ALL","HOUR","DAY","WEEK","MONTH","YEAR"],"examples":["DAY"],"title":"Time","type":"string"}},"type":"object"}}}}}},"/api/v1/reddit/app/fetch_post_comments":{"get":{"tags":["Reddit"],"summary":"获取Reddit帖子评论","description":"获取Reddit指定帖子下的评论\n\n参数：\n- after（string，可选，未声明默认值）：分页参数，获取下一页时使用，在commentForest里的最后一个评论节点中可以找到，例如业务结果的 postInfoById.commentForest.trees[-1].more.cursor。首次请求省略；下一页使用前一次返回的游标原值，保持搜索条件和排序不变；无后续游标时停止，不自行生成或用页码替代。 最长长度：4096。\n- language（string，可选，默认 \"en-US\"）：响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。\n- need_format（boolean，可选，默认 false）：是否需要清洗数据。\n- post_id（string，必填，未声明默认值）：帖子ID，格式如 \"t3_XXXXXX\" 最短长度：4。 最长长度：20。 格式正则：`^t3_[a-z0-9]{1,17}$`。\n- sort_type（string，可选，默认 \"CONFIDENCE\"）：排序方式，支持CONFIDENCE, NEW, TOP, HOT, CONTROVERSIAL, OLD, RANDOM。Schema 枚举：CONFIDENCE=最佳评论；NEW=最新；TOP=高评分；HOT=热门；CONTROVERSIAL=争议较多；OLD=最早；RANDOM=随机。\n\n使用说明：\n\n### 返回:\n- 指定帖子下的评论JSON数据\n### 注意:\n- **APP接口的ID格式与Web接口不同，需要添加类型前缀**\n- 帖子ID前缀: t3_ (例如: t3_1ojnvca) 成功时仅返回业务 output；数据结构受 need_format 影响。无结果或业务异常也可能产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_reddit_app_fetch_post_comments","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"after","in":"query","required":false,"description":"分页参数，获取下一页时使用，在commentForest里的最后一个评论节点中可以找到，例如业务结果的 postInfoById.commentForest.trees[-1].more.cursor。首次请求省略；下一页使用前一次返回的游标原值，保持搜索条件和排序不变；无后续游标时停止，不自行生成或用页码替代。 最长长度：4096。","schema":{"description":"分页参数，获取下一页时使用，在commentForest里的最后一个评论节点中可以找到，例如业务结果的 postInfoById.commentForest.trees[-1].more.cursor。首次请求省略；下一页使用前一次返回的游标原值，保持搜索条件和排序不变；无后续游标时停止，不自行生成或用页码替代。 最长长度：4096。","maxLength":4096,"title":"After","type":"string"}},{"name":"language","in":"query","required":false,"description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","schema":{"default":"en-US","description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","maxLength":16,"minLength":2,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","title":"Language","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据。","schema":{"default":false,"description":"是否需要清洗数据。","title":"Need Format","type":"boolean"}},{"name":"post_id","in":"query","required":true,"description":"帖子ID，格式如 \"t3_XXXXXX\" 最短长度：4。 最长长度：20。 格式正则：`^t3_[a-z0-9]{1,17}$`。","schema":{"description":"帖子ID，格式如 \"t3_XXXXXX\" 最短长度：4。 最长长度：20。 格式正则：`^t3_[a-z0-9]{1,17}$`。","examples":["t3_1ojnvca"],"maxLength":20,"minLength":4,"pattern":"^t3_[a-z0-9]{1,17}$","title":"Post Id","type":"string"}},{"name":"sort_type","in":"query","required":false,"description":"排序方式，支持CONFIDENCE, NEW, TOP, HOT, CONTROVERSIAL, OLD, RANDOM。Schema 枚举：CONFIDENCE=最佳评论；NEW=最新；TOP=高评分；HOT=热门；CONTROVERSIAL=争议较多；OLD=最早；RANDOM=随机。","schema":{"default":"CONFIDENCE","description":"排序方式，支持CONFIDENCE, NEW, TOP, HOT, CONTROVERSIAL, OLD, RANDOM。Schema 枚举：CONFIDENCE=最佳评论；NEW=最新；TOP=高评分；HOT=热门；CONTROVERSIAL=争议较多；OLD=最早；RANDOM=随机。","enum":["CONFIDENCE","NEW","TOP","HOT","CONTROVERSIAL","OLD","RANDOM"],"examples":["CONFIDENCE"],"title":"Sort Type","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reddit/app/fetch_post_details":{"get":{"tags":["Reddit"],"summary":"获取Reddit帖子详情","description":"根据帖子ID获取单个帖子详情 可选择性包含特定评论的上下文\n\n参数：\n- comment_id（string，可选，未声明默认值）：评论ID（当include_comment_id为True时使用），格式如 \"t1_XXXXXX\" 最长长度：20。 格式正则：`^(?:|t1_[a-z0-9]{1,17})$`。\n- include_comment_id（boolean，可选，默认 false）：是否包含特定评论ID，默认False\n- language（string，可选，默认 \"en-US\"）：响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。\n- need_format（boolean，可选，默认 false）：是否需要清洗数据。\n- post_id（string，必填，未声明默认值）：帖子ID，格式如 \"t3_XXXXXX\" 最短长度：4。 最长长度：20。 格式正则：`^t3_[a-z0-9]{1,17}$`。\n\n使用说明：\n\n## 返回:\n- 包含帖子详细信息的数据，包括:\n  - 帖子内容、标题、作者\n  - 统计数据（点赞数、评论数等）\n  - 版块信息\n  - 奖励信息\n  - 媒体资源\n  - 推荐原因等\n\n## 注意:\n- **APP接口的ID格式与Web接口不同，需要添加类型前缀**\n- 帖子ID前缀: t3_ (例如: t3_1ojnh50)\n- 评论ID前缀: t1_ (例如: t1_abcd123)\n\n--- 成功时仅返回业务 output；数据结构受 need_format 影响。无结果或业务异常也可能产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_reddit_app_fetch_post_details","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"comment_id","in":"query","required":false,"description":"评论ID（当include_comment_id为True时使用），格式如 \"t1_XXXXXX\" 最长长度：20。 格式正则：`^(?:|t1_[a-z0-9]{1,17})$`。","schema":{"description":"评论ID（当include_comment_id为True时使用），格式如 \"t1_XXXXXX\" 最长长度：20。 格式正则：`^(?:|t1_[a-z0-9]{1,17})$`。","maxLength":20,"pattern":"^(?:|t1_[a-z0-9]{1,17})$","title":"Comment Id","type":"string"}},{"name":"include_comment_id","in":"query","required":false,"description":"是否包含特定评论ID，默认False","schema":{"default":false,"description":"是否包含特定评论ID，默认False","title":"Include Comment Id","type":"boolean"}},{"name":"language","in":"query","required":false,"description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","schema":{"default":"en-US","description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","maxLength":16,"minLength":2,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","title":"Language","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据。","schema":{"default":false,"description":"是否需要清洗数据。","title":"Need Format","type":"boolean"}},{"name":"post_id","in":"query","required":true,"description":"帖子ID，格式如 \"t3_XXXXXX\" 最短长度：4。 最长长度：20。 格式正则：`^t3_[a-z0-9]{1,17}$`。","schema":{"description":"帖子ID，格式如 \"t3_XXXXXX\" 最短长度：4。 最长长度：20。 格式正则：`^t3_[a-z0-9]{1,17}$`。","examples":["t3_1ojnh50"],"maxLength":20,"minLength":4,"pattern":"^t3_[a-z0-9]{1,17}$","title":"Post Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reddit/app/fetch_post_details_batch":{"get":{"tags":["Reddit"],"summary":"批量获取Reddit帖子详情","description":"根据帖子ID列表批量获取帖子详情 支持最多5条帖子的批量查询 可选择性包含特定评论的上下文\n\n参数：\n- comment_id（string，可选，未声明默认值）：评论ID（当include_comment_id为True时使用），格式如 \"t1_XXXXXX\" 最长长度：20。 格式正则：`^(?:|t1_[a-z0-9]{1,17})$`。\n- include_comment_id（boolean，可选，默认 false）：是否包含特定评论ID，默认False\n- language（string，可选，默认 \"en-US\"）：响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。\n- need_format（boolean，可选，默认 false）：是否需要清洗数据。\n- post_ids（string，必填，未声明默认值）：帖子ID列表，逗号分隔，格式如 \"t3_XXXXXX,t3_YYYYYY\"，最多支持5条 最短长度：4。 最长长度：104。 格式正则：`^t3_[a-z0-9]{1,17}(?:\\s*,\\s*t3_[a-z0-9]{1,17})*$`。\n\n使用说明：\n\n## 返回:\n- 包含帖子详细信息的数据，包括:\n  - 帖子内容、标题、作者\n  - 统计数据（点赞数、评论数等）\n  - 版块信息\n  - 奖励信息\n  - 媒体资源\n  - 推荐原因等\n\n## 注意:\n- 最多支持5条帖子的批量查询\n- 超过5条将返回错误\n- **APP接口的ID格式与Web接口不同，需要添加类型前缀**\n- 帖子ID前缀: t3_ (例如: t3_1ojnh50)\n- 评论ID前缀: t1_ (例如: t1_abcd123)\n\n--- 成功时仅返回业务 output；数据结构受 need_format 影响。无结果或业务异常也可能产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_reddit_app_fetch_post_details_batch","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"comment_id","in":"query","required":false,"description":"评论ID（当include_comment_id为True时使用），格式如 \"t1_XXXXXX\" 最长长度：20。 格式正则：`^(?:|t1_[a-z0-9]{1,17})$`。","schema":{"description":"评论ID（当include_comment_id为True时使用），格式如 \"t1_XXXXXX\" 最长长度：20。 格式正则：`^(?:|t1_[a-z0-9]{1,17})$`。","maxLength":20,"pattern":"^(?:|t1_[a-z0-9]{1,17})$","title":"Comment Id","type":"string"}},{"name":"include_comment_id","in":"query","required":false,"description":"是否包含特定评论ID，默认False","schema":{"default":false,"description":"是否包含特定评论ID，默认False","title":"Include Comment Id","type":"boolean"}},{"name":"language","in":"query","required":false,"description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","schema":{"default":"en-US","description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","maxLength":16,"minLength":2,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","title":"Language","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据。","schema":{"default":false,"description":"是否需要清洗数据。","title":"Need Format","type":"boolean"}},{"name":"post_ids","in":"query","required":true,"description":"帖子ID列表，逗号分隔，格式如 \"t3_XXXXXX,t3_YYYYYY\"，最多支持5条 最短长度：4。 最长长度：104。 格式正则：`^t3_[a-z0-9]{1,17}(?:\\s*,\\s*t3_[a-z0-9]{1,17})*$`。","schema":{"description":"帖子ID列表，逗号分隔，格式如 \"t3_XXXXXX,t3_YYYYYY\"，最多支持5条 最短长度：4。 最长长度：104。 格式正则：`^t3_[a-z0-9]{1,17}(?:\\s*,\\s*t3_[a-z0-9]{1,17})*$`。","examples":["t3_1ojnh50,t3_1ok432f,t3_1nwil8j"],"maxLength":104,"minLength":4,"pattern":"^t3_[a-z0-9]{1,17}(?:\\s*,\\s*t3_[a-z0-9]{1,17})*$","title":"Post Ids","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reddit/app/fetch_post_details_batch_large":{"get":{"tags":["Reddit"],"summary":"大批量获取Reddit帖子详情","description":"根据帖子ID列表大批量获取帖子详情 支持最多30条帖子的批量查询 可选择性包含特定评论的上下文\n\n参数：\n- comment_id（string，可选，未声明默认值）：评论ID（当include_comment_id为True时使用），格式如 \"t1_XXXXXX\" 最长长度：20。 格式正则：`^(?:|t1_[a-z0-9]{1,17})$`。\n- include_comment_id（boolean，可选，默认 false）：是否包含特定评论ID，默认False\n- language（string，可选，默认 \"en-US\"）：响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。\n- need_format（boolean，可选，默认 false）：是否需要清洗数据。\n- post_ids（string，必填，未声明默认值）：帖子ID列表，逗号分隔，格式如 \"t3_XXXXXX,t3_YYYYYY,...\"，最多支持30条 最短长度：4。 最长长度：629。 格式正则：`^t3_[a-z0-9]{1,17}(?:\\s*,\\s*t3_[a-z0-9]{1,17})*$`。\n\n使用说明：\n\n## 返回:\n- 包含帖子详细信息的数据，包括:\n  - 帖子内容、标题、作者\n  - 统计数据（点赞数、评论数等）\n  - 版块信息\n  - 奖励信息\n  - 媒体资源\n  - 推荐原因等\n\n## 注意:\n- 最多支持30条帖子的批量查询\n- 超过30条将返回错误\n- 大批量查询可能需要较长的响应时间\n- **APP接口的ID格式与Web接口不同，需要添加类型前缀**\n- 帖子ID前缀: t3_ (例如: t3_1ojnh50)\n- 评论ID前缀: t1_ (例如: t1_abcd123)\n\n--- 成功时仅返回业务 output；数据结构受 need_format 影响。无结果或业务异常也可能产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_reddit_app_fetch_post_details_batch_large","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"comment_id","in":"query","required":false,"description":"评论ID（当include_comment_id为True时使用），格式如 \"t1_XXXXXX\" 最长长度：20。 格式正则：`^(?:|t1_[a-z0-9]{1,17})$`。","schema":{"description":"评论ID（当include_comment_id为True时使用），格式如 \"t1_XXXXXX\" 最长长度：20。 格式正则：`^(?:|t1_[a-z0-9]{1,17})$`。","maxLength":20,"pattern":"^(?:|t1_[a-z0-9]{1,17})$","title":"Comment Id","type":"string"}},{"name":"include_comment_id","in":"query","required":false,"description":"是否包含特定评论ID，默认False","schema":{"default":false,"description":"是否包含特定评论ID，默认False","title":"Include Comment Id","type":"boolean"}},{"name":"language","in":"query","required":false,"description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","schema":{"default":"en-US","description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","maxLength":16,"minLength":2,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","title":"Language","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据。","schema":{"default":false,"description":"是否需要清洗数据。","title":"Need Format","type":"boolean"}},{"name":"post_ids","in":"query","required":true,"description":"帖子ID列表，逗号分隔，格式如 \"t3_XXXXXX,t3_YYYYYY,...\"，最多支持30条 最短长度：4。 最长长度：629。 格式正则：`^t3_[a-z0-9]{1,17}(?:\\s*,\\s*t3_[a-z0-9]{1,17})*$`。","schema":{"description":"帖子ID列表，逗号分隔，格式如 \"t3_XXXXXX,t3_YYYYYY,...\"，最多支持30条 最短长度：4。 最长长度：629。 格式正则：`^t3_[a-z0-9]{1,17}(?:\\s*,\\s*t3_[a-z0-9]{1,17})*$`。","examples":["t3_1ojnh50,t3_1ok432f,t3_1nwil8j,t3_1oj6vn6,t3_1nuenmd"],"maxLength":629,"minLength":4,"pattern":"^t3_[a-z0-9]{1,17}(?:\\s*,\\s*t3_[a-z0-9]{1,17})*$","title":"Post Ids","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reddit/app/fetch_search_typeahead":{"get":{"tags":["Reddit"],"summary":"获取Reddit搜索建议","description":"获取Reddit搜索框的自动补全建议,包括推荐的版块、用户和搜索词\n\n参数：\n- allow_nsfw（string，可选，默认 \"0\"）：是否允许显示NSFW(成人)内容,\"0\"表示不允许,\"1\"表示允许；字符串 \"0\"=不允许，\"1\"=允许，不能传布尔值或数字。\n- language（string，可选，默认 \"en-US\"）：响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。\n- need_format（boolean，可选，默认 false）：是否需要清洗数据。\n- query（string，必填，未声明默认值）：搜索关键词,输入的搜索文本 最长长度：512。\n- safe_search（string，可选，默认 \"unset\"）：安全搜索设置,可选值为\"unset\"(未设置)或\"strict\"(严格模式)；unset=未设置，strict=严格安全搜索。\n\n使用说明：\n\n### 返回:\n- 搜索建议JSON数据,包含以下类型的建议:\n  - 相关版块(subreddits)\n  - 相关用户(users)\n  - 搜索词建议(search suggestions)\n  - 热门话题(trending topics) 成功时仅返回业务 output；数据结构受 need_format 影响。无结果或业务异常也可能产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_reddit_app_fetch_search_typeahead","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"allow_nsfw","in":"query","required":false,"description":"是否允许显示NSFW(成人)内容,\"0\"表示不允许,\"1\"表示允许；字符串 \"0\"=不允许，\"1\"=允许，不能传布尔值或数字。","schema":{"default":"0","description":"是否允许显示NSFW(成人)内容,\"0\"表示不允许,\"1\"表示允许；字符串 \"0\"=不允许，\"1\"=允许，不能传布尔值或数字。","enum":["0","1"],"examples":["0"],"title":"Allow Nsfw","type":"string"}},{"name":"language","in":"query","required":false,"description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","schema":{"default":"en-US","description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","maxLength":16,"minLength":2,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","title":"Language","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据。","schema":{"default":false,"description":"是否需要清洗数据。","title":"Need Format","type":"boolean"}},{"name":"query","in":"query","required":true,"description":"搜索关键词,输入的搜索文本 最长长度：512。","schema":{"description":"搜索关键词,输入的搜索文本 最长长度：512。","examples":["programming"],"maxLength":512,"title":"Query","type":"string"}},{"name":"safe_search","in":"query","required":false,"description":"安全搜索设置,可选值为\"unset\"(未设置)或\"strict\"(严格模式)；unset=未设置，strict=严格安全搜索。","schema":{"default":"unset","description":"安全搜索设置,可选值为\"unset\"(未设置)或\"strict\"(严格模式)；unset=未设置，strict=严格安全搜索。","enum":["unset","strict"],"examples":["unset"],"title":"Safe Search","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reddit/app/fetch_subreddit_feed":{"post":{"tags":["Reddit"],"summary":"获取Reddit社区帖子","description":"获取指定Reddit版块的Feed内容流,展示该版块的帖子列表\n\n参数：\n- after（string，可选，未声明默认值）：分页参数,获取下一页时使用。首次请求省略；下一页使用前一次返回的游标原值，保持搜索条件和排序不变；无后续游标时停止，不自行生成或用页码替代。 最长长度：4096。\n- filter_posts（array，可选，默认 []）：过滤掉指定的帖子ID列表 最多元素数：100。\n- language（string，可选，默认 \"en-US\"）：响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。\n- need_format（boolean，可选，默认 false）：是否需要清洗数据。\n- sort（string，可选，默认 \"BEST\"）：排序方式,可选: BEST(最佳), HOT(热门), NEW(最新), TOP(顶级), CONTROVERSIAL(有争议), RISING(上升中)。Schema 枚举：BEST=最佳推荐；HOT=热门；NEW=最新；TOP=高评分；CONTROVERSIAL=争议较多；RISING=上升中。\n- subreddit_name（string，必填，未声明默认值）：版块名称(不带r/前缀),如\"pics\", \"funny\"等 最短长度：2。 最长长度：21。 格式正则：`^[A-Za-z0-9_]+$`。\n\n使用说明：\n\n### 返回:\n- 版块Feed JSON数据,包含:\n  - 该版块的帖子列表\n  - 帖子详细信息\n  - 版块元数据\n  - 分页信息 成功时仅返回业务 output；数据结构受 need_format 影响。无结果或业务异常也可能产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_reddit_app_fetch_subreddit_feed","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":true,"description":"获取指定Reddit版块的Feed内容流,展示该版块的帖子列表","examples":[{"subreddit_name":"AskReddit"}],"properties":{"after":{"description":"分页参数,获取下一页时使用。首次请求省略；下一页使用前一次返回的游标原值，保持搜索条件和排序不变；无后续游标时停止，不自行生成或用页码替代。 最长长度：4096。","maxLength":4096,"title":"After","type":"string"},"filter_posts":{"default":[],"description":"过滤掉指定的帖子ID列表 最多元素数：100。","items":{"maxLength":20,"minLength":4,"pattern":"^t3_[a-z0-9]+$","type":"string"},"maxItems":100,"title":"Filter Posts","type":"array"},"language":{"default":"en-US","description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","maxLength":16,"minLength":2,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","title":"Language","type":"string"},"need_format":{"default":false,"description":"是否需要清洗数据。","title":"Need Format","type":"boolean"},"sort":{"default":"BEST","description":"排序方式,可选: BEST(最佳), HOT(热门), NEW(最新), TOP(顶级), CONTROVERSIAL(有争议), RISING(上升中)。Schema 枚举：BEST=最佳推荐；HOT=热门；NEW=最新；TOP=高评分；CONTROVERSIAL=争议较多；RISING=上升中。","enum":["BEST","HOT","NEW","TOP","CONTROVERSIAL","RISING"],"examples":["HOT"],"title":"Sort","type":"string"},"subreddit_name":{"description":"版块名称(不带r/前缀),如\"pics\", \"funny\"等 最短长度：2。 最长长度：21。 格式正则：`^[A-Za-z0-9_]+$`。","examples":["AskReddit"],"maxLength":21,"minLength":2,"pattern":"^[A-Za-z0-9_]+$","title":"Subreddit Name","type":"string"}},"required":["subreddit_name"],"type":"object"}}}}}},"/api/v1/reddit/app/fetch_subreddit_info":{"get":{"tags":["Reddit"],"summary":"获取Reddit社区详情","description":"获取Reddit指定版块的详细信息,包括版块描述、成员数量、创建时间、规则等元数据\n\n参数：\n- language（string，可选，默认 \"en-US\"）：响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。\n- need_format（boolean，可选，默认 false）：是否需要清洗数据。\n- subreddit_name（string，可选，默认 \"pics\"）：版块名称(不带r/前缀),例如\"pics\", \"funny\", \"AskReddit\"等 最短长度：2。 最长长度：21。 格式正则：`^[A-Za-z0-9_]+$`。\n\n使用说明：\n\n### 返回:\n- 指定版块的详细信息JSON数据 成功时仅返回业务 output；数据结构受 need_format 影响。无结果或业务异常也可能产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_reddit_app_fetch_subreddit_info","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"language","in":"query","required":false,"description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","schema":{"default":"en-US","description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","maxLength":16,"minLength":2,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","title":"Language","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据。","schema":{"default":false,"description":"是否需要清洗数据。","title":"Need Format","type":"boolean"}},{"name":"subreddit_name","in":"query","required":false,"description":"版块名称(不带r/前缀),例如\"pics\", \"funny\", \"AskReddit\"等 最短长度：2。 最长长度：21。 格式正则：`^[A-Za-z0-9_]+$`。","schema":{"default":"pics","description":"版块名称(不带r/前缀),例如\"pics\", \"funny\", \"AskReddit\"等 最短长度：2。 最长长度：21。 格式正则：`^[A-Za-z0-9_]+$`。","examples":["pics"],"maxLength":21,"minLength":2,"pattern":"^[A-Za-z0-9_]+$","title":"Subreddit Name","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reddit/app/fetch_subreddit_settings":{"get":{"tags":["Reddit"],"summary":"获取Reddit社区公开配置","description":"获取Reddit指定版块的设置信息,包括发帖规则、用户标签设置、审核设置等配置信息\n\n参数：\n- language（string，可选，默认 \"en-US\"）：响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。\n- need_format（boolean，可选，默认 false）：是否需要清洗数据。\n- subreddit_id（string，必填，未声明默认值）：版块ID,格式为t5_开头的唯一标识符,例如\"t5_2qh0u\"(可从fetch_subreddit_info接口获取版块ID) 最短长度：4。 最长长度：20。 格式正则：`^t5_[a-z0-9]{1,17}$`。\n\n使用说明：\n\n### 返回:\n- 指定版块的设置信息JSON数据,包含以下主要字段:\n  - subredditType: 版块类型(public/private/restricted)\n  - submissionType: 允许提交的内容类型(any/link/self)\n  - allowImages: 是否允许图片\n  - allowVideos: 是否允许视频\n  - allowPolls: 是否允许投票\n  - suggestedCommentSort: 建议的评论排序方式\n  - spoilersEnabled: 是否启用剧透标记\n  - allowedPostTypes: 允许的帖子类型配置\n  - contentOptions: 内容选项设置\n  - flairSettings: 用户/帖子标签设置\n### 注意事项:\n- 需要先通过fetch_subreddit_info接口获取版块ID(subreddit.id字段)\n- 版块ID格式必须为\"t5_\"开头\n- **APP接口的ID格式与Web接口不同，需要添加类型前缀**\n- 版块ID前缀: t5_ (例如: t5_2qh0u) 成功时仅返回业务 output；数据结构受 need_format 影响。无结果或业务异常也可能产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_reddit_app_fetch_subreddit_settings","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"language","in":"query","required":false,"description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","schema":{"default":"en-US","description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","maxLength":16,"minLength":2,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","title":"Language","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据。","schema":{"default":false,"description":"是否需要清洗数据。","title":"Need Format","type":"boolean"}},{"name":"subreddit_id","in":"query","required":true,"description":"版块ID,格式为t5_开头的唯一标识符,例如\"t5_2qh0u\"(可从fetch_subreddit_info接口获取版块ID) 最短长度：4。 最长长度：20。 格式正则：`^t5_[a-z0-9]{1,17}$`。","schema":{"description":"版块ID,格式为t5_开头的唯一标识符,例如\"t5_2qh0u\"(可从fetch_subreddit_info接口获取版块ID) 最短长度：4。 最长长度：20。 格式正则：`^t5_[a-z0-9]{1,17}$`。","examples":["t5_2qh0u"],"maxLength":20,"minLength":4,"pattern":"^t5_[a-z0-9]{1,17}$","title":"Subreddit Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reddit/app/fetch_subreddit_style":{"get":{"tags":["Reddit"],"summary":"获取Reddit社区规则和样式","description":"获取Reddit指定版块的规则和样式信息\n\n参数：\n- language（string，可选，默认 \"en-US\"）：响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。\n- need_format（boolean，可选，默认 false）：是否需要清洗数据。\n- subreddit_name（string，可选，默认 \"pics\"）：版块名称(不带r/前缀) 最短长度：2。 最长长度：21。 格式正则：`^[A-Za-z0-9_]+$`。\n\n使用说明：\n\n### 返回:\n- 指定版块的规则和样式信息JSON数据 成功时仅返回业务 output；数据结构受 need_format 影响。无结果或业务异常也可能产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_reddit_app_fetch_subreddit_style","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"language","in":"query","required":false,"description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","schema":{"default":"en-US","description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","maxLength":16,"minLength":2,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","title":"Language","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据。","schema":{"default":false,"description":"是否需要清洗数据。","title":"Need Format","type":"boolean"}},{"name":"subreddit_name","in":"query","required":false,"description":"版块名称(不带r/前缀) 最短长度：2。 最长长度：21。 格式正则：`^[A-Za-z0-9_]+$`。","schema":{"default":"pics","description":"版块名称(不带r/前缀) 最短长度：2。 最长长度：21。 格式正则：`^[A-Za-z0-9_]+$`。","examples":["pics"],"maxLength":21,"minLength":2,"pattern":"^[A-Za-z0-9_]+$","title":"Subreddit Name","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reddit/app/fetch_trending_searches":{"get":{"tags":["Reddit"],"summary":"获取Reddit热门搜索","description":"获取Reddit当前热门搜索话题和趋势内容\n\n参数：\n- language（string，可选，默认 \"en-US\"）：响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。\n- need_format（boolean，可选，默认 false）：是否需要清洗数据。\n\n使用说明：\n\n### 返回:\n- 热门搜索JSON数据,包含:\n  - 热门搜索关键词列表\n  - 趋势话题\n  - 每个话题的搜索量和热度\n  - 相关帖子预览 成功时仅返回业务 output；数据结构受 need_format 影响。无结果或业务异常也可能产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_reddit_app_fetch_trending_searches","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"language","in":"query","required":false,"description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","schema":{"default":"en-US","description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","maxLength":16,"minLength":2,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","title":"Language","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据。","schema":{"default":false,"description":"是否需要清洗数据。","title":"Need Format","type":"boolean"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reddit/app/fetch_user_active_subreddits":{"get":{"tags":["Reddit"],"summary":"获取Reddit用户活跃社区","description":"获取指定用户最活跃的Reddit社区列表\n\n参数：\n- language（string，可选，默认 \"en-US\"）：响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。\n- need_format（boolean，可选，默认 false）：是否需要清洗数据。\n- username（string，必填，未声明默认值）：Reddit用户名 最短长度：1。 最长长度：20。 格式正则：`^[A-Za-z0-9_-]+$`。\n\n使用说明：\n\n### 返回:\n- 用户活跃社区JSON数据,包含:\n  - 用户最常发帖/评论的社区列表\n  - 每个社区的活跃度信息\n  - 社区基本信息(名称、图标、成员数等) 成功时仅返回业务 output；数据结构受 need_format 影响。无结果或业务异常也可能产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_reddit_app_fetch_user_active_subreddits","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"language","in":"query","required":false,"description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","schema":{"default":"en-US","description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","maxLength":16,"minLength":2,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","title":"Language","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据。","schema":{"default":false,"description":"是否需要清洗数据。","title":"Need Format","type":"boolean"}},{"name":"username","in":"query","required":true,"description":"Reddit用户名 最短长度：1。 最长长度：20。 格式正则：`^[A-Za-z0-9_-]+$`。","schema":{"description":"Reddit用户名 最短长度：1。 最长长度：20。 格式正则：`^[A-Za-z0-9_-]+$`。","examples":["spez"],"maxLength":20,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$","title":"Username","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reddit/app/fetch_user_comments":{"get":{"tags":["Reddit"],"summary":"获取Reddit用户评论","description":"获取指定用户发表的评论列表\n\n参数：\n- after（string，可选，未声明默认值）：分页参数,用于获取下一页。首次请求省略；下一页使用前一次返回的游标原值，保持搜索条件和排序不变；无后续游标时停止，不自行生成或用页码替代。 最长长度：4096。\n- language（string，可选，默认 \"en-US\"）：响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。\n- need_format（boolean，可选，默认 false）：是否需要清洗数据。\n- page_size（integer，可选，默认 25）：每页返回的评论数量,默认25条 最小值：1。 最大值：100。\n- sort（string，可选，默认 \"NEW\"）：排序方式,可选值: NEW(最新), TOP(最热), HOT(热门), CONTROVERSIAL(有争议)。Schema 枚举：NEW=最新；TOP=高评分；HOT=热门；CONTROVERSIAL=争议较多。\n- username（string，必填，未声明默认值）：Reddit用户名 最短长度：1。 最长长度：20。 格式正则：`^[A-Za-z0-9_-]+$`。\n\n使用说明：\n\n### 返回:\n- 用户评论列表JSON数据,包含:\n  - 评论内容\n  - 评论所在的帖子信息\n  - 评论时间\n  - 点赞数\n  - 回复数\n  - 分页信息 成功时仅返回业务 output；数据结构受 need_format 影响。无结果或业务异常也可能产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_reddit_app_fetch_user_comments","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"after","in":"query","required":false,"description":"分页参数,用于获取下一页。首次请求省略；下一页使用前一次返回的游标原值，保持搜索条件和排序不变；无后续游标时停止，不自行生成或用页码替代。 最长长度：4096。","schema":{"description":"分页参数,用于获取下一页。首次请求省略；下一页使用前一次返回的游标原值，保持搜索条件和排序不变；无后续游标时停止，不自行生成或用页码替代。 最长长度：4096。","maxLength":4096,"title":"After","type":"string"}},{"name":"language","in":"query","required":false,"description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","schema":{"default":"en-US","description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","maxLength":16,"minLength":2,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","title":"Language","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据。","schema":{"default":false,"description":"是否需要清洗数据。","title":"Need Format","type":"boolean"}},{"name":"page_size","in":"query","required":false,"description":"每页返回的评论数量,默认25条 最小值：1。 最大值：100。","schema":{"default":25,"description":"每页返回的评论数量,默认25条 最小值：1。 最大值：100。","examples":[25],"maximum":100,"minimum":1,"title":"Page Size","type":"integer"}},{"name":"sort","in":"query","required":false,"description":"排序方式,可选值: NEW(最新), TOP(最热), HOT(热门), CONTROVERSIAL(有争议)。Schema 枚举：NEW=最新；TOP=高评分；HOT=热门；CONTROVERSIAL=争议较多。","schema":{"default":"NEW","description":"排序方式,可选值: NEW(最新), TOP(最热), HOT(热门), CONTROVERSIAL(有争议)。Schema 枚举：NEW=最新；TOP=高评分；HOT=热门；CONTROVERSIAL=争议较多。","enum":["NEW","TOP","HOT","CONTROVERSIAL"],"examples":["NEW"],"title":"Sort","type":"string"}},{"name":"username","in":"query","required":true,"description":"Reddit用户名 最短长度：1。 最长长度：20。 格式正则：`^[A-Za-z0-9_-]+$`。","schema":{"description":"Reddit用户名 最短长度：1。 最长长度：20。 格式正则：`^[A-Za-z0-9_-]+$`。","examples":["spez"],"maxLength":20,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$","title":"Username","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reddit/app/fetch_user_posts":{"get":{"tags":["Reddit"],"summary":"获取Reddit用户帖子","description":"获取指定用户发布的帖子列表\n\n参数：\n- after（string，可选，未声明默认值）：分页参数,用于获取下一页。首次请求省略；下一页使用前一次返回的游标原值，保持搜索条件和排序不变；无后续游标时停止，不自行生成或用页码替代。 最长长度：4096。\n- language（string，可选，默认 \"en-US\"）：响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。\n- need_format（boolean，可选，默认 false）：是否需要清洗数据。\n- sort（string，可选，默认 \"NEW\"）：排序方式,可选值: NEW(最新), TOP(最热), HOT(热门), CONTROVERSIAL(有争议)。Schema 枚举：NEW=最新；TOP=高评分；HOT=热门；CONTROVERSIAL=争议较多。\n- username（string，必填，未声明默认值）：Reddit用户名 最短长度：1。 最长长度：20。 格式正则：`^[A-Za-z0-9_-]+$`。\n\n使用说明：\n\n### 返回:\n- 用户帖子列表JSON数据,包含:\n  - 帖子标题和内容\n  - 发布时间\n  - 所属版块\n  - 点赞数和评论数\n  - 帖子类型(文本/图片/视频/链接)\n  - 媒体内容(如有)\n  - 分页信息 成功时仅返回业务 output；数据结构受 need_format 影响。无结果或业务异常也可能产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_reddit_app_fetch_user_posts","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"after","in":"query","required":false,"description":"分页参数,用于获取下一页。首次请求省略；下一页使用前一次返回的游标原值，保持搜索条件和排序不变；无后续游标时停止，不自行生成或用页码替代。 最长长度：4096。","schema":{"description":"分页参数,用于获取下一页。首次请求省略；下一页使用前一次返回的游标原值，保持搜索条件和排序不变；无后续游标时停止，不自行生成或用页码替代。 最长长度：4096。","maxLength":4096,"title":"After","type":"string"}},{"name":"language","in":"query","required":false,"description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","schema":{"default":"en-US","description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","maxLength":16,"minLength":2,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","title":"Language","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据。","schema":{"default":false,"description":"是否需要清洗数据。","title":"Need Format","type":"boolean"}},{"name":"sort","in":"query","required":false,"description":"排序方式,可选值: NEW(最新), TOP(最热), HOT(热门), CONTROVERSIAL(有争议)。Schema 枚举：NEW=最新；TOP=高评分；HOT=热门；CONTROVERSIAL=争议较多。","schema":{"default":"NEW","description":"排序方式,可选值: NEW(最新), TOP(最热), HOT(热门), CONTROVERSIAL(有争议)。Schema 枚举：NEW=最新；TOP=高评分；HOT=热门；CONTROVERSIAL=争议较多。","enum":["NEW","TOP","HOT","CONTROVERSIAL"],"examples":["NEW"],"title":"Sort","type":"string"}},{"name":"username","in":"query","required":true,"description":"Reddit用户名 最短长度：1。 最长长度：20。 格式正则：`^[A-Za-z0-9_-]+$`。","schema":{"description":"Reddit用户名 最短长度：1。 最长长度：20。 格式正则：`^[A-Za-z0-9_-]+$`。","examples":["spez"],"maxLength":20,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$","title":"Username","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reddit/app/fetch_user_profile":{"get":{"tags":["Reddit"],"summary":"获取Reddit用户资料","description":"获取Reddit指定用户的详细资料信息\n\n参数：\n- language（string，可选，默认 \"en-US\"）：响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。\n- need_format（boolean，可选，默认 false）：是否需要清洗数据。\n- username（string，必填，未声明默认值）：Reddit用户名(不带u/前缀) 最短长度：1。 最长长度：20。 格式正则：`^[A-Za-z0-9_-]+$`。\n\n使用说明：\n\n### 返回:\n- 用户资料JSON数据,包含:\n  - 用户名和ID\n  - 账号创建时间\n  - Karma值(帖子karma和评论karma)\n  - 头像和横幅图片\n  - 个人简介\n  - 是否验证账号\n  - 徽章和奖励\n  - 关注者数量 成功时仅返回业务 output；数据结构受 need_format 影响。无结果或业务异常也可能产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_reddit_app_fetch_user_profile","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"language","in":"query","required":false,"description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","schema":{"default":"en-US","description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","maxLength":16,"minLength":2,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","title":"Language","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据。","schema":{"default":false,"description":"是否需要清洗数据。","title":"Need Format","type":"boolean"}},{"name":"username","in":"query","required":true,"description":"Reddit用户名(不带u/前缀) 最短长度：1。 最长长度：20。 格式正则：`^[A-Za-z0-9_-]+$`。","schema":{"description":"Reddit用户名(不带u/前缀) 最短长度：1。 最长长度：20。 格式正则：`^[A-Za-z0-9_-]+$`。","examples":["spez"],"maxLength":20,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$","title":"Username","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reddit/app/fetch_user_trophies":{"get":{"tags":["Reddit"],"summary":"获取Reddit用户公开奖杯","description":"获取指定Reddit用户的公开奖杯/成就列表\n\n参数：\n- language（string，可选，默认 \"en-US\"）：响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。\n- need_format（boolean，可选，默认 false）：是否需要清洗数据。\n- username（string，必填，未声明默认值）：Reddit用户名(不带u/前缀) 最短长度：1。 最长长度：20。 格式正则：`^[A-Za-z0-9_-]+$`。\n\n使用说明：\n\n### 返回:\n- 用户奖杯JSON数据,包含:\n  - 奖杯列表(trophy list)\n  - 每个奖杯的详细信息:\n    - 奖杯名称\n    - 奖杯描述\n    - 奖杯图标URL\n    - 获得时间\n  - 特殊徽章和成就 成功时仅返回业务 output；数据结构受 need_format 影响。无结果或业务异常也可能产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_reddit_app_fetch_user_trophies","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"language","in":"query","required":false,"description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","schema":{"default":"en-US","description":"响应语言，IETF 语言标签，默认 en-US；格式与长度见 Schema。 最短长度：2。 最长长度：16。 格式正则：`^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$`。","maxLength":16,"minLength":2,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","title":"Language","type":"string"}},{"name":"need_format","in":"query","required":false,"description":"是否需要清洗数据。","schema":{"default":false,"description":"是否需要清洗数据。","title":"Need Format","type":"boolean"}},{"name":"username","in":"query","required":true,"description":"Reddit用户名(不带u/前缀) 最短长度：1。 最长长度：20。 格式正则：`^[A-Za-z0-9_-]+$`。","schema":{"description":"Reddit用户名(不带u/前缀) 最短长度：1。 最长长度：20。 格式正则：`^[A-Za-z0-9_-]+$`。","examples":["spez"],"maxLength":20,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$","title":"Username","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/serp/baidu-organic":{"post":{"tags":["搜索结果"],"summary":"查询百度自然搜索结果","description":"获取百度自然排名和搜索模块。默认10条，按每10条一页计费；排队执行可能需要一分钟或更久。\n\n参数：\n- keyword（\"string\"，必填）：搜索或扩展的种子关键词，非空字符串。 最短字符数：1。 最长字符数：700。\n- depth（\"integer\"，可选）：采集搜索结果深度，1至700，默认10；按每10条一页计费，结合max_crawl_pages限制。 最小值：1。 最大值：700。\n- max_crawl_pages（\"integer\"，可选）：最多采集结果页数，默认1，上限100；与depth共同限制采集，增加页数增加费用。 最小值：-9007199254740991。 最大值：100。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- location_coordinate（\"string\"，可选）：地区坐标，纬度,经度,半径，半径单位米、200至19999；与地区名称或代码择一。 最短字符数：1。 最长字符数：60。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- device（\"string\"，可选）：设备布局：desktop=桌面（默认）、mobile=手机、tablet=平板。 最短字符数：1。\n- os（\"string\"，可选）：设备操作系统：windows=Windows、macos=macOS、android=安卓、ios=苹果移动系统；需匹配device，默认windows。 最短字符数：1。\n- get_website_url（\"boolean\"，可选）：是否获取每个排名结果的真实网站地址，业务默认false。\n- stop_crawl_on_match（\"array\"，可选）：提前停止抓取的匹配规则数组；最多10个对象，使用match_type和match_value，例如{\"match_type\":\"with_subdomains\",\"match_value\":\"example.com\"}表示含子域名匹配；匹配后停止后续采集，已采集页仍计费。\n\n使用说明：\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_serp_baidu_organic","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"获取百度自然排名和搜索模块。默认10条，按每10条一页计费；排队执行可能需要一分钟或更久。","examples":[{"keyword":"搜索引擎优化","language_code":"zh-CN","location_code":2156}],"properties":{"depth":{"description":"采集搜索结果深度，1至700，默认10；按每10条一页计费，结合max_crawl_pages限制。 最小值：1。 最大值：700。","maximum":700,"minimum":1,"type":"integer"},"device":{"description":"设备布局：desktop=桌面（默认）、mobile=手机、tablet=平板。 最短字符数：1。","minLength":1,"type":"string"},"get_website_url":{"description":"是否获取每个排名结果的真实网站地址，业务默认false。","type":"boolean"},"keyword":{"description":"搜索或扩展的种子关键词，非空字符串。 最短字符数：1。 最长字符数：700。","maxLength":700,"minLength":1,"type":"string"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_coordinate":{"description":"地区坐标，纬度,经度,半径，半径单位米、200至19999；与地区名称或代码择一。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"max_crawl_pages":{"description":"最多采集结果页数，默认1，上限100；与depth共同限制采集，增加页数增加费用。 最小值：-9007199254740991。 最大值：100。","maximum":100,"minimum":-9007199254740991,"type":"integer"},"os":{"description":"设备操作系统：windows=Windows、macos=macOS、android=安卓、ios=苹果移动系统；需匹配device，默认windows。 最短字符数：1。","minLength":1,"type":"string"},"stop_crawl_on_match":{"description":"提前停止抓取的匹配规则数组；最多10个对象，使用match_type和match_value，例如{\"match_type\":\"with_subdomains\",\"match_value\":\"example.com\"}表示含子域名匹配；匹配后停止后续采集，已采集页仍计费。","items":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"type":"array"}},"required":["keyword"],"type":"object"}}}}}},"/api/v1/serp/bing-organic":{"post":{"tags":["搜索结果"],"summary":"获取Bing自然搜索排名","description":"查询Bing自然结果与搜索模块，支持地区、语言、设备、目标匹配和分页。默认10条，每10条一页计费；像素位置测量产生附加费。\n\n参数：\n- browser_screen_height（\"integer\"，可选）：模拟视口高度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。\n- browser_screen_resolution_ratio（\"integer\"，可选）：浏览器屏幕分辨率比例，无单位，使用适合目标设备的正整数。 最小值：-9007199254740991。 最大值：9007199254740991。\n- browser_screen_width（\"integer\"，可选）：模拟视口宽度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。\n- calculate_rectangles（\"boolean\"，可选）：是否测量搜索结果距页面左上角的像素位置，开启增加$0.002；不是自然排序名次。\n- depth（\"integer\"，可选）：采集搜索结果深度，1至200，默认10；每10条一页计费，不是单次任意深度固定价格。 最小值：1。 最大值：200。\n- device（\"string\"，可选）：设备类型：desktop=桌面（默认）、mobile=手机；当前契约未列平板布局。 最短字符数：1。\n- keyword（\"string\"，必填）：搜索或扩展的种子关键词，非空字符串。 最短字符数：1。 最长字符数：700。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- location_coordinate（\"string\"，可选）：地区坐标，纬度,经度,半径，半径单位米、200至19999；与地区名称或代码择一。 最短字符数：1。 最长字符数：60。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- match_type（\"string\"，可选）：目标匹配方式：domain=域名、with_subdomains=含子域名、wildcard=通配符；与match_value配合，目标停止规则亦使用这两个键。 最短字符数：1。\n- match_value（\"string\"，可选）：需要匹配的域名、子域名或通配符表达式，与match_type配合使用；不是搜索关键词。 最短字符数：1。\n- max_crawl_pages（\"integer\"，可选）：最多采集结果页数，默认1，上限100；与depth共同限制采集，增加页数增加费用。 最小值：-9007199254740991。 最大值：100。\n- os（\"string\"，可选）：设备操作系统：windows=Windows、macos=macOS、android=安卓、ios=苹果移动系统；需匹配device，默认windows。 最短字符数：1。\n- search_param（\"string\"，可选）：附加搜索查询参数字符串，使用目标搜索引擎当前支持的参数，不添加登录信息。 最短字符数：1。\n- stop_crawl_on_match（\"array\"，可选）：提前停止抓取的匹配规则数组；最多10个对象，使用match_type和match_value，例如{\"match_type\":\"with_subdomains\",\"match_value\":\"example.com\"}表示含子域名匹配；匹配后停止后续采集，已采集页仍计费。\n- target（\"string\"，可选）：需要在搜索结果中定位的域名、子域名或完整页面地址；与find_targets_in等选项配合，不等于搜索词。 最短字符数：1。\n- url（\"string\"，可选）：完整搜索结果页URL，需包含正确语言和地区；当前契约仍要求keyword，不能以URL替代必填关键词。 最短字符数：1。\n\n使用说明：\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_serp_bing_organic","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"查询Bing自然结果与搜索模块，支持地区、语言、设备、目标匹配和分页。默认10条，每10条一页计费；像素位置测量产生附加费。","examples":[{"keyword":"email marketing","language_code":"en","location_code":2840,"target":"example.com","url":"请替换为待检查页面完整地址"}],"properties":{"browser_screen_height":{"description":"模拟视口高度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"browser_screen_resolution_ratio":{"description":"浏览器屏幕分辨率比例，无单位，使用适合目标设备的正整数。 最小值：-9007199254740991。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"browser_screen_width":{"description":"模拟视口宽度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"calculate_rectangles":{"description":"是否测量搜索结果距页面左上角的像素位置，开启增加$0.002；不是自然排序名次。","type":"boolean"},"depth":{"description":"采集搜索结果深度，1至200，默认10；每10条一页计费，不是单次任意深度固定价格。 最小值：1。 最大值：200。","maximum":200,"minimum":1,"type":"integer"},"device":{"description":"设备类型：desktop=桌面（默认）、mobile=手机；当前契约未列平板布局。 最短字符数：1。","minLength":1,"type":"string"},"keyword":{"description":"搜索或扩展的种子关键词，非空字符串。 最短字符数：1。 最长字符数：700。","maxLength":700,"minLength":1,"type":"string"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_coordinate":{"description":"地区坐标，纬度,经度,半径，半径单位米、200至19999；与地区名称或代码择一。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"match_type":{"description":"目标匹配方式：domain=域名、with_subdomains=含子域名、wildcard=通配符；与match_value配合，目标停止规则亦使用这两个键。 最短字符数：1。","minLength":1,"type":"string"},"match_value":{"description":"需要匹配的域名、子域名或通配符表达式，与match_type配合使用；不是搜索关键词。 最短字符数：1。","minLength":1,"type":"string"},"max_crawl_pages":{"description":"最多采集结果页数，默认1，上限100；与depth共同限制采集，增加页数增加费用。 最小值：-9007199254740991。 最大值：100。","maximum":100,"minimum":-9007199254740991,"type":"integer"},"os":{"description":"设备操作系统：windows=Windows、macos=macOS、android=安卓、ios=苹果移动系统；需匹配device，默认windows。 最短字符数：1。","minLength":1,"type":"string"},"search_param":{"description":"附加搜索查询参数字符串，使用目标搜索引擎当前支持的参数，不添加登录信息。 最短字符数：1。","minLength":1,"type":"string"},"stop_crawl_on_match":{"description":"提前停止抓取的匹配规则数组；最多10个对象，使用match_type和match_value，例如{\"match_type\":\"with_subdomains\",\"match_value\":\"example.com\"}表示含子域名匹配；匹配后停止后续采集，已采集页仍计费。","items":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"target":{"description":"需要在搜索结果中定位的域名、子域名或完整页面地址；与find_targets_in等选项配合，不等于搜索词。 最短字符数：1。","minLength":1,"type":"string"},"url":{"description":"完整搜索结果页URL，需包含正确语言和地区；当前契约仍要求keyword，不能以URL替代必填关键词。 最短字符数：1。","minLength":1,"type":"string"}},"required":["keyword"],"type":"object"}}}}}},"/api/v1/serp/google-autocomplete":{"get":{"tags":["搜索结果"],"summary":"获取Google搜索联想词","description":"按关键词、地区、语言和搜索客户端获取搜索框联想建议；不包含关键词真实搜索量。\n\n参数：\n- keyword（\"string\"，必填）：搜索或扩展的种子关键词，非空字符串。 最短字符数：1。 最长字符数：700。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- location_coordinate（\"string\"，可选）：地区坐标，纬度,经度,半径，半径单位米、200至19999；与地区名称或代码择一。 最短字符数：1。 最长字符数：60。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- cursor_pointer（\"integer\"，可选）：搜索框光标位置，按关键词字符位置计数，默认在关键词末尾。 最小值：-9007199254740991。 最大值：9007199254740991。\n- client（\"string\"，可选）：搜索客户端：chrome=Chrome网页、chrome-omni=地址栏、gws-wiz=Google首页、gws-wiz-serp=结果页、safari=Safari、firefox=Firefox、psy-ab=Chrome兼容模式、toolbar=工具栏XML、youtube=视频搜索JSONP、gws-wiz-local=本地、img=图片、products-cc=购物；使用当前接口支持的值。 最短字符数：1。\n\n使用说明：\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_serp_google_autocomplete","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"client","in":"query","required":false,"description":"搜索客户端：chrome=Chrome网页、chrome-omni=地址栏、gws-wiz=Google首页、gws-wiz-serp=结果页、safari=Safari、firefox=Firefox、psy-ab=Chrome兼容模式、toolbar=工具栏XML、youtube=视频搜索JSONP、gws-wiz-local=本地、img=图片、products-cc=购物；使用当前接口支持的值。 最短字符数：1。","schema":{"description":"搜索客户端：chrome=Chrome网页、chrome-omni=地址栏、gws-wiz=Google首页、gws-wiz-serp=结果页、safari=Safari、firefox=Firefox、psy-ab=Chrome兼容模式、toolbar=工具栏XML、youtube=视频搜索JSONP、gws-wiz-local=本地、img=图片、products-cc=购物；使用当前接口支持的值。 最短字符数：1。","minLength":1,"type":"string"}},{"name":"cursor_pointer","in":"query","required":false,"description":"搜索框光标位置，按关键词字符位置计数，默认在关键词末尾。 最小值：-9007199254740991。 最大值：9007199254740991。","schema":{"description":"搜索框光标位置，按关键词字符位置计数，默认在关键词末尾。 最小值：-9007199254740991。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},{"name":"keyword","in":"query","required":true,"description":"搜索或扩展的种子关键词，非空字符串。 最短字符数：1。 最长字符数：700。","schema":{"description":"搜索或扩展的种子关键词，非空字符串。 最短字符数：1。 最长字符数：700。","maxLength":700,"minLength":1,"type":"string"}},{"name":"language_code","in":"query","required":false,"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","schema":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"}},{"name":"language_name","in":"query","required":false,"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","schema":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"}},{"name":"location_code","in":"query","required":false,"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","schema":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},{"name":"location_coordinate","in":"query","required":false,"description":"地区坐标，纬度,经度,半径，半径单位米、200至19999；与地区名称或代码择一。 最短字符数：1。 最长字符数：60。","schema":{"description":"地区坐标，纬度,经度,半径，半径单位米、200至19999；与地区名称或代码择一。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"}},{"name":"location_name","in":"query","required":false,"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","schema":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/serp/google-organic":{"post":{"tags":["搜索结果"],"summary":"获取Google自然搜索排名","description":"查询Google自然结果、广告及搜索模块，支持地区、语言、设备、目标匹配与分页。默认10条，每10条一页计费；异步AI概览、位置测量和相关问题展开会额外计费。\n\n参数：\n- browser_screen_height（\"integer\"，可选）：模拟视口高度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。\n- browser_screen_resolution_ratio（\"integer\"，可选）：浏览器屏幕分辨率比例，无单位，使用适合目标设备的正整数。 最小值：-9007199254740991。 最大值：9007199254740991。\n- browser_screen_width（\"integer\"，可选）：模拟视口宽度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。\n- calculate_rectangles（\"boolean\"，可选）：是否测量搜索结果距页面左上角的像素位置，开启增加$0.002；不是自然排序名次。\n- depth（\"integer\"，可选）：采集搜索结果深度，1至200，默认10；每10条一页计费，不是单次任意深度固定价格。 最小值：1。 最大值：200。\n- device（\"string\"，可选）：设备类型：desktop=桌面（默认）、mobile=手机；当前契约未列平板布局。 最短字符数：1。\n- find_targets_in（\"array\"，可选）：查找目标的模块数组：organic=自然、paid=广告、local_pack=本地、featured_snippet=精选摘要、events=活动、google_flights=航班、images=图片、jobs=招聘、knowledge_graph=知识图谱、local_service=本地服务、map=地图、scholarly_articles=学术、third_party_reviews=第三方评价、twitter=社交模块。\n- group_organic_results（\"boolean\"，可选）：是否将相关自然结果分组，业务默认true。\n- ignore_targets_in（\"array\"，可选）：不检查目标的搜索模块数组；模块含义与find_targets_in一致，排除模块不用于目标匹配。\n- keyword（\"string\"，必填）：搜索或扩展的种子关键词，非空字符串。 最短字符数：1。 最长字符数：700。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- load_async_ai_overview（\"boolean\"，可选）：是否加载异步呈现的AI概览；开启增加$0.002，当前说明无该模块时退回此附加费；不保证每个查询都有概览。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- location_coordinate（\"string\"，可选）：地区坐标，纬度,经度,半径，半径单位米、200至19999；与地区名称或代码择一。 最短字符数：1。 最长字符数：60。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- match_type（\"string\"，可选）：目标匹配方式：domain=域名、with_subdomains=含子域名、wildcard=通配符；与match_value配合，目标停止规则亦使用这两个键。 最短字符数：1。\n- match_value（\"string\"，可选）：需要匹配的域名、子域名或通配符表达式，与match_type配合使用；不是搜索关键词。 最短字符数：1。\n- max_crawl_pages（\"integer\"，可选）：最多采集结果页数，默认1，上限100；与depth共同限制采集，增加页数增加费用。 最小值：-9007199254740991。 最大值：100。\n- os（\"string\"，可选）：设备操作系统：windows=Windows、macos=macOS、android=安卓、ios=苹果移动系统；需匹配device，默认windows。 最短字符数：1。\n- people_also_ask_click_depth（\"integer\"，可选）：相关问题展开层级，1至4；每次点击增加$0.00015，当前说明没有该模块时退回附加费；多层会增加耗时与费用。 最小值：1。 最大值：4。\n- remove_from_url（\"array\"，可选）：需从结果URL移除的参数名数组，用于清理跟踪参数；不是删除搜索结果。\n- se_domain（\"string\"，可选）：搜索引擎目标站点域名，例如google.com或bing.com；与地区和语言匹配。 最短字符数：1。\n- search_param（\"string\"，可选）：附加搜索查询参数字符串，使用目标搜索引擎当前支持的参数，不添加登录信息。 最短字符数：1。\n- stop_crawl_on_match（\"array\"，可选）：提前停止抓取的匹配规则数组；最多10个对象，使用match_type和match_value，例如{\"match_type\":\"with_subdomains\",\"match_value\":\"example.com\"}表示含子域名匹配；匹配后停止后续采集，已采集页仍计费。\n- target（\"string\"，可选）：需要在搜索结果中定位的域名、子域名或完整页面地址；与find_targets_in等选项配合，不等于搜索词。 最短字符数：1。\n- target_search_mode（\"string\"，可选）：目标匹配组合：any=任一find_targets_in模块匹配（默认）、all=所有指定模块均匹配。 最短字符数：1。\n- url（\"string\"，可选）：完整搜索结果页URL，需包含正确语言和地区；当前契约仍要求keyword，不能以URL替代必填关键词。 最短字符数：1。\n\n使用说明：\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_serp_google_organic","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"查询Google自然结果、广告及搜索模块，支持地区、语言、设备、目标匹配与分页。默认10条，每10条一页计费；异步AI概览、位置测量和相关问题展开会额外计费。","examples":[{"keyword":"email marketing","language_code":"en","location_code":2840,"target":"example.com","url":"请替换为待检查页面完整地址"}],"properties":{"browser_screen_height":{"description":"模拟视口高度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"browser_screen_resolution_ratio":{"description":"浏览器屏幕分辨率比例，无单位，使用适合目标设备的正整数。 最小值：-9007199254740991。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"browser_screen_width":{"description":"模拟视口宽度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"calculate_rectangles":{"description":"是否测量搜索结果距页面左上角的像素位置，开启增加$0.002；不是自然排序名次。","type":"boolean"},"depth":{"description":"采集搜索结果深度，1至200，默认10；每10条一页计费，不是单次任意深度固定价格。 最小值：1。 最大值：200。","maximum":200,"minimum":1,"type":"integer"},"device":{"description":"设备类型：desktop=桌面（默认）、mobile=手机；当前契约未列平板布局。 最短字符数：1。","minLength":1,"type":"string"},"find_targets_in":{"description":"查找目标的模块数组：organic=自然、paid=广告、local_pack=本地、featured_snippet=精选摘要、events=活动、google_flights=航班、images=图片、jobs=招聘、knowledge_graph=知识图谱、local_service=本地服务、map=地图、scholarly_articles=学术、third_party_reviews=第三方评价、twitter=社交模块。","items":{"minLength":1,"type":"string"},"type":"array"},"group_organic_results":{"description":"是否将相关自然结果分组，业务默认true。","type":"boolean"},"ignore_targets_in":{"description":"不检查目标的搜索模块数组；模块含义与find_targets_in一致，排除模块不用于目标匹配。","items":{"minLength":1,"type":"string"},"type":"array"},"keyword":{"description":"搜索或扩展的种子关键词，非空字符串。 最短字符数：1。 最长字符数：700。","maxLength":700,"minLength":1,"type":"string"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"load_async_ai_overview":{"description":"是否加载异步呈现的AI概览；开启增加$0.002，当前说明无该模块时退回此附加费；不保证每个查询都有概览。","type":"boolean"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_coordinate":{"description":"地区坐标，纬度,经度,半径，半径单位米、200至19999；与地区名称或代码择一。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"match_type":{"description":"目标匹配方式：domain=域名、with_subdomains=含子域名、wildcard=通配符；与match_value配合，目标停止规则亦使用这两个键。 最短字符数：1。","minLength":1,"type":"string"},"match_value":{"description":"需要匹配的域名、子域名或通配符表达式，与match_type配合使用；不是搜索关键词。 最短字符数：1。","minLength":1,"type":"string"},"max_crawl_pages":{"description":"最多采集结果页数，默认1，上限100；与depth共同限制采集，增加页数增加费用。 最小值：-9007199254740991。 最大值：100。","maximum":100,"minimum":-9007199254740991,"type":"integer"},"os":{"description":"设备操作系统：windows=Windows、macos=macOS、android=安卓、ios=苹果移动系统；需匹配device，默认windows。 最短字符数：1。","minLength":1,"type":"string"},"people_also_ask_click_depth":{"description":"相关问题展开层级，1至4；每次点击增加$0.00015，当前说明没有该模块时退回附加费；多层会增加耗时与费用。 最小值：1。 最大值：4。","maximum":4,"minimum":1,"type":"integer"},"remove_from_url":{"description":"需从结果URL移除的参数名数组，用于清理跟踪参数；不是删除搜索结果。","items":{"minLength":1,"type":"string"},"type":"array"},"se_domain":{"description":"搜索引擎目标站点域名，例如google.com或bing.com；与地区和语言匹配。 最短字符数：1。","minLength":1,"type":"string"},"search_param":{"description":"附加搜索查询参数字符串，使用目标搜索引擎当前支持的参数，不添加登录信息。 最短字符数：1。","minLength":1,"type":"string"},"stop_crawl_on_match":{"description":"提前停止抓取的匹配规则数组；最多10个对象，使用match_type和match_value，例如{\"match_type\":\"with_subdomains\",\"match_value\":\"example.com\"}表示含子域名匹配；匹配后停止后续采集，已采集页仍计费。","items":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"target":{"description":"需要在搜索结果中定位的域名、子域名或完整页面地址；与find_targets_in等选项配合，不等于搜索词。 最短字符数：1。","minLength":1,"type":"string"},"target_search_mode":{"description":"目标匹配组合：any=任一find_targets_in模块匹配（默认）、all=所有指定模块均匹配。 最短字符数：1。","minLength":1,"type":"string"},"url":{"description":"完整搜索结果页URL，需包含正确语言和地区；当前契约仍要求keyword，不能以URL替代必填关键词。 最短字符数：1。","minLength":1,"type":"string"}},"required":["keyword"],"type":"object"}}}}}},"/api/v1/keywords/bing-keywords-for-site":{"post":{"tags":["关键词研究"],"summary":"根据网站发现Bing关键词","description":"根据网站内容获取Bing广告关键词建议及搜索量、CPC等数据；不是该网站已有自然排名关键词列表。\n\n参数：\n- target（\"string\"，必填）：目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- keywords_negative（\"array\"，可选）：需排除的关键词数组，不传表示不按负向关键词排除。\n- device（\"string\"，可选）：设备类型：all=全部（默认）、mobile=手机、desktop=桌面、tablet=平板。 最短字符数：1。\n- date_from（\"string\"，可选）：时间起点，YYYY-MM-DD，不晚于date_to；默认窗口及可用历史范围见本接口说明。 按月最多24个月；搜索量和网站建议省略日期时通常取最近12个月；历史接口省略日期时月/周/日分别最多24个月/15周/45天，尚未发布的数据不能当作零。 最短字符数：1。\n- date_to（\"string\"，可选）：时间终点，YYYY-MM-DD，不早于date_from；搜索量通常不包含当前尚未完成月份，默认窗口见本接口说明。 按月最多24个月；搜索量和网站建议省略日期时通常取最近12个月；历史接口省略日期时月/周/日分别最多24个月/15周/45天，尚未发布的数据不能当作零。 最短字符数：1。\n- sort_by（\"string\"，可选）：按降序排序：relevance=相关性（默认）、search_volume=搜索量、cpc=点击成本、competition=广告竞争度。 最短字符数：1。\n- search_partners（\"boolean\"，可选）：是否包含搜索合作伙伴，业务默认false；开启时搜索网络范围会扩大。\n\n使用说明：\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_keywords_bing_keywords_for_site","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"根据网站内容获取Bing广告关键词建议及搜索量、CPC等数据；不是该网站已有自然排名关键词列表。","examples":[{"language_code":"en","location_code":2840,"target":"example.com"}],"properties":{"date_from":{"description":"时间起点，YYYY-MM-DD，不晚于date_to；默认窗口及可用历史范围见本接口说明。 按月最多24个月；搜索量和网站建议省略日期时通常取最近12个月；历史接口省略日期时月/周/日分别最多24个月/15周/45天，尚未发布的数据不能当作零。 最短字符数：1。","minLength":1,"type":"string"},"date_to":{"description":"时间终点，YYYY-MM-DD，不早于date_from；搜索量通常不包含当前尚未完成月份，默认窗口见本接口说明。 按月最多24个月；搜索量和网站建议省略日期时通常取最近12个月；历史接口省略日期时月/周/日分别最多24个月/15周/45天，尚未发布的数据不能当作零。 最短字符数：1。","minLength":1,"type":"string"},"device":{"description":"设备类型：all=全部（默认）、mobile=手机、desktop=桌面、tablet=平板。 最短字符数：1。","minLength":1,"type":"string"},"keywords_negative":{"description":"需排除的关键词数组，不传表示不按负向关键词排除。","items":{"minLength":1,"type":"string"},"type":"array"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"search_partners":{"description":"是否包含搜索合作伙伴，业务默认false；开启时搜索网络范围会扩大。","type":"boolean"},"sort_by":{"description":"按降序排序：relevance=相关性（默认）、search_volume=搜索量、cpc=点击成本、competition=广告竞争度。 最短字符数：1。","minLength":1,"type":"string"},"target":{"description":"目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。","maxLength":255,"minLength":1,"type":"string"}},"required":["target"],"type":"object"}}}}}},"/api/v1/keywords/bing-search-volume":{"post":{"tags":["关键词研究"],"summary":"批量查询Bing广告关键词数据","description":"查询Bing关键词搜索量、CPC及广告竞争数据；支持地区、语言和设备，单次最多1000词。\n\n参数：\n- keywords（\"array\"，必填）：关键词数组，1至1000项，每项最多80字符、10个词；不是多个逗号词组成的单个字符串。 最少项：1。 最多项：1000。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- device（\"string\"，可选）：设备类型：all=全部（默认）、mobile=手机、desktop=桌面、tablet=平板。 最短字符数：1。\n- sort_by（\"string\"，可选）：按降序排序：relevance=相关性（默认）、search_volume=搜索量、cpc=点击成本、competition=广告竞争度。 最短字符数：1。\n- date_from（\"string\"，可选）：时间起点，YYYY-MM-DD，不晚于date_to；默认窗口及可用历史范围见本接口说明。 按月最多24个月；搜索量和网站建议省略日期时通常取最近12个月；历史接口省略日期时月/周/日分别最多24个月/15周/45天，尚未发布的数据不能当作零。 最短字符数：1。\n- date_to（\"string\"，可选）：时间终点，YYYY-MM-DD，不早于date_from；搜索量通常不包含当前尚未完成月份，默认窗口见本接口说明。 按月最多24个月；搜索量和网站建议省略日期时通常取最近12个月；历史接口省略日期时月/周/日分别最多24个月/15周/45天，尚未发布的数据不能当作零。 最短字符数：1。\n- search_partners（\"boolean\"，可选）：是否包含搜索合作伙伴，业务默认false；开启时搜索网络范围会扩大。\n\n使用说明：\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_keywords_bing_search_volume","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"查询Bing关键词搜索量、CPC及广告竞争数据；支持地区、语言和设备，单次最多1000词。","examples":[{"keywords":["email marketing"],"language_code":"en","location_code":2840}],"properties":{"date_from":{"description":"时间起点，YYYY-MM-DD，不晚于date_to；默认窗口及可用历史范围见本接口说明。 按月最多24个月；搜索量和网站建议省略日期时通常取最近12个月；历史接口省略日期时月/周/日分别最多24个月/15周/45天，尚未发布的数据不能当作零。 最短字符数：1。","minLength":1,"type":"string"},"date_to":{"description":"时间终点，YYYY-MM-DD，不早于date_from；搜索量通常不包含当前尚未完成月份，默认窗口见本接口说明。 按月最多24个月；搜索量和网站建议省略日期时通常取最近12个月；历史接口省略日期时月/周/日分别最多24个月/15周/45天，尚未发布的数据不能当作零。 最短字符数：1。","minLength":1,"type":"string"},"device":{"description":"设备类型：all=全部（默认）、mobile=手机、desktop=桌面、tablet=平板。 最短字符数：1。","minLength":1,"type":"string"},"keywords":{"description":"关键词数组，1至1000项，每项最多80字符、10个词；不是多个逗号词组成的单个字符串。 最少项：1。 最多项：1000。","items":{"maxLength":80,"minLength":1,"type":"string"},"maxItems":1000,"minItems":1,"type":"array"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"search_partners":{"description":"是否包含搜索合作伙伴，业务默认false；开启时搜索网络范围会扩大。","type":"boolean"},"sort_by":{"description":"按降序排序：relevance=相关性（默认）、search_volume=搜索量、cpc=点击成本、competition=广告竞争度。 最短字符数：1。","minLength":1,"type":"string"}},"required":["keywords"],"type":"object"}}}}}},"/api/v1/keywords/bing-search-volume-history":{"post":{"tags":["关键词研究"],"summary":"获取Bing关键词历史搜索量","description":"查询最多1000个关键词按月、周或日汇总的历史搜索量，三种粒度的可用时间跨度不同。\n\n参数：\n- keywords（\"array\"，必填）：关键词数组，1至1000项，每项最多80字符、10个词；不是多个逗号词组成的单个字符串。 最少项：1。 最多项：1000。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- device（\"array\"，可选）：设备类型数组，默认包含mobile=手机、desktop=桌面、tablet=平板、non_smartphones=非智能手机。\n- period（\"string\"，可选）：历史时间粒度：monthly=月（默认，最多24个月）、weekly=周（最多15周）、daily=日（最多45天）。 最短字符数：1。\n- date_from（\"string\"，可选）：时间起点，YYYY-MM-DD，不晚于date_to；默认窗口及可用历史范围见本接口说明。 按月最多24个月；搜索量和网站建议省略日期时通常取最近12个月；历史接口省略日期时月/周/日分别最多24个月/15周/45天，尚未发布的数据不能当作零。 最短字符数：1。\n- date_to（\"string\"，可选）：时间终点，YYYY-MM-DD，不早于date_from；搜索量通常不包含当前尚未完成月份，默认窗口见本接口说明。 按月最多24个月；搜索量和网站建议省略日期时通常取最近12个月；历史接口省略日期时月/周/日分别最多24个月/15周/45天，尚未发布的数据不能当作零。 最短字符数：1。\n\n使用说明：\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_keywords_bing_search_volume_history","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"查询最多1000个关键词按月、周或日汇总的历史搜索量，三种粒度的可用时间跨度不同。","examples":[{"keywords":["email marketing"],"language_code":"en","location_code":2840}],"properties":{"date_from":{"description":"时间起点，YYYY-MM-DD，不晚于date_to；默认窗口及可用历史范围见本接口说明。 按月最多24个月；搜索量和网站建议省略日期时通常取最近12个月；历史接口省略日期时月/周/日分别最多24个月/15周/45天，尚未发布的数据不能当作零。 最短字符数：1。","minLength":1,"type":"string"},"date_to":{"description":"时间终点，YYYY-MM-DD，不早于date_from；搜索量通常不包含当前尚未完成月份，默认窗口见本接口说明。 按月最多24个月；搜索量和网站建议省略日期时通常取最近12个月；历史接口省略日期时月/周/日分别最多24个月/15周/45天，尚未发布的数据不能当作零。 最短字符数：1。","minLength":1,"type":"string"},"device":{"description":"设备类型数组，默认包含mobile=手机、desktop=桌面、tablet=平板、non_smartphones=非智能手机。","items":{"minLength":1,"type":"string"},"type":"array"},"keywords":{"description":"关键词数组，1至1000项，每项最多80字符、10个词；不是多个逗号词组成的单个字符串。 最少项：1。 最多项：1000。","items":{"maxLength":80,"minLength":1,"type":"string"},"maxItems":1000,"minItems":1,"type":"array"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"period":{"description":"历史时间粒度：monthly=月（默认，最多24个月）、weekly=周（最多15周）、daily=日（最多45天）。 最短字符数：1。","minLength":1,"type":"string"}},"required":["keywords"],"type":"object"}}}}}},"/api/v1/keywords/google-ads-search-volume":{"post":{"tags":["关键词研究"],"summary":"批量查询Google广告关键词数据","description":"查询最多1000个关键词的搜索量、CPC和广告竞争数据。广告竞争度不等于自然排名难度；实时调用存在共享频率限制。\n\n参数：\n- keywords（\"array\"，必填）：关键词数组，1至1000项，每项最多80字符、10个词；不是多个逗号词组成的单个字符串。 最少项：1。 最多项：1000。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- search_partners（\"boolean\"，可选）：是否包含搜索合作伙伴，业务默认false；开启时搜索网络范围会扩大。\n- date_from（\"string\"，可选）：时间起点，YYYY-MM-DD，不晚于date_to；默认窗口及可用历史范围见本接口说明。 未指定默认最近12个月，历史最多约4年；Google Ads不提供当前未完成月份的完整搜索量，实际可用月份依发布状态。 最短字符数：1。\n- date_to（\"string\"，可选）：时间终点，YYYY-MM-DD，不早于date_from；搜索量通常不包含当前尚未完成月份，默认窗口见本接口说明。 未指定默认最近12个月，历史最多约4年；Google Ads不提供当前未完成月份的完整搜索量，实际可用月份依发布状态。 最短字符数：1。\n- include_adult_keywords（\"boolean\"，可选）：是否包含成人主题关键词，业务默认false。\n- sort_by（\"string\"，可选）：按降序排序：relevance=相关性（默认）、search_volume=搜索量、competition_index=广告竞争指数、low_top_of_page_bid=页首低位竞价、high_top_of_page_bid=页首高位竞价。 最短字符数：1。\n\n使用说明：\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_keywords_google_ads_search_volume","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"查询最多1000个关键词的搜索量、CPC和广告竞争数据。广告竞争度不等于自然排名难度；实时调用存在共享频率限制。","examples":[{"keywords":["email marketing"],"language_code":"en","location_code":2840}],"properties":{"date_from":{"description":"时间起点，YYYY-MM-DD，不晚于date_to；默认窗口及可用历史范围见本接口说明。 未指定默认最近12个月，历史最多约4年；Google Ads不提供当前未完成月份的完整搜索量，实际可用月份依发布状态。 最短字符数：1。","minLength":1,"type":"string"},"date_to":{"description":"时间终点，YYYY-MM-DD，不早于date_from；搜索量通常不包含当前尚未完成月份，默认窗口见本接口说明。 未指定默认最近12个月，历史最多约4年；Google Ads不提供当前未完成月份的完整搜索量，实际可用月份依发布状态。 最短字符数：1。","minLength":1,"type":"string"},"include_adult_keywords":{"description":"是否包含成人主题关键词，业务默认false。","type":"boolean"},"keywords":{"description":"关键词数组，1至1000项，每项最多80字符、10个词；不是多个逗号词组成的单个字符串。 最少项：1。 最多项：1000。","items":{"maxLength":80,"minLength":1,"type":"string"},"maxItems":1000,"minItems":1,"type":"array"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"search_partners":{"description":"是否包含搜索合作伙伴，业务默认false；开启时搜索网络范围会扩大。","type":"boolean"},"sort_by":{"description":"按降序排序：relevance=相关性（默认）、search_volume=搜索量、competition_index=广告竞争指数、low_top_of_page_bid=页首低位竞价、high_top_of_page_bid=页首高位竞价。 最短字符数：1。","minLength":1,"type":"string"}},"required":["keywords"],"type":"object"}}}}}},"/api/v1/keywords/google-trends-explore":{"post":{"tags":["关键词研究"],"summary":"查询Google关键词趋势","description":"查询关键词的时间兴趣、地区兴趣、相关主题和相关查询。结果为相对兴趣指数，不是绝对搜索次数。\n\n参数：\n- keywords（\"array\"，必填）：关键词数组，1至5项，每项最多80字符、10个词；不是多个逗号词组成的单个字符串。 最少项：1。 最多项：5。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- type（\"string\"，可选）：趋势搜索类型：web=网页（默认）、news=新闻、youtube=视频、images=图片、froogle=购物。 最短字符数：1。\n- category_code（\"integer\"，可选）：Google Trends主题类目代码，默认0表示所有主题，不是本服务注册类目ID。 最小值：-9007199254740991。 最大值：9007199254740991。\n- date_from（\"string\"，可选）：趋势起点，YYYY-MM-DD，默认去年同月同日；web最早2004-01-01，其他类型最早2008-01-01。 最短字符数：1。\n- date_to（\"string\"，可选）：趋势终点，YYYY-MM-DD，默认当天，不早于date_from。 最短字符数：1。\n- time_range（\"string\"，可选）：相对时间范围：past_hour=过去1小时、past_4_hours=4小时、past_day=1天、past_7_days=7天、past_30_days=30天、past_90_days=90天、past_12_months=12个月、past_5_years=5年；web另支持2004_present，其他类型支持2008_present。传date_from或date_to时本字段被忽略。 最短字符数：1。\n- item_types（\"array\"，可选）：结果模块：google_trends_graph=时间兴趣（默认）、google_trends_map=地区兴趣、google_trends_topics_list=相关主题、google_trends_queries_list=相关查询；后两类每次只能传1个关键词。\n\n使用说明：\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_keywords_google_trends_explore","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"查询关键词的时间兴趣、地区兴趣、相关主题和相关查询。结果为相对兴趣指数，不是绝对搜索次数。","examples":[{"keywords":["email marketing"],"language_code":"en","location_code":2840}],"properties":{"category_code":{"description":"Google Trends主题类目代码，默认0表示所有主题，不是本服务注册类目ID。 最小值：-9007199254740991。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"date_from":{"description":"趋势起点，YYYY-MM-DD，默认去年同月同日；web最早2004-01-01，其他类型最早2008-01-01。 最短字符数：1。","minLength":1,"type":"string"},"date_to":{"description":"趋势终点，YYYY-MM-DD，默认当天，不早于date_from。 最短字符数：1。","minLength":1,"type":"string"},"item_types":{"description":"结果模块：google_trends_graph=时间兴趣（默认）、google_trends_map=地区兴趣、google_trends_topics_list=相关主题、google_trends_queries_list=相关查询；后两类每次只能传1个关键词。","items":{"minLength":1,"type":"string"},"type":"array"},"keywords":{"description":"关键词数组，1至5项，每项最多80字符、10个词；不是多个逗号词组成的单个字符串。 最少项：1。 最多项：5。","items":{"maxLength":80,"minLength":1,"type":"string"},"maxItems":5,"minItems":1,"type":"array"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"time_range":{"description":"相对时间范围：past_hour=过去1小时、past_4_hours=4小时、past_day=1天、past_7_days=7天、past_30_days=30天、past_90_days=90天、past_12_months=12个月、past_5_years=5年；web另支持2004_present，其他类型支持2008_present。传date_from或date_to时本字段被忽略。 最短字符数：1。","minLength":1,"type":"string"},"type":{"description":"趋势搜索类型：web=网页（默认）、news=新闻、youtube=视频、images=图片、froogle=购物。 最短字符数：1。","minLength":1,"type":"string"}},"required":["keywords"],"type":"object"}}}}}},"/api/v1/labs/bulk-keyword-difficulty":{"post":{"tags":["关键词研究"],"summary":"批量查询关键词排名难度","description":"查询最多1000个关键词的自然搜索排名难度；不是广告竞争度，也不能与另一索引的难度评分直接混用。\n\n参数：\n- keywords（\"array\"，必填）：关键词数组，1至1000项，每项最多80字符、10个词；不是多个逗号词组成的单个字符串。 最少项：1。 最多项：1000。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n\n使用说明：\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_labs_bulk_keyword_difficulty","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"查询最多1000个关键词的自然搜索排名难度；不是广告竞争度，也不能与另一索引的难度评分直接混用。","examples":[{"keywords":["email marketing"],"language_code":"en","location_code":2840}],"properties":{"keywords":{"description":"关键词数组，1至1000项，每项最多80字符、10个词；不是多个逗号词组成的单个字符串。 最少项：1。 最多项：1000。","items":{"maxLength":80,"minLength":1,"type":"string"},"maxItems":1000,"minItems":1,"type":"array"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"}},"required":["keywords"],"type":"object"}}}}}},"/api/v1/labs/historical-keyword-data":{"post":{"tags":["关键词研究"],"summary":"查询关键词历史指标","description":"查询最多700个关键词按月的历史搜索量和CPC等指标，用于观察季节性和需求变化。\n\n参数：\n- keywords（\"array\"，必填）：关键词数组，1至700项，每项最多80字符、10个词；不是多个逗号词组成的单个字符串。 最少项：1。 最多项：700。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n\n使用说明：\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_labs_historical_keyword_data","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"查询最多700个关键词按月的历史搜索量和CPC等指标，用于观察季节性和需求变化。","examples":[{"keywords":["email marketing"],"language_code":"en","location_code":2840}],"properties":{"keywords":{"description":"关键词数组，1至700项，每项最多80字符、10个词；不是多个逗号词组成的单个字符串。 最少项：1。 最多项：700。","items":{"maxLength":80,"minLength":1,"type":"string"},"maxItems":700,"minItems":1,"type":"array"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"}},"required":["keywords"],"type":"object"}}}}}},"/api/v1/labs/keyword-overview":{"post":{"tags":["关键词研究"],"summary":"批量查询关键词概览","description":"查询最多700个关键词的搜索量、CPC、自然排名难度、搜索意图及搜索结果信息。各指标使用本端点的数据口径。\n\n参数：\n- keywords（\"array\"，必填）：关键词数组，1至700项，每项最多80字符、10个词；不是多个逗号词组成的单个字符串。 最少项：1。 最多项：700。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- include_serp_info（\"boolean\"，可选）：是否附带每个关键词的搜索结果摘要，业务默认false。\n- include_clickstream_data（\"boolean\"，可选）：是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。\n\n使用说明：\n开启include_clickstream_data时基础费及结果单价均加倍；展示价格为未开启扩展时的基础报价，实际费用以执行结果为准。\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_labs_keyword_overview","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"查询最多700个关键词的搜索量、CPC、自然排名难度、搜索意图及搜索结果信息。各指标使用本端点的数据口径。","examples":[{"keywords":["email marketing"],"language_code":"en","location_code":2840}],"properties":{"include_clickstream_data":{"description":"是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。","type":"boolean"},"include_serp_info":{"description":"是否附带每个关键词的搜索结果摘要，业务默认false。","type":"boolean"},"keywords":{"description":"关键词数组，1至700项，每项最多80字符、10个词；不是多个逗号词组成的单个字符串。 最少项：1。 最多项：700。","items":{"maxLength":80,"minLength":1,"type":"string"},"maxItems":700,"minItems":1,"type":"array"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"}},"required":["keywords"],"type":"object"}}}}}},"/api/v1/labs/keyword-suggestions":{"post":{"tags":["关键词研究"],"summary":"扩展长尾关键词","description":"发现包含种子词的长尾查询及搜索指标，支持精确短语匹配、过滤、排序与分页。\n\n参数：\n- keyword（\"string\"，必填）：搜索或扩展的种子关键词，非空字符串。 最短字符数：1。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- include_seed_keyword（\"boolean\"，可选）：是否将种子词本身纳入结果，业务默认false。\n- include_serp_info（\"boolean\"，可选）：是否附带每个关键词的搜索结果摘要，业务默认false。\n- include_clickstream_data（\"boolean\"，可选）：是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。\n- exact_match（\"boolean\"，可选）：是否要求精确短语匹配，业务默认false。\n- ignore_synonyms（\"boolean\"，可选）：是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。\n- filters（\"array\"，可选）：嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。\n- order_by（\"array\"，可选）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。\n- limit（\"integer\"，可选）：最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。\n- offset（\"integer\"，可选）：跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。\n- offset_token（\"string\"，可选）：上一响应返回的偏移令牌，用于后续页；不与另一次查询的条件或offset混用，不是登录凭据。 最短字符数：1。\n\n使用说明：\n分页保持目标、地区、语言、过滤和排序一致；offset是条数偏移，令牌只复用同一查询返回值。返回数量可能少于请求数量，不将缺失指标补零。\n开启include_clickstream_data时基础费及结果单价均加倍；展示价格为未开启扩展时的基础报价，实际费用以执行结果为准。\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_labs_keyword_suggestions","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"发现包含种子词的长尾查询及搜索指标，支持精确短语匹配、过滤、排序与分页。","examples":[{"keyword":"email marketing","language_code":"en","location_code":2840}],"properties":{"exact_match":{"description":"是否要求精确短语匹配，业务默认false。","type":"boolean"},"filters":{"description":"嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"ignore_synonyms":{"description":"是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。","type":"boolean"},"include_clickstream_data":{"description":"是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。","type":"boolean"},"include_seed_keyword":{"description":"是否将种子词本身纳入结果，业务默认false。","type":"boolean"},"include_serp_info":{"description":"是否附带每个关键词的搜索结果摘要，业务默认false。","type":"boolean"},"keyword":{"description":"搜索或扩展的种子关键词，非空字符串。 最短字符数：1。","minLength":1,"type":"string"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"limit":{"description":"最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"offset":{"description":"跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"offset_token":{"description":"上一响应返回的偏移令牌，用于后续页；不与另一次查询的条件或offset混用，不是登录凭据。 最短字符数：1。","minLength":1,"type":"string"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"}},"required":["keyword"],"type":"object"}}}}}},"/api/v1/labs/keywords-for-site":{"post":{"tags":["关键词研究"],"summary":"根据网站内容发现关键词","description":"发现与网站内容相关的关键词及其指标；与网站已经获得排名的关键词列表不同。\n\n参数：\n- target（\"string\"，必填）：目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- include_serp_info（\"boolean\"，可选）：是否附带每个关键词的搜索结果摘要，业务默认false。\n- include_subdomains（\"boolean\"，可选）：是否包含目标的子域名，业务默认true。\n- include_clickstream_data（\"boolean\"，可选）：是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。\n- limit（\"integer\"，可选）：最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。\n- offset（\"integer\"，可选）：跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。\n- offset_token（\"string\"，可选）：上一响应返回的偏移令牌，用于后续页；不与另一次查询的条件或offset混用，不是登录凭据。 最短字符数：1。\n- filters（\"array\"，可选）：嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。\n- order_by（\"array\"，可选）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。\n\n使用说明：\n分页保持目标、地区、语言、过滤和排序一致；offset是条数偏移，令牌只复用同一查询返回值。返回数量可能少于请求数量，不将缺失指标补零。\n开启include_clickstream_data时基础费及结果单价均加倍；展示价格为未开启扩展时的基础报价，实际费用以执行结果为准。\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_labs_keywords_for_site","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"发现与网站内容相关的关键词及其指标；与网站已经获得排名的关键词列表不同。","examples":[{"language_code":"en","location_code":2840,"target":"example.com"}],"properties":{"filters":{"description":"嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"include_clickstream_data":{"description":"是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。","type":"boolean"},"include_serp_info":{"description":"是否附带每个关键词的搜索结果摘要，业务默认false。","type":"boolean"},"include_subdomains":{"description":"是否包含目标的子域名，业务默认true。","type":"boolean"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"limit":{"description":"最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"offset":{"description":"跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"offset_token":{"description":"上一响应返回的偏移令牌，用于后续页；不与另一次查询的条件或offset混用，不是登录凭据。 最短字符数：1。","minLength":1,"type":"string"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"target":{"description":"目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。","maxLength":255,"minLength":1,"type":"string"}},"required":["target"],"type":"object"}}}}}},"/api/v1/labs/related-keywords":{"post":{"tags":["关键词研究"],"summary":"扩展相关关键词","description":"沿搜索相关词关系扩展关键词，支持0至4层深度；增加深度可能显著增加结果量与费用。\n\n参数：\n- keyword（\"string\"，必填）：搜索或扩展的种子关键词，非空字符串。 最短字符数：1。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- depth（\"integer\"，可选）：相关词扩展层级，0至4，默认1；每加一层可能显著增加结果数量，不是页码。 最小值：0。 最大值：4。\n- include_seed_keyword（\"boolean\"，可选）：是否将种子词本身纳入结果，业务默认false。\n- include_serp_info（\"boolean\"，可选）：是否附带每个关键词的搜索结果摘要，业务默认false。\n- include_clickstream_data（\"boolean\"，可选）：是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。\n- ignore_synonyms（\"boolean\"，可选）：是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。\n- replace_with_core_keyword（\"boolean\"，可选）：是否改用核心关键词数据，业务默认false。\n- filters（\"array\"，可选）：嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。\n- order_by（\"array\"，可选）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。\n- limit（\"integer\"，可选）：最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。\n- offset（\"integer\"，可选）：跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。\n\n使用说明：\n分页保持目标、地区、语言、过滤和排序一致；offset是条数偏移，令牌只复用同一查询返回值。返回数量可能少于请求数量，不将缺失指标补零。\n开启include_clickstream_data时基础费及结果单价均加倍；展示价格为未开启扩展时的基础报价，实际费用以执行结果为准。\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_labs_related_keywords","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"沿搜索相关词关系扩展关键词，支持0至4层深度；增加深度可能显著增加结果量与费用。","examples":[{"keyword":"email marketing","language_code":"en","location_code":2840}],"properties":{"depth":{"description":"相关词扩展层级，0至4，默认1；每加一层可能显著增加结果数量，不是页码。 最小值：0。 最大值：4。","maximum":4,"minimum":0,"type":"integer"},"filters":{"description":"嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"ignore_synonyms":{"description":"是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。","type":"boolean"},"include_clickstream_data":{"description":"是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。","type":"boolean"},"include_seed_keyword":{"description":"是否将种子词本身纳入结果，业务默认false。","type":"boolean"},"include_serp_info":{"description":"是否附带每个关键词的搜索结果摘要，业务默认false。","type":"boolean"},"keyword":{"description":"搜索或扩展的种子关键词，非空字符串。 最短字符数：1。","minLength":1,"type":"string"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"limit":{"description":"最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"offset":{"description":"跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"replace_with_core_keyword":{"description":"是否改用核心关键词数据，业务默认false。","type":"boolean"}},"required":["keyword"],"type":"object"}}}}}},"/api/v1/labs/search-intent":{"post":{"tags":["关键词研究"],"summary":"分析关键词搜索意图","description":"批量识别查询的搜索意图及概率，区分信息、导航、商业研究或交易等用途；不是实时用户行为记录。\n\n参数：\n- keywords（\"array\"，必填）：关键词数组，1至1000项，每项最多80字符、10个词；不是多个逗号词组成的单个字符串。 最少项：1。 最多项：1000。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n\n使用说明：\n官方直连不要求地区和语言，但当前契约仍列出这些可选字段；示例保留地区和语言，不据此声称它们影响意图分类。\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_labs_search_intent","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"批量识别查询的搜索意图及概率，区分信息、导航、商业研究或交易等用途；不是实时用户行为记录。","examples":[{"keywords":["email marketing"],"language_code":"en","location_code":2840}],"properties":{"keywords":{"description":"关键词数组，1至1000项，每项最多80字符、10个词；不是多个逗号词组成的单个字符串。 最少项：1。 最多项：1000。","items":{"maxLength":80,"minLength":1,"type":"string"},"maxItems":1000,"minItems":1,"type":"array"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"}},"required":["keywords"],"type":"object"}}}}}},"/api/v1/labs/top-searches":{"post":{"tags":["关键词研究"],"summary":"获取高搜索量关键词","description":"按地区和语言发现高搜索量关键词，可筛选排序；官方业务默认1000条，按返回结果数计费。\n\n参数：\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- include_serp_info（\"boolean\"，可选）：是否附带每个关键词的搜索结果摘要，业务默认false。\n- include_clickstream_data（\"boolean\"，可选）：是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。\n- ignore_synonyms（\"boolean\"，可选）：是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。\n- filters（\"array\"，可选）：嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。\n- order_by（\"array\"，可选）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。\n- limit（\"integer\"，可选）：最多返回关键词条数，官方默认1000，上限1000；后续使用offset_token，计费随实际结果数增加。 最小值：1。 最大值：1000。\n- offset（\"integer\"，可选）：跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。\n- offset_token（\"string\"，可选）：上一响应返回的偏移令牌，用于后续页；不与另一次查询的条件或offset混用，不是登录凭据。 最短字符数：1。\n\n使用说明：\n分页保持目标、地区、语言、过滤和排序一致；offset是条数偏移，令牌只复用同一查询返回值。返回数量可能少于请求数量，不将缺失指标补零。\n开启include_clickstream_data时基础费及结果单价均加倍；展示价格为未开启扩展时的基础报价，实际费用以执行结果为准。\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_labs_top_searches","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"按地区和语言发现高搜索量关键词，可筛选排序；官方业务默认1000条，按返回结果数计费。","examples":[{"language_code":"en","location_code":2840}],"properties":{"filters":{"description":"嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"ignore_synonyms":{"description":"是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。","type":"boolean"},"include_clickstream_data":{"description":"是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。","type":"boolean"},"include_serp_info":{"description":"是否附带每个关键词的搜索结果摘要，业务默认false。","type":"boolean"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"limit":{"description":"最多返回关键词条数，官方默认1000，上限1000；后续使用offset_token，计费随实际结果数增加。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"offset":{"description":"跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"offset_token":{"description":"上一响应返回的偏移令牌，用于后续页；不与另一次查询的条件或offset混用，不是登录凭据。 最短字符数：1。","minLength":1,"type":"string"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"}},"type":"object"}}}}}},"/api/v1/labs/competitors-domain":{"post":{"tags":["网站与竞品"],"summary":"发现网站搜索竞争对手","description":"按共享关键词与搜索表现寻找竞争网站，可排除超大型域名、指定参考域名和排名范围。\n\n参数：\n- target（\"string\"，必填）：目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- item_types（\"array\"，可选）：搜索模块数组，默认organic=自然及paid=广告；其他允许类型featured_snippet=精选摘要、local_pack=本地结果。\n- include_clickstream_data（\"boolean\"，可选）：是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。\n- filters（\"array\"，可选）：嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。\n- order_by（\"array\"，可选）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。\n- limit（\"integer\"，可选）：最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。\n- offset（\"integer\"，可选）：跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。\n- max_rank_group（\"integer\"，可选）：只将指定排名范围内的结果计入竞争分析，业务默认100；不是返回条数。 最小值：-9007199254740991。 最大值：9007199254740991。\n- exclude_top_domains（\"boolean\"，可选）：是否排除全球超大型网站，业务默认false。\n- exclude_domains（\"array\"，可选）：需从竞品结果排除的域名数组。 最多项：1000。\n- intersecting_domains（\"array\"，可选）：用于进一步比较和改善竞争分析的参考域名数组。 编号关系或数组结构以本字段Schema为准。 最多项：20。\n- ignore_synonyms（\"boolean\"，可选）：是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。\n\n使用说明：\n分页保持目标、地区、语言、过滤和排序一致；offset是条数偏移，令牌只复用同一查询返回值。返回数量可能少于请求数量，不将缺失指标补零。\n开启include_clickstream_data时基础费及结果单价均加倍；展示价格为未开启扩展时的基础报价，实际费用以执行结果为准。\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_labs_competitors_domain","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"按共享关键词与搜索表现寻找竞争网站，可排除超大型域名、指定参考域名和排名范围。","examples":[{"language_code":"en","location_code":2840,"target":"example.com"}],"properties":{"exclude_domains":{"description":"需从竞品结果排除的域名数组。 最多项：1000。","items":{"minLength":1,"type":"string"},"maxItems":1000,"type":"array"},"exclude_top_domains":{"description":"是否排除全球超大型网站，业务默认false。","type":"boolean"},"filters":{"description":"嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"ignore_synonyms":{"description":"是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。","type":"boolean"},"include_clickstream_data":{"description":"是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。","type":"boolean"},"intersecting_domains":{"description":"用于进一步比较和改善竞争分析的参考域名数组。 编号关系或数组结构以本字段Schema为准。 最多项：20。","items":{"minLength":1,"type":"string"},"maxItems":20,"type":"array"},"item_types":{"description":"搜索模块数组，默认organic=自然及paid=广告；其他允许类型featured_snippet=精选摘要、local_pack=本地结果。","items":{"minLength":1,"type":"string"},"type":"array"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"limit":{"description":"最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"max_rank_group":{"description":"只将指定排名范围内的结果计入竞争分析，业务默认100；不是返回条数。 最小值：-9007199254740991。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"offset":{"description":"跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"target":{"description":"目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。","maxLength":255,"minLength":1,"type":"string"}},"required":["target"],"type":"object"}}}}}},"/api/v1/labs/domain-intersection":{"post":{"tags":["网站与竞品"],"summary":"分析网站关键词交集与差异","description":"比较两个网站或页面的排名关键词与位置，可查询交集或目标一的独有词，用于发现内容缺口。\n\n参数：\n- target1（\"string\"，必填）：第一个目标域名、子域名或页面；与target2配合，域名不带协议及www。 最短字符数：1。 最长字符数：255。\n- target2（\"string\"，必填）：第二个比较目标，格式与target1一致；用于关键词交集或差异比较。 最短字符数：1。 最长字符数：255。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- intersections（\"boolean\"，可选）：是否只查询两个目标共同排名的词，业务默认true；false查询target1排名而target2不排名的词。\n- item_types（\"array\"，可选）：搜索模块数组，默认organic=自然及paid=广告；其他允许类型featured_snippet=精选摘要、local_pack=本地结果。\n- include_serp_info（\"boolean\"，可选）：是否附带每个关键词的搜索结果摘要，业务默认false。\n- include_clickstream_data（\"boolean\"，可选）：是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。\n- limit（\"integer\"，可选）：最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。\n- offset（\"integer\"，可选）：跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。\n- filters（\"array\"，可选）：嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。\n- order_by（\"array\"，可选）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。\n\n使用说明：\n分页保持目标、地区、语言、过滤和排序一致；offset是条数偏移，令牌只复用同一查询返回值。返回数量可能少于请求数量，不将缺失指标补零。\n开启include_clickstream_data时基础费及结果单价均加倍；展示价格为未开启扩展时的基础报价，实际费用以执行结果为准。\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_labs_domain_intersection","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"比较两个网站或页面的排名关键词与位置，可查询交集或目标一的独有词，用于发现内容缺口。","examples":[{"language_code":"en","location_code":2840,"target1":"example.com","target2":"example.org"}],"properties":{"filters":{"description":"嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"include_clickstream_data":{"description":"是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。","type":"boolean"},"include_serp_info":{"description":"是否附带每个关键词的搜索结果摘要，业务默认false。","type":"boolean"},"intersections":{"description":"是否只查询两个目标共同排名的词，业务默认true；false查询target1排名而target2不排名的词。","type":"boolean"},"item_types":{"description":"搜索模块数组，默认organic=自然及paid=广告；其他允许类型featured_snippet=精选摘要、local_pack=本地结果。","items":{"minLength":1,"type":"string"},"type":"array"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"limit":{"description":"最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"offset":{"description":"跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"target1":{"description":"第一个目标域名、子域名或页面；与target2配合，域名不带协议及www。 最短字符数：1。 最长字符数：255。","maxLength":255,"minLength":1,"type":"string"},"target2":{"description":"第二个比较目标，格式与target1一致；用于关键词交集或差异比较。 最短字符数：1。 最长字符数：255。","maxLength":255,"minLength":1,"type":"string"}},"required":["target1","target2"],"type":"object"}}}}}},"/api/v1/labs/domain-rank-overview":{"get":{"tags":["网站与竞品"],"summary":"获取网站搜索表现概览","description":"获取网站自然和付费搜索排名分布及估算流量概览，不提供网站后台真实访问量。\n\n参数：\n- target（\"string\"，必填）：目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- ignore_synonyms（\"boolean\"，可选）：是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。\n- limit（\"integer\"，可选）：最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。\n- offset（\"integer\"，可选）：跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。\n\n使用说明：\n分页保持目标、地区、语言、过滤和排序一致；offset是条数偏移，令牌只复用同一查询返回值。返回数量可能少于请求数量，不将缺失指标补零。\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_labs_domain_rank_overview","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"ignore_synonyms","in":"query","required":false,"description":"是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。","schema":{"description":"是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。","type":"boolean"}},{"name":"language_code","in":"query","required":false,"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","schema":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"}},{"name":"language_name","in":"query","required":false,"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","schema":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"}},{"name":"limit","in":"query","required":false,"description":"最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。","schema":{"description":"最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"}},{"name":"location_code","in":"query","required":false,"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","schema":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},{"name":"location_name","in":"query","required":false,"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","schema":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"}},{"name":"offset","in":"query","required":false,"description":"跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。","schema":{"description":"跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"}},{"name":"target","in":"query","required":true,"description":"目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。","schema":{"description":"目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。","maxLength":255,"minLength":1,"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/labs/historical-rank-overview":{"get":{"tags":["网站与竞品"],"summary":"获取网站历史排名概览","description":"按时间查询网站搜索表现与排名分布变化，默认最近6个月；历史数据按本端点索引口径解释。\n\n参数：\n- target（\"string\"，必填）：目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- date_from（\"string\"，可选）：历史起点，YYYY-MM-DD，默认最近6个月；最早2020-10-01。 最短字符数：1。\n- date_to（\"string\"，可选）：历史终点，YYYY-MM-DD，默认当天，不早于date_from。 最短字符数：1。\n- correlate（\"boolean\"，可选）：是否关联先前已取得的数据集，业务默认true。\n- ignore_synonyms（\"boolean\"，可选）：是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。\n- include_clickstream_data（\"boolean\"，可选）：是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。\n\n使用说明：\n开启include_clickstream_data时基础费及结果单价均加倍；展示价格为未开启扩展时的基础报价，实际费用以执行结果为准。\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_labs_historical_rank_overview","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"correlate","in":"query","required":false,"description":"是否关联先前已取得的数据集，业务默认true。","schema":{"description":"是否关联先前已取得的数据集，业务默认true。","type":"boolean"}},{"name":"date_from","in":"query","required":false,"description":"历史起点，YYYY-MM-DD，默认最近6个月；最早2020-10-01。 最短字符数：1。","schema":{"description":"历史起点，YYYY-MM-DD，默认最近6个月；最早2020-10-01。 最短字符数：1。","minLength":1,"type":"string"}},{"name":"date_to","in":"query","required":false,"description":"历史终点，YYYY-MM-DD，默认当天，不早于date_from。 最短字符数：1。","schema":{"description":"历史终点，YYYY-MM-DD，默认当天，不早于date_from。 最短字符数：1。","minLength":1,"type":"string"}},{"name":"ignore_synonyms","in":"query","required":false,"description":"是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。","schema":{"description":"是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。","type":"boolean"}},{"name":"include_clickstream_data","in":"query","required":false,"description":"是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。","schema":{"description":"是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。","type":"boolean"}},{"name":"language_code","in":"query","required":false,"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","schema":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"}},{"name":"language_name","in":"query","required":false,"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","schema":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"}},{"name":"location_code","in":"query","required":false,"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","schema":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},{"name":"location_name","in":"query","required":false,"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","schema":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"}},{"name":"target","in":"query","required":true,"description":"目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。","schema":{"description":"目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。","maxLength":255,"minLength":1,"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/labs/page-intersection":{"post":{"tags":["网站与竞品"],"summary":"分析页面关键词交集","description":"比较最多20个编号目标页面的共同或合并排名词，支持排除目标页面。\n\n参数：\n- pages（\"object\"，必填）：编号目标字典，最多20个，例如{\"1\":\"example.com\",\"2\":\"other.com/page\"}；不是URL数组。\n- exclude_pages（\"array\"，可选）：需要从交集或合并结果排除的目标页面数组。 最多项：10。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- item_types（\"array\"，可选）：搜索模块数组，默认organic=自然及paid=广告；其他允许类型featured_snippet=精选摘要、local_pack=本地结果。 本接口另支持ai_overview_reference=AI概览引用。\n- limit（\"integer\"，可选）：最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。\n- offset（\"integer\"，可选）：跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。\n- include_subdomains（\"boolean\"，可选）：是否包含目标的子域名，业务默认true。\n- intersection_mode（\"string\"，可选）：关键词集合模式：union=任一页面排名词的并集、intersect=所有页面共同排名的交集；仅传pages时默认intersect，同时传exclude_pages时默认union。 最短字符数：1。\n- include_serp_info（\"boolean\"，可选）：是否附带每个关键词的搜索结果摘要，业务默认false。\n- include_clickstream_data（\"boolean\"，可选）：是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。\n- ignore_synonyms（\"boolean\"，可选）：是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。\n- filters（\"array\"，可选）：嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。\n- order_by（\"array\"，可选）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。\n\n使用说明：\n分页保持目标、地区、语言、过滤和排序一致；offset是条数偏移，令牌只复用同一查询返回值。返回数量可能少于请求数量，不将缺失指标补零。\n开启include_clickstream_data时基础费及结果单价均加倍；展示价格为未开启扩展时的基础报价，实际费用以执行结果为准。\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_labs_page_intersection","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"比较最多20个编号目标页面的共同或合并排名词，支持排除目标页面。","examples":[{"language_code":"en","location_code":2840,"pages":{"1":"example.com","2":"example.org"}}],"properties":{"exclude_pages":{"description":"需要从交集或合并结果排除的目标页面数组。 最多项：10。","items":{"minLength":1,"type":"string"},"maxItems":10,"type":"array"},"filters":{"description":"嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"ignore_synonyms":{"description":"是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。","type":"boolean"},"include_clickstream_data":{"description":"是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。","type":"boolean"},"include_serp_info":{"description":"是否附带每个关键词的搜索结果摘要，业务默认false。","type":"boolean"},"include_subdomains":{"description":"是否包含目标的子域名，业务默认true。","type":"boolean"},"intersection_mode":{"description":"关键词集合模式：union=任一页面排名词的并集、intersect=所有页面共同排名的交集；仅传pages时默认intersect，同时传exclude_pages时默认union。 最短字符数：1。","minLength":1,"type":"string"},"item_types":{"description":"搜索模块数组，默认organic=自然及paid=广告；其他允许类型featured_snippet=精选摘要、local_pack=本地结果。 本接口另支持ai_overview_reference=AI概览引用。","items":{"minLength":1,"type":"string"},"type":"array"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"limit":{"description":"最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"offset":{"description":"跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"pages":{"additionalProperties":{"minLength":1,"type":"string"},"description":"编号目标字典，最多20个，例如{\"1\":\"example.com\",\"2\":\"other.com/page\"}；不是URL数组。","propertyNames":{"type":"string"},"type":"object"}},"required":["pages"],"type":"object"}}}}}},"/api/v1/labs/ranked-keywords":{"post":{"tags":["网站与竞品"],"summary":"获取网站排名关键词","description":"查询网站或页面在Google中获得排名的关键词、位置、搜索量及估算流量，支持当前和历史丢失排名模式。\n\n参数：\n- target（\"string\"，必填）：目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- ignore_synonyms（\"boolean\"，可选）：是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。\n- item_types（\"array\"，可选）：搜索模块数组，默认organic=自然及paid=广告；其他允许类型featured_snippet=精选摘要、local_pack=本地结果。 本接口另支持ai_overview_reference=AI概览引用。\n- include_clickstream_data（\"boolean\"，可选）：是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。\n- limit（\"integer\"，可选）：最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。\n- offset（\"integer\"，可选）：跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。\n- load_rank_absolute（\"boolean\"，可选）：是否按包含其他模块的绝对排名返回分布，业务默认false；与自然结果内部位置不同。\n- historical_serp_mode（\"string\"，可选）：排名集合：live=当前仍有排名（默认）、lost=曾有排名而最近检查已丢失、all=两者全部。 最短字符数：1。\n- filters（\"array\"，可选）：嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。\n- order_by（\"array\"，可选）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。\n\n使用说明：\n分页保持目标、地区、语言、过滤和排序一致；offset是条数偏移，令牌只复用同一查询返回值。返回数量可能少于请求数量，不将缺失指标补零。\n开启include_clickstream_data时基础费及结果单价均加倍；展示价格为未开启扩展时的基础报价，实际费用以执行结果为准。\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_labs_ranked_keywords","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"查询网站或页面在Google中获得排名的关键词、位置、搜索量及估算流量，支持当前和历史丢失排名模式。","examples":[{"language_code":"en","location_code":2840,"target":"example.com"}],"properties":{"filters":{"description":"嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"historical_serp_mode":{"description":"排名集合：live=当前仍有排名（默认）、lost=曾有排名而最近检查已丢失、all=两者全部。 最短字符数：1。","minLength":1,"type":"string"},"ignore_synonyms":{"description":"是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。","type":"boolean"},"include_clickstream_data":{"description":"是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。","type":"boolean"},"item_types":{"description":"搜索模块数组，默认organic=自然及paid=广告；其他允许类型featured_snippet=精选摘要、local_pack=本地结果。 本接口另支持ai_overview_reference=AI概览引用。","items":{"minLength":1,"type":"string"},"type":"array"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"limit":{"description":"最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"load_rank_absolute":{"description":"是否按包含其他模块的绝对排名返回分布，业务默认false；与自然结果内部位置不同。","type":"boolean"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"offset":{"description":"跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"target":{"description":"目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。","maxLength":255,"minLength":1,"type":"string"}},"required":["target"],"type":"object"}}}}}},"/api/v1/labs/relevant-pages":{"post":{"tags":["网站与竞品"],"summary":"获取网站搜索重要页面","description":"按关键词与估算搜索流量分析网站页面表现，支持过滤、排序和偏移分页；流量并非后台实际访问数据。\n\n参数：\n- target（\"string\"，必填）：目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- item_types（\"array\"，可选）：搜索模块数组，默认organic=自然及paid=广告；其他允许类型featured_snippet=精选摘要、local_pack=本地结果。\n- include_clickstream_data（\"boolean\"，可选）：是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。\n- limit（\"integer\"，可选）：最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。\n- offset（\"integer\"，可选）：跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。\n- historical_serp_mode（\"string\"，可选）：排名集合：live=当前仍有排名（默认）、lost=曾有排名而最近检查已丢失、all=两者全部。 最短字符数：1。\n- ignore_synonyms（\"boolean\"，可选）：是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。\n- filters（\"array\"，可选）：嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。\n- order_by（\"array\"，可选）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。\n\n使用说明：\n分页保持目标、地区、语言、过滤和排序一致；offset是条数偏移，令牌只复用同一查询返回值。返回数量可能少于请求数量，不将缺失指标补零。\n开启include_clickstream_data时基础费及结果单价均加倍；展示价格为未开启扩展时的基础报价，实际费用以执行结果为准。\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_labs_relevant_pages","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"按关键词与估算搜索流量分析网站页面表现，支持过滤、排序和偏移分页；流量并非后台实际访问数据。","examples":[{"language_code":"en","location_code":2840,"target":"example.com"}],"properties":{"filters":{"description":"嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"historical_serp_mode":{"description":"排名集合：live=当前仍有排名（默认）、lost=曾有排名而最近检查已丢失、all=两者全部。 最短字符数：1。","minLength":1,"type":"string"},"ignore_synonyms":{"description":"是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。","type":"boolean"},"include_clickstream_data":{"description":"是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。","type":"boolean"},"item_types":{"description":"搜索模块数组，默认organic=自然及paid=广告；其他允许类型featured_snippet=精选摘要、local_pack=本地结果。","items":{"minLength":1,"type":"string"},"type":"array"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"limit":{"description":"最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"offset":{"description":"跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"target":{"description":"目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。","maxLength":255,"minLength":1,"type":"string"}},"required":["target"],"type":"object"}}}}}},"/api/v1/labs/serp-competitors":{"post":{"tags":["网站与竞品"],"summary":"分析关键词搜索竞争网站","description":"分析一组关键词搜索结果中的共同竞争网站；与基于单个网站寻找竞品不同。\n\n参数：\n- keywords（\"array\"，必填）：关键词数组，1至200项，每项最多80字符、10个词；不是多个逗号词组成的单个字符串。 最少项：1。 最多项：200。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- include_subdomains（\"boolean\"，可选）：是否包含目标的子域名，业务默认true。\n- item_types（\"array\"，可选）：搜索模块数组，默认organic=自然及paid=广告；其他允许类型featured_snippet=精选摘要、local_pack=本地结果。\n- limit（\"integer\"，可选）：最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。\n- offset（\"integer\"，可选）：跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。\n- filters（\"array\"，可选）：嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。\n- order_by（\"array\"，可选）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。\n\n使用说明：\n分页保持目标、地区、语言、过滤和排序一致；offset是条数偏移，令牌只复用同一查询返回值。返回数量可能少于请求数量，不将缺失指标补零。\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_labs_serp_competitors","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"分析一组关键词搜索结果中的共同竞争网站；与基于单个网站寻找竞品不同。","examples":[{"keywords":["email marketing"],"language_code":"en","location_code":2840}],"properties":{"filters":{"description":"嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"include_subdomains":{"description":"是否包含目标的子域名，业务默认true。","type":"boolean"},"item_types":{"description":"搜索模块数组，默认organic=自然及paid=广告；其他允许类型featured_snippet=精选摘要、local_pack=本地结果。","items":{"minLength":1,"type":"string"},"type":"array"},"keywords":{"description":"关键词数组，1至200项，每项最多80字符、10个词；不是多个逗号词组成的单个字符串。 最少项：1。 最多项：200。","items":{"maxLength":80,"minLength":1,"type":"string"},"maxItems":200,"minItems":1,"type":"array"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"limit":{"description":"最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"offset":{"description":"跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"}},"required":["keywords"],"type":"object"}}}}}},"/api/v1/labs/subdomains":{"post":{"tags":["网站与竞品"],"summary":"分析子域名搜索表现","description":"查询域名下各子域名的自然及付费搜索表现，支持当前或丢失排名模式。\n\n参数：\n- target（\"string\"，必填）：目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。\n- item_types（\"array\"，可选）：搜索模块数组，默认organic=自然及paid=广告；其他允许类型featured_snippet=精选摘要、local_pack=本地结果。\n- include_clickstream_data（\"boolean\"，可选）：是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。\n- historical_serp_mode（\"string\"，可选）：排名集合：live=当前仍有排名（默认）、lost=曾有排名而最近检查已丢失、all=两者全部。 最短字符数：1。\n- ignore_synonyms（\"boolean\"，可选）：是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。\n- filters（\"array\"，可选）：嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。\n- order_by（\"array\"，可选）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。\n- limit（\"integer\"，可选）：最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。\n- offset（\"integer\"，可选）：跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。\n\n使用说明：\n分页保持目标、地区、语言、过滤和排序一致；offset是条数偏移，令牌只复用同一查询返回值。返回数量可能少于请求数量，不将缺失指标补零。\n开启include_clickstream_data时基础费及结果单价均加倍；展示价格为未开启扩展时的基础报价，实际费用以执行结果为准。\n地区名称、代码或本接口支持的坐标至少一种；语言名称或代码至少一种。Schema未编码的跨字段要求仍须按说明填写。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_labs_subdomains","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"查询域名下各子域名的自然及付费搜索表现，支持当前或丢失排名模式。","examples":[{"language_code":"en","location_code":2840,"target":"example.com"}],"properties":{"filters":{"description":"嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"historical_serp_mode":{"description":"排名集合：live=当前仍有排名（默认）、lost=曾有排名而最近检查已丢失、all=两者全部。 最短字符数：1。","minLength":1,"type":"string"},"ignore_synonyms":{"description":"是否忽略高度相近的关键词，业务默认false；开启会改变结果集合。","type":"boolean"},"include_clickstream_data":{"description":"是否包含点击流指标，业务默认false；开启时本次基础费和结果单价均加倍。","type":"boolean"},"item_types":{"description":"搜索模块数组，默认organic=自然及paid=广告；其他允许类型featured_snippet=精选摘要、local_pack=本地结果。","items":{"minLength":1,"type":"string"},"type":"array"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"limit":{"description":"最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"offset":{"description":"跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"target":{"description":"目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。","maxLength":255,"minLength":1,"type":"string"}},"required":["target"],"type":"object"}}}}}},"/api/v1/backlinks/anchors":{"post":{"tags":["外链分析"],"summary":"分析网站外链锚文本","description":"按锚文本统计外链和引用域名，用于分析链接描述及分布。\n\n参数：\n- target（\"string\"，必填）：目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。\n- limit（\"integer\"，可选）：最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。\n- offset（\"integer\"，可选）：跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。\n- internal_list_limit（\"integer\"，可选）：响应内部嵌套数组最多元素数，默认10，上限1000；不同于顶层结果limit。 最小值：-9007199254740991。 最大值：1000。\n- backlinks_status_type（\"string\"，可选）：外链状态范围：live=当前有效（默认）、all=所有状态；不是HTTP状态筛选。 最短字符数：1。\n- filters（\"array\"，可选）：嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。\n- order_by（\"array\"，可选）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。\n- backlinks_filters（\"array\"，可选）：先应用于组成统计的具体外链的过滤条件，与顶层汇总行filters不同；格式和运算符使用本接口的外链字段。\n- include_subdomains（\"boolean\"，可选）：是否包含目标的子域名，业务默认true。\n- include_indirect_links（\"boolean\"，可选）：是否包含间接链接，业务默认true。\n- exclude_internal_backlinks（\"boolean\"，可选）：是否排除目标子域名产生的内部链接，业务默认true。\n- rank_scale（\"string\"，可选）：评分尺度：one_thousand=千分制（默认）、one_hundred=百分制；不是DR评分。 最短字符数：1。\n\n使用说明：\n分页保持目标、地区、语言、过滤和排序一致；offset是条数偏移，令牌只复用同一查询返回值。返回数量可能少于请求数量，不将缺失指标补零。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_backlinks_anchors","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"按锚文本统计外链和引用域名，用于分析链接描述及分布。","examples":[{"target":"example.com"}],"properties":{"backlinks_filters":{"description":"先应用于组成统计的具体外链的过滤条件，与顶层汇总行filters不同；格式和运算符使用本接口的外链字段。","items":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"backlinks_status_type":{"description":"外链状态范围：live=当前有效（默认）、all=所有状态；不是HTTP状态筛选。 最短字符数：1。","minLength":1,"type":"string"},"exclude_internal_backlinks":{"description":"是否排除目标子域名产生的内部链接，业务默认true。","type":"boolean"},"filters":{"description":"嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"include_indirect_links":{"description":"是否包含间接链接，业务默认true。","type":"boolean"},"include_subdomains":{"description":"是否包含目标的子域名，业务默认true。","type":"boolean"},"internal_list_limit":{"description":"响应内部嵌套数组最多元素数，默认10，上限1000；不同于顶层结果limit。 最小值：-9007199254740991。 最大值：1000。","maximum":1000,"minimum":-9007199254740991,"type":"integer"},"limit":{"description":"最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"offset":{"description":"跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"rank_scale":{"description":"评分尺度：one_thousand=千分制（默认）、one_hundred=百分制；不是DR评分。 最短字符数：1。","minLength":1,"type":"string"},"target":{"description":"目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。","maxLength":255,"minLength":1,"type":"string"}},"required":["target"],"type":"object"}}}}}},"/api/v1/backlinks/backlinks":{"post":{"tags":["外链分析"],"summary":"获取网站外链明细","description":"查询指向目标的链接来源、锚文本、发现时间和链接属性，可分组、过滤与游标翻页。\n\n参数：\n- target（\"string\"，必填）：目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。\n- mode（\"string\"，可选）：外链去重分组：as_is=全部（默认）、one_per_domain=每来源域名一条、one_per_anchor=每锚文本一条。 最短字符数：1。\n- custom_mode（\"object\"，可选）：自定义分组对象，例如{\"field\":\"domain\",\"value\":100}表示每域名最多100条；指定后mode被忽略。\n- filters（\"array\"，可选）：嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。\n- order_by（\"array\"，可选）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。\n- offset（\"integer\"，可选）：跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。\n- search_after_token（\"string\"，可选）：上次响应的后续查询令牌，用于外链继续翻页；不能与不同查询条件或另一页游标混用。 最短字符数：1。\n- limit（\"integer\"，可选）：最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。\n- backlinks_status_type（\"string\"，可选）：外链状态范围：live=当前有效（默认）、all=所有状态；不是HTTP状态筛选。 最短字符数：1。\n- include_subdomains（\"boolean\"，可选）：是否包含目标的子域名，业务默认true。\n- exclude_internal_backlinks（\"boolean\"，可选）：是否排除目标子域名产生的内部链接，业务默认true。\n- rank_scale（\"string\"，可选）：评分尺度：one_thousand=千分制（默认）、one_hundred=百分制；不是DR评分。 最短字符数：1。\n\n使用说明：\n分页保持目标、地区、语言、过滤和排序一致；offset是条数偏移，令牌只复用同一查询返回值。返回数量可能少于请求数量，不将缺失指标补零。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_backlinks_backlinks","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"查询指向目标的链接来源、锚文本、发现时间和链接属性，可分组、过滤与游标翻页。","examples":[{"target":"example.com"}],"properties":{"backlinks_status_type":{"description":"外链状态范围：live=当前有效（默认）、all=所有状态；不是HTTP状态筛选。 最短字符数：1。","minLength":1,"type":"string"},"custom_mode":{"additionalProperties":{},"description":"自定义分组对象，例如{\"field\":\"domain\",\"value\":100}表示每域名最多100条；指定后mode被忽略。","propertyNames":{"type":"string"},"type":"object"},"exclude_internal_backlinks":{"description":"是否排除目标子域名产生的内部链接，业务默认true。","type":"boolean"},"filters":{"description":"嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"include_subdomains":{"description":"是否包含目标的子域名，业务默认true。","type":"boolean"},"limit":{"description":"最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"mode":{"description":"外链去重分组：as_is=全部（默认）、one_per_domain=每来源域名一条、one_per_anchor=每锚文本一条。 最短字符数：1。","minLength":1,"type":"string"},"offset":{"description":"跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"rank_scale":{"description":"评分尺度：one_thousand=千分制（默认）、one_hundred=百分制；不是DR评分。 最短字符数：1。","minLength":1,"type":"string"},"search_after_token":{"description":"上次响应的后续查询令牌，用于外链继续翻页；不能与不同查询条件或另一页游标混用。 最短字符数：1。","minLength":1,"type":"string"},"target":{"description":"目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。","maxLength":255,"minLength":1,"type":"string"}},"required":["target"],"type":"object"}}}}}},"/api/v1/backlinks/bulk-referring-domains":{"post":{"tags":["外链分析"],"summary":"批量查询网站引用域名数量","description":"一次查询最多1000个域名、子域名或页面的引用域名数量，按返回结果计费。\n\n参数：\n- targets（\"array\"，必填）：目标字符串数组，1至1000项；支持域名、子域名或页面，纯域名不带协议及www。 最少项：1。 最多项：1000。\n\n使用说明：\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_backlinks_bulk_referring_domains","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"一次查询最多1000个域名、子域名或页面的引用域名数量，按返回结果计费。","examples":[{"targets":["example.com"]}],"properties":{"targets":{"description":"目标字符串数组，1至1000项；支持域名、子域名或页面，纯域名不带协议及www。 最少项：1。 最多项：1000。","items":{"maxLength":255,"minLength":1,"type":"string"},"maxItems":1000,"minItems":1,"type":"array"}},"required":["targets"],"type":"object"}}}}}},"/api/v1/backlinks/competitors":{"post":{"tags":["外链分析"],"summary":"发现网站外链竞争对手","description":"根据共享引用域名寻找竞争网站；结果与搜索关键词竞争网站不同。\n\n参数：\n- target（\"string\"，必填）：目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。\n- limit（\"integer\"，可选）：最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。\n- offset（\"integer\"，可选）：跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。\n- filters（\"array\"，可选）：嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。\n- order_by（\"array\"，可选）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。\n- main_domain（\"boolean\"，可选）：是否只比较主域名，业务默认true。\n- exclude_large_domains（\"boolean\"，可选）：是否排除大型域名，业务默认true。\n- exclude_internal_backlinks（\"boolean\"，可选）：是否排除目标子域名产生的内部链接，业务默认true。\n- rank_scale（\"string\"，可选）：评分尺度：one_thousand=千分制（默认）、one_hundred=百分制；不是DR评分。 最短字符数：1。\n\n使用说明：\n分页保持目标、地区、语言、过滤和排序一致；offset是条数偏移，令牌只复用同一查询返回值。返回数量可能少于请求数量，不将缺失指标补零。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_backlinks_competitors","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"根据共享引用域名寻找竞争网站；结果与搜索关键词竞争网站不同。","examples":[{"target":"example.com"}],"properties":{"exclude_internal_backlinks":{"description":"是否排除目标子域名产生的内部链接，业务默认true。","type":"boolean"},"exclude_large_domains":{"description":"是否排除大型域名，业务默认true。","type":"boolean"},"filters":{"description":"嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"limit":{"description":"最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"main_domain":{"description":"是否只比较主域名，业务默认true。","type":"boolean"},"offset":{"description":"跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"rank_scale":{"description":"评分尺度：one_thousand=千分制（默认）、one_hundred=百分制；不是DR评分。 最短字符数：1。","minLength":1,"type":"string"},"target":{"description":"目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。","maxLength":255,"minLength":1,"type":"string"}},"required":["target"],"type":"object"}}}}}},"/api/v1/backlinks/domain-intersection":{"post":{"tags":["外链分析"],"summary":"分析网站共享引用域名","description":"比较最多20个编号目标的引用域名关系，查找共享外链及链接建设机会。\n\n参数：\n- targets（\"object\"，必填）：最多20个编号目标字典，例如{\"1\":\"example.com\",\"2\":\"other.com\"}；不是普通目标数组。\n- exclude_targets（\"array\"，可选）：需排除的域名、子域名或页面目标数组。\n- filters（\"array\"，可选）：嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。\n- order_by（\"array\"，可选）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。\n- offset（\"integer\"，可选）：跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。\n- limit（\"integer\"，可选）：最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。\n- internal_list_limit（\"integer\"，可选）：响应内部嵌套数组最多元素数，默认10，上限1000；不同于顶层结果limit。 最小值：-9007199254740991。 最大值：1000。\n- backlinks_status_type（\"string\"，可选）：外链状态范围：live=当前有效（默认）、all=所有状态；不是HTTP状态筛选。 最短字符数：1。\n- backlinks_filters（\"array\"，可选）：先应用于组成统计的具体外链的过滤条件，与顶层汇总行filters不同；格式和运算符使用本接口的外链字段。\n- include_subdomains（\"boolean\"，可选）：是否包含目标的子域名，业务默认true。\n- include_indirect_links（\"boolean\"，可选）：是否包含间接链接，业务默认true。\n- exclude_internal_backlinks（\"boolean\"，可选）：是否排除目标子域名产生的内部链接，业务默认true。\n- intersection_mode（\"string\"，可选）：外链集合模式：all=所有外链（默认）、partial=仅相交外链。 最短字符数：1。\n- rank_scale（\"string\"，可选）：评分尺度：one_thousand=千分制（默认）、one_hundred=百分制；不是DR评分。 最短字符数：1。\n\n使用说明：\n分页保持目标、地区、语言、过滤和排序一致；offset是条数偏移，令牌只复用同一查询返回值。返回数量可能少于请求数量，不将缺失指标补零。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_backlinks_domain_intersection","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"比较最多20个编号目标的引用域名关系，查找共享外链及链接建设机会。","examples":[{"targets":{"1":"example.com","2":"example.org"}}],"properties":{"backlinks_filters":{"description":"先应用于组成统计的具体外链的过滤条件，与顶层汇总行filters不同；格式和运算符使用本接口的外链字段。","items":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"backlinks_status_type":{"description":"外链状态范围：live=当前有效（默认）、all=所有状态；不是HTTP状态筛选。 最短字符数：1。","minLength":1,"type":"string"},"exclude_internal_backlinks":{"description":"是否排除目标子域名产生的内部链接，业务默认true。","type":"boolean"},"exclude_targets":{"description":"需排除的域名、子域名或页面目标数组。","items":{"minLength":1,"type":"string"},"type":"array"},"filters":{"description":"嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"include_indirect_links":{"description":"是否包含间接链接，业务默认true。","type":"boolean"},"include_subdomains":{"description":"是否包含目标的子域名，业务默认true。","type":"boolean"},"internal_list_limit":{"description":"响应内部嵌套数组最多元素数，默认10，上限1000；不同于顶层结果limit。 最小值：-9007199254740991。 最大值：1000。","maximum":1000,"minimum":-9007199254740991,"type":"integer"},"intersection_mode":{"description":"外链集合模式：all=所有外链（默认）、partial=仅相交外链。 最短字符数：1。","minLength":1,"type":"string"},"limit":{"description":"最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"offset":{"description":"跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"rank_scale":{"description":"评分尺度：one_thousand=千分制（默认）、one_hundred=百分制；不是DR评分。 最短字符数：1。","minLength":1,"type":"string"},"targets":{"additionalProperties":{"minLength":1,"type":"string"},"description":"最多20个编号目标字典，例如{\"1\":\"example.com\",\"2\":\"other.com\"}；不是普通目标数组。","propertyNames":{"type":"string"},"type":"object"}},"required":["targets"],"type":"object"}}}}}},"/api/v1/backlinks/domain-pages":{"post":{"tags":["外链分析"],"summary":"分析网站页面外链表现","description":"按外链和引用域名分析目标域名下的页面表现，可筛选排序。\n\n参数：\n- target（\"string\"，必填）：目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。\n- limit（\"integer\"，可选）：最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。\n- offset（\"integer\"，可选）：跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。\n- internal_list_limit（\"integer\"，可选）：响应内部嵌套数组最多元素数，默认10，上限1000；不同于顶层结果limit。 最小值：-9007199254740991。 最大值：1000。\n- backlinks_status_type（\"string\"，可选）：外链状态范围：live=当前有效（默认）、all=所有状态；不是HTTP状态筛选。 最短字符数：1。\n- filters（\"array\"，可选）：嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。\n- order_by（\"array\"，可选）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。\n- backlinks_filters（\"array\"，可选）：先应用于组成统计的具体外链的过滤条件，与顶层汇总行filters不同；格式和运算符使用本接口的外链字段。\n- include_subdomains（\"boolean\"，可选）：是否包含目标的子域名，业务默认true。\n- exclude_internal_backlinks（\"boolean\"，可选）：是否排除目标子域名产生的内部链接，业务默认true。\n- rank_scale（\"string\"，可选）：评分尺度：one_thousand=千分制（默认）、one_hundred=百分制；不是DR评分。 最短字符数：1。\n\n使用说明：\n分页保持目标、地区、语言、过滤和排序一致；offset是条数偏移，令牌只复用同一查询返回值。返回数量可能少于请求数量，不将缺失指标补零。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_backlinks_domain_pages","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"按外链和引用域名分析目标域名下的页面表现，可筛选排序。","examples":[{"target":"example.com"}],"properties":{"backlinks_filters":{"description":"先应用于组成统计的具体外链的过滤条件，与顶层汇总行filters不同；格式和运算符使用本接口的外链字段。","items":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"backlinks_status_type":{"description":"外链状态范围：live=当前有效（默认）、all=所有状态；不是HTTP状态筛选。 最短字符数：1。","minLength":1,"type":"string"},"exclude_internal_backlinks":{"description":"是否排除目标子域名产生的内部链接，业务默认true。","type":"boolean"},"filters":{"description":"嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"include_subdomains":{"description":"是否包含目标的子域名，业务默认true。","type":"boolean"},"internal_list_limit":{"description":"响应内部嵌套数组最多元素数，默认10，上限1000；不同于顶层结果limit。 最小值：-9007199254740991。 最大值：1000。","maximum":1000,"minimum":-9007199254740991,"type":"integer"},"limit":{"description":"最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"offset":{"description":"跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"rank_scale":{"description":"评分尺度：one_thousand=千分制（默认）、one_hundred=百分制；不是DR评分。 最短字符数：1。","minLength":1,"type":"string"},"target":{"description":"目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。","maxLength":255,"minLength":1,"type":"string"}},"required":["target"],"type":"object"}}}}}},"/api/v1/backlinks/history":{"get":{"tags":["外链分析"],"summary":"获取网站历史外链变化","description":"查询网站按月的外链与引用域名历史变化，最早可查询日期为2019-01-01。\n\n参数：\n- target（\"string\"，必填）：目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。\n- date_from（\"string\"，可选）：历史起点，YYYY-MM-DD，最早及默认2019-01-01。 最短字符数：1。\n- date_to（\"string\"，可选）：历史终点，YYYY-MM-DD，默认当天，不早于date_from。 最短字符数：1。\n- rank_scale（\"string\"，可选）：评分尺度：one_thousand=千分制（默认）、one_hundred=百分制；不是DR评分。 最短字符数：1。\n\n使用说明：\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_backlinks_history","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"date_from","in":"query","required":false,"description":"历史起点，YYYY-MM-DD，最早及默认2019-01-01。 最短字符数：1。","schema":{"description":"历史起点，YYYY-MM-DD，最早及默认2019-01-01。 最短字符数：1。","minLength":1,"type":"string"}},{"name":"date_to","in":"query","required":false,"description":"历史终点，YYYY-MM-DD，默认当天，不早于date_from。 最短字符数：1。","schema":{"description":"历史终点，YYYY-MM-DD，默认当天，不早于date_from。 最短字符数：1。","minLength":1,"type":"string"}},{"name":"rank_scale","in":"query","required":false,"description":"评分尺度：one_thousand=千分制（默认）、one_hundred=百分制；不是DR评分。 最短字符数：1。","schema":{"description":"评分尺度：one_thousand=千分制（默认）、one_hundred=百分制；不是DR评分。 最短字符数：1。","minLength":1,"type":"string"}},{"name":"target","in":"query","required":true,"description":"目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。","schema":{"description":"目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。","maxLength":255,"minLength":1,"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/backlinks/page-intersection":{"post":{"tags":["外链分析"],"summary":"分析目标共享引用页面","description":"比较最多20个目标的引用页面，查看哪些来源页面共同链接多个目标。\n\n参数：\n- targets（\"object\"，必填）：最多20个编号目标字典，例如{\"1\":\"example.com\",\"2\":\"other.com\"}；不是普通目标数组。\n- exclude_targets（\"array\"，可选）：需排除的域名、子域名或页面目标数组。\n- backlinks_status_type（\"string\"，可选）：外链状态范围：live=当前有效（默认）、all=所有状态；不是HTTP状态筛选。 最短字符数：1。\n- filters（\"array\"，可选）：嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。\n- order_by（\"array\"，可选）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。\n- offset（\"integer\"，可选）：跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。\n- limit（\"integer\"，可选）：最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。\n- internal_list_limit（\"integer\"，可选）：响应内部嵌套数组最多元素数，默认10，上限1000；不同于顶层结果limit。 最小值：-9007199254740991。 最大值：1000。\n- include_subdomains（\"boolean\"，可选）：是否包含目标的子域名，业务默认true。\n- include_indirect_links（\"boolean\"，可选）：是否包含间接链接，业务默认true。\n- exclude_internal_backlinks（\"boolean\"，可选）：是否排除目标子域名产生的内部链接，业务默认true。\n- intersection_mode（\"string\"，可选）：外链集合模式：all=所有外链（默认）、partial=仅相交外链。 最短字符数：1。\n- rank_scale（\"string\"，可选）：评分尺度：one_thousand=千分制（默认）、one_hundred=百分制；不是DR评分。 最短字符数：1。\n\n使用说明：\n分页保持目标、地区、语言、过滤和排序一致；offset是条数偏移，令牌只复用同一查询返回值。返回数量可能少于请求数量，不将缺失指标补零。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_backlinks_page_intersection","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"比较最多20个目标的引用页面，查看哪些来源页面共同链接多个目标。","examples":[{"targets":{"1":"example.com","2":"example.org"}}],"properties":{"backlinks_status_type":{"description":"外链状态范围：live=当前有效（默认）、all=所有状态；不是HTTP状态筛选。 最短字符数：1。","minLength":1,"type":"string"},"exclude_internal_backlinks":{"description":"是否排除目标子域名产生的内部链接，业务默认true。","type":"boolean"},"exclude_targets":{"description":"需排除的域名、子域名或页面目标数组。","items":{"minLength":1,"type":"string"},"type":"array"},"filters":{"description":"嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"include_indirect_links":{"description":"是否包含间接链接，业务默认true。","type":"boolean"},"include_subdomains":{"description":"是否包含目标的子域名，业务默认true。","type":"boolean"},"internal_list_limit":{"description":"响应内部嵌套数组最多元素数，默认10，上限1000；不同于顶层结果limit。 最小值：-9007199254740991。 最大值：1000。","maximum":1000,"minimum":-9007199254740991,"type":"integer"},"intersection_mode":{"description":"外链集合模式：all=所有外链（默认）、partial=仅相交外链。 最短字符数：1。","minLength":1,"type":"string"},"limit":{"description":"最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"offset":{"description":"跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"rank_scale":{"description":"评分尺度：one_thousand=千分制（默认）、one_hundred=百分制；不是DR评分。 最短字符数：1。","minLength":1,"type":"string"},"targets":{"additionalProperties":{"minLength":1,"type":"string"},"description":"最多20个编号目标字典，例如{\"1\":\"example.com\",\"2\":\"other.com\"}；不是普通目标数组。","propertyNames":{"type":"string"},"type":"object"}},"required":["targets"],"type":"object"}}}}}},"/api/v1/backlinks/referring-domains":{"post":{"tags":["外链分析"],"summary":"获取网站引用域名","description":"查询链接到目标的域名及其外链数量和评分，支持链接条件与域名条件分别过滤。\n\n参数：\n- target（\"string\"，必填）：目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。\n- limit（\"integer\"，可选）：最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。\n- offset（\"integer\"，可选）：跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。\n- internal_list_limit（\"integer\"，可选）：响应内部嵌套数组最多元素数，默认10，上限1000；不同于顶层结果limit。 最小值：-9007199254740991。 最大值：1000。\n- backlinks_status_type（\"string\"，可选）：外链状态范围：live=当前有效（默认）、all=所有状态；不是HTTP状态筛选。 最短字符数：1。\n- filters（\"array\"，可选）：嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。\n- order_by（\"array\"，可选）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。\n- backlinks_filters（\"array\"，可选）：先应用于组成统计的具体外链的过滤条件，与顶层汇总行filters不同；格式和运算符使用本接口的外链字段。\n- include_subdomains（\"boolean\"，可选）：是否包含目标的子域名，业务默认true。\n- include_indirect_links（\"boolean\"，可选）：是否包含间接链接，业务默认true。\n- exclude_internal_backlinks（\"boolean\"，可选）：是否排除目标子域名产生的内部链接，业务默认true。\n- rank_scale（\"string\"，可选）：评分尺度：one_thousand=千分制（默认）、one_hundred=百分制；不是DR评分。 最短字符数：1。\n\n使用说明：\n分页保持目标、地区、语言、过滤和排序一致；offset是条数偏移，令牌只复用同一查询返回值。返回数量可能少于请求数量，不将缺失指标补零。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_backlinks_referring_domains","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"查询链接到目标的域名及其外链数量和评分，支持链接条件与域名条件分别过滤。","examples":[{"target":"example.com"}],"properties":{"backlinks_filters":{"description":"先应用于组成统计的具体外链的过滤条件，与顶层汇总行filters不同；格式和运算符使用本接口的外链字段。","items":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"backlinks_status_type":{"description":"外链状态范围：live=当前有效（默认）、all=所有状态；不是HTTP状态筛选。 最短字符数：1。","minLength":1,"type":"string"},"exclude_internal_backlinks":{"description":"是否排除目标子域名产生的内部链接，业务默认true。","type":"boolean"},"filters":{"description":"嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"include_indirect_links":{"description":"是否包含间接链接，业务默认true。","type":"boolean"},"include_subdomains":{"description":"是否包含目标的子域名，业务默认true。","type":"boolean"},"internal_list_limit":{"description":"响应内部嵌套数组最多元素数，默认10，上限1000；不同于顶层结果limit。 最小值：-9007199254740991。 最大值：1000。","maximum":1000,"minimum":-9007199254740991,"type":"integer"},"limit":{"description":"最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"offset":{"description":"跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"rank_scale":{"description":"评分尺度：one_thousand=千分制（默认）、one_hundred=百分制；不是DR评分。 最短字符数：1。","minLength":1,"type":"string"},"target":{"description":"目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。","maxLength":255,"minLength":1,"type":"string"}},"required":["target"],"type":"object"}}}}}},"/api/v1/backlinks/referring-networks":{"post":{"tags":["外链分析"],"summary":"分析网站引用网络","description":"按IP或子网汇总链接来源，用于观察引用网站的网络分布，不等同于流量来源统计。\n\n参数：\n- target（\"string\"，必填）：目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。\n- network_address_type（\"string\"，可选）：引用网络汇总粒度：ip=IP地址（默认）、subnet=子网。 最短字符数：1。\n- limit（\"integer\"，可选）：最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。\n- offset（\"integer\"，可选）：跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。\n- internal_list_limit（\"integer\"，可选）：响应内部嵌套数组最多元素数，默认10，上限1000；不同于顶层结果limit。 最小值：-9007199254740991。 最大值：1000。\n- backlinks_status_type（\"string\"，可选）：外链状态范围：live=当前有效（默认）、all=所有状态；不是HTTP状态筛选。 最短字符数：1。\n- filters（\"array\"，可选）：嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。\n- order_by（\"array\"，可选）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。\n- backlinks_filters（\"array\"，可选）：先应用于组成统计的具体外链的过滤条件，与顶层汇总行filters不同；格式和运算符使用本接口的外链字段。\n- include_subdomains（\"boolean\"，可选）：是否包含目标的子域名，业务默认true。\n- include_indirect_links（\"boolean\"，可选）：是否包含间接链接，业务默认true。\n- exclude_internal_backlinks（\"boolean\"，可选）：是否排除目标子域名产生的内部链接，业务默认true。\n- rank_scale（\"string\"，可选）：评分尺度：one_thousand=千分制（默认）、one_hundred=百分制；不是DR评分。 最短字符数：1。\n\n使用说明：\n分页保持目标、地区、语言、过滤和排序一致；offset是条数偏移，令牌只复用同一查询返回值。返回数量可能少于请求数量，不将缺失指标补零。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_backlinks_referring_networks","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"按IP或子网汇总链接来源，用于观察引用网站的网络分布，不等同于流量来源统计。","examples":[{"target":"example.com"}],"properties":{"backlinks_filters":{"description":"先应用于组成统计的具体外链的过滤条件，与顶层汇总行filters不同；格式和运算符使用本接口的外链字段。","items":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"backlinks_status_type":{"description":"外链状态范围：live=当前有效（默认）、all=所有状态；不是HTTP状态筛选。 最短字符数：1。","minLength":1,"type":"string"},"exclude_internal_backlinks":{"description":"是否排除目标子域名产生的内部链接，业务默认true。","type":"boolean"},"filters":{"description":"嵌套过滤数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；最多8个条件。支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match；字段须适用于当前报告。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"include_indirect_links":{"description":"是否包含间接链接，业务默认true。","type":"boolean"},"include_subdomains":{"description":"是否包含目标的子域名，业务默认true。","type":"boolean"},"internal_list_limit":{"description":"响应内部嵌套数组最多元素数，默认10，上限1000；不同于顶层结果limit。 最小值：-9007199254740991。 最大值：1000。","maximum":1000,"minimum":-9007199254740991,"type":"integer"},"limit":{"description":"最多返回结果条数，默认100，范围1至1000；结果计费以实际返回计费单位为准。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"network_address_type":{"description":"引用网络汇总粒度：ip=IP地址（默认）、subnet=子网。 最短字符数：1。","minLength":1,"type":"string"},"offset":{"description":"跳过的结果条数，业务默认0；不是页码，翻页保持目标、地区、语言、过滤与排序一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。字段必须属于当前报告。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"rank_scale":{"description":"评分尺度：one_thousand=千分制（默认）、one_hundred=百分制；不是DR评分。 最短字符数：1。","minLength":1,"type":"string"},"target":{"description":"目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。","maxLength":255,"minLength":1,"type":"string"}},"required":["target"],"type":"object"}}}}}},"/api/v1/backlinks/summary":{"post":{"tags":["外链分析"],"summary":"获取网站外链概览","description":"查询目标网站或页面的外链、引用域名、评分等概览；评分与另一套索引的DR或UR不等价。\n\n参数：\n- target（\"string\"，必填）：目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。\n- include_subdomains（\"boolean\"，可选）：是否包含目标的子域名，业务默认true。\n- include_indirect_links（\"boolean\"，可选）：是否包含间接链接，业务默认true。\n- exclude_internal_backlinks（\"boolean\"，可选）：是否排除目标子域名产生的内部链接，业务默认true。\n- internal_list_limit（\"integer\"，可选）：响应内部嵌套数组最多元素数，默认10，上限1000；不同于顶层结果limit。 最小值：-9007199254740991。 最大值：1000。\n- backlinks_status_type（\"string\"，可选）：外链状态范围：live=当前有效（默认）、all=所有状态；不是HTTP状态筛选。 最短字符数：1。\n- backlinks_filters（\"array\"，可选）：先应用于组成统计的具体外链的过滤条件，与顶层汇总行filters不同；格式和运算符使用本接口的外链字段。\n- rank_scale（\"string\"，可选）：评分尺度：one_thousand=千分制（默认）、one_hundred=百分制；不是DR评分。 最短字符数：1。\n\n使用说明：\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_backlinks_summary","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"查询目标网站或页面的外链、引用域名、评分等概览；评分与另一套索引的DR或UR不等价。","examples":[{"target":"example.com"}],"properties":{"backlinks_filters":{"description":"先应用于组成统计的具体外链的过滤条件，与顶层汇总行filters不同；格式和运算符使用本接口的外链字段。","items":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"backlinks_status_type":{"description":"外链状态范围：live=当前有效（默认）、all=所有状态；不是HTTP状态筛选。 最短字符数：1。","minLength":1,"type":"string"},"exclude_internal_backlinks":{"description":"是否排除目标子域名产生的内部链接，业务默认true。","type":"boolean"},"include_indirect_links":{"description":"是否包含间接链接，业务默认true。","type":"boolean"},"include_subdomains":{"description":"是否包含目标的子域名，业务默认true。","type":"boolean"},"internal_list_limit":{"description":"响应内部嵌套数组最多元素数，默认10，上限1000；不同于顶层结果limit。 最小值：-9007199254740991。 最大值：1000。","maximum":1000,"minimum":-9007199254740991,"type":"integer"},"rank_scale":{"description":"评分尺度：one_thousand=千分制（默认）、one_hundred=百分制；不是DR评分。 最短字符数：1。","minLength":1,"type":"string"},"target":{"description":"目标域名、子域名或页面；纯域名不带协议及www，页面使用完整地址。目标范围按当前接口mode或包含子域名选项确定。 最短字符数：1。 最长字符数：255。","maxLength":255,"minLength":1,"type":"string"}},"required":["target"],"type":"object"}}}}}},"/api/v1/onpage/instant-pages":{"post":{"tags":["页面审计"],"summary":"检查页面SEO问题","description":"即时检查单个公开网页的标题、元信息、标题层级、链接、资源与结构化标记等问题。基础价格不包含可选渲染、资源及脚本附加费。\n\n参数：\n- url（\"string\"，必填）：要审计的公开页面完整地址，包含协议；不是域名搜索词，不提供登录态。\n- custom_user_agent（\"string\"，可选）：自定义浏览器User-Agent；页面即时检查业务默认Mozilla/5。 最短字符数：1。\n- browser_preset（\"string\"，可选）：设备布局：desktop=桌面、mobile=手机、tablet=平板；省略使用默认布局。 最短字符数：1。\n- browser_screen_width（\"integer\"，可选）：模拟视口宽度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。\n- browser_screen_height（\"integer\"，可选）：模拟视口高度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。\n- browser_screen_scale_factor（\"number\"，可选）：模拟屏幕缩放倍率，无单位；即时页面检查最多3。\n- store_raw_html（\"boolean\"，可选）：是否保留原始HTML，业务默认false。\n- accept_language（\"string\"，可选）：页面请求Accept-Language，使用语言或地区语言代码。 最短字符数：1。\n- load_resources（\"boolean\"，可选）：是否加载图片、样式、脚本及失败资源，默认false；开启产生额外费用。\n- enable_browser_rendering（\"boolean\"，可选）：是否模拟浏览器渲染，默认false；开启会自动启用脚本及资源加载，并产生附加费用，用于获取可用性能指标。\n- disable_cookie_popup（\"boolean\"，可选）：是否尝试关闭Cookie同意弹窗，默认false；这是页面交互开关，不是输入用户Cookie。\n- return_despite_timeout（\"boolean\"，可选）：页面处理超时时是否返回已取得数据，默认false；不改变本服务执行超时。\n- enable_javascript（\"boolean\"，可选）：是否执行页面脚本，默认false；开启产生额外费用。\n- enable_xhr（\"boolean\"，可选）：是否允许页面XMLHttpRequest，默认false，需要启用JavaScript。\n- custom_js（\"string\"，可选）：页面采集时执行的自定义JavaScript字符串，仅用于公开页面检查；省略不添加自定义脚本。 最短字符数：1。\n- validate_micromarkup（\"boolean\"，可选）：是否检查结构化标记，业务默认false。\n- check_spell（\"boolean\"，可选）：是否检查拼写，业务默认false。\n- checks_threshold（\"object\"，可选）：页面检查阈值对象，键为当前检查的阈值名称，值使用该检查规定的单位；未覆盖项使用执行方默认阈值。\n- switch_pool（\"boolean\"，可选）：是否在失败或限速时切换采集代理池，不代表用户登录身份。\n- ip_pool_for_scan（\"string\"，可选）：采集网络地区：us=美国、de=德国。 最短字符数：1。\n\n使用说明：\n基础报价不含enable_javascript、load_resources及enable_browser_rendering附加费；渲染会自动启用脚本和资源。Cookie弹窗开关不是登录凭据。\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_onpage_instant_pages","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"即时检查单个公开网页的标题、元信息、标题层级、链接、资源与结构化标记等问题。基础价格不包含可选渲染、资源及脚本附加费。","examples":[{"url":"请替换为待检查页面完整地址"}],"properties":{"accept_language":{"description":"页面请求Accept-Language，使用语言或地区语言代码。 最短字符数：1。","minLength":1,"type":"string"},"browser_preset":{"description":"设备布局：desktop=桌面、mobile=手机、tablet=平板；省略使用默认布局。 最短字符数：1。","minLength":1,"type":"string"},"browser_screen_height":{"description":"模拟视口高度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"browser_screen_scale_factor":{"description":"模拟屏幕缩放倍率，无单位；即时页面检查最多3。","type":"number"},"browser_screen_width":{"description":"模拟视口宽度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"check_spell":{"description":"是否检查拼写，业务默认false。","type":"boolean"},"checks_threshold":{"additionalProperties":{},"description":"页面检查阈值对象，键为当前检查的阈值名称，值使用该检查规定的单位；未覆盖项使用执行方默认阈值。","propertyNames":{"type":"string"},"type":"object"},"custom_js":{"description":"页面采集时执行的自定义JavaScript字符串，仅用于公开页面检查；省略不添加自定义脚本。 最短字符数：1。","minLength":1,"type":"string"},"custom_user_agent":{"description":"自定义浏览器User-Agent；页面即时检查业务默认Mozilla/5。 最短字符数：1。","minLength":1,"type":"string"},"disable_cookie_popup":{"description":"是否尝试关闭Cookie同意弹窗，默认false；这是页面交互开关，不是输入用户Cookie。","type":"boolean"},"enable_browser_rendering":{"description":"是否模拟浏览器渲染，默认false；开启会自动启用脚本及资源加载，并产生附加费用，用于获取可用性能指标。","type":"boolean"},"enable_javascript":{"description":"是否执行页面脚本，默认false；开启产生额外费用。","type":"boolean"},"enable_xhr":{"description":"是否允许页面XMLHttpRequest，默认false，需要启用JavaScript。","type":"boolean"},"ip_pool_for_scan":{"description":"采集网络地区：us=美国、de=德国。 最短字符数：1。","minLength":1,"type":"string"},"load_resources":{"description":"是否加载图片、样式、脚本及失败资源，默认false；开启产生额外费用。","type":"boolean"},"return_despite_timeout":{"description":"页面处理超时时是否返回已取得数据，默认false；不改变本服务执行超时。","type":"boolean"},"store_raw_html":{"description":"是否保留原始HTML，业务默认false。","type":"boolean"},"switch_pool":{"description":"是否在失败或限速时切换采集代理池，不代表用户登录身份。","type":"boolean"},"url":{"description":"要审计的公开页面完整地址，包含协议；不是域名搜索词，不提供登录态。","format":"uri","type":"string"},"validate_micromarkup":{"description":"是否检查结构化标记，业务默认false。","type":"boolean"}},"required":["url"],"type":"object"}}}}}},"/api/v1/onpage/lighthouse":{"post":{"tags":["页面审计"],"summary":"执行页面性能与SEO审计","description":"对单个公开网页执行性能、SEO、可访问性和最佳实践审计，支持设备模拟与网络条件；实验室性能结果不等同真实用户体验数据。\n\n参数：\n- url（\"string\"，必填）：要审计的公开页面完整地址，包含协议；不是域名搜索词，不提供登录态。\n- for_mobile（\"boolean\"，可选）：是否启用移动设备模拟，业务默认false。\n- categories（\"array\"，可选）：审计类别数组：seo=搜索优化、performance=性能、best_practices=最佳实践、accessibility=可访问性。\n- audits（\"array\"，可选）：需要执行的具体审计ID数组，省略使用类别对应的审计；使用所选版本真实存在的ID。\n- version（\"string\"，可选）：审计引擎版本，使用可用版本号；省略由执行方采用当前默认版本。 最短字符数：1。\n- language_name（\"string\"，可选）：审计报告语言，业务默认English。 最短字符数：1。\n- language_code（\"string\"，可选）：审计报告语言，业务默认en。 最短字符数：1。\n- custom_user_agent（\"string\"，可选）：自定义浏览器User-Agent；页面即时检查业务默认Mozilla/5。 最短字符数：1。\n- browser_screen_width（\"integer\"，可选）：模拟视口宽度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。\n- browser_screen_height（\"integer\"，可选）：模拟视口高度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。\n- browser_screen_scale_factor（\"number\"，可选）：模拟屏幕缩放倍率，无单位；即时页面检查最多3。\n- browser_network_throttling_method（\"string\"，可选）：网络模拟方法：simulate=估算性能、devtools=应用网络和CPU限制、provided=使用实际采集环境条件。 最短字符数：1。\n- browser_cpu_throttling_multiplier（\"number\"，可选）：CPU降速倍率，无单位，数值越大表示模拟处理越慢。\n- browser_network_throttling（\"string\"，可选）：网络条件：no_throttling=不限速、fast_4g=快速4G、slow_4g=慢速4G、regular_3g=普通3G、pc=桌面网络。 最短字符数：1。\n\n使用说明：\n商品或广告指标中的币种保留原始口径；本服务接口费用统一美元。查询结果不是网站后台真实访问数据。","operationId":"data_relay_onpage_lighthouse","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"对单个公开网页执行性能、SEO、可访问性和最佳实践审计，支持设备模拟与网络条件；实验室性能结果不等同真实用户体验数据。","examples":[{"language_code":"en","url":"请替换为待检查页面完整地址"}],"properties":{"audits":{"description":"需要执行的具体审计ID数组，省略使用类别对应的审计；使用所选版本真实存在的ID。","items":{"minLength":1,"type":"string"},"type":"array"},"browser_cpu_throttling_multiplier":{"description":"CPU降速倍率，无单位，数值越大表示模拟处理越慢。","type":"number"},"browser_network_throttling":{"description":"网络条件：no_throttling=不限速、fast_4g=快速4G、slow_4g=慢速4G、regular_3g=普通3G、pc=桌面网络。 最短字符数：1。","minLength":1,"type":"string"},"browser_network_throttling_method":{"description":"网络模拟方法：simulate=估算性能、devtools=应用网络和CPU限制、provided=使用实际采集环境条件。 最短字符数：1。","minLength":1,"type":"string"},"browser_screen_height":{"description":"模拟视口高度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"browser_screen_scale_factor":{"description":"模拟屏幕缩放倍率，无单位；即时页面检查最多3。","type":"number"},"browser_screen_width":{"description":"模拟视口宽度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"categories":{"description":"审计类别数组：seo=搜索优化、performance=性能、best_practices=最佳实践、accessibility=可访问性。","items":{"minLength":1,"type":"string"},"type":"array"},"custom_user_agent":{"description":"自定义浏览器User-Agent；页面即时检查业务默认Mozilla/5。 最短字符数：1。","minLength":1,"type":"string"},"for_mobile":{"description":"是否启用移动设备模拟，业务默认false。","type":"boolean"},"language_code":{"description":"审计报告语言，业务默认en。 最短字符数：1。","minLength":1,"type":"string"},"language_name":{"description":"审计报告语言，业务默认English。 最短字符数：1。","minLength":1,"type":"string"},"url":{"description":"要审计的公开页面完整地址，包含协议；不是域名搜索词，不提供登录态。","format":"uri","type":"string"},"version":{"description":"审计引擎版本，使用可用版本号；省略由执行方采用当前默认版本。 最短字符数：1。","minLength":1,"type":"string"}},"required":["url"],"type":"object"}}}}}},"/api/v1/ai/chatgpt-search":{"get":{"tags":["网页问答采集"],"summary":"采集ChatGPT网页回答","description":"采集ChatGPT消费者网页版对问题的实际回答及可用引用、实体和页面模块；不是使用普通模型API代为生成。结果随时间、地区和搜索模式变化。\n\n参数：\n- force_web_search（\"boolean\"，可选）：是否强制请求联网搜索，官方默认false；即使true也不保证回答一定包含引用。\n- keyword（\"string\"，必填）：要发送到真实网页的自然语言问题，非空字符串；不是API模型名称。 最短字符数：1。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。\n- location_coordinate（\"string\"，可选）：地区坐标，纬度,经度,半径，半径单位米、200至19999；与地区名称或代码择一。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。\n\n使用说明：\n记录并比较相同问题、国家、语言、联网模式及时间；公开网页回答不代表某个已登录账号。答案可能无引用，引用也不等于品牌被正文提及。供应方说明属于网页采集，不承诺原生手机App。","operationId":"data_relay_ai_chatgpt_search","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"force_web_search","in":"query","required":false,"description":"是否强制请求联网搜索，官方默认false；即使true也不保证回答一定包含引用。","schema":{"description":"是否强制请求联网搜索，官方默认false；即使true也不保证回答一定包含引用。","type":"boolean"}},{"name":"keyword","in":"query","required":true,"description":"要发送到真实网页的自然语言问题，非空字符串；不是API模型名称。 最短字符数：1。","schema":{"description":"要发送到真实网页的自然语言问题，非空字符串；不是API模型名称。 最短字符数：1。","minLength":1,"type":"string"}},{"name":"language_code","in":"query","required":false,"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。","schema":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"}},{"name":"language_name","in":"query","required":false,"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","schema":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"}},{"name":"location_code","in":"query","required":false,"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。","schema":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},{"name":"location_coordinate","in":"query","required":false,"description":"地区坐标，纬度,经度,半径，半径单位米、200至19999；与地区名称或代码择一。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","schema":{"description":"地区坐标，纬度,经度,半径，半径单位米、200至19999；与地区名称或代码择一。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"}},{"name":"location_name","in":"query","required":false,"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。","schema":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai/gemini-search":{"get":{"tags":["网页问答采集"],"summary":"采集Gemini网页回答","description":"采集Gemini消费者网页版的实际回答、引用与实体，支持地区和语言。公开网页口径不等于某个私人账号的个性化结果。\n\n参数：\n- keyword（\"string\"，必填）：要发送到真实网页的自然语言问题，非空字符串；不是API模型名称。 最短字符数：1。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。\n- location_coordinate（\"string\"，可选）：地区坐标，纬度,经度,半径，半径单位米、200至19999；与地区名称或代码择一。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。\n\n使用说明：\n记录并比较相同问题、国家、语言、联网模式及时间；公开网页回答不代表某个已登录账号。答案可能无引用，引用也不等于品牌被正文提及。供应方说明属于网页采集，不承诺原生手机App。","operationId":"data_relay_ai_gemini_search","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"keyword","in":"query","required":true,"description":"要发送到真实网页的自然语言问题，非空字符串；不是API模型名称。 最短字符数：1。","schema":{"description":"要发送到真实网页的自然语言问题，非空字符串；不是API模型名称。 最短字符数：1。","minLength":1,"type":"string"}},{"name":"language_code","in":"query","required":false,"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。","schema":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"}},{"name":"language_name","in":"query","required":false,"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","schema":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"}},{"name":"location_code","in":"query","required":false,"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。","schema":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},{"name":"location_coordinate","in":"query","required":false,"description":"地区坐标，纬度,经度,半径，半径单位米、200至19999；与地区名称或代码择一。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","schema":{"description":"地区坐标，纬度,经度,半径，半径单位米、200至19999；与地区名称或代码择一。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"}},{"name":"location_name","in":"query","required":false,"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。","schema":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/chatgpt/ask":{"post":{"tags":["网页问答采集"],"summary":"采集ChatGPT网页回答与页面证据","description":"采集未登录ChatGPT网页回答、来源与可选页面HTML链接、Markdown及搜索查询等证据。默认强制联网；关闭强制联网时，模型自行决定是否搜索，不保证有引用。\n\n参数：\n- country（\"string\"，必填）：请求发起国家，大写ISO 3166-1两字母代码，如US=美国、GB=英国、CN=中国；枚举有效不等于目标产品在所有国家都有相同可用性。 完整国家/州允许值见Schema枚举。\n- disableWebSearch（\"boolean\"，可选）：是否关闭强制联网，默认false；true仅让ChatGPT自行判断是否搜索，不等于禁止联网，引用可能为空。\n- include（\"object\"，可选）：可选返回证据开关对象。未传时不请求附加证据；页面没有某模块时不能保证有对应字段。\n- legacy（\"boolean\"，可选）：是否尽力使用旧版桌面界面，可返回model和searchQueries；不保证始终采用桌面布局，不能作为固定模型版本承诺。\n- prompt（\"string\"，必填）：发送到真实网页端的问题，非空，最多10000字符；不是system提示词或模型API配置。 最短字符数：1。 最长字符数：10000。\n- state（\"string\"，可选）：美国州代码，例如CA=加州、NY=纽约；仅country=US时使用，开启增加2个计费积分。 完整国家/州允许值见Schema枚举。\n\n使用说明：\n记录并比较相同问题、国家、语言、联网模式及时间；公开网页回答不代表某个已登录账号。答案可能无引用，引用也不等于品牌被正文提及。供应方说明属于网页采集，不承诺原生手机App。\n积分换算当前为每10单位$0.008，即每积分$0.0008；基础7积分（$0.0056），state另加2积分；ChatGPT原始数据开关另加一次2积分。展示为基础报价，最终费用按执行收据；不能按引用链接数量计费。","operationId":"data_relay_chatgpt_ask","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"采集未登录ChatGPT网页回答、来源与可选页面HTML链接、Markdown及搜索查询等证据。默认强制联网；关闭强制联网时，模型自行决定是否搜索，不保证有引用。","examples":[{"country":"US","prompt":"Which project management tools are suitable for a small team? Please include sources."}],"properties":{"country":{"description":"请求发起国家，大写ISO 3166-1两字母代码，如US=美国、GB=英国、CN=中国；枚举有效不等于目标产品在所有国家都有相同可用性。","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],"type":"string"},"disableWebSearch":{"description":"是否关闭强制联网，默认false；true仅让ChatGPT自行判断是否搜索，不等于禁止联网，引用可能为空。","type":"boolean"},"include":{"additionalProperties":false,"description":"可选返回证据开关对象。未传时不请求附加证据；页面没有某模块时不能保证有对应字段。","properties":{"ads":{"description":"是否返回页面实际出现的广告。 ChatGPT的rawResponse、searchQueries、ads、shopping任意开启时合计只加一次2积分。","type":"boolean"},"html":{"description":"是否返回渲染页面HTML的链接，链接有效期24小时；不是保证直接返回HTML全文。","type":"boolean"},"markdown":{"description":"是否包含回答Markdown。","type":"boolean"},"rawResponse":{"description":"是否包含原始响应或流式事件证据；不是通过普通模型API重新生成答案。 ChatGPT的rawResponse、searchQueries、ads、shopping任意开启时合计只加一次2积分。","type":"boolean"},"searchQueries":{"description":"是否返回ChatGPT实际展开的搜索查询。 ChatGPT的rawResponse、searchQueries、ads、shopping任意开启时合计只加一次2积分。","type":"boolean"},"shopping":{"description":"是否提取页面实际出现的购物卡片或商品报价；当前页面或采集版本可能不提供该模块。 ChatGPT的rawResponse、searchQueries、ads、shopping任意开启时合计只加一次2积分。","type":"boolean"}},"type":"object"},"legacy":{"description":"是否尽力使用旧版桌面界面，可返回model和searchQueries；不保证始终采用桌面布局，不能作为固定模型版本承诺。","type":"boolean"},"prompt":{"description":"发送到真实网页端的问题，非空，最多10000字符；不是system提示词或模型API配置。 最短字符数：1。 最长字符数：10000。","maxLength":10000,"minLength":1,"type":"string"},"state":{"description":"美国州代码，例如CA=加州、NY=纽约；仅country=US时使用，开启增加2个计费积分。","enum":["AL","AK","AZ","AR","CA","CO","CT","DE","DC","FL","GA","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY"],"type":"string"}},"required":["prompt","country"],"type":"object"}}}}}},"/api/v1/serp/google-ai-mode":{"get":{"tags":["网页问答采集"],"summary":"采集Google AI Mode回答","description":"采集Google AI Mode实际搜索页面的回答、引用及后续建议，支持地区、语言与设备条件。\n\n参数：\n- browser_screen_height（\"integer\"，可选）：模拟视口高度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。 最小值：-9007199254740991。 最大值：9007199254740991。\n- browser_screen_resolution_ratio（\"integer\"，可选）：浏览器屏幕分辨率比例，无单位，使用适合目标设备的正整数。 最小值：-9007199254740991。 最大值：9007199254740991。 最小值：-9007199254740991。 最大值：9007199254740991。\n- browser_screen_width（\"integer\"，可选）：模拟视口宽度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。 最小值：-9007199254740991。 最大值：9007199254740991。\n- calculate_rectangles（\"boolean\"，可选）：是否测量搜索结果距页面左上角的像素位置，开启增加$0.002；不是自然排序名次。\n- device（\"string\"，可选）：设备类型：all=全部（默认）、mobile=手机、desktop=桌面、tablet=平板。 最短字符数：1。 最短字符数：1。\n- keyword（\"string\"，必填）：要发送到真实网页的自然语言问题，非空字符串；不是API模型名称。 最短字符数：1。 最长字符数：700。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。\n- location_coordinate（\"string\"，可选）：地区坐标，纬度,经度,半径，半径单位米、200至19999；与地区名称或代码择一。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。\n- os（\"string\"，可选）：设备操作系统：windows=Windows、macos=macOS、android=安卓、ios=苹果移动系统；需匹配device，默认windows。 最短字符数：1。 最短字符数：1。\n\n使用说明：\n记录并比较相同问题、国家、语言、联网模式及时间；公开网页回答不代表某个已登录账号。答案可能无引用，引用也不等于品牌被正文提及。供应方说明属于网页采集，不承诺原生手机App。","operationId":"data_relay_serp_google_ai_mode","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"browser_screen_height","in":"query","required":false,"description":"模拟视口高度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。 最小值：-9007199254740991。 最大值：9007199254740991。","schema":{"description":"模拟视口高度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。 最小值：-9007199254740991。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},{"name":"browser_screen_resolution_ratio","in":"query","required":false,"description":"浏览器屏幕分辨率比例，无单位，使用适合目标设备的正整数。 最小值：-9007199254740991。 最大值：9007199254740991。 最小值：-9007199254740991。 最大值：9007199254740991。","schema":{"description":"浏览器屏幕分辨率比例，无单位，使用适合目标设备的正整数。 最小值：-9007199254740991。 最大值：9007199254740991。 最小值：-9007199254740991。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},{"name":"browser_screen_width","in":"query","required":false,"description":"模拟视口宽度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。 最小值：-9007199254740991。 最大值：9007199254740991。","schema":{"description":"模拟视口宽度，单位像素，需为正整数；省略使用浏览器默认布局。 最小值：-9007199254740991。 最大值：9007199254740991。 最小值：-9007199254740991。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},{"name":"calculate_rectangles","in":"query","required":false,"description":"是否测量搜索结果距页面左上角的像素位置，开启增加$0.002；不是自然排序名次。","schema":{"description":"是否测量搜索结果距页面左上角的像素位置，开启增加$0.002；不是自然排序名次。","type":"boolean"}},{"name":"device","in":"query","required":false,"description":"设备类型：all=全部（默认）、mobile=手机、desktop=桌面、tablet=平板。 最短字符数：1。 最短字符数：1。","schema":{"description":"设备类型：all=全部（默认）、mobile=手机、desktop=桌面、tablet=平板。 最短字符数：1。 最短字符数：1。","minLength":1,"type":"string"}},{"name":"keyword","in":"query","required":true,"description":"要发送到真实网页的自然语言问题，非空字符串；不是API模型名称。 最短字符数：1。 最长字符数：700。","schema":{"description":"要发送到真实网页的自然语言问题，非空字符串；不是API模型名称。 最短字符数：1。 最长字符数：700。","maxLength":700,"minLength":1,"type":"string"}},{"name":"language_code","in":"query","required":false,"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。","schema":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"}},{"name":"language_name","in":"query","required":false,"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","schema":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"}},{"name":"location_code","in":"query","required":false,"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。","schema":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},{"name":"location_coordinate","in":"query","required":false,"description":"地区坐标，纬度,经度,半径，半径单位米、200至19999；与地区名称或代码择一。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","schema":{"description":"地区坐标，纬度,经度,半径，半径单位米、200至19999；与地区名称或代码择一。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"}},{"name":"location_name","in":"query","required":false,"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。","schema":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"}},{"name":"os","in":"query","required":false,"description":"设备操作系统：windows=Windows、macos=macOS、android=安卓、ios=苹果移动系统；需匹配device，默认windows。 最短字符数：1。 最短字符数：1。","schema":{"description":"设备操作系统：windows=Windows、macos=macOS、android=安卓、ios=苹果移动系统；需匹配device，默认windows。 最短字符数：1。 最短字符数：1。","minLength":1,"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai/mentions-multi-target-metrics":{"post":{"tags":["品牌与竞品"],"summary":"对比多个品牌AI可见度","description":"在相同索引平台、地区及条件下比较多个目标组的提及、引用与问题覆盖；本次请求不触发实时模型问答。\n\n参数：\n- filters（\"array\"，可选）：结果过滤的嵌套数组，最多8个条件，and/or连接；字段需属于本报告。支持=、<>、in、not_in、like、not_like、ilike、not_ilike、match、not_match等当前报告允许的运算符，比较类运算须使用对应字段支持的值。 最少项：1。 最多项：15。\n- initial_dataset_filters（\"array\"，可选）：聚合前对原始记录施加过滤，区别于聚合后filters。官方说明为条件与and/or组成的表达式数组，而当前Schema要求数组元素为对象，存在契约差异；未经验证时建议省略，不把它当作已验证筛选能力。\n- internal_list_limit（\"integer\"，可选）：结果内部列表元素上限，默认5、最多10；目标指标汇总接口默认10。不是顶层limit。 最小值：-9007199254740991。 最大值：10。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。\n- limit（\"integer\"，可选）：最多返回分析结果条数，默认100，范围1至1000；按实际计费结果数收费，不是每次固定100条费用。 最小值：1。 最大值：1000。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。\n- offset（\"integer\"，可选）：跳过的分析结果条数，默认0；不是页码。翻页保持目标、平台、地区、语言、排序及过滤一致。 最小值：-9007199254740991。 最大值：9007199254740991。\n- order_by（\"array\"，可选）：排序数组，最多3项，每项为当前报告字段,asc或字段,desc；例如mentions_count,desc。不可复用关键词分析的无关字段名。 最多项：3。\n- platform（\"string\"，可选）：索引来源：google=Google AI Overview、chat_gpt=ChatGPT；ChatGPT当前只覆盖美国英语。省略时官方正文说明查询两平台，但部分表格标默认google，建议显式传值；品牌及品牌类目数据仅支持chat_gpt。 最短字符数：1。\n- targets（\"array\"，必填）：品牌对比分组数组，官方要求2至10组。每组用唯一key标识，并在target中填写实体数组，例如{\"key\":\"brand_a\",\"target\":[{\"keyword\":\"Notion\",\"search_scope\":[\"answer\"],\"search_filter\":\"include\"}]}；至少有一个包含实体，不能直接传普通关键词数组。 最少项：1。 最多项：20。\n\n使用说明：\n本接口查询预采集索引，不向模型现场发送问题；份额只适用于对应索引和筛选条件，不是模型全体用户的真实曝光率。\n目标实体官方最多10项、多目标组官方2至10组，但当前Schema上限20且未编码全部嵌套规则；示例按官方结构填写，不以Schema宽松就宣称20项可用。ChatGPT索引目前仅美国英语；日期、来源和更新时间按返回结果解释。","operationId":"data_relay_ai_mentions_multi_target_metrics","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"在相同索引平台、地区及条件下比较多个目标组的提及、引用与问题覆盖；本次请求不触发实时模型问答。","examples":[{"language_code":"en","location_code":2840,"platform":"chat_gpt","targets":[{"key":"notion","target":[{"keyword":"Notion","match_type":"word_match","search_filter":"include","search_scope":["answer"]}]},{"key":"asana","target":[{"keyword":"Asana","match_type":"word_match","search_filter":"include","search_scope":["answer"]}]}]}],"properties":{"filters":{"description":"结果过滤的嵌套数组，最多8个条件，and/or连接；字段需属于本报告。支持=、<>、in、not_in、like、not_like、ilike、not_ilike、match、not_match等当前报告允许的运算符，比较类运算须使用对应字段支持的值。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"initial_dataset_filters":{"description":"聚合前对原始记录施加过滤，区别于聚合后filters。官方说明为条件与and/or组成的表达式数组，而当前Schema要求数组元素为对象，存在契约差异；未经验证时建议省略，不把它当作已验证筛选能力。","items":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"internal_list_limit":{"description":"结果内部列表元素上限，默认5、最多10；目标指标汇总接口默认10。不是顶层limit。 最小值：-9007199254740991。 最大值：10。","maximum":10,"minimum":-9007199254740991,"type":"integer"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"limit":{"description":"最多返回分析结果条数，默认100，范围1至1000；按实际计费结果数收费，不是每次固定100条费用。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"offset":{"description":"跳过的分析结果条数，默认0；不是页码。翻页保持目标、平台、地区、语言、排序及过滤一致。 最小值：-9007199254740991。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"order_by":{"description":"排序数组，最多3项，每项为当前报告字段,asc或字段,desc；例如mentions_count,desc。不可复用关键词分析的无关字段名。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"platform":{"description":"索引来源：google=Google AI Overview、chat_gpt=ChatGPT；ChatGPT当前只覆盖美国英语。省略时官方正文说明查询两平台，但部分表格标默认google，建议显式传值；品牌及品牌类目数据仅支持chat_gpt。 最短字符数：1。","minLength":1,"type":"string"},"targets":{"description":"品牌对比分组数组，官方要求2至10组。每组用唯一key标识，并在target中填写实体数组，例如{\"key\":\"brand_a\",\"target\":[{\"keyword\":\"Notion\",\"search_scope\":[\"answer\"],\"search_filter\":\"include\"}]}；至少有一个包含实体，不能直接传普通关键词数组。 最少项：1。 最多项：20。","items":{"additionalProperties":{},"description":"品牌对比分组数组，官方要求2至10组。每组用唯一key标识，并在target中填写实体数组，例如{\"key\":\"brand_a\",\"target\":[{\"keyword\":\"Notion\",\"search_scope\":[\"answer\"],\"search_filter\":\"include\"}]}；至少有一个包含实体，不能直接传普通关键词数组。","propertyNames":{"type":"string"},"type":"object"},"maxItems":20,"minItems":1,"type":"array"}},"required":["targets"],"type":"object"}}}}}},"/api/v1/ai/mentions-search":{"post":{"tags":["品牌与竞品"],"summary":"检索品牌AI提及记录","description":"在预采集回答索引中查询品牌、关键词或域名被提及的问题、回答、引用来源与位置；本请求不是现场向模型重新提问。\n\n参数：\n- filters（\"array\"，可选）：结果过滤的嵌套数组，最多8个条件，and/or连接；字段需属于本报告。支持=、<>、in、not_in、like、not_like、ilike、not_ilike、match、not_match等当前报告允许的运算符，比较类运算须使用对应字段支持的值。 最少项：1。 最多项：15。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。\n- limit（\"integer\"，可选）：最多返回分析结果条数，默认100，范围1至1000；按实际计费结果数收费，不是每次固定100条费用。 最小值：1。 最大值：1000。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。\n- offset（\"integer\"，可选）：跳过的分析结果条数，默认0；不是页码。翻页保持目标、平台、地区、语言、排序及过滤一致。 最小值：0。 最大值：9007199254740991。\n- order_by（\"array\"，可选）：排序数组，最多3项，每项为当前报告字段,asc或字段,desc；例如mentions_count,desc。不可复用关键词分析的无关字段名。 最多项：3。\n- platform（\"string\"，可选）：索引来源：google=Google AI Overview、chat_gpt=ChatGPT；ChatGPT当前只覆盖美国英语。省略时官方正文说明查询两平台，但部分表格标默认google，建议显式传值；品牌及品牌类目数据仅支持chat_gpt。 最短字符数：1。\n- search_after_token（\"string\"，可选）：前一响应给出的后续查询令牌。后续请求除令牌外其他参数保持一致；不要与不同查询、offset或旧令牌混用。 最短字符数：1。\n- target（\"array\"，必填）：目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。 最少项：1。 最多项：20。\n\n使用说明：\n本接口查询预采集索引，不向模型现场发送问题；份额只适用于对应索引和筛选条件，不是模型全体用户的真实曝光率。\n目标实体官方最多10项、多目标组官方2至10组，但当前Schema上限20且未编码全部嵌套规则；示例按官方结构填写，不以Schema宽松就宣称20项可用。ChatGPT索引目前仅美国英语；日期、来源和更新时间按返回结果解释。","operationId":"data_relay_ai_mentions_search","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"在预采集回答索引中查询品牌、关键词或域名被提及的问题、回答、引用来源与位置；本请求不是现场向模型重新提问。","examples":[{"language_code":"en","location_code":2840,"platform":"chat_gpt","target":[{"keyword":"Notion","match_type":"word_match","search_filter":"include","search_scope":["answer"]}]}],"properties":{"filters":{"description":"结果过滤的嵌套数组，最多8个条件，and/or连接；字段需属于本报告。支持=、<>、in、not_in、like、not_like、ilike、not_ilike、match、not_match等当前报告允许的运算符，比较类运算须使用对应字段支持的值。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"limit":{"description":"最多返回分析结果条数，默认100，范围1至1000；按实际计费结果数收费，不是每次固定100条费用。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"offset":{"description":"跳过的分析结果条数，默认0；不是页码。翻页保持目标、平台、地区、语言、排序及过滤一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，最多3项，每项为当前报告字段,asc或字段,desc；例如mentions_count,desc。不可复用关键词分析的无关字段名。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"platform":{"description":"索引来源：google=Google AI Overview、chat_gpt=ChatGPT；ChatGPT当前只覆盖美国英语。省略时官方正文说明查询两平台，但部分表格标默认google，建议显式传值；品牌及品牌类目数据仅支持chat_gpt。 最短字符数：1。","minLength":1,"type":"string"},"search_after_token":{"description":"前一响应给出的后续查询令牌。后续请求除令牌外其他参数保持一致；不要与不同查询、offset或旧令牌混用。 最短字符数：1。","minLength":1,"type":"string"},"target":{"description":"目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。 最少项：1。 最多项：20。","items":{"additionalProperties":{},"description":"目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。","propertyNames":{"type":"string"},"type":"object"},"maxItems":20,"minItems":1,"type":"array"}},"required":["target"],"type":"object"}}}}}},"/api/v1/ai/mentions-target-metrics":{"post":{"tags":["品牌与竞品"],"summary":"汇总品牌AI可见度","description":"基于预采集回答索引汇总提及、引用、问题数和相关指标；份额仅适用于对应索引、地区与筛选集合，不是全体模型用户的曝光率。\n\n参数：\n- initial_dataset_filters（\"array\"，可选）：聚合前对原始记录施加过滤，区别于聚合后filters。官方说明为条件与and/or组成的表达式数组，而当前Schema要求数组元素为对象，存在契约差异；未经验证时建议省略，不把它当作已验证筛选能力。\n- internal_list_limit（\"integer\"，可选）：结果内部列表最多10项，业务默认10；与顶层结果数量不同。 最小值：-9007199254740991。 最大值：10。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。\n- platform（\"string\"，可选）：索引来源：google=Google AI Overview、chat_gpt=ChatGPT；ChatGPT当前只覆盖美国英语。省略时官方正文说明查询两平台，但部分表格标默认google，建议显式传值；品牌及品牌类目数据仅支持chat_gpt。 最短字符数：1。\n- target（\"array\"，必填）：目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。 最少项：1。 最多项：20。\n\n使用说明：\n本接口查询预采集索引，不向模型现场发送问题；份额只适用于对应索引和筛选条件，不是模型全体用户的真实曝光率。\n目标实体官方最多10项、多目标组官方2至10组，但当前Schema上限20且未编码全部嵌套规则；示例按官方结构填写，不以Schema宽松就宣称20项可用。ChatGPT索引目前仅美国英语；日期、来源和更新时间按返回结果解释。","operationId":"data_relay_ai_mentions_target_metrics","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"基于预采集回答索引汇总提及、引用、问题数和相关指标；份额仅适用于对应索引、地区与筛选集合，不是全体模型用户的曝光率。","examples":[{"language_code":"en","location_code":2840,"platform":"chat_gpt","target":[{"keyword":"Notion","match_type":"word_match","search_filter":"include","search_scope":["answer"]}]}],"properties":{"initial_dataset_filters":{"description":"聚合前对原始记录施加过滤，区别于聚合后filters。官方说明为条件与and/or组成的表达式数组，而当前Schema要求数组元素为对象，存在契约差异；未经验证时建议省略，不把它当作已验证筛选能力。","items":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"internal_list_limit":{"description":"结果内部列表最多10项，业务默认10；与顶层结果数量不同。 最小值：-9007199254740991。 最大值：10。","maximum":10,"minimum":-9007199254740991,"type":"integer"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"platform":{"description":"索引来源：google=Google AI Overview、chat_gpt=ChatGPT；ChatGPT当前只覆盖美国英语。省略时官方正文说明查询两平台，但部分表格标默认google，建议显式传值；品牌及品牌类目数据仅支持chat_gpt。 最短字符数：1。","minLength":1,"type":"string"},"target":{"description":"目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。 最少项：1。 最多项：20。","items":{"additionalProperties":{},"description":"目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。","propertyNames":{"type":"string"},"type":"object"},"maxItems":20,"minItems":1,"type":"array"}},"required":["target"],"type":"object"}}}}}},"/api/v1/ai/mentions-top-brand-categories":{"post":{"tags":["品牌与竞品"],"summary":"分析AI提及品牌类目","description":"分析回答索引关联的高频品牌类目与提及份额；这是分析结果而非静态枚举字典，品牌实体数据当前仅支持ChatGPT索引。\n\n参数：\n- exclude_brand_categories（\"array\"，可选）：需排除的品牌类目字符串数组。\n- filters（\"array\"，可选）：结果过滤的嵌套数组，最多8个条件，and/or连接；字段需属于本报告。支持=、<>、in、not_in、like、not_like、ilike、not_ilike、match、not_match等当前报告允许的运算符，比较类运算须使用对应字段支持的值。 最少项：1。 最多项：15。\n- include_brand_categories（\"array\"，可选）：只保留指定品牌类目值的字符串数组，使用索引实际返回的类目值，不编造数字类目ID。\n- initial_dataset_filters（\"array\"，可选）：聚合前对原始记录施加过滤，区别于聚合后filters。官方说明为条件与and/or组成的表达式数组，而当前Schema要求数组元素为对象，存在契约差异；未经验证时建议省略，不把它当作已验证筛选能力。\n- internal_list_limit（\"integer\"，可选）：结果内部列表元素上限，默认5、最多10；目标指标汇总接口默认10。不是顶层limit。 最小值：-9007199254740991。 最大值：10。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。\n- limit（\"integer\"，可选）：最多返回分析结果条数，默认100，范围1至1000；按实际计费结果数收费，不是每次固定100条费用。 最小值：1。 最大值：1000。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。\n- offset（\"integer\"，可选）：跳过的分析结果条数，默认0；不是页码。翻页保持目标、平台、地区、语言、排序及过滤一致。 最小值：0。 最大值：9007199254740991。\n- order_by（\"array\"，可选）：排序数组，最多3项，每项为当前报告字段,asc或字段,desc；例如mentions_count,desc。不可复用关键词分析的无关字段名。 最多项：3。\n- platform（\"string\"，可选）：索引来源：google=Google AI Overview、chat_gpt=ChatGPT；ChatGPT当前只覆盖美国英语。省略时官方正文说明查询两平台，但部分表格标默认google，建议显式传值；品牌及品牌类目数据仅支持chat_gpt。 最短字符数：1。\n- target（\"array\"，必填）：目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。 最少项：1。 最多项：20。\n\n使用说明：\n本接口查询预采集索引，不向模型现场发送问题；份额只适用于对应索引和筛选条件，不是模型全体用户的真实曝光率。\n目标实体官方最多10项、多目标组官方2至10组，但当前Schema上限20且未编码全部嵌套规则；示例按官方结构填写，不以Schema宽松就宣称20项可用。ChatGPT索引目前仅美国英语；日期、来源和更新时间按返回结果解释。","operationId":"data_relay_ai_mentions_top_brand_categories","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"分析回答索引关联的高频品牌类目与提及份额；这是分析结果而非静态枚举字典，品牌实体数据当前仅支持ChatGPT索引。","examples":[{"language_code":"en","location_code":2840,"platform":"chat_gpt","target":[{"keyword":"Notion","match_type":"word_match","search_filter":"include","search_scope":["answer"]}]}],"properties":{"exclude_brand_categories":{"description":"需排除的品牌类目字符串数组。","items":{"minLength":1,"type":"string"},"type":"array"},"filters":{"description":"结果过滤的嵌套数组，最多8个条件，and/or连接；字段需属于本报告。支持=、<>、in、not_in、like、not_like、ilike、not_ilike、match、not_match等当前报告允许的运算符，比较类运算须使用对应字段支持的值。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"include_brand_categories":{"description":"只保留指定品牌类目值的字符串数组，使用索引实际返回的类目值，不编造数字类目ID。","items":{"minLength":1,"type":"string"},"type":"array"},"initial_dataset_filters":{"description":"聚合前对原始记录施加过滤，区别于聚合后filters。官方说明为条件与and/or组成的表达式数组，而当前Schema要求数组元素为对象，存在契约差异；未经验证时建议省略，不把它当作已验证筛选能力。","items":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"internal_list_limit":{"description":"结果内部列表元素上限，默认5、最多10；目标指标汇总接口默认10。不是顶层limit。 最小值：-9007199254740991。 最大值：10。","maximum":10,"minimum":-9007199254740991,"type":"integer"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"limit":{"description":"最多返回分析结果条数，默认100，范围1至1000；按实际计费结果数收费，不是每次固定100条费用。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"offset":{"description":"跳过的分析结果条数，默认0；不是页码。翻页保持目标、平台、地区、语言、排序及过滤一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，最多3项，每项为当前报告字段,asc或字段,desc；例如mentions_count,desc。不可复用关键词分析的无关字段名。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"platform":{"description":"索引来源：google=Google AI Overview、chat_gpt=ChatGPT；ChatGPT当前只覆盖美国英语。省略时官方正文说明查询两平台，但部分表格标默认google，建议显式传值；品牌及品牌类目数据仅支持chat_gpt。 最短字符数：1。","minLength":1,"type":"string"},"target":{"description":"目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。 最少项：1。 最多项：20。","items":{"additionalProperties":{},"description":"目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。","propertyNames":{"type":"string"},"type":"object"},"maxItems":20,"minItems":1,"type":"array"}},"required":["target"],"type":"object"}}}}}},"/api/v1/ai/mentions-top-brands":{"post":{"tags":["品牌与竞品"],"summary":"分析AI高频提及品牌","description":"分析预采集AI回答中高频提及的品牌及其份额。品牌实体数据当前仅支持ChatGPT索引，不等于用户真实购买或全市场曝光。\n\n参数：\n- exclude_brands（\"array\"，可选）：需排除的品牌名称字符串数组。\n- filters（\"array\"，可选）：结果过滤的嵌套数组，最多8个条件，and/or连接；字段需属于本报告。支持=、<>、in、not_in、like、not_like、ilike、not_ilike、match、not_match等当前报告允许的运算符，比较类运算须使用对应字段支持的值。 最少项：1。 最多项：15。\n- include_brands（\"array\"，可选）：只保留指定品牌名称的字符串数组；与搜索目标keyword不同。\n- initial_dataset_filters（\"array\"，可选）：聚合前对原始记录施加过滤，区别于聚合后filters。官方说明为条件与and/or组成的表达式数组，而当前Schema要求数组元素为对象，存在契约差异；未经验证时建议省略，不把它当作已验证筛选能力。\n- internal_list_limit（\"integer\"，可选）：结果内部列表元素上限，默认5、最多10；目标指标汇总接口默认10。不是顶层limit。 最小值：-9007199254740991。 最大值：10。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。\n- limit（\"integer\"，可选）：最多返回分析结果条数，默认100，范围1至1000；按实际计费结果数收费，不是每次固定100条费用。 最小值：1。 最大值：1000。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。\n- offset（\"integer\"，可选）：跳过的分析结果条数，默认0；不是页码。翻页保持目标、平台、地区、语言、排序及过滤一致。 最小值：0。 最大值：9007199254740991。\n- order_by（\"array\"，可选）：排序数组，最多3项，每项为当前报告字段,asc或字段,desc；例如mentions_count,desc。不可复用关键词分析的无关字段名。 最多项：3。\n- platform（\"string\"，可选）：索引来源：google=Google AI Overview、chat_gpt=ChatGPT；ChatGPT当前只覆盖美国英语。省略时官方正文说明查询两平台，但部分表格标默认google，建议显式传值；品牌及品牌类目数据仅支持chat_gpt。 最短字符数：1。\n- target（\"array\"，必填）：目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。 最少项：1。 最多项：20。\n\n使用说明：\n本接口查询预采集索引，不向模型现场发送问题；份额只适用于对应索引和筛选条件，不是模型全体用户的真实曝光率。\n目标实体官方最多10项、多目标组官方2至10组，但当前Schema上限20且未编码全部嵌套规则；示例按官方结构填写，不以Schema宽松就宣称20项可用。ChatGPT索引目前仅美国英语；日期、来源和更新时间按返回结果解释。","operationId":"data_relay_ai_mentions_top_brands","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"分析预采集AI回答中高频提及的品牌及其份额。品牌实体数据当前仅支持ChatGPT索引，不等于用户真实购买或全市场曝光。","examples":[{"language_code":"en","location_code":2840,"platform":"chat_gpt","target":[{"keyword":"Notion","match_type":"word_match","search_filter":"include","search_scope":["answer"]}]}],"properties":{"exclude_brands":{"description":"需排除的品牌名称字符串数组。","items":{"minLength":1,"type":"string"},"type":"array"},"filters":{"description":"结果过滤的嵌套数组，最多8个条件，and/or连接；字段需属于本报告。支持=、<>、in、not_in、like、not_like、ilike、not_ilike、match、not_match等当前报告允许的运算符，比较类运算须使用对应字段支持的值。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"include_brands":{"description":"只保留指定品牌名称的字符串数组；与搜索目标keyword不同。","items":{"minLength":1,"type":"string"},"type":"array"},"initial_dataset_filters":{"description":"聚合前对原始记录施加过滤，区别于聚合后filters。官方说明为条件与and/or组成的表达式数组，而当前Schema要求数组元素为对象，存在契约差异；未经验证时建议省略，不把它当作已验证筛选能力。","items":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"internal_list_limit":{"description":"结果内部列表元素上限，默认5、最多10；目标指标汇总接口默认10。不是顶层limit。 最小值：-9007199254740991。 最大值：10。","maximum":10,"minimum":-9007199254740991,"type":"integer"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"limit":{"description":"最多返回分析结果条数，默认100，范围1至1000；按实际计费结果数收费，不是每次固定100条费用。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"offset":{"description":"跳过的分析结果条数，默认0；不是页码。翻页保持目标、平台、地区、语言、排序及过滤一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，最多3项，每项为当前报告字段,asc或字段,desc；例如mentions_count,desc。不可复用关键词分析的无关字段名。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"platform":{"description":"索引来源：google=Google AI Overview、chat_gpt=ChatGPT；ChatGPT当前只覆盖美国英语。省略时官方正文说明查询两平台，但部分表格标默认google，建议显式传值；品牌及品牌类目数据仅支持chat_gpt。 最短字符数：1。","minLength":1,"type":"string"},"target":{"description":"目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。 最少项：1。 最多项：20。","items":{"additionalProperties":{},"description":"目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。","propertyNames":{"type":"string"},"type":"object"},"maxItems":20,"minItems":1,"type":"array"}},"required":["target"],"type":"object"}}}}}},"/api/v1/ai/mentions-top-domains":{"post":{"tags":["引用来源分析"],"summary":"分析AI高频引用网站","description":"按引用来源或检索结果统计AI回答相关域名、引用数量与份额。检索到某页面不代表最终回答引用了它。\n\n参数：\n- exclude_domains（\"array\"，可选）：需要排除的域名字符串数组。\n- filters（\"array\"，可选）：结果过滤的嵌套数组，最多8个条件，and/or连接；字段需属于本报告。支持=、<>、in、not_in、like、not_like、ilike、not_ilike、match、not_match等当前报告允许的运算符，比较类运算须使用对应字段支持的值。 最少项：1。 最多项：15。\n- include_domains（\"array\"，可选）：只保留指定域名的字符串数组，不是目标实体分组。\n- initial_dataset_filters（\"array\"，可选）：聚合前对原始记录施加过滤，区别于聚合后filters。官方说明为条件与and/or组成的表达式数组，而当前Schema要求数组元素为对象，存在契约差异；未经验证时建议省略，不把它当作已验证筛选能力。\n- internal_list_limit（\"integer\"，可选）：结果内部列表元素上限，默认5、最多10；目标指标汇总接口默认10。不是顶层limit。 最小值：-9007199254740991。 最大值：10。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。\n- limit（\"integer\"，可选）：最多返回分析结果条数，默认100，范围1至1000；按实际计费结果数收费，不是每次固定100条费用。 最小值：1。 最大值：1000。\n- links_scope（\"string\"，可选）：链接口径：sources=最终回答引用来源（默认）、search_results=检索到的结果。后者仅支持chat_gpt；检索结果不能当作最终引用。 最短字符数：1。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。\n- offset（\"integer\"，可选）：跳过的分析结果条数，默认0；不是页码。翻页保持目标、平台、地区、语言、排序及过滤一致。 最小值：0。 最大值：9007199254740991。\n- order_by（\"array\"，可选）：排序数组，最多3项，每项为当前报告字段,asc或字段,desc；例如mentions_count,desc。不可复用关键词分析的无关字段名。 最多项：3。\n- platform（\"string\"，可选）：索引来源：google=Google AI Overview、chat_gpt=ChatGPT；ChatGPT当前只覆盖美国英语。省略时官方正文说明查询两平台，但部分表格标默认google，建议显式传值；品牌及品牌类目数据仅支持chat_gpt。 最短字符数：1。\n- target（\"array\"，必填）：目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。 最少项：1。 最多项：20。\n\n使用说明：\n本接口查询预采集索引，不向模型现场发送问题；份额只适用于对应索引和筛选条件，不是模型全体用户的真实曝光率。\n目标实体官方最多10项、多目标组官方2至10组，但当前Schema上限20且未编码全部嵌套规则；示例按官方结构填写，不以Schema宽松就宣称20项可用。ChatGPT索引目前仅美国英语；日期、来源和更新时间按返回结果解释。","operationId":"data_relay_ai_mentions_top_domains","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"按引用来源或检索结果统计AI回答相关域名、引用数量与份额。检索到某页面不代表最终回答引用了它。","examples":[{"language_code":"en","location_code":2840,"platform":"chat_gpt","target":[{"keyword":"Notion","match_type":"word_match","search_filter":"include","search_scope":["answer"]}]}],"properties":{"exclude_domains":{"description":"需要排除的域名字符串数组。","items":{"minLength":1,"type":"string"},"type":"array"},"filters":{"description":"结果过滤的嵌套数组，最多8个条件，and/or连接；字段需属于本报告。支持=、<>、in、not_in、like、not_like、ilike、not_ilike、match、not_match等当前报告允许的运算符，比较类运算须使用对应字段支持的值。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"include_domains":{"description":"只保留指定域名的字符串数组，不是目标实体分组。","items":{"minLength":1,"type":"string"},"type":"array"},"initial_dataset_filters":{"description":"聚合前对原始记录施加过滤，区别于聚合后filters。官方说明为条件与and/or组成的表达式数组，而当前Schema要求数组元素为对象，存在契约差异；未经验证时建议省略，不把它当作已验证筛选能力。","items":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"internal_list_limit":{"description":"结果内部列表元素上限，默认5、最多10；目标指标汇总接口默认10。不是顶层limit。 最小值：-9007199254740991。 最大值：10。","maximum":10,"minimum":-9007199254740991,"type":"integer"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"limit":{"description":"最多返回分析结果条数，默认100，范围1至1000；按实际计费结果数收费，不是每次固定100条费用。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"links_scope":{"description":"链接口径：sources=最终回答引用来源（默认）、search_results=检索到的结果。后者仅支持chat_gpt；检索结果不能当作最终引用。 最短字符数：1。","minLength":1,"type":"string"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"offset":{"description":"跳过的分析结果条数，默认0；不是页码。翻页保持目标、平台、地区、语言、排序及过滤一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，最多3项，每项为当前报告字段,asc或字段,desc；例如mentions_count,desc。不可复用关键词分析的无关字段名。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"platform":{"description":"索引来源：google=Google AI Overview、chat_gpt=ChatGPT；ChatGPT当前只覆盖美国英语。省略时官方正文说明查询两平台，但部分表格标默认google，建议显式传值；品牌及品牌类目数据仅支持chat_gpt。 最短字符数：1。","minLength":1,"type":"string"},"target":{"description":"目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。 最少项：1。 最多项：20。","items":{"additionalProperties":{},"description":"目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。","propertyNames":{"type":"string"},"type":"object"},"maxItems":20,"minItems":1,"type":"array"}},"required":["target"],"type":"object"}}}}}},"/api/v1/ai/mentions-top-pages":{"post":{"tags":["引用来源分析"],"summary":"分析AI高频引用页面","description":"定位AI回答索引中的具体引用页面、标题和统计指标，支持页面包含/排除筛选；检索与最终引用须分开解释。\n\n参数：\n- exclude_pages（\"array\"，可选）：排除指定页面的字符串数组，使用原始来源页面地址。\n- filters（\"array\"，可选）：结果过滤的嵌套数组，最多8个条件，and/or连接；字段需属于本报告。支持=、<>、in、not_in、like、not_like、ilike、not_ilike、match、not_match等当前报告允许的运算符，比较类运算须使用对应字段支持的值。 最少项：1。 最多项：15。\n- include_pages（\"array\"，可选）：仅返回指定页面的字符串数组，使用原始来源页面地址；省略不按该列表限制。\n- initial_dataset_filters（\"array\"，可选）：聚合前对原始记录施加过滤，区别于聚合后filters。官方说明为条件与and/or组成的表达式数组，而当前Schema要求数组元素为对象，存在契约差异；未经验证时建议省略，不把它当作已验证筛选能力。\n- internal_list_limit（\"integer\"，可选）：结果内部列表元素上限，默认5、最多10；目标指标汇总接口默认10。不是顶层limit。 最小值：-9007199254740991。 最大值：10。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。\n- limit（\"integer\"，可选）：最多返回分析结果条数，默认100，范围1至1000；按实际计费结果数收费，不是每次固定100条费用。 最小值：1。 最大值：1000。\n- links_scope（\"string\"，可选）：链接口径：sources=最终回答引用来源（默认）、search_results=检索到的结果。后者仅支持chat_gpt；检索结果不能当作最终引用。 最短字符数：1。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。\n- offset（\"integer\"，可选）：跳过的分析结果条数，默认0；不是页码。翻页保持目标、平台、地区、语言、排序及过滤一致。 最小值：0。 最大值：9007199254740991。\n- order_by（\"array\"，可选）：排序数组，最多3项，每项为当前报告字段,asc或字段,desc；例如mentions_count,desc。不可复用关键词分析的无关字段名。 最多项：3。\n- platform（\"string\"，可选）：索引来源：google=Google AI Overview、chat_gpt=ChatGPT；ChatGPT当前只覆盖美国英语。省略时官方正文说明查询两平台，但部分表格标默认google，建议显式传值；品牌及品牌类目数据仅支持chat_gpt。 最短字符数：1。\n- target（\"array\"，必填）：目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。 最少项：1。 最多项：20。\n\n使用说明：\n本接口查询预采集索引，不向模型现场发送问题；份额只适用于对应索引和筛选条件，不是模型全体用户的真实曝光率。\n目标实体官方最多10项、多目标组官方2至10组，但当前Schema上限20且未编码全部嵌套规则；示例按官方结构填写，不以Schema宽松就宣称20项可用。ChatGPT索引目前仅美国英语；日期、来源和更新时间按返回结果解释。","operationId":"data_relay_ai_mentions_top_pages","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"定位AI回答索引中的具体引用页面、标题和统计指标，支持页面包含/排除筛选；检索与最终引用须分开解释。","examples":[{"language_code":"en","location_code":2840,"platform":"chat_gpt","target":[{"keyword":"Notion","match_type":"word_match","search_filter":"include","search_scope":["answer"]}]}],"properties":{"exclude_pages":{"description":"排除指定页面的字符串数组，使用原始来源页面地址。","items":{"minLength":1,"type":"string"},"type":"array"},"filters":{"description":"结果过滤的嵌套数组，最多8个条件，and/or连接；字段需属于本报告。支持=、<>、in、not_in、like、not_like、ilike、not_ilike、match、not_match等当前报告允许的运算符，比较类运算须使用对应字段支持的值。 最少项：1。 最多项：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"include_pages":{"description":"仅返回指定页面的字符串数组，使用原始来源页面地址；省略不按该列表限制。","items":{"minLength":1,"type":"string"},"type":"array"},"initial_dataset_filters":{"description":"聚合前对原始记录施加过滤，区别于聚合后filters。官方说明为条件与and/or组成的表达式数组，而当前Schema要求数组元素为对象，存在契约差异；未经验证时建议省略，不把它当作已验证筛选能力。","items":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"internal_list_limit":{"description":"结果内部列表元素上限，默认5、最多10；目标指标汇总接口默认10。不是顶层limit。 最小值：-9007199254740991。 最大值：10。","maximum":10,"minimum":-9007199254740991,"type":"integer"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"limit":{"description":"最多返回分析结果条数，默认100，范围1至1000；按实际计费结果数收费，不是每次固定100条费用。 最小值：1。 最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"links_scope":{"description":"链接口径：sources=最终回答引用来源（默认）、search_results=检索到的结果。后者仅支持chat_gpt；检索结果不能当作最终引用。 最短字符数：1。","minLength":1,"type":"string"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"offset":{"description":"跳过的分析结果条数，默认0；不是页码。翻页保持目标、平台、地区、语言、排序及过滤一致。 最小值：0。 最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，最多3项，每项为当前报告字段,asc或字段,desc；例如mentions_count,desc。不可复用关键词分析的无关字段名。 最多项：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"},"platform":{"description":"索引来源：google=Google AI Overview、chat_gpt=ChatGPT；ChatGPT当前只覆盖美国英语。省略时官方正文说明查询两平台，但部分表格标默认google，建议显式传值；品牌及品牌类目数据仅支持chat_gpt。 最短字符数：1。","minLength":1,"type":"string"},"target":{"description":"目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。 最少项：1。 最多项：20。","items":{"additionalProperties":{},"description":"目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。","propertyNames":{"type":"string"},"type":"object"},"maxItems":20,"minItems":1,"type":"array"}},"required":["target"],"type":"object"}}}}}},"/api/v1/ai/mentions-historical":{"post":{"tags":["历史变化"],"summary":"查询品牌AI可见度历史","description":"按月查询预采集索引中的品牌提及、引用及相关估算指标；历史数据不是本次实时网页测量。\n\n参数：\n- date_from（\"string\"，可选）：历史起点，YYYY-MM-DD，最早2025-08-01，不晚于date_to；数据覆盖和新鲜度取决于索引，不是实时采集时间。 最短字符数：1。\n- date_to（\"string\"，可选）：历史终点，YYYY-MM-DD，不早于date_from；省略时使用索引当前可提供的最新范围，不能保证当天已完整收录。 最短字符数：1。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。\n- platform（\"string\"，可选）：索引来源：google=Google AI Overview、chat_gpt=ChatGPT；ChatGPT当前只覆盖美国英语。省略时官方正文说明查询两平台，但部分表格标默认google，建议显式传值；品牌及品牌类目数据仅支持chat_gpt。 最短字符数：1。\n- target（\"array\"，必填）：目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。 最少项：1。 最多项：20。\n\n使用说明：\n本接口查询预采集索引，不向模型现场发送问题；份额只适用于对应索引和筛选条件，不是模型全体用户的真实曝光率。\n目标实体官方最多10项、多目标组官方2至10组，但当前Schema上限20且未编码全部嵌套规则；示例按官方结构填写，不以Schema宽松就宣称20项可用。ChatGPT索引目前仅美国英语；日期、来源和更新时间按返回结果解释。","operationId":"data_relay_ai_mentions_historical","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"按月查询预采集索引中的品牌提及、引用及相关估算指标；历史数据不是本次实时网页测量。","examples":[{"language_code":"en","location_code":2840,"platform":"chat_gpt","target":[{"keyword":"Notion","match_type":"word_match","search_filter":"include","search_scope":["answer"]}]}],"properties":{"date_from":{"description":"历史起点，YYYY-MM-DD，最早2025-08-01，不晚于date_to；数据覆盖和新鲜度取决于索引，不是实时采集时间。 最短字符数：1。","minLength":1,"type":"string"},"date_to":{"description":"历史终点，YYYY-MM-DD，不早于date_from；省略时使用索引当前可提供的最新范围，不能保证当天已完整收录。 最短字符数：1。","minLength":1,"type":"string"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"platform":{"description":"索引来源：google=Google AI Overview、chat_gpt=ChatGPT；ChatGPT当前只覆盖美国英语。省略时官方正文说明查询两平台，但部分表格标默认google，建议显式传值；品牌及品牌类目数据仅支持chat_gpt。 最短字符数：1。","minLength":1,"type":"string"},"target":{"description":"目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。 最少项：1。 最多项：20。","items":{"additionalProperties":{},"description":"目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。","propertyNames":{"type":"string"},"type":"object"},"maxItems":20,"minItems":1,"type":"array"}},"required":["target"],"type":"object"}}}}}},"/api/v1/ai/mentions-timeseries-delta":{"post":{"tags":["历史变化"],"summary":"分析品牌AI可见度周期变化","description":"比较历史索引各时间周期的提及、引用数量及增减变化，支持日、周、月、年。\n\n参数：\n- date_from（\"string\"，必填）：历史起点，YYYY-MM-DD，最早2025-08-01，不晚于date_to；数据覆盖和新鲜度取决于索引，不是实时采集时间。 最短字符数：1。\n- date_to（\"string\"，必填）：历史终点，YYYY-MM-DD，不早于date_from；省略时使用索引当前可提供的最新范围，不能保证当天已完整收录。 最短字符数：1。\n- group_range（\"string\"，必填）：比较周期：day=日、week=周、month=月、year=年；返回时间桶参与结果计费。 最短字符数：1。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。\n- platform（\"string\"，可选）：索引来源：google=Google AI Overview、chat_gpt=ChatGPT；ChatGPT当前只覆盖美国英语。省略时官方正文说明查询两平台，但部分表格标默认google，建议显式传值；品牌及品牌类目数据仅支持chat_gpt。 最短字符数：1。\n- target（\"array\"，必填）：目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。 最少项：1。 最多项：20。\n\n使用说明：\n本接口查询预采集索引，不向模型现场发送问题；份额只适用于对应索引和筛选条件，不是模型全体用户的真实曝光率。\n目标实体官方最多10项、多目标组官方2至10组，但当前Schema上限20且未编码全部嵌套规则；示例按官方结构填写，不以Schema宽松就宣称20项可用。ChatGPT索引目前仅美国英语；日期、来源和更新时间按返回结果解释。","operationId":"data_relay_ai_mentions_timeseries_delta","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"比较历史索引各时间周期的提及、引用数量及增减变化，支持日、周、月、年。","examples":[{"date_from":"2026-10-01","date_to":"2026-11-01","group_range":"month","language_code":"en","location_code":2840,"platform":"chat_gpt","target":[{"keyword":"Notion","match_type":"word_match","search_filter":"include","search_scope":["answer"]}]}],"properties":{"date_from":{"description":"历史起点，YYYY-MM-DD，最早2025-08-01，不晚于date_to；数据覆盖和新鲜度取决于索引，不是实时采集时间。 最短字符数：1。","minLength":1,"type":"string"},"date_to":{"description":"历史终点，YYYY-MM-DD，不早于date_from；省略时使用索引当前可提供的最新范围，不能保证当天已完整收录。 最短字符数：1。","minLength":1,"type":"string"},"group_range":{"description":"比较周期：day=日、week=周、month=月、year=年；返回时间桶参与结果计费。 最短字符数：1。","minLength":1,"type":"string"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"platform":{"description":"索引来源：google=Google AI Overview、chat_gpt=ChatGPT；ChatGPT当前只覆盖美国英语。省略时官方正文说明查询两平台，但部分表格标默认google，建议显式传值；品牌及品牌类目数据仅支持chat_gpt。 最短字符数：1。","minLength":1,"type":"string"},"target":{"description":"目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。 最少项：1。 最多项：20。","items":{"additionalProperties":{},"description":"目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。","propertyNames":{"type":"string"},"type":"object"},"maxItems":20,"minItems":1,"type":"array"}},"required":["target","date_from","date_to","group_range"],"type":"object"}}}}}},"/api/v1/ai/mentions-timeseries-new-lost":{"post":{"tags":["历史变化"],"summary":"分析AI提及与引用新增丢失","description":"查询历史索引中每个周期新增与丢失的提及、引用，用于观察可见度变化；不等于网站访问流量变化。\n\n参数：\n- date_from（\"string\"，必填）：历史起点，YYYY-MM-DD，最早2025-08-01，不晚于date_to；数据覆盖和新鲜度取决于索引，不是实时采集时间。 最短字符数：1。\n- date_to（\"string\"，必填）：历史终点，YYYY-MM-DD，不早于date_from；省略时使用索引当前可提供的最新范围，不能保证当天已完整收录。 最短字符数：1。\n- group_range（\"string\"，必填）：比较周期：day=日、week=周、month=月、year=年；返回时间桶参与结果计费。 最短字符数：1。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。\n- platform（\"string\"，可选）：索引来源：google=Google AI Overview、chat_gpt=ChatGPT；ChatGPT当前只覆盖美国英语。省略时官方正文说明查询两平台，但部分表格标默认google，建议显式传值；品牌及品牌类目数据仅支持chat_gpt。 最短字符数：1。\n- target（\"array\"，必填）：目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。 最少项：1。 最多项：20。\n\n使用说明：\n本接口查询预采集索引，不向模型现场发送问题；份额只适用于对应索引和筛选条件，不是模型全体用户的真实曝光率。\n目标实体官方最多10项、多目标组官方2至10组，但当前Schema上限20且未编码全部嵌套规则；示例按官方结构填写，不以Schema宽松就宣称20项可用。ChatGPT索引目前仅美国英语；日期、来源和更新时间按返回结果解释。","operationId":"data_relay_ai_mentions_timeseries_new_lost","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"查询历史索引中每个周期新增与丢失的提及、引用，用于观察可见度变化；不等于网站访问流量变化。","examples":[{"date_from":"2026-10-01","date_to":"2026-11-01","group_range":"month","language_code":"en","location_code":2840,"platform":"chat_gpt","target":[{"keyword":"Notion","match_type":"word_match","search_filter":"include","search_scope":["answer"]}]}],"properties":{"date_from":{"description":"历史起点，YYYY-MM-DD，最早2025-08-01，不晚于date_to；数据覆盖和新鲜度取决于索引，不是实时采集时间。 最短字符数：1。","minLength":1,"type":"string"},"date_to":{"description":"历史终点，YYYY-MM-DD，不早于date_from；省略时使用索引当前可提供的最新范围，不能保证当天已完整收录。 最短字符数：1。","minLength":1,"type":"string"},"group_range":{"description":"比较周期：day=日、week=周、month=月、year=年；返回时间桶参与结果计费。 最短字符数：1。","minLength":1,"type":"string"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"platform":{"description":"索引来源：google=Google AI Overview、chat_gpt=ChatGPT；ChatGPT当前只覆盖美国英语。省略时官方正文说明查询两平台，但部分表格标默认google，建议显式传值；品牌及品牌类目数据仅支持chat_gpt。 最短字符数：1。","minLength":1,"type":"string"},"target":{"description":"目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。 最少项：1。 最多项：20。","items":{"additionalProperties":{},"description":"目标实体数组，官方最多10项。每项填domain或keyword之一；至少一项search_filter=include。domain是目标域名；keyword是品牌、名称或主题词。search_scope可为question=问题、answer=回答、reference=引用；keyword支持match_type=word_match词匹配或partial_match部分匹配；search_filter=include包含或exclude排除。","propertyNames":{"type":"string"},"type":"object"},"maxItems":20,"minItems":1,"type":"array"}},"required":["target","date_from","date_to","group_range"],"type":"object"}}}}}},"/api/v1/ai/keyword-search-volume":{"post":{"tags":["需求估算"],"summary":"估算AI关键词需求","description":"根据People Also Ask等统计模型估算关键词AI搜索需求及12个月趋势；不是模型App的真实提问日志，也不是本次网页采集证据。\n\n参数：\n- keywords（\"array\"，必填）：需求估算关键词数组，1至1000项，每项最多80字符、10个词；返回估算需求，不是用户真实问题数量。 最少项：1。 最多项：1000。\n- language_code（\"string\"，可选）：语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。\n- language_name（\"string\"，可选）：语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。\n- location_name（\"string\"，可选）：地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。\n\n使用说明：","operationId":"data_relay_ai_keyword_search_volume","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"根据People Also Ask等统计模型估算关键词AI搜索需求及12个月趋势；不是模型App的真实提问日志，也不是本次网页采集证据。","examples":[{"keywords":["project management software"],"language_code":"en","location_code":2840}],"properties":{"keywords":{"description":"需求估算关键词数组，1至1000项，每项最多80字符、10个词；返回估算需求，不是用户真实问题数量。 最少项：1。 最多项：1000。","items":{"maxLength":80,"minLength":1,"type":"string"},"maxItems":1000,"minItems":1,"type":"array"},"language_code":{"description":"语言代码，例如en；与language_name择一，不是国家代码。 最短字符数：2。 最长字符数：10。 最短字符数：2。 最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，例如English；与language_code至少提供一种。 最短字符数：1。 最长字符数：60。 最短字符数：1。 最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称或本接口支持的坐标择一。 最大值：9007199254740991。 严格大于：0。 最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"地区完整名称，例如United States；与location_code择一；支持坐标字段的接口也可使用location_coordinate。至少一种地区定位。 最短字符数：1。 最长字符数：200。 最短字符数：1。 最长字符数：200。","maxLength":200,"minLength":1,"type":"string"}},"required":["keywords"],"type":"object"}}}}}},"/api/v1/amazon.asins":{"post":{"tags":["Amazon"],"summary":"批量查询Amazon商品资料","description":"一次查询最多10个ASIN，返回标准化商品标题、品牌、价格、评分、图片和属性。按实际计费结果数收费。\n\n参数：\n- asins（\"array\"，必填，Schema未声明默认值）：ASIN数组；批量商品资料最多10项，排名概览最多1000项。最少项数：1。最多项数：10。\n- amazonDomain（\"string\"，可选，默认\"amazon.com\"）：目标亚马逊站点域名，例如 amazon.com、amazon.de、amazon.co.uk。\n- route（\"string\"，可选，Schema未声明默认值）：计费路线octopus，未传时采用该路线；每条计费结果$0.00385，最多10个ASIN。允许值：[\"octopus\"]。\n- limit（\"integer\"，可选，Schema未声明默认值）：结果数量或分页上限，具体单位和范围见本接口说明，不能跨接口复用含义。最小值：1。最大值：10。\n\n使用说明：\n分页与筛选仅适用于本接口。商品金额保留目标站点币种，接口调用费用以美元结算。","operationId":"data_relay_amazon_dot_asins","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"description":"一次查询最多10个ASIN，返回标准化商品标题、品牌、价格、评分、图片和属性。按实际计费结果数收费。","example":{"asins":["B09G9FPHY6"],"limit":3},"examples":[{"asins":["B09B8V1LZ3"]}],"properties":{"amazonDomain":{"default":"amazon.com","description":"目标亚马逊站点域名，例如 amazon.com、amazon.de、amazon.co.uk。","type":"string"},"asins":{"description":"ASIN数组；批量商品资料最多10项，排名概览最多1000项。最少项数：1。最多项数：10。","items":{"type":"string"},"maxItems":10,"minItems":1,"type":"array"},"limit":{"description":"结果数量或分页上限，具体单位和范围见本接口说明，不能跨接口复用含义。最小值：1。最大值：10。","maximum":10,"minimum":1,"type":"integer"},"route":{"description":"计费路线octopus，未传时采用该路线；每条计费结果$0.00385，最多10个ASIN。允许值：[\"octopus\"]。","enum":["octopus"],"type":"string"}},"required":["asins"],"type":"object"}}}}}},"/api/v1/amazon.search":{"get":{"tags":["Amazon"],"summary":"通过页面地址搜索Amazon商品","description":"读取搜索页或分类页中的商品列表，最多20条，包含标题、价格、评分和缩略图。\n\n参数：\n- route（\"string\"，可选，Schema未声明默认值）：计费路线：heron（未传时默认）每次$0.0013；chameleon每次$0.00075；badger每次$0.0021。默认不代表服务注入该字段。允许值：[\"chameleon\",\"heron\",\"badger\"]。\n- limit（\"integer\"，可选，默认20）：结果数量或分页上限，具体单位和范围见本接口说明，不能跨接口复用含义。最小值：1。最大值：20。\n- url（\"string\"，必填，Schema未声明默认值）：完整亚马逊页面地址；页面搜索接口使用搜索页或分类页，页面采集接口使用商品详情页。\n\n使用说明：\n分页与筛选仅适用于本接口。商品金额保留目标站点币种，接口调用费用以美元结算。","operationId":"data_relay_amazon_dot_search","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"limit","in":"query","required":false,"description":"结果数量或分页上限，具体单位和范围见本接口说明，不能跨接口复用含义。最小值：1。最大值：20。","schema":{"default":20,"description":"结果数量或分页上限，具体单位和范围见本接口说明，不能跨接口复用含义。最小值：1。最大值：20。","maximum":20,"minimum":1,"type":"integer"}},{"name":"route","in":"query","required":false,"description":"计费路线：heron（未传时默认）每次$0.0013；chameleon每次$0.00075；badger每次$0.0021。默认不代表服务注入该字段。允许值：[\"chameleon\",\"heron\",\"badger\"]。","schema":{"description":"计费路线：heron（未传时默认）每次$0.0013；chameleon每次$0.00075；badger每次$0.0021。默认不代表服务注入该字段。允许值：[\"chameleon\",\"heron\",\"badger\"]。","enum":["chameleon","heron","badger"],"type":"string"}},{"name":"url","in":"query","required":true,"description":"完整亚马逊页面地址；页面搜索接口使用搜索页或分类页，页面采集接口使用商品详情页。","schema":{"description":"完整亚马逊页面地址；页面搜索接口使用搜索页或分类页，页面采集接口使用商品详情页。","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/amazon/asin":{"get":{"tags":["Amazon"],"summary":"获取Amazon商品详情","description":"按ASIN、地区及站点查询商品价格、规格、变体和评分等详情。\n\n参数：\n- asin（\"string\"，必填，Schema未声明默认值）：亚马逊标准商品标识ASIN；不是SKU、商品标题或店铺ID。最短长度：10。最长长度：10。\n- location_name（\"string\"，可选，Schema未声明默认值）：目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。\n- location_code（\"integer\"，可选，Schema未声明默认值）：目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。\n- location_coordinate（\"string\"，可选，Schema未声明默认值）：地区坐标，格式为纬度,经度,半径；半径单位米，200至19999，作为地区名称/代码的替代输入。最短长度：1。最长长度：60。\n- language_name（\"string\"，可选，Schema未声明默认值）：语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。\n- language_code（\"string\"，可选，Schema未声明默认值）：语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。\n- se_domain（\"string\"，可选，Schema未声明默认值）：目标亚马逊站点域名，例如 amazon.com、amazon.co.uk；不是任意搜索引擎地址。最短长度：1。\n\n使用说明：\n分页与筛选仅适用于本接口。商品金额保留目标站点币种，接口调用费用以美元结算。","operationId":"data_relay_amazon_asin","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"asin","in":"query","required":true,"description":"亚马逊标准商品标识ASIN；不是SKU、商品标题或店铺ID。最短长度：10。最长长度：10。","schema":{"description":"亚马逊标准商品标识ASIN；不是SKU、商品标题或店铺ID。最短长度：10。最长长度：10。","maxLength":10,"minLength":10,"type":"string"}},{"name":"language_code","in":"query","required":false,"description":"语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。","schema":{"description":"语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。","maxLength":10,"minLength":2,"type":"string"}},{"name":"language_name","in":"query","required":false,"description":"语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。","schema":{"description":"语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。","maxLength":60,"minLength":1,"type":"string"}},{"name":"location_code","in":"query","required":false,"description":"目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。","schema":{"description":"目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},{"name":"location_coordinate","in":"query","required":false,"description":"地区坐标，格式为纬度,经度,半径；半径单位米，200至19999，作为地区名称/代码的替代输入。最短长度：1。最长长度：60。","schema":{"description":"地区坐标，格式为纬度,经度,半径；半径单位米，200至19999，作为地区名称/代码的替代输入。最短长度：1。最长长度：60。","maxLength":60,"minLength":1,"type":"string"}},{"name":"location_name","in":"query","required":false,"description":"目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。","schema":{"description":"目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。","maxLength":200,"minLength":1,"type":"string"}},{"name":"se_domain","in":"query","required":false,"description":"目标亚马逊站点域名，例如 amazon.com、amazon.co.uk；不是任意搜索引擎地址。最短长度：1。","schema":{"description":"目标亚马逊站点域名，例如 amazon.com、amazon.co.uk；不是任意搜索引擎地址。最短长度：1。","minLength":1,"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/amazon/product":{"get":{"tags":["Amazon"],"summary":"获取Amazon商品及关联商品","description":"获取指定ASIN的商品详情，可选择其他卖家及完整关联商品分组。\n\n参数：\n- other_sellers（[\"string\",\"number\",\"boolean\"]，可选，Schema未声明默认值）：是否包含其他卖家信息；建议传布尔值true/false。\n- all_related_products（\"见Schema\"，可选，Schema未声明默认值）：是否获取全部关联商品及关联商品分组；true获取完整分组，可能增加响应时间；接受布尔值或字符串true/false，以Schema为准。\n- asin（[\"string\",\"number\",\"boolean\"]，必填，Schema未声明默认值）：亚马逊标准商品标识ASIN；不是SKU、商品标题或店铺ID。\n- language（[\"string\",\"number\",\"boolean\"]，可选，Schema未声明默认值）：语言选择；商品详情使用站点语言代码如en_US，批量采集default保留站点语言，评论all表示不限语言。完整允许值见Schema。\n- shipping_location（[\"string\",\"number\",\"boolean\"]，可选，Schema未声明默认值）：配送国家代码；用于商品配送地区过滤。\n- delivery_zip（[\"string\",\"number\",\"boolean\"]，可选，Schema未声明默认值）：配送邮编，需与所选站点/国家一致。\n- device（[\"string\",\"number\",\"boolean\"]，可选，Schema未声明默认值）：设备类型：desktop=桌面（业务默认）、tablet=平板、mobile=手机。\n- json_restrictor（[\"string\",\"number\",\"boolean\"]，可选，Schema未声明默认值）：返回字段筛选表达式，用于缩小响应；例如以逗号连接需要保留的顶层字段，支持嵌套筛选；不能当作商品搜索条件。\n- amazon_domain（[\"string\",\"number\",\"boolean\"]，可选，Schema未声明默认值）：目标亚马逊站点域名，业务默认 amazon.com；不同站点商品与配送条件可能不同。\n\n使用说明：\n分页与筛选仅适用于本接口。商品金额保留目标站点币种，接口调用费用以美元结算。","operationId":"data_relay_amazon_product","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"all_related_products","in":"query","required":false,"description":"是否获取全部关联商品及关联商品分组；true获取完整分组，可能增加响应时间；接受布尔值或字符串true/false，以Schema为准。","schema":{"anyOf":[{"type":"boolean"},{"enum":["true","false"],"type":"string"}],"description":"是否获取全部关联商品及关联商品分组；true获取完整分组，可能增加响应时间；接受布尔值或字符串true/false，以Schema为准。"}},{"name":"amazon_domain","in":"query","required":false,"description":"目标亚马逊站点域名，业务默认 amazon.com；不同站点商品与配送条件可能不同。","schema":{"description":"目标亚马逊站点域名，业务默认 amazon.com；不同站点商品与配送条件可能不同。","type":["string","number","boolean"]}},{"name":"asin","in":"query","required":true,"description":"亚马逊标准商品标识ASIN；不是SKU、商品标题或店铺ID。","schema":{"description":"亚马逊标准商品标识ASIN；不是SKU、商品标题或店铺ID。","type":["string","number","boolean"]}},{"name":"delivery_zip","in":"query","required":false,"description":"配送邮编，需与所选站点/国家一致。","schema":{"description":"配送邮编，需与所选站点/国家一致。","type":["string","number","boolean"]}},{"name":"device","in":"query","required":false,"description":"设备类型：desktop=桌面（业务默认）、tablet=平板、mobile=手机。","schema":{"description":"设备类型：desktop=桌面（业务默认）、tablet=平板、mobile=手机。","type":["string","number","boolean"]}},{"name":"json_restrictor","in":"query","required":false,"description":"返回字段筛选表达式，用于缩小响应；例如以逗号连接需要保留的顶层字段，支持嵌套筛选；不能当作商品搜索条件。","schema":{"description":"返回字段筛选表达式，用于缩小响应；例如以逗号连接需要保留的顶层字段，支持嵌套筛选；不能当作商品搜索条件。","type":["string","number","boolean"]}},{"name":"language","in":"query","required":false,"description":"语言选择；商品详情使用站点语言代码如en_US，批量采集default保留站点语言，评论all表示不限语言。完整允许值见Schema。","schema":{"description":"语言选择；商品详情使用站点语言代码如en_US，批量采集default保留站点语言，评论all表示不限语言。完整允许值见Schema。","type":["string","number","boolean"]}},{"name":"other_sellers","in":"query","required":false,"description":"是否包含其他卖家信息；建议传布尔值true/false。","schema":{"description":"是否包含其他卖家信息；建议传布尔值true/false。","type":["string","number","boolean"]}},{"name":"shipping_location","in":"query","required":false,"description":"配送国家代码；用于商品配送地区过滤。","schema":{"description":"配送国家代码；用于商品配送地区过滤。","type":["string","number","boolean"]}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/amazon/products":{"get":{"tags":["Amazon"],"summary":"搜索Amazon商品","description":"按关键词或搜索地址查询商品，支持价格、类目、站点、地区和排序。按采集页数计费；默认48条，每增加一页另计。\n\n参数：\n- keyword（\"string\"，必填，Schema未声明默认值）：搜索或扩展的关键词。最短长度：1。\n- url（\"string\"，可选，Schema未声明默认值）：完整亚马逊页面地址；页面搜索接口使用搜索页或分类页，页面采集接口使用商品详情页。最短长度：1。\n- location_name（\"string\"，可选，Schema未声明默认值）：目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。\n- location_code（\"integer\"，可选，Schema未声明默认值）：目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。\n- location_coordinate（\"string\"，可选，Schema未声明默认值）：地区坐标，格式为纬度,经度,半径；半径单位米，200至19999，作为地区名称/代码的替代输入。最短长度：1。最长长度：60。\n- language_name（\"string\"，可选，Schema未声明默认值）：语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。\n- language_code（\"string\"，可选，Schema未声明默认值）：语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。\n- se_domain（\"string\"，可选，Schema未声明默认值）：目标亚马逊站点域名，例如 amazon.com、amazon.co.uk；不是任意搜索引擎地址。最短长度：1。\n- depth（\"integer\"，可选，Schema未声明默认值）：采集结果深度：商品搜索1至700，业务默认48；相关关键词扩展0至4，业务默认1。搜索按48条一页计费，实际费用以用量记录为准。最小值：1。最大值：700。\n- max_crawl_pages（\"integer\"，可选，Schema未声明默认值）：商品搜索最多采集页数，上限7；不是结果条数，翻页增加费用。最小值：-9007199254740991。最大值：7。\n- department（\"string\"，可选，Schema未声明默认值）：商品部门或类目代码；使用目标站点的有效类目值。最短长度：1。\n- search_param（\"string\"，可选，Schema未声明默认值）：搜索查询附加参数字符串，使用目标站点搜索参数格式。最短长度：1。\n- price_min（\"integer\"，可选，Schema未声明默认值）：最低商品价格，单位为目标站点商品币种；不是接口调用费。最小值：-9007199254740991。最大值：9007199254740991。\n- price_max（\"integer\"，可选，Schema未声明默认值）：最高商品价格，单位为目标站点商品币种；应不小于最低价格。最小值：-9007199254740991。最大值：9007199254740991。\n- sort_by（\"string\"，可选，Schema未声明默认值）：搜索排序值：relevance=相关性、price_low_to_high=价格升序、price_high_to_low=价格降序、featured=精选、avg_customer_review=买家评分、newest_arrival=新品。可用值以本接口Schema为准。最短长度：1。\n\n使用说明：\n分页与筛选仅适用于本接口。商品金额保留目标站点币种，接口调用费用以美元结算。","operationId":"data_relay_amazon_products","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"department","in":"query","required":false,"description":"商品部门或类目代码；使用目标站点的有效类目值。最短长度：1。","schema":{"description":"商品部门或类目代码；使用目标站点的有效类目值。最短长度：1。","minLength":1,"type":"string"}},{"name":"depth","in":"query","required":false,"description":"采集结果深度：商品搜索1至700，业务默认48；相关关键词扩展0至4，业务默认1。搜索按48条一页计费，实际费用以用量记录为准。最小值：1。最大值：700。","schema":{"description":"采集结果深度：商品搜索1至700，业务默认48；相关关键词扩展0至4，业务默认1。搜索按48条一页计费，实际费用以用量记录为准。最小值：1。最大值：700。","maximum":700,"minimum":1,"type":"integer"}},{"name":"keyword","in":"query","required":true,"description":"搜索或扩展的关键词。最短长度：1。","schema":{"description":"搜索或扩展的关键词。最短长度：1。","minLength":1,"type":"string"}},{"name":"language_code","in":"query","required":false,"description":"语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。","schema":{"description":"语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。","maxLength":10,"minLength":2,"type":"string"}},{"name":"language_name","in":"query","required":false,"description":"语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。","schema":{"description":"语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。","maxLength":60,"minLength":1,"type":"string"}},{"name":"location_code","in":"query","required":false,"description":"目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。","schema":{"description":"目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},{"name":"location_coordinate","in":"query","required":false,"description":"地区坐标，格式为纬度,经度,半径；半径单位米，200至19999，作为地区名称/代码的替代输入。最短长度：1。最长长度：60。","schema":{"description":"地区坐标，格式为纬度,经度,半径；半径单位米，200至19999，作为地区名称/代码的替代输入。最短长度：1。最长长度：60。","maxLength":60,"minLength":1,"type":"string"}},{"name":"location_name","in":"query","required":false,"description":"目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。","schema":{"description":"目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。","maxLength":200,"minLength":1,"type":"string"}},{"name":"max_crawl_pages","in":"query","required":false,"description":"商品搜索最多采集页数，上限7；不是结果条数，翻页增加费用。最小值：-9007199254740991。最大值：7。","schema":{"description":"商品搜索最多采集页数，上限7；不是结果条数，翻页增加费用。最小值：-9007199254740991。最大值：7。","maximum":7,"minimum":-9007199254740991,"type":"integer"}},{"name":"price_max","in":"query","required":false,"description":"最高商品价格，单位为目标站点商品币种；应不小于最低价格。最小值：-9007199254740991。最大值：9007199254740991。","schema":{"description":"最高商品价格，单位为目标站点商品币种；应不小于最低价格。最小值：-9007199254740991。最大值：9007199254740991。","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},{"name":"price_min","in":"query","required":false,"description":"最低商品价格，单位为目标站点商品币种；不是接口调用费。最小值：-9007199254740991。最大值：9007199254740991。","schema":{"description":"最低商品价格，单位为目标站点商品币种；不是接口调用费。最小值：-9007199254740991。最大值：9007199254740991。","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},{"name":"se_domain","in":"query","required":false,"description":"目标亚马逊站点域名，例如 amazon.com、amazon.co.uk；不是任意搜索引擎地址。最短长度：1。","schema":{"description":"目标亚马逊站点域名，例如 amazon.com、amazon.co.uk；不是任意搜索引擎地址。最短长度：1。","minLength":1,"type":"string"}},{"name":"search_param","in":"query","required":false,"description":"搜索查询附加参数字符串，使用目标站点搜索参数格式。最短长度：1。","schema":{"description":"搜索查询附加参数字符串，使用目标站点搜索参数格式。最短长度：1。","minLength":1,"type":"string"}},{"name":"sort_by","in":"query","required":false,"description":"搜索排序值：relevance=相关性、price_low_to_high=价格升序、price_high_to_low=价格降序、featured=精选、avg_customer_review=买家评分、newest_arrival=新品。可用值以本接口Schema为准。最短长度：1。","schema":{"description":"搜索排序值：relevance=相关性、price_low_to_high=价格升序、price_high_to_low=价格降序、featured=精选、avg_customer_review=买家评分、newest_arrival=新品。可用值以本接口Schema为准。最短长度：1。","minLength":1,"type":"string"}},{"name":"url","in":"query","required":false,"description":"完整亚马逊页面地址；页面搜索接口使用搜索页或分类页，页面采集接口使用商品详情页。最短长度：1。","schema":{"description":"完整亚马逊页面地址；页面搜索接口使用搜索页或分类页，页面采集接口使用商品详情页。最短长度：1。","minLength":1,"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/amazon/sellers":{"get":{"tags":["Amazon"],"summary":"获取Amazon商品卖家报价","description":"查询销售同一ASIN的卖家报价、成色和配送信息。\n\n参数：\n- asin（\"string\"，必填，Schema未声明默认值）：亚马逊标准商品标识ASIN；不是SKU、商品标题或店铺ID。最短长度：10。最长长度：10。\n- location_name（\"string\"，可选，Schema未声明默认值）：目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。\n- location_code（\"integer\"，可选，Schema未声明默认值）：目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。\n- location_coordinate（\"string\"，可选，Schema未声明默认值）：地区坐标，格式为纬度,经度,半径；半径单位米，200至19999，作为地区名称/代码的替代输入。最短长度：1。最长长度：60。\n- language_name（\"string\"，可选，Schema未声明默认值）：语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。\n- language_code（\"string\"，可选，Schema未声明默认值）：语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。\n- se_domain（\"string\"，可选，Schema未声明默认值）：目标亚马逊站点域名，例如 amazon.com、amazon.co.uk；不是任意搜索引擎地址。最短长度：1。\n\n使用说明：\n分页与筛选仅适用于本接口。商品金额保留目标站点币种，接口调用费用以美元结算。","operationId":"data_relay_amazon_sellers","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"asin","in":"query","required":true,"description":"亚马逊标准商品标识ASIN；不是SKU、商品标题或店铺ID。最短长度：10。最长长度：10。","schema":{"description":"亚马逊标准商品标识ASIN；不是SKU、商品标题或店铺ID。最短长度：10。最长长度：10。","maxLength":10,"minLength":10,"type":"string"}},{"name":"language_code","in":"query","required":false,"description":"语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。","schema":{"description":"语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。","maxLength":10,"minLength":2,"type":"string"}},{"name":"language_name","in":"query","required":false,"description":"语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。","schema":{"description":"语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。","maxLength":60,"minLength":1,"type":"string"}},{"name":"location_code","in":"query","required":false,"description":"目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。","schema":{"description":"目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},{"name":"location_coordinate","in":"query","required":false,"description":"地区坐标，格式为纬度,经度,半径；半径单位米，200至19999，作为地区名称/代码的替代输入。最短长度：1。最长长度：60。","schema":{"description":"地区坐标，格式为纬度,经度,半径；半径单位米，200至19999，作为地区名称/代码的替代输入。最短长度：1。最长长度：60。","maxLength":60,"minLength":1,"type":"string"}},{"name":"location_name","in":"query","required":false,"description":"目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。","schema":{"description":"目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。","maxLength":200,"minLength":1,"type":"string"}},{"name":"se_domain","in":"query","required":false,"description":"目标亚马逊站点域名，例如 amazon.com、amazon.co.uk；不是任意搜索引擎地址。最短长度：1。","schema":{"description":"目标亚马逊站点域名，例如 amazon.com、amazon.co.uk；不是任意搜索引擎地址。最短长度：1。","minLength":1,"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/axesso_data/amazon-reviews-scraper":{"post":{"tags":["Amazon"],"summary":"获取Amazon商品评论","description":"批量采集商品评论正文、标题、星级、日期、购买验证等信息。每个输入项对应一个ASIN，不代表只返回一条评论。\n\n参数：\n- input（\"array\"，必填，Schema未声明默认值）：评论查询项数组；每项使用asin、domainCode、sortBy、maxPages、filterByStar、filterByKeyword、reviewerType、formatType、mediaType等字段，完整含义见使用说明。\n\n使用说明：\n查询项说明：asin为商品ASIN；domainCode为国家域名后缀（com=美国、co.uk=英国、de=德国、co.jp=日本）；sortBy为recent=最新或helpful=有帮助优先；maxPages为最多采集页数，默认1，上限10；每页通常10条；filterByStar为星级筛选，例如five_star=五星、four_star=四星，其余取值以实际接口契约为准；filterByKeyword为评论关键词；reviewerType为all_reviews=所有评价或verified_reviews=已验证购买；formatType为all_formats=全部变体或current_format=当前变体；mediaType为all_contents=全部或media_reviews_only=仅媒体评价。缺省与枚举以官方实际契约为准，分页会增加结果数，按实际计费评论数结算。","operationId":"data_relay_axesso_data_amazon_reviews_scraper","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"description":"批量采集商品评论正文、标题、星级、日期、购买验证等信息。每个输入项对应一个ASIN，不代表只返回一条评论。","examples":[{"input":[{"asin":"B09B8V1LZ3","domainCode":"com","maxPages":1,"sortBy":"recent"}]}],"properties":{"input":{"description":"评论查询项数组；每项使用asin、domainCode、sortBy、maxPages、filterByStar、filterByKeyword、reviewerType、formatType、mediaType等字段，完整含义见使用说明。","editor":"json","prefill":[{"asin":"B08C1W5N87","domainCode":"com","filterByKeyword":"good","filterByStar":"five_star","formatType":"current_format","maxPages":1,"mediaType":"all_contents","reviewerType":"all_reviews","sortBy":"recent"}],"type":"array"}},"required":["input"],"schemaVersion":1,"type":"object"}}}}}},"/api/v1/delicious_zebu/amazon-product-details-scraper":{"post":{"tags":["Amazon"],"summary":"批量获取Amazon商品详情","description":"通过ASIN或商品链接列表批量采集商品属性、价格、评分分布、图片等信息。费用包含每次基础费和结果费。\n\n参数：\n- Params（\"array\"，必填，Schema未声明默认值）：ASIN或完整商品详情地址数组；两种类型可混合提交，完整链接按自身域名采集，纯ASIN按website指定站点采集。\n- website（\"string\"，可选，默认\"amazon.com\"）：纯ASIN使用的国家站点域名，默认amazon.com；完整URL条目使用自身域名，不受该字段覆盖。允许值：[\"amazon.com\",\"amazon.de\",\"amazon.co.uk\",\"amazon.ca\",\"amazon.com.au\",\"amazon.in\",\"amazon.sg\",\"amazon.ie\",\"amazon.com.mx\",\"amazon.es\",\"amazon.com.br\",\"amazon.sa\",\"amazon.ae\",\"amazon.eg\",\"amazon.it\",\"amazon.co.jp\",\"amazon.nl\",\"amazon.pl\",\"amazon.se\",\"amazon.com.tr\"]。\n- language（\"string\"，可选，默认\"default\"）：语言选择；商品详情使用站点语言代码如en_US，批量采集default保留站点语言，评论all表示不限语言。完整允许值见Schema。允许值：[\"default\",\"en\",\"ar\",\"de\",\"es\",\"fr\",\"he\",\"it\",\"ja\",\"ko\",\"nl\",\"pl\",\"pt\",\"sv\",\"tr\",\"zh_CN\",\"zh_TW\"]。\n- currency（\"string\"，可选，默认\"default\"）：商品展示币种；default使用站点默认币种，仅站点支持时进行换算。该字段与接口调用费用统一美元的口径无关。允许值：[\"default\",\"USD\",\"CLP\",\"COP\",\"HKD\",\"IDR\",\"ILS\",\"KRW\",\"MYR\",\"NZD\",\"THB\",\"TWD\",\"CRC\",\"PEN\",\"UYU\",\"BRL\",\"AUD\",\"CAD\",\"CNY\",\"EUR\",\"JPY\",\"MXN\",\"GBP\",\"AED\",\"SGD\",\"SAR\",\"NOK\",\"ARS\",\"AMD\",\"AWG\",\"AZN\",\"BSD\",\"BZD\",\"BOB\",\"BND\",\"BGN\",\"KHR\",\"KYD\",\"DOP\",\"XCD\",\"EGP\",\"GHS\",\"GTQ\",\"HUF\",\"INR\",\"JMD\",\"KZT\",\"KES\",\"LBP\",\"HNL\",\"MOP\",\"MUR\",\"MAD\",\"NAD\",\"NGN\",\"PAB\",\"PYG\",\"QAR\",\"RUB\",\"ZAR\",\"TZS\",\"PHP\",\"TTD\",\"MNT\",\"TRY\",\"VND\",\"SEK\",\"PLN\",\"BBD\",\"BMD\",\"XPF\",\"XOF\",\"XAF\",\"NIO\",\"CZK\",\"DKK\",\"GEL\",\"GYD\",\"PKR\",\"RON\",\"MVR\",\"LKR\",\"CHF\",\"UZS\"]。\n- deliverTo（\"string\"，可选，默认\"US\"）：配送国家代码，默认US；影响可售商品、配送和价格。允许值：[\"US\",\"AF\",\"AX\",\"AL\",\"DZ\",\"AS\",\"AD\",\"AO\",\"AI\",\"AG\",\"AR\",\"AM\",\"AW\",\"AU\",\"AT\",\"AZ\",\"BS\",\"BH\",\"BD\",\"BB\",\"BY\",\"BE\",\"BZ\",\"BJ\",\"BM\",\"BT\",\"BO\",\"BQ\",\"BA\",\"BW\",\"BV\",\"BR\",\"IO\",\"BN\",\"BG\",\"BF\",\"BI\",\"KH\",\"CM\",\"CA\",\"CV\",\"KY\",\"CF\",\"TD\",\"CL\",\"CN\",\"CX\",\"CC\",\"CO\",\"KM\",\"CG\",\"CD\",\"CK\",\"CR\",\"CI\",\"HR\",\"CW\",\"CY\",\"CZ\",\"DK\",\"DJ\",\"DM\",\"DO\",\"EC\",\"EG\",\"SV\",\"GQ\",\"ER\",\"EE\",\"ET\",\"FK\",\"FO\",\"FJ\",\"FI\",\"FR\",\"GF\",\"PF\",\"TF\",\"GA\",\"GM\",\"GE\",\"DE\",\"GH\",\"GI\",\"GR\",\"GL\",\"GD\",\"GP\",\"GT\",\"GG\",\"GN\",\"GW\",\"GY\",\"HT\",\"HM\",\"VA\",\"HN\",\"HK\",\"HU\",\"IS\",\"IN\",\"ID\",\"IQ\",\"IE\",\"IM\",\"IL\",\"IT\",\"JM\",\"JP\",\"JE\",\"JO\",\"KZ\",\"KE\",\"KI\",\"XK\",\"KW\",\"KG\",\"LA\",\"LV\",\"LB\",\"LS\",\"LR\",\"LY\",\"LI\",\"LT\",\"LU\",\"MO\",\"MK\",\"MG\",\"MW\",\"MY\",\"MV\",\"ML\",\"MT\",\"MH\",\"MQ\",\"MR\",\"MU\",\"YT\",\"MX\",\"FM\",\"MD\",\"MC\",\"MN\",\"ME\",\"MS\",\"MA\",\"MZ\",\"MM\",\"NA\",\"NR\",\"NP\",\"NL\",\"AN\",\"NC\",\"NZ\",\"NI\",\"NE\",\"NG\",\"NU\",\"NF\",\"NO\",\"OM\",\"PK\",\"PW\",\"PS\",\"PA\",\"PG\",\"PY\",\"PE\",\"PH\",\"PN\",\"PL\",\"PT\",\"QA\",\"KR\",\"RE\",\"RO\",\"RU\",\"RW\",\"BL\",\"SH\",\"KN\",\"LC\",\"MF\",\"PM\",\"VC\",\"WS\",\"SM\",\"ST\",\"SA\",\"SN\",\"RS\",\"SC\",\"SL\",\"SG\",\"SX\",\"SK\",\"SI\",\"SB\",\"SO\",\"ZA\",\"GS\",\"ES\",\"LK\",\"SR\",\"SJ\",\"SZ\",\"SE\",\"CH\",\"TW\",\"TJ\",\"TZ\",\"TH\",\"TL\",\"TG\",\"TK\",\"TO\",\"TT\",\"TN\",\"TR\",\"TM\",\"TC\",\"TV\",\"UG\",\"UA\",\"AE\",\"GB\",\"UM\",\"UY\",\"UZ\",\"VU\",\"VE\",\"VN\",\"VG\",\"WF\",\"EH\",\"YE\",\"ZM\",\"ZW\"]。\n- zipCode（\"string\"，可选，默认\"\"）：配送地区邮编，需使用所选国家的邮编格式；默认空字符串表示未指定。\n\n使用说明：\n分页与筛选仅适用于本接口。商品金额保留目标站点币种，接口调用费用以美元结算。","operationId":"data_relay_delicious_zebu_amazon_product_details_scraper","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"description":"通过ASIN或商品链接列表批量采集商品属性、价格、评分分布、图片等信息。费用包含每次基础费和结果费。","examples":[{"Params":["B09B8V1LZ3"]}],"properties":{"Params":{"description":"ASIN或完整商品详情地址数组；两种类型可混合提交，完整链接按自身域名采集，纯ASIN按website指定站点采集。","editor":"stringList","example":["B00091S3K4","实际商品链接"],"prefill":["B00091S3K4","实际商品链接"],"type":"array","uniqueItems":true},"currency":{"default":"default","description":"商品展示币种；default使用站点默认币种，仅站点支持时进行换算。该字段与接口调用费用统一美元的口径无关。允许值：[\"default\",\"USD\",\"CLP\",\"COP\",\"HKD\",\"IDR\",\"ILS\",\"KRW\",\"MYR\",\"NZD\",\"THB\",\"TWD\",\"CRC\",\"PEN\",\"UYU\",\"BRL\",\"AUD\",\"CAD\",\"CNY\",\"EUR\",\"JPY\",\"MXN\",\"GBP\",\"AED\",\"SGD\",\"SAR\",\"NOK\",\"ARS\",\"AMD\",\"AWG\",\"AZN\",\"BSD\",\"BZD\",\"BOB\",\"BND\",\"BGN\",\"KHR\",\"KYD\",\"DOP\",\"XCD\",\"EGP\",\"GHS\",\"GTQ\",\"HUF\",\"INR\",\"JMD\",\"KZT\",\"KES\",\"LBP\",\"HNL\",\"MOP\",\"MUR\",\"MAD\",\"NAD\",\"NGN\",\"PAB\",\"PYG\",\"QAR\",\"RUB\",\"ZAR\",\"TZS\",\"PHP\",\"TTD\",\"MNT\",\"TRY\",\"VND\",\"SEK\",\"PLN\",\"BBD\",\"BMD\",\"XPF\",\"XOF\",\"XAF\",\"NIO\",\"CZK\",\"DKK\",\"GEL\",\"GYD\",\"PKR\",\"RON\",\"MVR\",\"LKR\",\"CHF\",\"UZS\"]。","editor":"select","enum":["default","USD","CLP","COP","HKD","IDR","ILS","KRW","MYR","NZD","THB","TWD","CRC","PEN","UYU","BRL","AUD","CAD","CNY","EUR","JPY","MXN","GBP","AED","SGD","SAR","NOK","ARS","AMD","AWG","AZN","BSD","BZD","BOB","BND","BGN","KHR","KYD","DOP","XCD","EGP","GHS","GTQ","HUF","INR","JMD","KZT","KES","LBP","HNL","MOP","MUR","MAD","NAD","NGN","PAB","PYG","QAR","RUB","ZAR","TZS","PHP","TTD","MNT","TRY","VND","SEK","PLN","BBD","BMD","XPF","XOF","XAF","NIO","CZK","DKK","GEL","GYD","PKR","RON","MVR","LKR","CHF","UZS"],"enumTitles":["Site default","$ - USD - US Dollar","CLP - Chilean Peso","COP - Colombian Peso","HK$ - HKD - Hong Kong Dollar","IDR - Indonesian Rupiah","₪ - ILS - Israeli New Shekel","₩ - KRW - South Korean Won","MYR - Malaysian Ringgit","NZ$ - NZD - New Zealand Dollar","THB - Thai Baht","NT$ - TWD - New Taiwan Dollar","CRC - Costa Rican Colón","PEN - Peruvian Sol","UYU - Uruguayan Peso","R$ - BRL - Brazilian Real","A$ - AUD - Australian Dollar","CA$ - CAD - Canadian Dollar","CN¥ - CNY - Chinese Yuan","€ - EUR - Euro","¥ - JPY - Japanese Yen","MX$ - MXN - Mexican Peso","£ - GBP - British Pound","AED - United Arab Emirates Dirham","SGD - Singapore Dollar","SAR - Saudi Riyal","NOK - Norwegian Krone","ARS - Argentine Peso","AMD - Armenian Dram","AWG - Aruban Florin","AZN - Azerbaijani Manat","BSD - Bahamian Dollar","BZD - Belize Dollar","BOB - Bolivian Boliviano","BND - Brunei Dollar","BGN - Bulgarian Lev","KHR - Cambodian Riel","KYD - Cayman Islands Dollar","DOP - Dominican Peso","EC$ - XCD - East Caribbean Dollar","EGP - Egyptian Pound","GHS - Ghanaian Cedi","GTQ - Guatemalan Quetzal","HUF - Hungarian Forint","₹ - INR - Indian Rupee","JMD - Jamaican Dollar","KZT - Kazakhstani Tenge","KES - Kenyan Shilling","LBP - Lebanese Pound","HNL - Honduran Lempira","MOP - Macanese Pataca","MUR - Mauritian Rupee","MAD - Moroccan Dirham","NAD - Namibian Dollar","NGN - Nigerian Naira","PAB - Panamanian Balboa","PYG - Paraguayan Guarani","QAR - Qatari Riyal","RUB - Russian Ruble","ZAR - South African Rand","TZS - Tanzanian Shilling","₱ - PHP - Philippine Peso","TTD - Trinidad & Tobago Dollar","MNT - Mongolian Tugrik","TRY - Turkish Lira","₫ - VND - Vietnamese Dong","SEK - Swedish Krona","PLN - Polish Zloty","BBD - Barbadian Dollar","BMD - Bermudan Dollar","CFPF - XPF - CFP Franc","F CFA - XOF - West African CFA Franc","FCFA - XAF - Central African CFA Franc","NIO - Nicaraguan Córdoba","CZK - Czech Koruna","DKK - Danish Krone","GEL - Georgian Lari","GYD - Guyanaese Dollar","PKR - Pakistani Rupee","RON - Romanian Leu","MVR - Maldivian Rufiyaa","LKR - Sri Lankan Rupee","CHF - Swiss Franc","UZS - Uzbekistani Som"],"type":"string"},"deliverTo":{"default":"US","description":"配送国家代码，默认US；影响可售商品、配送和价格。允许值：[\"US\",\"AF\",\"AX\",\"AL\",\"DZ\",\"AS\",\"AD\",\"AO\",\"AI\",\"AG\",\"AR\",\"AM\",\"AW\",\"AU\",\"AT\",\"AZ\",\"BS\",\"BH\",\"BD\",\"BB\",\"BY\",\"BE\",\"BZ\",\"BJ\",\"BM\",\"BT\",\"BO\",\"BQ\",\"BA\",\"BW\",\"BV\",\"BR\",\"IO\",\"BN\",\"BG\",\"BF\",\"BI\",\"KH\",\"CM\",\"CA\",\"CV\",\"KY\",\"CF\",\"TD\",\"CL\",\"CN\",\"CX\",\"CC\",\"CO\",\"KM\",\"CG\",\"CD\",\"CK\",\"CR\",\"CI\",\"HR\",\"CW\",\"CY\",\"CZ\",\"DK\",\"DJ\",\"DM\",\"DO\",\"EC\",\"EG\",\"SV\",\"GQ\",\"ER\",\"EE\",\"ET\",\"FK\",\"FO\",\"FJ\",\"FI\",\"FR\",\"GF\",\"PF\",\"TF\",\"GA\",\"GM\",\"GE\",\"DE\",\"GH\",\"GI\",\"GR\",\"GL\",\"GD\",\"GP\",\"GT\",\"GG\",\"GN\",\"GW\",\"GY\",\"HT\",\"HM\",\"VA\",\"HN\",\"HK\",\"HU\",\"IS\",\"IN\",\"ID\",\"IQ\",\"IE\",\"IM\",\"IL\",\"IT\",\"JM\",\"JP\",\"JE\",\"JO\",\"KZ\",\"KE\",\"KI\",\"XK\",\"KW\",\"KG\",\"LA\",\"LV\",\"LB\",\"LS\",\"LR\",\"LY\",\"LI\",\"LT\",\"LU\",\"MO\",\"MK\",\"MG\",\"MW\",\"MY\",\"MV\",\"ML\",\"MT\",\"MH\",\"MQ\",\"MR\",\"MU\",\"YT\",\"MX\",\"FM\",\"MD\",\"MC\",\"MN\",\"ME\",\"MS\",\"MA\",\"MZ\",\"MM\",\"NA\",\"NR\",\"NP\",\"NL\",\"AN\",\"NC\",\"NZ\",\"NI\",\"NE\",\"NG\",\"NU\",\"NF\",\"NO\",\"OM\",\"PK\",\"PW\",\"PS\",\"PA\",\"PG\",\"PY\",\"PE\",\"PH\",\"PN\",\"PL\",\"PT\",\"QA\",\"KR\",\"RE\",\"RO\",\"RU\",\"RW\",\"BL\",\"SH\",\"KN\",\"LC\",\"MF\",\"PM\",\"VC\",\"WS\",\"SM\",\"ST\",\"SA\",\"SN\",\"RS\",\"SC\",\"SL\",\"SG\",\"SX\",\"SK\",\"SI\",\"SB\",\"SO\",\"ZA\",\"GS\",\"ES\",\"LK\",\"SR\",\"SJ\",\"SZ\",\"SE\",\"CH\",\"TW\",\"TJ\",\"TZ\",\"TH\",\"TL\",\"TG\",\"TK\",\"TO\",\"TT\",\"TN\",\"TR\",\"TM\",\"TC\",\"TV\",\"UG\",\"UA\",\"AE\",\"GB\",\"UM\",\"UY\",\"UZ\",\"VU\",\"VE\",\"VN\",\"VG\",\"WF\",\"EH\",\"YE\",\"ZM\",\"ZW\"]。","editor":"select","enum":["US","AF","AX","AL","DZ","AS","AD","AO","AI","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","XK","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","AN","NC","NZ","NI","NE","NG","NU","NF","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","QA","KR","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","ES","LK","SR","SJ","SZ","SE","CH","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","UM","UY","UZ","VU","VE","VN","VG","WF","EH","YE","ZM","ZW"],"enumTitles":["United States","Afghanistan","Aland Islands","Albania","Algeria","American Samoa","Andorra","Angola","Anguilla","Antigua and Barbuda","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas, The","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bonaire, Saint Eustatius and Saba","Bosnia and Herzegovina","Botswana","Bouvet Island","Brazil","British Indian Ocean Territory","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman Islands","Central African Republic","Chad","Chile","China","Christmas Island","Cocos (Keeling) Islands","Colombia","Comoros","Congo","Congo, The Democratic Republic of the","Cook Islands","Costa Rica","Cote D'ivoire","Croatia","Curaçao","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands (Malvinas)","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia, The","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guernsey","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island and the McDonald Islands","Holy See","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iraq","Ireland","Isle of Man","Israel","Italy","Jamaica","Japan","Jersey","Jordan","Kazakhstan","Kenya","Kiribati","Kosovo","Kuwait","Kyrgyzstan","Lao People's Democratic Republic","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia, The Former Yugoslav Republic of","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Marshall Islands","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia, Federated States of","Moldova, Republic of","Monaco","Mongolia","Montenegro","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands","Netherlands Antilles","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk Island","Norway","Oman","Pakistan","Palau","Palestinian Territories","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn","Poland","Portugal","Qatar","Republic of Korea","Reunion","Romania","Russian Federation","Rwanda","Saint Barthelemy","Saint Helena, Ascension and Tristan da Cunha","Saint Kitts and Nevis","Saint Lucia","Saint Martin","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","Samoa","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Sint Maarten","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","Spain","Sri Lanka","Suriname","Svalbard and Jan Mayen","Swaziland","Sweden","Switzerland","Taiwan","Tajikistan","Tanzania, United Republic of","Thailand","Timor-leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","United States Minor Outlying Islands","Uruguay","Uzbekistan","Vanuatu","Venezuela","Vietnam","Virgin Islands, British","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"],"sectionCaption":"📍 Delivery & currency (both modes)","sectionDescription":"Apply to ASINs and URLs alike — a URL can't carry these, they live in the Amazon session. Deliver to is for amazon.com (other sites always deliver domestically); Zip code and Currency work on every site.","type":"string"},"language":{"default":"default","description":"语言选择；商品详情使用站点语言代码如en_US，批量采集default保留站点语言，评论all表示不限语言。完整允许值见Schema。允许值：[\"default\",\"en\",\"ar\",\"de\",\"es\",\"fr\",\"he\",\"it\",\"ja\",\"ko\",\"nl\",\"pl\",\"pt\",\"sv\",\"tr\",\"zh_CN\",\"zh_TW\"]。","editor":"select","enum":["default","en","ar","de","es","fr","he","it","ja","ko","nl","pl","pt","sv","tr","zh_CN","zh_TW"],"enumTitles":["Site default","English","العربية (Arabic)","Deutsch (German)","español (Spanish)","français (French)","עברית (Hebrew)","italiano (Italian)","日本語 (Japanese)","한국어 (Korean)","Nederlands (Dutch)","polski (Polish)","português (Portuguese)","svenska (Swedish)","Türkçe (Turkish)","中文 (简体 Chinese)","中文 (繁體 Chinese)"],"type":"string"},"website":{"default":"amazon.com","description":"纯ASIN使用的国家站点域名，默认amazon.com；完整URL条目使用自身域名，不受该字段覆盖。允许值：[\"amazon.com\",\"amazon.de\",\"amazon.co.uk\",\"amazon.ca\",\"amazon.com.au\",\"amazon.in\",\"amazon.sg\",\"amazon.ie\",\"amazon.com.mx\",\"amazon.es\",\"amazon.com.br\",\"amazon.sa\",\"amazon.ae\",\"amazon.eg\",\"amazon.it\",\"amazon.co.jp\",\"amazon.nl\",\"amazon.pl\",\"amazon.se\",\"amazon.com.tr\"]。","editor":"select","enum":["amazon.com","amazon.de","amazon.co.uk","amazon.ca","amazon.com.au","amazon.in","amazon.sg","amazon.ie","amazon.com.mx","amazon.es","amazon.com.br","amazon.sa","amazon.ae","amazon.eg","amazon.it","amazon.co.jp","amazon.nl","amazon.pl","amazon.se","amazon.com.tr"],"enumTitles":["United States","Germany (Deutschland)","United Kingdom","Canada","Australia","India","Singapore","Ireland","Mexico (México)","Spain (España)","Brazil (Brasil)","Saudi Arabia (المملكة العربية السعودية)","United Arab Emirates","Egypt (مصر)","Italy (Italia)","Japan (日本)","Netherlands (Nederland)","Poland (Polska)","Sweden (Sverige)","Turkey (Türkiye)"],"type":"string"},"zipCode":{"default":"","description":"配送地区邮编，需使用所选国家的邮编格式；默认空字符串表示未指定。","editor":"textfield","example":"10010","type":"string"}},"required":["Params"],"schemaVersion":1,"type":"object"}}}}}},"/api/v1/labs/amazon-bulk-search-volume":{"post":{"tags":["Amazon"],"summary":"批量查询Amazon关键词搜索量","description":"批量查询最多1000个关键词的搜索量，用于需求分析与选品。\n\n参数：\n- keywords（\"array\"，必填，Schema未声明默认值）：关键词数组；批量搜索量接口支持1至1000项，每项最多80字符、10个词；评论接口则表示评论正文需包含的词。最少项数：1。最多项数：1000。\n- location_name（\"string\"，可选，Schema未声明默认值）：目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。\n- location_code（\"integer\"，可选，Schema未声明默认值）：目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。\n- language_name（\"string\"，可选，Schema未声明默认值）：语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。\n- language_code（\"string\"，可选，Schema未声明默认值）：语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。\n\n使用说明：\n分页与筛选仅适用于本接口。商品金额保留目标站点币种，接口调用费用以美元结算。分析数据是关键词搜索表现，不能当作实际销量或真实销售额；结果缺失时不应补零。","operationId":"data_relay_labs_amazon_bulk_search_volume","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"批量查询最多1000个关键词的搜索量，用于需求分析与选品。","examples":[{"keywords":["wireless headphones"],"language_code":"en","location_code":2840}],"properties":{"keywords":{"description":"关键词数组；批量搜索量接口支持1至1000项，每项最多80字符、10个词；评论接口则表示评论正文需包含的词。最少项数：1。最多项数：1000。","items":{"maxLength":80,"minLength":1,"type":"string"},"maxItems":1000,"minItems":1,"type":"array"},"language_code":{"description":"语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。","maxLength":60,"minLength":1,"type":"string"},"location_code":{"description":"目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。","maxLength":200,"minLength":1,"type":"string"}},"required":["keywords"],"type":"object"}}}}}},"/api/v1/labs/amazon-product-competitors":{"post":{"tags":["Amazon"],"summary":"获取Amazon商品竞争对手","description":"根据共同排名关键词识别竞争ASIN，支持过滤、排序和偏移分页。\n\n参数：\n- asin（\"string\"，必填，Schema未声明默认值）：亚马逊标准商品标识ASIN；不是SKU、商品标题或店铺ID。最短长度：10。最长长度：10。\n- location_name（\"string\"，可选，Schema未声明默认值）：目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。\n- location_code（\"integer\"，可选，Schema未声明默认值）：目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。\n- language_name（\"string\"，可选，Schema未声明默认值）：语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。\n- language_code（\"string\"，可选，Schema未声明默认值）：语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。\n- limit（\"integer\"，可选，Schema未声明默认值）：结果数量或分页上限，具体单位和范围见本接口说明，不能跨接口复用含义。最小值：1。最大值：1000。\n- filters（\"array\"，可选，Schema未声明默认值）：嵌套过滤条件数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match，最多8个条件；字段必须适用于本接口返回对象。最少项数：1。最多项数：15。\n- order_by（\"array\"，可选，Schema未声明默认值）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。最多项数：3。\n- offset（\"integer\"，可选，Schema未声明默认值）：跳过的结果条数，通常从0开始；下一页按实际已读条数推进，保持地区、语言、排序和过滤条件不变。最小值：0。最大值：9007199254740991。\n\n使用说明：\n分页与筛选仅适用于本接口。商品金额保留目标站点币种，接口调用费用以美元结算。分析数据是关键词搜索表现，不能当作实际销量或真实销售额；结果缺失时不应补零。","operationId":"data_relay_labs_amazon_product_competitors","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"根据共同排名关键词识别竞争ASIN，支持过滤、排序和偏移分页。","examples":[{"asin":"B09B8V1LZ3","language_code":"en","location_code":2840}],"properties":{"asin":{"description":"亚马逊标准商品标识ASIN；不是SKU、商品标题或店铺ID。最短长度：10。最长长度：10。","maxLength":10,"minLength":10,"type":"string"},"filters":{"description":"嵌套过滤条件数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match，最多8个条件；字段必须适用于本接口返回对象。最少项数：1。最多项数：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"language_code":{"description":"语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。","maxLength":60,"minLength":1,"type":"string"},"limit":{"description":"结果数量或分页上限，具体单位和范围见本接口说明，不能跨接口复用含义。最小值：1。最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"location_code":{"description":"目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。","maxLength":200,"minLength":1,"type":"string"},"offset":{"description":"跳过的结果条数，通常从0开始；下一页按实际已读条数推进，保持地区、语言、排序和过滤条件不变。最小值：0。最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。最多项数：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"}},"required":["asin"],"type":"object"}}}}}},"/api/v1/labs/amazon-product-keyword-intersections":{"post":{"tags":["Amazon"],"summary":"分析Amazon商品关键词交集","description":"查询多个编号ASIN的共同排名关键词，比较多个商品的关键词覆盖与位置。\n\n参数：\n- asins（\"object\"，必填，Schema未声明默认值）：编号ASIN字典，键为\"1\"、\"2\"等连续编号，值为ASIN字符串，最多20项；不是数组。\n- location_name（\"string\"，可选，Schema未声明默认值）：目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。\n- location_code（\"integer\"，可选，Schema未声明默认值）：目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。\n- language_name（\"string\"，可选，Schema未声明默认值）：语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。\n- language_code（\"string\"，可选，Schema未声明默认值）：语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。\n- limit（\"integer\"，可选，Schema未声明默认值）：结果数量或分页上限，具体单位和范围见本接口说明，不能跨接口复用含义。最小值：1。最大值：1000。\n- intersection_mode（\"string\"，可选，Schema未声明默认值）：关键词集合模式：intersect=交集（业务默认），union=并集。最短长度：1。\n- filters（\"array\"，可选，Schema未声明默认值）：嵌套过滤条件数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match，最多8个条件；字段必须适用于本接口返回对象。最少项数：1。最多项数：15。\n- order_by（\"array\"，可选，Schema未声明默认值）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。最多项数：3。\n- offset（\"integer\"，可选，Schema未声明默认值）：跳过的结果条数，通常从0开始；下一页按实际已读条数推进，保持地区、语言、排序和过滤条件不变。最小值：0。最大值：9007199254740991。\n\n使用说明：\n分页与筛选仅适用于本接口。商品金额保留目标站点币种，接口调用费用以美元结算。分析数据是关键词搜索表现，不能当作实际销量或真实销售额；结果缺失时不应补零。","operationId":"data_relay_labs_amazon_product_keyword_intersections","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"查询多个编号ASIN的共同排名关键词，比较多个商品的关键词覆盖与位置。","examples":[{"asins":{"1":"B09B8V1LZ3","2":"B08G4KG9GD"},"language_code":"en","location_code":2840}],"properties":{"asins":{"additionalProperties":{"maxLength":10,"minLength":10,"type":"string"},"description":"编号ASIN字典，键为\"1\"、\"2\"等连续编号，值为ASIN字符串，最多20项；不是数组。","propertyNames":{"type":"string"},"type":"object"},"filters":{"description":"嵌套过滤条件数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match，最多8个条件；字段必须适用于本接口返回对象。最少项数：1。最多项数：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"intersection_mode":{"description":"关键词集合模式：intersect=交集（业务默认），union=并集。最短长度：1。","minLength":1,"type":"string"},"language_code":{"description":"语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。","maxLength":60,"minLength":1,"type":"string"},"limit":{"description":"结果数量或分页上限，具体单位和范围见本接口说明，不能跨接口复用含义。最小值：1。最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"location_code":{"description":"目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。","maxLength":200,"minLength":1,"type":"string"},"offset":{"description":"跳过的结果条数，通常从0开始；下一页按实际已读条数推进，保持地区、语言、排序和过滤条件不变。最小值：0。最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。最多项数：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"}},"required":["asins"],"type":"object"}}}}}},"/api/v1/labs/amazon-product-rank-overview":{"post":{"tags":["Amazon"],"summary":"批量查询Amazon商品排名概览","description":"批量查询最多1000个ASIN的关键词排名概览。这里是关键词搜索排名，不是销量排行榜或销售额。\n\n参数：\n- asins（\"array\"，必填，Schema未声明默认值）：ASIN数组；批量商品资料最多10项，排名概览最多1000项。最少项数：1。最多项数：1000。\n- location_name（\"string\"，可选，Schema未声明默认值）：目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。\n- location_code（\"integer\"，可选，Schema未声明默认值）：目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。\n- language_name（\"string\"，可选，Schema未声明默认值）：语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。\n- language_code（\"string\"，可选，Schema未声明默认值）：语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。\n\n使用说明：\n分页与筛选仅适用于本接口。商品金额保留目标站点币种，接口调用费用以美元结算。分析数据是关键词搜索表现，不能当作实际销量或真实销售额；结果缺失时不应补零。","operationId":"data_relay_labs_amazon_product_rank_overview","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"批量查询最多1000个ASIN的关键词排名概览。这里是关键词搜索排名，不是销量排行榜或销售额。","examples":[{"asins":["B09B8V1LZ3"],"language_code":"en","location_code":2840}],"properties":{"asins":{"description":"ASIN数组；批量商品资料最多10项，排名概览最多1000项。最少项数：1。最多项数：1000。","items":{"maxLength":10,"minLength":10,"type":"string"},"maxItems":1000,"minItems":1,"type":"array"},"language_code":{"description":"语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。","maxLength":60,"minLength":1,"type":"string"},"location_code":{"description":"目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。","maxLength":200,"minLength":1,"type":"string"}},"required":["asins"],"type":"object"}}}}}},"/api/v1/labs/amazon-ranked-keywords":{"post":{"tags":["Amazon"],"summary":"获取Amazon商品排名关键词","description":"查询指定ASIN获得排名的关键词、搜索表现和排名位置，支持过滤、排序与偏移分页。\n\n参数：\n- asin（\"string\"，必填，Schema未声明默认值）：亚马逊标准商品标识ASIN；不是SKU、商品标题或店铺ID。最短长度：10。最长长度：10。\n- location_name（\"string\"，可选，Schema未声明默认值）：目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。\n- location_code（\"integer\"，可选，Schema未声明默认值）：目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。\n- language_name（\"string\"，可选，Schema未声明默认值）：语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。\n- language_code（\"string\"，可选，Schema未声明默认值）：语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。\n- limit（\"integer\"，可选，Schema未声明默认值）：结果数量或分页上限，具体单位和范围见本接口说明，不能跨接口复用含义。最小值：1。最大值：1000。\n- ignore_synonyms（\"boolean\"，可选，Schema未声明默认值）：是否忽略高度相近的关键词，业务默认false。\n- filters（\"array\"，可选，Schema未声明默认值）：嵌套过滤条件数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match，最多8个条件；字段必须适用于本接口返回对象。最少项数：1。最多项数：15。\n- order_by（\"array\"，可选，Schema未声明默认值）：排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。最多项数：3。\n- offset（\"integer\"，可选，Schema未声明默认值）：跳过的结果条数，通常从0开始；下一页按实际已读条数推进，保持地区、语言、排序和过滤条件不变。最小值：0。最大值：9007199254740991。\n\n使用说明：\n分页与筛选仅适用于本接口。商品金额保留目标站点币种，接口调用费用以美元结算。分析数据是关键词搜索表现，不能当作实际销量或真实销售额；结果缺失时不应补零。","operationId":"data_relay_labs_amazon_ranked_keywords","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"查询指定ASIN获得排名的关键词、搜索表现和排名位置，支持过滤、排序与偏移分页。","examples":[{"asin":"B09B8V1LZ3","language_code":"en","location_code":2840}],"properties":{"asin":{"description":"亚马逊标准商品标识ASIN；不是SKU、商品标题或店铺ID。最短长度：10。最长长度：10。","maxLength":10,"minLength":10,"type":"string"},"filters":{"description":"嵌套过滤条件数组，例如[[字段,运算符,值],\"and\",[字段,运算符,值]]；支持=、<>、<、<=、>、>=、in、not_in、like、not_like、regex、not_regex、match、not_match，最多8个条件；字段必须适用于本接口返回对象。最少项数：1。最多项数：15。","items":{},"maxItems":15,"minItems":1,"type":"array"},"ignore_synonyms":{"description":"是否忽略高度相近的关键词，业务默认false。","type":"boolean"},"language_code":{"description":"语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。","maxLength":60,"minLength":1,"type":"string"},"limit":{"description":"结果数量或分页上限，具体单位和范围见本接口说明，不能跨接口复用含义。最小值：1。最大值：1000。","maximum":1000,"minimum":1,"type":"integer"},"location_code":{"description":"目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_name":{"description":"目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。","maxLength":200,"minLength":1,"type":"string"},"offset":{"description":"跳过的结果条数，通常从0开始；下一页按实际已读条数推进，保持地区、语言、排序和过滤条件不变。最小值：0。最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"},"order_by":{"description":"排序数组，每项为字段,asc或字段,desc，最多3项；例如keyword_info.search_volume,desc。最多项数：3。","items":{"minLength":3,"type":"string"},"maxItems":3,"type":"array"}},"required":["asin"],"type":"object"}}}}}},"/api/v1/labs/amazon-related-keywords":{"get":{"tags":["Amazon"],"summary":"获取Amazon相关关键词","description":"根据种子词扩展相关关键词，包含搜索量数据，支持扩展深度和偏移分页。\n\n参数：\n- keyword（\"string\"，必填，Schema未声明默认值）：搜索或扩展的关键词。最短长度：1。\n- location_name（\"string\"，可选，Schema未声明默认值）：目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。\n- location_code（\"integer\"，可选，Schema未声明默认值）：目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。\n- language_name（\"string\"，可选，Schema未声明默认值）：语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。\n- language_code（\"string\"，可选，Schema未声明默认值）：语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。\n- depth（\"integer\"，可选，Schema未声明默认值）：采集结果深度：商品搜索1至700，业务默认48；相关关键词扩展0至4，业务默认1。搜索按48条一页计费，实际费用以用量记录为准。最小值：0。最大值：4。\n- include_seed_keyword（\"boolean\"，可选，Schema未声明默认值）：是否包含种子词自身的数据，业务默认false。\n- ignore_synonyms（\"boolean\"，可选，Schema未声明默认值）：是否忽略高度相近的关键词，业务默认false。\n- limit（\"integer\"，可选，Schema未声明默认值）：结果数量或分页上限，具体单位和范围见本接口说明，不能跨接口复用含义。最小值：1。最大值：1000。\n- offset（\"integer\"，可选，Schema未声明默认值）：跳过的结果条数，通常从0开始；下一页按实际已读条数推进，保持地区、语言、排序和过滤条件不变。最小值：0。最大值：9007199254740991。\n\n使用说明：\n分页与筛选仅适用于本接口。商品金额保留目标站点币种，接口调用费用以美元结算。分析数据是关键词搜索表现，不能当作实际销量或真实销售额；结果缺失时不应补零。","operationId":"data_relay_labs_amazon_related_keywords","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"depth","in":"query","required":false,"description":"采集结果深度：商品搜索1至700，业务默认48；相关关键词扩展0至4，业务默认1。搜索按48条一页计费，实际费用以用量记录为准。最小值：0。最大值：4。","schema":{"description":"采集结果深度：商品搜索1至700，业务默认48；相关关键词扩展0至4，业务默认1。搜索按48条一页计费，实际费用以用量记录为准。最小值：0。最大值：4。","maximum":4,"minimum":0,"type":"integer"}},{"name":"ignore_synonyms","in":"query","required":false,"description":"是否忽略高度相近的关键词，业务默认false。","schema":{"description":"是否忽略高度相近的关键词，业务默认false。","type":"boolean"}},{"name":"include_seed_keyword","in":"query","required":false,"description":"是否包含种子词自身的数据，业务默认false。","schema":{"description":"是否包含种子词自身的数据，业务默认false。","type":"boolean"}},{"name":"keyword","in":"query","required":true,"description":"搜索或扩展的关键词。最短长度：1。","schema":{"description":"搜索或扩展的关键词。最短长度：1。","minLength":1,"type":"string"}},{"name":"language_code","in":"query","required":false,"description":"语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。","schema":{"description":"语言代码；商品查询如 en_US，分析接口如 en；与 language_name 择一，不能跨接口混用。最短长度：2。最长长度：10。","maxLength":10,"minLength":2,"type":"string"}},{"name":"language_name","in":"query","required":false,"description":"语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。","schema":{"description":"语言名称；商品查询如 English (United States)，分析接口如 English。与 language_code 择一。最短长度：1。最长长度：60。","maxLength":60,"minLength":1,"type":"string"}},{"name":"limit","in":"query","required":false,"description":"结果数量或分页上限，具体单位和范围见本接口说明，不能跨接口复用含义。最小值：1。最大值：1000。","schema":{"description":"结果数量或分页上限，具体单位和范围见本接口说明，不能跨接口复用含义。最小值：1。最大值：1000。","maximum":1000,"minimum":1,"type":"integer"}},{"name":"location_code","in":"query","required":false,"description":"目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。","schema":{"description":"目标地区数字代码，例如2840表示美国；与地区名称/坐标按接口支持择一。最大值：9007199254740991。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},{"name":"location_name","in":"query","required":false,"description":"目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。","schema":{"description":"目标地区全名，如 United States；与 location_code 或 location_coordinate 按接口支持选一种，不能用不匹配的站点/地区组合。最短长度：1。最长长度：200。","maxLength":200,"minLength":1,"type":"string"}},{"name":"offset","in":"query","required":false,"description":"跳过的结果条数，通常从0开始；下一页按实际已读条数推进，保持地区、语言、排序和过滤条件不变。最小值：0。最大值：9007199254740991。","schema":{"description":"跳过的结果条数，通常从0开始；下一页按实际已读条数推进，保持地区、语言、排序和过滤条件不变。最小值：0。最大值：9007199254740991。","maximum":9007199254740991,"minimum":0,"type":"integer"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/promo/amazon/product":{"get":{"tags":["Amazon"],"summary":"采集Amazon商品页面","description":"根据完整商品页面地址采集商品信息；结果可能包含需要另行获取的下载地址，不能保证直接返回结构化字段。当前为限时报价。\n\n参数：\n- url（\"string\"，必填，Schema未声明默认值）：完整亚马逊页面地址；页面搜索接口使用搜索页或分类页，页面采集接口使用商品详情页。\n\n使用说明：\n分页与筛选仅适用于本接口。商品金额保留目标站点币种，接口调用费用以美元结算。","operationId":"data_relay_promo_amazon_product","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"url","in":"query","required":true,"description":"完整亚马逊页面地址；页面搜索接口使用搜索页或分类页，页面采集接口使用商品详情页。","schema":{"description":"完整亚马逊页面地址；页面搜索接口使用搜索页或分类页，页面采集接口使用商品详情页。","format":"uri","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/web_wanderer/amazon-reviews-extractor":{"post":{"tags":["Amazon"],"summary":"筛选Amazon商品评论","description":"按站点、星级、语言、关键词、日期、购买验证及媒体类型筛选评论。支持变体与多商品采集。\n\n参数：\n- personal_data（\"boolean\"，可选，默认false）：是否额外采集评论者个人信息，默认false；非评论分析必需。\n- products（\"array\"，必填，Schema未声明默认值）：商品ASIN或评论/商品页面地址数组；需匹配region选择的国家站点。\n- limit（\"integer\"，可选，默认20）：采集页数上限，默认20；不是结果条数。官方说明每个商品通常最多10页、约100条；all_stars按星级分别采集可增加覆盖，不能将本参数当作费用上限。最小值：1。最大值：50。\n- sort（\"string\"，可选，默认\"helpful\"）：评论排序：helpful=有帮助优先，recent=最新；以Schema枚举为准。允许值：[\"helpful\",\"recent\"]。\n- stars（\"array\"，可选，Schema未声明默认值）：星级筛选数组，1至5星；具体编码见Schema。\n- all_stars（\"boolean\"，可选，默认false）：是否分别按每个星级采集，默认false；开启后每个星级最多100条，可能增加结果数和费用。\n- rating（\"string\"，可选，默认\"all\"）：评价类型筛选：all=全部、positive=正面、critical=负面。允许值：[\"all\",\"five_star\",\"four_star\",\"three_star\",\"two_star\",\"one_star\",\"positive\",\"critical\"]。\n- keywords（\"array\"，可选，Schema未声明默认值）：关键词数组；批量搜索量接口支持1至1000项，每项最多80字符、10个词；评论接口则表示评论正文需包含的词。\n- avp_reviews（\"boolean\"，可选，默认false）：是否只采集已验证购买的评论，默认false。\n- include_variants（\"boolean\"，可选，默认true）：是否包含商品变体评论，默认true。\n- start_date（\"string\"，可选，Schema未声明默认值）：评论日期起点，YYYY-MM-DD，包含当天。\n- end_date（\"string\"，可选，Schema未声明默认值）：评论日期终点，YYYY-MM-DD，包含当天；不能早于开始日期。\n- scrape_image_reviews（\"boolean\"，可选，默认true）：是否采集含图片的评论，默认true。\n- scrape_video_reviews（\"boolean\"，可选，默认true）：是否采集含视频的评论，默认true。\n- region（\"string\"，可选，默认\"amazon.com\"）：评论所属亚马逊国家站点，例如amazon.com；完整允许值见Schema。允许值：[\"amazon.com\",\"amazon.ca\",\"amazon.de\",\"amazon.fr\",\"amazon.co.uk\",\"amazon.it\",\"amazon.es\",\"amazon.com.au\",\"amazon.co.jp\",\"amazon.com.br\",\"amazon.com.mx\",\"amazon.nl\",\"amazon.ie\",\"amazon.se\",\"amazon.com.tr\",\"amazon.ae\",\"amazon.sg\",\"amazon.sa\",\"amazon.pl\",\"amazon.com.be\",\"amazon.eg\",\"amazon.in\"]。\n- language（\"string\"，可选，默认\"all\"）：语言选择；商品详情使用站点语言代码如en_US，批量采集default保留站点语言，评论all表示不限语言。完整允许值见Schema。允许值：[\"all\",\"en\",\"es\",\"fr\",\"de\",\"pt\",\"it\",\"nl\",\"pl\",\"sv\",\"cs\",\"zh_CN\",\"zh_TW\",\"ja\",\"ko\",\"ar\",\"tr\"]。\n\n使用说明：\n分页与筛选仅适用于本接口。商品金额保留目标站点币种，接口调用费用以美元结算。","operationId":"data_relay_web_wanderer_amazon_reviews_extractor","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"description":"按站点、星级、语言、关键词、日期、购买验证及媒体类型筛选评论。支持变体与多商品采集。","examples":[{"products":["B09B8V1LZ3"]}],"properties":{"all_stars":{"default":false,"description":"是否分别按每个星级采集，默认false；开启后每个星级最多100条，可能增加结果数和费用。","sectionCaption":"Scraping Modes","type":"boolean"},"avp_reviews":{"default":false,"description":"是否只采集已验证购买的评论，默认false。","groupCaption":"Options","type":"boolean"},"end_date":{"description":"评论日期终点，YYYY-MM-DD，包含当天；不能早于开始日期。","editor":"datepicker","pattern":"^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","type":"string"},"include_variants":{"default":true,"description":"是否包含商品变体评论，默认true。","type":"boolean"},"keywords":{"description":"关键词数组；批量搜索量接口支持1至1000项，每项最多80字符、10个词；评论接口则表示评论正文需包含的词。","editor":"stringList","type":"array","uniqueItems":true},"language":{"default":"all","description":"语言选择；商品详情使用站点语言代码如en_US，批量采集default保留站点语言，评论all表示不限语言。完整允许值见Schema。允许值：[\"all\",\"en\",\"es\",\"fr\",\"de\",\"pt\",\"it\",\"nl\",\"pl\",\"sv\",\"cs\",\"zh_CN\",\"zh_TW\",\"ja\",\"ko\",\"ar\",\"tr\"]。","enum":["all","en","es","fr","de","pt","it","nl","pl","sv","cs","zh_CN","zh_TW","ja","ko","ar","tr"],"enumTitles":["All languages","English (en)","Spanish (es)","French (fr)","German (de)","Portuguese (pt)","Italian (it)","Dutch (nl)","Polish (pl)","Swedish (sv)","Czech (cs)","Simplified Chinese (zh-CN)","Traditional Chinese (zh-TW)","Japanese (ja)","Korean (ko)","Arabic (ar)","Turkish (tr)"],"type":"string"},"limit":{"default":20,"description":"采集页数上限，默认20；不是结果条数。官方说明每个商品通常最多10页、约100条；all_stars按星级分别采集可增加覆盖，不能将本参数当作费用上限。最小值：1。最大值：50。","maximum":50,"minimum":1,"type":"integer","unit":"page"},"personal_data":{"default":false,"description":"是否额外采集评论者个人信息，默认false；非评论分析必需。","type":"boolean"},"products":{"description":"商品ASIN或评论/商品页面地址数组；需匹配region选择的国家站点。","editor":"stringList","prefill":["实际商品链接","B07MVJZQTC"],"type":"array","uniqueItems":true},"rating":{"default":"all","description":"评价类型筛选：all=全部、positive=正面、critical=负面。允许值：[\"all\",\"five_star\",\"four_star\",\"three_star\",\"two_star\",\"one_star\",\"positive\",\"critical\"]。","enum":["all","five_star","four_star","three_star","two_star","one_star","positive","critical"],"enumTitles":["All","5 star","4 star","3 star","2 star","1 star","Positive only","Critical only"],"sectionCaption":"Filters for more reviews","sectionDescription":"These filters apply to the provided ASINs. Filters for product URLs are automatically detected. Use a combination of these filters to retrieve thousands of reviews; note that some duplicate reviews may be returned.","type":"string"},"region":{"default":"amazon.com","description":"评论所属亚马逊国家站点，例如amazon.com；完整允许值见Schema。允许值：[\"amazon.com\",\"amazon.ca\",\"amazon.de\",\"amazon.fr\",\"amazon.co.uk\",\"amazon.it\",\"amazon.es\",\"amazon.com.au\",\"amazon.co.jp\",\"amazon.com.br\",\"amazon.com.mx\",\"amazon.nl\",\"amazon.ie\",\"amazon.se\",\"amazon.com.tr\",\"amazon.ae\",\"amazon.sg\",\"amazon.sa\",\"amazon.pl\",\"amazon.com.be\",\"amazon.eg\",\"amazon.in\"]。","enum":["amazon.com","amazon.ca","amazon.de","amazon.fr","amazon.co.uk","amazon.it","amazon.es","amazon.com.au","amazon.co.jp","amazon.com.br","amazon.com.mx","amazon.nl","amazon.ie","amazon.se","amazon.com.tr","amazon.ae","amazon.sg","amazon.sa","amazon.pl","amazon.com.be","amazon.eg","amazon.in"],"enumTitles":["United States (amazon.com)","Canada (amazon.ca)","Germany (amazon.de)","France (amazon.fr)","United Kingdom (amazon.co.uk)","Italy (amazon.it)","Spain (amazon.es)","Australia (amazon.com.au)","Japan (amazon.co.jp)","Brazil (amazon.com.br)","Mexico (amazon.com.mx)","Netherlands (amazon.nl)","Ireland (amazon.ie)","Sweden (amazon.se)","Turkey (amazon.com.tr)","United Arab Emirates (amazon.ae)","Singapore (amazon.sg)","Saudi Arabia (amazon.sa)","Poland (amazon.pl)","Belgium (amazon.com.be)","Egypt (amazon.eg)","India (amazon.in)"],"sectionCaption":"Domain & Language","type":"string"},"scrape_image_reviews":{"default":true,"description":"是否采集含图片的评论，默认true。","groupCaption":"Media reviews","sectionCaption":"Scrape media reviews (more reviews)","sectionDescription":"Scrape reviews that contain media (images/videos). This option is useful for extracting visual content from reviews. \nScraping media reviews can significantly increase the number of reviews returned, especially for products with rich media content. \nMedia reviews might return limited data.","type":"boolean"},"scrape_video_reviews":{"default":true,"description":"是否采集含视频的评论，默认true。","type":"boolean"},"sort":{"default":"helpful","description":"评论排序：helpful=有帮助优先，recent=最新；以Schema枚举为准。允许值：[\"helpful\",\"recent\"]。","enum":["helpful","recent"],"enumTitles":["Top reviews","Most recent"],"type":"string"},"stars":{"description":"星级筛选数组，1至5星；具体编码见Schema。","editor":"select","items":{"enum":["five_star","four_star","three_star","two_star","one_star"],"enumTitles":["5 star","4 star","3 star","2 star","1 star"],"type":"string"},"type":"array"},"start_date":{"description":"评论日期起点，YYYY-MM-DD，包含当天。","editor":"datepicker","pattern":"^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","sectionCaption":"Filter by Date range","sectionDescription":"Filter reviews by date range. This option is useful for scraping reviews from a specific period. \nNOTE: You are charged per review scraped, so using date filter will not lower the cost.","type":"string"}},"required":["products"],"schemaVersion":1,"type":"object"}}}}}},"/api/v1/burbn/google-shopping-scraper":{"get":{"tags":["Google Shopping"],"summary":"筛选Google Shopping商品","description":"按关键词、指定店铺、商品成色、免费退货、包邮或促销条件筛选商品，返回商品和卖家结构化资料。支持从指定页开始采集；每次基础费另加实际结果费。\n\n参数：\n- searchQuery（\"string\"，必填）：商品关键词、品牌或商品名称，长度1至400字符，业务默认 iPhone 17。Schema默认值：\"iPhone 17\"；最短字符数：1；最长字符数：400。\n- country（\"string\"，可选）：结果国家，ISO 3166-1两位字母代码，默认us，例如gb=英国、de=德国。Schema默认值：\"us\"。\n- language（\"string\"，可选）：结果语言，ISO 639-1代码，默认en，例如es=西班牙语、fr=法语。Schema默认值：\"en\"。\n- page（\"integer\"，可选）：开始页码，默认1，范围1至100；不是结果偏移量。下一页保持筛选和排序条件不变。Schema默认值：1；最小值：1；最大值：100。\n- sortBy（\"string\"，可选）：排序：BEST_MATCH=相关性、LOWEST_PRICE=价格升序、HIGHEST_PRICE=价格降序、TOP_RATED=评分降序；未传按相关性。允许值：[\"BEST_MATCH\", \"LOWEST_PRICE\", \"HIGHEST_PRICE\", \"TOP_RATED\"]。\n- minPrice（\"number\"，可选）：最低商品价格，单位为目标市场商品币种；不传表示不设下限。\n- maxPrice（\"number\"，可选）：最高商品价格，单位为目标市场商品币种；不传表示不设上限，应不小于 minPrice。\n- productCondition（\"string\"，可选）：商品成色：ANY=不限、NEW=全新、USED=二手、REFURBISHED=翻新；未传不筛选。允许值：[\"ANY\", \"NEW\", \"USED\", \"REFURBISHED\"]。\n- limit（\"integer\"，可选）：最多返回商品数量，默认10，当前契约允许10至100；按实际计费结果数收费，不是采集页数。Schema默认值：10；最小值：10；最大值：100。\n- stores（\"string\"，可选）：按店铺名称过滤，多个名称以英文逗号分隔，如 Amazon,Walmart,Best Buy；未传不过滤店铺。\n- freeReturns（\"boolean\"，可选）：是否只返回支持免费退货的商品；未传不按免费退货过滤。\n- freeShipping（\"boolean\"，可选）：是否只返回包邮商品；未传不按包邮过滤。\n- onSale（\"boolean\"，可选）：是否只返回促销商品；未传不按促销过滤。\n\n返回与使用说明：\n返回商品标题、价格、折扣、评分、图片、属性、变体及商家报价等可用字段；page从1开始，limit默认10，按当前契约范围10至100。费用为每次$0.008基础费加$0.005/条实际计费结果；不是整页固定费用。","operationId":"data_relay_burbn_google_shopping_scraper","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"country","in":"query","required":false,"description":"结果国家，ISO 3166-1两位字母代码，默认us，例如gb=英国、de=德国。Schema默认值：\"us\"。","schema":{"default":"us","description":"结果国家，ISO 3166-1两位字母代码，默认us，例如gb=英国、de=德国。Schema默认值：\"us\"。","editor":"textfield","title":"country","type":"string"}},{"name":"freeReturns","in":"query","required":false,"description":"是否只返回支持免费退货的商品；未传不按免费退货过滤。","schema":{"description":"是否只返回支持免费退货的商品；未传不按免费退货过滤。","editor":"checkbox","nullable":true,"title":"freeReturns","type":"boolean"}},{"name":"freeShipping","in":"query","required":false,"description":"是否只返回包邮商品；未传不按包邮过滤。","schema":{"description":"是否只返回包邮商品；未传不按包邮过滤。","editor":"checkbox","nullable":true,"title":"freeShipping","type":"boolean"}},{"name":"language","in":"query","required":false,"description":"结果语言，ISO 639-1代码，默认en，例如es=西班牙语、fr=法语。Schema默认值：\"en\"。","schema":{"default":"en","description":"结果语言，ISO 639-1代码，默认en，例如es=西班牙语、fr=法语。Schema默认值：\"en\"。","editor":"textfield","title":"language","type":"string"}},{"name":"limit","in":"query","required":false,"description":"最多返回商品数量，默认10，当前契约允许10至100；按实际计费结果数收费，不是采集页数。Schema默认值：10；最小值：10；最大值：100。","schema":{"default":10,"description":"最多返回商品数量，默认10，当前契约允许10至100；按实际计费结果数收费，不是采集页数。Schema默认值：10；最小值：10；最大值：100。","editor":"number","maximum":100,"minimum":10,"title":"limit","type":"integer"}},{"name":"maxPrice","in":"query","required":false,"description":"最高商品价格，单位为目标市场商品币种；不传表示不设上限，应不小于 minPrice。","schema":{"description":"最高商品价格，单位为目标市场商品币种；不传表示不设上限，应不小于 minPrice。","editor":"number","nullable":true,"title":"maxPrice","type":"number"}},{"name":"minPrice","in":"query","required":false,"description":"最低商品价格，单位为目标市场商品币种；不传表示不设下限。","schema":{"description":"最低商品价格，单位为目标市场商品币种；不传表示不设下限。","editor":"number","nullable":true,"title":"minPrice","type":"number"}},{"name":"onSale","in":"query","required":false,"description":"是否只返回促销商品；未传不按促销过滤。","schema":{"description":"是否只返回促销商品；未传不按促销过滤。","editor":"checkbox","nullable":true,"title":"onSale","type":"boolean"}},{"name":"page","in":"query","required":false,"description":"开始页码，默认1，范围1至100；不是结果偏移量。下一页保持筛选和排序条件不变。Schema默认值：1；最小值：1；最大值：100。","schema":{"default":1,"description":"开始页码，默认1，范围1至100；不是结果偏移量。下一页保持筛选和排序条件不变。Schema默认值：1；最小值：1；最大值：100。","editor":"number","maximum":100,"minimum":1,"title":"page","type":"integer"}},{"name":"productCondition","in":"query","required":false,"description":"商品成色：ANY=不限、NEW=全新、USED=二手、REFURBISHED=翻新；未传不筛选。允许值：[\"ANY\", \"NEW\", \"USED\", \"REFURBISHED\"]。","schema":{"description":"商品成色：ANY=不限、NEW=全新、USED=二手、REFURBISHED=翻新；未传不筛选。允许值：[\"ANY\", \"NEW\", \"USED\", \"REFURBISHED\"]。","editor":"select","enum":["ANY","NEW","USED","REFURBISHED"],"nullable":true,"title":"productCondition","type":"string"}},{"name":"searchQuery","in":"query","required":true,"description":"商品关键词、品牌或商品名称，长度1至400字符，业务默认 iPhone 17。Schema默认值：\"iPhone 17\"；最短字符数：1；最长字符数：400。","schema":{"default":"iPhone 17","description":"商品关键词、品牌或商品名称，长度1至400字符，业务默认 iPhone 17。Schema默认值：\"iPhone 17\"；最短字符数：1；最长字符数：400。","editor":"textfield","maxLength":400,"minLength":1,"prefill":"iPhone 17","title":"searchQuery","type":"string"}},{"name":"sortBy","in":"query","required":false,"description":"排序：BEST_MATCH=相关性、LOWEST_PRICE=价格升序、HIGHEST_PRICE=价格降序、TOP_RATED=评分降序；未传按相关性。允许值：[\"BEST_MATCH\", \"LOWEST_PRICE\", \"HIGHEST_PRICE\", \"TOP_RATED\"]。","schema":{"description":"排序：BEST_MATCH=相关性、LOWEST_PRICE=价格升序、HIGHEST_PRICE=价格降序、TOP_RATED=评分降序；未传按相关性。允许值：[\"BEST_MATCH\", \"LOWEST_PRICE\", \"HIGHEST_PRICE\", \"TOP_RATED\"]。","editor":"select","enum":["BEST_MATCH","LOWEST_PRICE","HIGHEST_PRICE","TOP_RATED"],"nullable":true,"title":"sortBy","type":"string"}},{"name":"stores","in":"query","required":false,"description":"按店铺名称过滤，多个名称以英文逗号分隔，如 Amazon,Walmart,Best Buy；未传不过滤店铺。","schema":{"description":"按店铺名称过滤，多个名称以英文逗号分隔，如 Amazon,Walmart,Best Buy；未传不过滤店铺。","editor":"textfield","nullable":true,"title":"stores","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/google-shopping/product-info":{"get":{"tags":["Google Shopping"],"summary":"获取Google Shopping商品资料","description":"通过商品搜索返回的 product_id、data_docid 或 gid 查询商品标题、描述、图片、评分、价格区间、规格与变体。无需重复提供搜索词，适合已有商品标识的资料补全。\n\n参数：\n- product_id（\"string\"，可选）：Google Shopping商品ID，来自商品搜索结果；product_id、data_docid、gid 至少提供一种，建议使用同一商品的全部标识。最短字符数：1。\n- data_docid（\"string\"，可选）：商品搜索结果中的数据文档ID；与 product_id、gid 至少提供一种，建议三种一起使用。最短字符数：1。\n- gid（\"string\"，可选）：商品搜索结果中的全局商品ID；与 product_id、data_docid 至少提供一种，建议三种一起使用。最短字符数：1。\n- location_name（\"string\"，可选）：地区全名，如 United States；与 location_code、location_coordinate 三选一，三种地区字段至少提供一种。最短字符数：1；最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称、坐标三选一。最大值：9007199254740991；严格大于：0。\n- location_coordinate（\"string\"，可选）：地区坐标，纬度,经度,半径；半径单位米，当前契约说明范围200至19999；与地区名称、代码三选一。最短字符数：1；最长字符数：60。\n- language_name（\"string\"，可选）：语言全名，如 English；与 language_code 二选一，两种语言字段至少提供一种。最短字符数：1；最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，如 en；与 language_name 二选一，不是国家代码。最短字符数：2；最长字符数：10。\n- se_domain（\"string\"，可选）：目标Google站点域名，如 google.co.uk；未传时按地区和语言自动选择。最短字符数：1。\n\n返回与使用说明：\n商品标识至少提供一种，同时提供同一商品的三种标识可提高匹配准确度；地区三选一、语言二选一。排队执行可能需要一分钟或更久。 商品价格保留目标市场币种，调用费按美元结算。","operationId":"data_relay_google_shopping_product_info","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"data_docid","in":"query","required":false,"description":"商品搜索结果中的数据文档ID；与 product_id、gid 至少提供一种，建议三种一起使用。最短字符数：1。","schema":{"description":"商品搜索结果中的数据文档ID；与 product_id、gid 至少提供一种，建议三种一起使用。最短字符数：1。","minLength":1,"type":"string"}},{"name":"gid","in":"query","required":false,"description":"商品搜索结果中的全局商品ID；与 product_id、data_docid 至少提供一种，建议三种一起使用。最短字符数：1。","schema":{"description":"商品搜索结果中的全局商品ID；与 product_id、data_docid 至少提供一种，建议三种一起使用。最短字符数：1。","minLength":1,"type":"string"}},{"name":"language_code","in":"query","required":false,"description":"语言代码，如 en；与 language_name 二选一，不是国家代码。最短字符数：2；最长字符数：10。","schema":{"description":"语言代码，如 en；与 language_name 二选一，不是国家代码。最短字符数：2；最长字符数：10。","maxLength":10,"minLength":2,"type":"string"}},{"name":"language_name","in":"query","required":false,"description":"语言全名，如 English；与 language_code 二选一，两种语言字段至少提供一种。最短字符数：1；最长字符数：60。","schema":{"description":"语言全名，如 English；与 language_code 二选一，两种语言字段至少提供一种。最短字符数：1；最长字符数：60。","maxLength":60,"minLength":1,"type":"string"}},{"name":"location_code","in":"query","required":false,"description":"地区数字代码，例如2840=美国；与地区名称、坐标三选一。最大值：9007199254740991；严格大于：0。","schema":{"description":"地区数字代码，例如2840=美国；与地区名称、坐标三选一。最大值：9007199254740991；严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},{"name":"location_coordinate","in":"query","required":false,"description":"地区坐标，纬度,经度,半径；半径单位米，当前契约说明范围200至19999；与地区名称、代码三选一。最短字符数：1；最长字符数：60。","schema":{"description":"地区坐标，纬度,经度,半径；半径单位米，当前契约说明范围200至19999；与地区名称、代码三选一。最短字符数：1；最长字符数：60。","maxLength":60,"minLength":1,"type":"string"}},{"name":"location_name","in":"query","required":false,"description":"地区全名，如 United States；与 location_code、location_coordinate 三选一，三种地区字段至少提供一种。最短字符数：1；最长字符数：200。","schema":{"description":"地区全名，如 United States；与 location_code、location_coordinate 三选一，三种地区字段至少提供一种。最短字符数：1；最长字符数：200。","maxLength":200,"minLength":1,"type":"string"}},{"name":"product_id","in":"query","required":false,"description":"Google Shopping商品ID，来自商品搜索结果；product_id、data_docid、gid 至少提供一种，建议使用同一商品的全部标识。最短字符数：1。","schema":{"description":"Google Shopping商品ID，来自商品搜索结果；product_id、data_docid、gid 至少提供一种，建议使用同一商品的全部标识。最短字符数：1。","minLength":1,"type":"string"}},{"name":"se_domain","in":"query","required":false,"description":"目标Google站点域名，如 google.co.uk；未传时按地区和语言自动选择。最短字符数：1。","schema":{"description":"目标Google站点域名，如 google.co.uk；未传时按地区和语言自动选择。最短字符数：1。","minLength":1,"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/google-shopping/products":{"get":{"tags":["Google Shopping"],"summary":"深度搜索Google Shopping商品","description":"按关键词、地区、语言查询商品搜索排名、价格和商品标识，可继续查询商品资料与卖家报价。默认采集40条，depth最大120，按每40条一页计费；排队执行可能需要一分钟或更久。\n\n参数：\n- keyword（\"string\"，必填）：商品搜索关键词，非空字符串。最短字符数：1。\n- url（\"string\"，可选）：完整Google Shopping搜索地址；可携带搜索条件，但当前登记契约仍要求 keyword。最短字符数：1。\n- location_name（\"string\"，可选）：地区全名，如 United States；与 location_code、location_coordinate 三选一，三种地区字段至少提供一种。最短字符数：1；最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称、坐标三选一。最大值：9007199254740991；严格大于：0。\n- location_coordinate（\"string\"，可选）：地区坐标，纬度,经度,半径；半径单位米，当前契约说明范围200至19999；与地区名称、代码三选一。最短字符数：1；最长字符数：60。\n- language_name（\"string\"，可选）：语言全名，如 English；与 language_code 二选一，两种语言字段至少提供一种。最短字符数：1；最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，如 en；与 language_name 二选一，不是国家代码。最短字符数：2；最长字符数：10。\n- se_domain（\"string\"，可选）：目标Google站点域名，如 google.co.uk；未传时按地区和语言自动选择。最短字符数：1。\n- depth（\"integer\"，可选）：商品采集深度，默认40，范围1至120；按每40条一页计费，超出40条可能产生额外页费。最小值：1；最大值：120。\n- max_crawl_pages（\"integer\"，可选）：最多采集页数，业务上限7；与 depth 共同限制采集量，不是返回商品条数。最小值：-9007199254740991；最大值：7。\n- search_param（\"string\"，可选）：附加搜索参数字符串，如 &shoprs=筛选令牌；指定 price_min、price_max 或 sort_by 时，此参数会被忽略。最短字符数：1。\n- price_min（\"integer\"，可选）：最低商品价格，整数，单位为目标市场商品币种；使用时 search_param 被忽略。最小值：-9007199254740991；最大值：9007199254740991。\n- price_max（\"integer\"，可选）：最高商品价格，整数，单位为目标市场商品币种，不低于 price_min；使用时 search_param 被忽略。最小值：-9007199254740991；最大值：9007199254740991。\n- sort_by（\"string\"，可选）：排序：review_score=评分排序、price_low_to_high=价格升序、price_high_to_low=价格降序；使用时 search_param 被忽略。最短字符数：1。\n\n返回与使用说明：\n返回商品排名、product_id、data_docid、gid、价格、评分、配送信息及筛选项。地区三选一、语言二选一；即使使用 url，登记契约仍要求 keyword。 商品价格保留目标市场币种，调用费按美元结算。","operationId":"data_relay_google_shopping_products","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"depth","in":"query","required":false,"description":"商品采集深度，默认40，范围1至120；按每40条一页计费，超出40条可能产生额外页费。最小值：1；最大值：120。","schema":{"description":"商品采集深度，默认40，范围1至120；按每40条一页计费，超出40条可能产生额外页费。最小值：1；最大值：120。","maximum":120,"minimum":1,"type":"integer"}},{"name":"keyword","in":"query","required":true,"description":"商品搜索关键词，非空字符串。最短字符数：1。","schema":{"description":"商品搜索关键词，非空字符串。最短字符数：1。","minLength":1,"type":"string"}},{"name":"language_code","in":"query","required":false,"description":"语言代码，如 en；与 language_name 二选一，不是国家代码。最短字符数：2；最长字符数：10。","schema":{"description":"语言代码，如 en；与 language_name 二选一，不是国家代码。最短字符数：2；最长字符数：10。","maxLength":10,"minLength":2,"type":"string"}},{"name":"language_name","in":"query","required":false,"description":"语言全名，如 English；与 language_code 二选一，两种语言字段至少提供一种。最短字符数：1；最长字符数：60。","schema":{"description":"语言全名，如 English；与 language_code 二选一，两种语言字段至少提供一种。最短字符数：1；最长字符数：60。","maxLength":60,"minLength":1,"type":"string"}},{"name":"location_code","in":"query","required":false,"description":"地区数字代码，例如2840=美国；与地区名称、坐标三选一。最大值：9007199254740991；严格大于：0。","schema":{"description":"地区数字代码，例如2840=美国；与地区名称、坐标三选一。最大值：9007199254740991；严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},{"name":"location_coordinate","in":"query","required":false,"description":"地区坐标，纬度,经度,半径；半径单位米，当前契约说明范围200至19999；与地区名称、代码三选一。最短字符数：1；最长字符数：60。","schema":{"description":"地区坐标，纬度,经度,半径；半径单位米，当前契约说明范围200至19999；与地区名称、代码三选一。最短字符数：1；最长字符数：60。","maxLength":60,"minLength":1,"type":"string"}},{"name":"location_name","in":"query","required":false,"description":"地区全名，如 United States；与 location_code、location_coordinate 三选一，三种地区字段至少提供一种。最短字符数：1；最长字符数：200。","schema":{"description":"地区全名，如 United States；与 location_code、location_coordinate 三选一，三种地区字段至少提供一种。最短字符数：1；最长字符数：200。","maxLength":200,"minLength":1,"type":"string"}},{"name":"max_crawl_pages","in":"query","required":false,"description":"最多采集页数，业务上限7；与 depth 共同限制采集量，不是返回商品条数。最小值：-9007199254740991；最大值：7。","schema":{"description":"最多采集页数，业务上限7；与 depth 共同限制采集量，不是返回商品条数。最小值：-9007199254740991；最大值：7。","maximum":7,"minimum":-9007199254740991,"type":"integer"}},{"name":"price_max","in":"query","required":false,"description":"最高商品价格，整数，单位为目标市场商品币种，不低于 price_min；使用时 search_param 被忽略。最小值：-9007199254740991；最大值：9007199254740991。","schema":{"description":"最高商品价格，整数，单位为目标市场商品币种，不低于 price_min；使用时 search_param 被忽略。最小值：-9007199254740991；最大值：9007199254740991。","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},{"name":"price_min","in":"query","required":false,"description":"最低商品价格，整数，单位为目标市场商品币种；使用时 search_param 被忽略。最小值：-9007199254740991；最大值：9007199254740991。","schema":{"description":"最低商品价格，整数，单位为目标市场商品币种；使用时 search_param 被忽略。最小值：-9007199254740991；最大值：9007199254740991。","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},{"name":"se_domain","in":"query","required":false,"description":"目标Google站点域名，如 google.co.uk；未传时按地区和语言自动选择。最短字符数：1。","schema":{"description":"目标Google站点域名，如 google.co.uk；未传时按地区和语言自动选择。最短字符数：1。","minLength":1,"type":"string"}},{"name":"search_param","in":"query","required":false,"description":"附加搜索参数字符串，如 &shoprs=筛选令牌；指定 price_min、price_max 或 sort_by 时，此参数会被忽略。最短字符数：1。","schema":{"description":"附加搜索参数字符串，如 &shoprs=筛选令牌；指定 price_min、price_max 或 sort_by 时，此参数会被忽略。最短字符数：1。","minLength":1,"type":"string"}},{"name":"sort_by","in":"query","required":false,"description":"排序：review_score=评分排序、price_low_to_high=价格升序、price_high_to_low=价格降序；使用时 search_param 被忽略。最短字符数：1。","schema":{"description":"排序：review_score=评分排序、price_low_to_high=价格升序、price_high_to_low=价格降序；使用时 search_param 被忽略。最短字符数：1。","minLength":1,"type":"string"}},{"name":"url","in":"query","required":false,"description":"完整Google Shopping搜索地址；可携带搜索条件，但当前登记契约仍要求 keyword。最短字符数：1。","schema":{"description":"完整Google Shopping搜索地址；可携带搜索条件，但当前登记契约仍要求 keyword。最短字符数：1。","minLength":1,"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/google-shopping/seller-ad-url":{"get":{"tags":["Google Shopping"],"summary":"解析Google Shopping卖家链接","description":"将卖家报价结果中的 shop_ad_aclk 广告跳转值解析为店铺真实商品地址。\n\n参数：\n- shop_ad_aclk（\"string\"，必填）：卖家报价结果返回的广告跳转值，非空字符串，最多2000字符；不是完整任意网页地址。最短字符数：1；最长字符数：2000。\n\n返回与使用说明：\n返回解析后的目标链接；参数来自卖家报价结果，不接受任意网址代替，也不执行购买或登录操作。","operationId":"data_relay_google_shopping_seller_ad_url","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"shop_ad_aclk","in":"query","required":true,"description":"卖家报价结果返回的广告跳转值，非空字符串，最多2000字符；不是完整任意网页地址。最短字符数：1；最长字符数：2000。","schema":{"description":"卖家报价结果返回的广告跳转值，非空字符串，最多2000字符；不是完整任意网页地址。最短字符数：1；最长字符数：2000。","maxLength":2000,"minLength":1,"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/google-shopping/sellers":{"post":{"tags":["Google Shopping"],"summary":"获取Google Shopping卖家报价","description":"查询同一商品各卖家的价格、运费、税费、总价、评分和店铺链接。默认10条，最多200条，按每10条一页计费；开启 get_shops_on_google 时费用加倍。\n\n参数：\n- product_id（\"string\"，可选）：Google Shopping商品ID，来自商品搜索结果；product_id、data_docid、gid 至少提供一种，建议使用同一商品的全部标识。最短字符数：1。\n- data_docid（\"string\"，可选）：商品搜索结果中的数据文档ID；与 product_id、gid 至少提供一种，建议三种一起使用。最短字符数：1。\n- gid（\"string\"，可选）：商品搜索结果中的全局商品ID；与 product_id、data_docid 至少提供一种，建议三种一起使用。最短字符数：1。\n- pvf（\"string\"，可选）：商品变体筛选值，沿用目标商品页面或商品搜索结果中的值。最短字符数：1。\n- location_name（\"string\"，可选）：地区全名，如 United States；与 location_code、location_coordinate 三选一，三种地区字段至少提供一种。最短字符数：1；最长字符数：200。\n- location_code（\"integer\"，可选）：地区数字代码，例如2840=美国；与地区名称、坐标三选一。最大值：9007199254740991；严格大于：0。\n- location_coordinate（\"string\"，可选）：地区坐标，纬度,经度,半径；半径单位米，当前契约说明范围200至19999；与地区名称、代码三选一。最短字符数：1；最长字符数：60。\n- language_name（\"string\"，可选）：语言全名，如 English；与 language_code 二选一，两种语言字段至少提供一种。最短字符数：1；最长字符数：60。\n- language_code（\"string\"，可选）：语言代码，如 en；与 language_name 二选一，不是国家代码。最短字符数：2；最长字符数：10。\n- depth（\"integer\"，可选）：卖家采集深度，默认10，上限200；按每10条一页收费，超过10条可能产生额外页费；不是商品搜索的40条口径。最小值：-9007199254740991；最大值：200。\n- se_domain（\"string\"，可选）：目标Google站点域名，如 google.co.uk；未传时按地区和语言自动选择。最短字符数：1。\n- get_shops_on_google（\"boolean\"，可选）：是否包含可在Google直接购买的商店；开启true时费用加倍，未传时不开启该扩展。\n- additional_specifications（\"object\"，可选）：商品搜索返回的附加URL参数对象，如 eto；保留原对象键值，用于指定商品相关选项。\n\n返回与使用说明：\n商品标识至少提供 product_id、data_docid、gid 中一种；建议三种一起使用。排队执行可能需要一分钟或更久。返回的 shop_ad_aclk 可用于解析店铺真实链接；地区三选一、语言二选一。 商品价格保留目标市场币种，调用费按美元结算。","operationId":"data_relay_google_shopping_sellers","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"查询同一商品各卖家的价格、运费、税费、总价、评分和店铺链接。默认10条，最多200条，按每10条一页计费；开启 get_shops_on_google 时费用加倍。","examples":[{"depth":10,"language_code":"en","location_code":2840,"product_id":"4485466949985702538"}],"properties":{"additional_specifications":{"additionalProperties":{},"description":"商品搜索返回的附加URL参数对象，如 eto；保留原对象键值，用于指定商品相关选项。","propertyNames":{"type":"string"},"type":"object"},"data_docid":{"description":"商品搜索结果中的数据文档ID；与 product_id、gid 至少提供一种，建议三种一起使用。最短字符数：1。","minLength":1,"type":"string"},"depth":{"description":"卖家采集深度，默认10，上限200；按每10条一页收费，超过10条可能产生额外页费；不是商品搜索的40条口径。最小值：-9007199254740991；最大值：200。","maximum":200,"minimum":-9007199254740991,"type":"integer"},"get_shops_on_google":{"description":"是否包含可在Google直接购买的商店；开启true时费用加倍，未传时不开启该扩展。","type":"boolean"},"gid":{"description":"商品搜索结果中的全局商品ID；与 product_id、data_docid 至少提供一种，建议三种一起使用。最短字符数：1。","minLength":1,"type":"string"},"language_code":{"description":"语言代码，如 en；与 language_name 二选一，不是国家代码。最短字符数：2；最长字符数：10。","maxLength":10,"minLength":2,"type":"string"},"language_name":{"description":"语言全名，如 English；与 language_code 二选一，两种语言字段至少提供一种。最短字符数：1；最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"location_code":{"description":"地区数字代码，例如2840=美国；与地区名称、坐标三选一。最大值：9007199254740991；严格大于：0。","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"location_coordinate":{"description":"地区坐标，纬度,经度,半径；半径单位米，当前契约说明范围200至19999；与地区名称、代码三选一。最短字符数：1；最长字符数：60。","maxLength":60,"minLength":1,"type":"string"},"location_name":{"description":"地区全名，如 United States；与 location_code、location_coordinate 三选一，三种地区字段至少提供一种。最短字符数：1；最长字符数：200。","maxLength":200,"minLength":1,"type":"string"},"product_id":{"description":"Google Shopping商品ID，来自商品搜索结果；product_id、data_docid、gid 至少提供一种，建议使用同一商品的全部标识。最短字符数：1。","minLength":1,"type":"string"},"pvf":{"description":"商品变体筛选值，沿用目标商品页面或商品搜索结果中的值。最短字符数：1。","minLength":1,"type":"string"},"se_domain":{"description":"目标Google站点域名，如 google.co.uk；未传时按地区和语言自动选择。最短字符数：1。","minLength":1,"type":"string"}},"type":"object"}}}}}},"/api/v1/google/immersive-product":{"get":{"tags":["Google Shopping"],"summary":"获取Google Shopping商品弹窗详情","description":"根据商品弹窗令牌获取商品规格、价格、评价、变体及店铺报价，并支持卖家列表翻页。\n\n参数：\n- more_stores（[\"string\", \"number\", \"boolean\"]，可选）：是否在一次请求中获取更多商家，可传true或1；未开启通常约3至5家，开启最多约13家或实际可用数量。\n- next_page_token（[\"string\", \"number\", \"boolean\"]，可选）：前一次结果 stores_next_page_token 的值，用于卖家列表翻页；与原 page_token 一起使用，不是评论分页令牌。\n- page_token（[\"string\", \"number\", \"boolean\"]，必填）：商品结果返回的 immersive_product_page_token 或 page_token，选择具体报价、变体和评价集合；不是登录凭据。\n- json_restrictor（[\"string\", \"number\", \"boolean\"]，可选）：响应字段筛选表达式，用于减少返回体大小；不改变商品业务筛选。\n\n返回与使用说明：\npage_token使用商品搜索结果中的 immersive_product_page_token 或商品详情中的 page_token；卖家默认约3至5家，more_stores开启时最多约13家或实际可用数量。下一页使用 stores_next_page_token，保持商品令牌不变；该令牌不代表用户登录。","operationId":"data_relay_google_immersive_product","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"json_restrictor","in":"query","required":false,"description":"响应字段筛选表达式，用于减少返回体大小；不改变商品业务筛选。","schema":{"description":"响应字段筛选表达式，用于减少返回体大小；不改变商品业务筛选。","type":["string","number","boolean"]}},{"name":"more_stores","in":"query","required":false,"description":"是否在一次请求中获取更多商家，可传true或1；未开启通常约3至5家，开启最多约13家或实际可用数量。","schema":{"description":"是否在一次请求中获取更多商家，可传true或1；未开启通常约3至5家，开启最多约13家或实际可用数量。","type":["string","number","boolean"]}},{"name":"next_page_token","in":"query","required":false,"description":"前一次结果 stores_next_page_token 的值，用于卖家列表翻页；与原 page_token 一起使用，不是评论分页令牌。","schema":{"description":"前一次结果 stores_next_page_token 的值，用于卖家列表翻页；与原 page_token 一起使用，不是评论分页令牌。","type":["string","number","boolean"]}},{"name":"page_token","in":"query","required":true,"description":"商品结果返回的 immersive_product_page_token 或 page_token，选择具体报价、变体和评价集合；不是登录凭据。","schema":{"description":"商品结果返回的 immersive_product_page_token 或 page_token，选择具体报价、变体和评价集合；不是登录凭据。","type":["string","number","boolean"]}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/google/shopping":{"get":{"tags":["Google Shopping"],"summary":"搜索Google Shopping商品","description":"按关键词搜索商品价格、商家、评分和配送信息，可按价格或评分排序。支持结果偏移和最多100条商品；价格区间、促销、包邮和小商家筛选一次只能选择一类，排序可与其中一类组合。\n\n参数：\n- q（\"string\"，可选）：原商品搜索词；最多2048字符。搜索接口中 q 与 shoprs 至少提供一种；商品详情接口要求 q，并应与发现该商品时的关键词一致。最短字符数：1；最长字符数：2048。\n- shoprs（\"string\"，可选）：上一响应 filters 返回的筛选令牌，最多4096字符；显式筛选会替换令牌携带的对应条件。最短字符数：1；最长字符数：4096。\n- start（\"integer\"，可选）：结果偏移量，默认0，范围0至1000；不是页码。翻页保持原关键词、国家、语言及筛选条件不变。最小值：0；最大值：1000。\n- num（\"integer\"，可选）：最多返回商品数量，范围1至100；内部可读取多个40条的页面，实际结果可能少于指定值；未声明固定业务默认数量。最小值：1；最大值：100。\n- min_price（\"number\"，可选）：最低商品价格，范围0至1000000000，单位为目标市场商品币种；价格区间不能与促销、包邮或小商家筛选同时使用。最小值：0；最大值：1000000000。\n- max_price（\"number\"，可选）：最高商品价格，不低于 min_price，单位为目标市场商品币种；与 min_price 一起组成价格区间筛选。最小值：0。\n- sort_by（\"string\"，可选）：排序：1=价格升序，2=价格降序，3=评分降序，4=相关性；本接口使用字符串，可与一类筛选组合。允许值：[\"1\", \"2\", \"3\", \"4\"]。\n- on_sale（\"boolean\"，可选）：是否只返回促销商品，业务默认false；与价格区间、包邮、小商家筛选互斥。\n- free_shipping（\"boolean\"，可选）：是否只返回包邮商品，业务默认false；与价格区间、促销、小商家筛选互斥。\n- small_business（\"boolean\"，可选）：是否只返回小商家商品，业务默认false；与价格区间、包邮、促销筛选互斥。\n- location（\"string\"，可选）：搜索起始地区名称，如 Austin, Texas；与 uule 互斥，最多512字符，编码后还受63个UTF-8字节限制。最短字符数：1；最长字符数：512。\n- uule（\"string\"，可选）：Google编码地区令牌，最多2048字符，与 location 互斥；不代表登录状态。最短字符数：1；最长字符数：2048。\n- hl（\"string\"，可选）：界面及结果语言代码，如 en、en-GB、de，业务默认en。最短字符数：2；最长字符数：32。\n- gl（\"string\"，可选）：结果国家，两位字母国家代码，如 us、gb、de；应与前序商品搜索保持一致。格式：\"^[a-zA-Z]{2}$\"。\n- google_domain（\"string\"，可选）：目标Google搜索站点域名，业务默认google.com；必须是有效Google域名，不是任意地址。最短字符数：1。\n- device（\"string\"，可选）：设备布局：desktop=桌面（业务默认）、tablet=平板、mobile=手机。允许值：[\"desktop\", \"tablet\", \"mobile\"]。\n\n返回与使用说明：\n返回 shopping_results、categorized_shopping_results 和 filters；使用同一条结果的 gpcid、headline_offer_docid、image_docid 查询商品详情。搜索列表不保证提供商家直达链接。","operationId":"data_relay_google_shopping","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"device","in":"query","required":false,"description":"设备布局：desktop=桌面（业务默认）、tablet=平板、mobile=手机。允许值：[\"desktop\", \"tablet\", \"mobile\"]。","schema":{"description":"设备布局：desktop=桌面（业务默认）、tablet=平板、mobile=手机。允许值：[\"desktop\", \"tablet\", \"mobile\"]。","enum":["desktop","tablet","mobile"],"type":"string"}},{"name":"free_shipping","in":"query","required":false,"description":"是否只返回包邮商品，业务默认false；与价格区间、促销、小商家筛选互斥。","schema":{"description":"是否只返回包邮商品，业务默认false；与价格区间、促销、小商家筛选互斥。","type":"boolean"}},{"name":"gl","in":"query","required":false,"description":"结果国家，两位字母国家代码，如 us、gb、de；应与前序商品搜索保持一致。格式：\"^[a-zA-Z]{2}$\"。","schema":{"description":"结果国家，两位字母国家代码，如 us、gb、de；应与前序商品搜索保持一致。格式：\"^[a-zA-Z]{2}$\"。","pattern":"^[a-zA-Z]{2}$","type":"string"}},{"name":"google_domain","in":"query","required":false,"description":"目标Google搜索站点域名，业务默认google.com；必须是有效Google域名，不是任意地址。最短字符数：1。","schema":{"description":"目标Google搜索站点域名，业务默认google.com；必须是有效Google域名，不是任意地址。最短字符数：1。","minLength":1,"type":"string"}},{"name":"hl","in":"query","required":false,"description":"界面及结果语言代码，如 en、en-GB、de，业务默认en。最短字符数：2；最长字符数：32。","schema":{"description":"界面及结果语言代码，如 en、en-GB、de，业务默认en。最短字符数：2；最长字符数：32。","maxLength":32,"minLength":2,"type":"string"}},{"name":"location","in":"query","required":false,"description":"搜索起始地区名称，如 Austin, Texas；与 uule 互斥，最多512字符，编码后还受63个UTF-8字节限制。最短字符数：1；最长字符数：512。","schema":{"description":"搜索起始地区名称，如 Austin, Texas；与 uule 互斥，最多512字符，编码后还受63个UTF-8字节限制。最短字符数：1；最长字符数：512。","maxLength":512,"minLength":1,"type":"string"}},{"name":"max_price","in":"query","required":false,"description":"最高商品价格，不低于 min_price，单位为目标市场商品币种；与 min_price 一起组成价格区间筛选。最小值：0。","schema":{"description":"最高商品价格，不低于 min_price，单位为目标市场商品币种；与 min_price 一起组成价格区间筛选。最小值：0。","minimum":0,"type":"number"}},{"name":"min_price","in":"query","required":false,"description":"最低商品价格，范围0至1000000000，单位为目标市场商品币种；价格区间不能与促销、包邮或小商家筛选同时使用。最小值：0；最大值：1000000000。","schema":{"description":"最低商品价格，范围0至1000000000，单位为目标市场商品币种；价格区间不能与促销、包邮或小商家筛选同时使用。最小值：0；最大值：1000000000。","maximum":1000000000,"minimum":0,"type":"number"}},{"name":"num","in":"query","required":false,"description":"最多返回商品数量，范围1至100；内部可读取多个40条的页面，实际结果可能少于指定值；未声明固定业务默认数量。最小值：1；最大值：100。","schema":{"description":"最多返回商品数量，范围1至100；内部可读取多个40条的页面，实际结果可能少于指定值；未声明固定业务默认数量。最小值：1；最大值：100。","maximum":100,"minimum":1,"type":"integer"}},{"name":"on_sale","in":"query","required":false,"description":"是否只返回促销商品，业务默认false；与价格区间、包邮、小商家筛选互斥。","schema":{"description":"是否只返回促销商品，业务默认false；与价格区间、包邮、小商家筛选互斥。","type":"boolean"}},{"name":"q","in":"query","required":false,"description":"原商品搜索词；最多2048字符。搜索接口中 q 与 shoprs 至少提供一种；商品详情接口要求 q，并应与发现该商品时的关键词一致。最短字符数：1；最长字符数：2048。","schema":{"description":"原商品搜索词；最多2048字符。搜索接口中 q 与 shoprs 至少提供一种；商品详情接口要求 q，并应与发现该商品时的关键词一致。最短字符数：1；最长字符数：2048。","maxLength":2048,"minLength":1,"type":"string"}},{"name":"shoprs","in":"query","required":false,"description":"上一响应 filters 返回的筛选令牌，最多4096字符；显式筛选会替换令牌携带的对应条件。最短字符数：1；最长字符数：4096。","schema":{"description":"上一响应 filters 返回的筛选令牌，最多4096字符；显式筛选会替换令牌携带的对应条件。最短字符数：1；最长字符数：4096。","maxLength":4096,"minLength":1,"type":"string"}},{"name":"small_business","in":"query","required":false,"description":"是否只返回小商家商品，业务默认false；与价格区间、包邮、促销筛选互斥。","schema":{"description":"是否只返回小商家商品，业务默认false；与价格区间、包邮、促销筛选互斥。","type":"boolean"}},{"name":"sort_by","in":"query","required":false,"description":"排序：1=价格升序，2=价格降序，3=评分降序，4=相关性；本接口使用字符串，可与一类筛选组合。允许值：[\"1\", \"2\", \"3\", \"4\"]。","schema":{"description":"排序：1=价格升序，2=价格降序，3=评分降序，4=相关性；本接口使用字符串，可与一类筛选组合。允许值：[\"1\", \"2\", \"3\", \"4\"]。","enum":["1","2","3","4"],"type":"string"}},{"name":"start","in":"query","required":false,"description":"结果偏移量，默认0，范围0至1000；不是页码。翻页保持原关键词、国家、语言及筛选条件不变。最小值：0；最大值：1000。","schema":{"description":"结果偏移量，默认0，范围0至1000；不是页码。翻页保持原关键词、国家、语言及筛选条件不变。最小值：0；最大值：1000。","maximum":1000,"minimum":0,"type":"integer"}},{"name":"uule","in":"query","required":false,"description":"Google编码地区令牌，最多2048字符，与 location 互斥；不代表登录状态。最短字符数：1；最长字符数：2048。","schema":{"description":"Google编码地区令牌，最多2048字符，与 location 互斥；不代表登录状态。最短字符数：1；最长字符数：2048。","maxLength":2048,"minLength":1,"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/1688/category":{"get":{"tags":["1688"],"summary":"搜索1688批发商品","description":"按关键词分页检索批发商品及供应商，包含商品标题、SKU、起订量、销量、评分、价格、图片与供应商店铺地址。默认每页60条，可选择标题语言和换算币种。\n\n参数：\n- query（\"string\"，必填）：批发商品搜索关键词，可使用中文或其他语言，例如手机壳；非空字符串。最短字符数：1。\n- language（\"string\"，可选）：商品标题和供应商名称的两位小写语言代码，业务默认en；例如en=英语。格式：\"^[a-z]{2}$\"。\n- currency（\"string\"，可选）：商品展示价格的换算币种，业务默认HKD；原始人民币价格仍返回。USD=美元、HKD=港币、EUR=欧元、GBP=英镑、JPY=日元、KRW=韩元、SGD=新加坡元、MYR=林吉特、TWD=新台币、THB=泰铢、IDR=印尼盾、PHP=菲律宾比索、VND=越南盾、AED=迪拉姆、BRL=雷亚尔、MXN=墨西哥比索。与调用费统一美元无关。允许值：[\"USD\", \"HKD\", \"EUR\", \"GBP\", \"JPY\", \"KRW\", \"SGD\", \"MYR\", \"TWD\", \"THB\", \"IDR\", \"PHP\", \"VND\", \"AED\", \"BRL\", \"MXN\"]。\n- beginPage（\"integer\"，可选）：结果页码，从1开始，业务默认1；按totalCount与pageSize计算有效页数，越界可能报错。最小值：1；最大值：9007199254740991。\n- pageSize（\"integer\"，可选）：每页商品数量，范围1至60，业务默认60；不是页数。最小值：1；最大值：60。\n\n返回与使用说明：\n返回商品列表、totalCount、pageSize及是否还有下一页等可用信息；beginPage从1开始，不得超过总页数。底层按执行消耗的计费token结算，当前说明为每结果页通常1个token、$0.001；不是每件商品$0.001。","operationId":"data_relay_1688_category","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"beginPage","in":"query","required":false,"description":"结果页码，从1开始，业务默认1；按totalCount与pageSize计算有效页数，越界可能报错。最小值：1；最大值：9007199254740991。","schema":{"description":"结果页码，从1开始，业务默认1；按totalCount与pageSize计算有效页数，越界可能报错。最小值：1；最大值：9007199254740991。","maximum":9007199254740991,"minimum":1,"type":"integer"}},{"name":"currency","in":"query","required":false,"description":"商品展示价格的换算币种，业务默认HKD；原始人民币价格仍返回。USD=美元、HKD=港币、EUR=欧元、GBP=英镑、JPY=日元、KRW=韩元、SGD=新加坡元、MYR=林吉特、TWD=新台币、THB=泰铢、IDR=印尼盾、PHP=菲律宾比索、VND=越南盾、AED=迪拉姆、BRL=雷亚尔、MXN=墨西哥比索。与调用费统一美元无关。允许值：[\"USD\", \"HKD\", \"EUR\", \"GBP\", \"JPY\", \"KRW\", \"SGD\", \"MYR\", \"TWD\", \"THB\", \"IDR\", \"PHP\", \"VND\", \"AED\", \"BRL\", \"MXN\"]。","schema":{"description":"商品展示价格的换算币种，业务默认HKD；原始人民币价格仍返回。USD=美元、HKD=港币、EUR=欧元、GBP=英镑、JPY=日元、KRW=韩元、SGD=新加坡元、MYR=林吉特、TWD=新台币、THB=泰铢、IDR=印尼盾、PHP=菲律宾比索、VND=越南盾、AED=迪拉姆、BRL=雷亚尔、MXN=墨西哥比索。与调用费统一美元无关。允许值：[\"USD\", \"HKD\", \"EUR\", \"GBP\", \"JPY\", \"KRW\", \"SGD\", \"MYR\", \"TWD\", \"THB\", \"IDR\", \"PHP\", \"VND\", \"AED\", \"BRL\", \"MXN\"]。","enum":["USD","HKD","EUR","GBP","JPY","KRW","SGD","MYR","TWD","THB","IDR","PHP","VND","AED","BRL","MXN"],"type":"string"}},{"name":"language","in":"query","required":false,"description":"商品标题和供应商名称的两位小写语言代码，业务默认en；例如en=英语。格式：\"^[a-z]{2}$\"。","schema":{"description":"商品标题和供应商名称的两位小写语言代码，业务默认en；例如en=英语。格式：\"^[a-z]{2}$\"。","pattern":"^[a-z]{2}$","type":"string"}},{"name":"pageSize","in":"query","required":false,"description":"每页商品数量，范围1至60，业务默认60；不是页数。最小值：1；最大值：60。","schema":{"description":"每页商品数量，范围1至60，业务默认60；不是页数。最小值：1；最大值：60。","maximum":60,"minimum":1,"type":"integer"}},{"name":"query","in":"query","required":true,"description":"批发商品搜索关键词，可使用中文或其他语言，例如手机壳；非空字符串。最短字符数：1。","schema":{"description":"批发商品搜索关键词，可使用中文或其他语言，例如手机壳；非空字符串。最短字符数：1。","minLength":1,"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/promo/walmart/product":{"get":{"tags":["Walmart"],"summary":"采集Walmart商品页面","description":"通过完整商品页面地址采集价格、库存、配送、评分和店铺资料，可指定邮编、店铺及市场国家。\n\n参数：\n- url（\"string\"，必填）：完整目标平台商品详情页地址，包含协议和正确市场域名；不是关键词、分类页或商品标题。\n- zipCode（\"string\"，可选）：用于本地商品可用性查询的美国邮编字符串，至少3字符；与目标市场和门店一致。最短字符数：3。\n- storeId（\"string\"，可选）：Walmart门店ID字符串，用于本地库存查询；与store_id属于不同接口字段，不混用。最短字符数：1。\n- country（\"string\"，可选）：Walmart市场国家代码，业务默认us，例如us=美国、ca=加拿大、mx=墨西哥，长度2。最短字符数：2；最长字符数：2。\n\n返回与使用说明：\n当前限时报价$0.005/次；活动路径可能结束。结构化解析不可用时可能返回原始HTML或结果下载信息，不能保证总能直接获取结构化价格；这种响应仍可能计费。","operationId":"data_relay_promo_walmart_product","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"country","in":"query","required":false,"description":"Walmart市场国家代码，业务默认us，例如us=美国、ca=加拿大、mx=墨西哥，长度2。最短字符数：2；最长字符数：2。","schema":{"description":"Walmart市场国家代码，业务默认us，例如us=美国、ca=加拿大、mx=墨西哥，长度2。最短字符数：2；最长字符数：2。","maxLength":2,"minLength":2,"type":"string"}},{"name":"storeId","in":"query","required":false,"description":"Walmart门店ID字符串，用于本地库存查询；与store_id属于不同接口字段，不混用。最短字符数：1。","schema":{"description":"Walmart门店ID字符串，用于本地库存查询；与store_id属于不同接口字段，不混用。最短字符数：1。","minLength":1,"type":"string"}},{"name":"url","in":"query","required":true,"description":"完整目标平台商品详情页地址，包含协议和正确市场域名；不是关键词、分类页或商品标题。","schema":{"description":"完整目标平台商品详情页地址，包含协议和正确市场域名；不是关键词、分类页或商品标题。","format":"uri","type":"string"}},{"name":"zipCode","in":"query","required":false,"description":"用于本地商品可用性查询的美国邮编字符串，至少3字符；与目标市场和门店一致。最短字符数：3。","schema":{"description":"用于本地商品可用性查询的美国邮编字符串，至少3字符；与目标市场和门店一致。最短字符数：3。","minLength":3,"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/walmart.search":{"get":{"tags":["Walmart"],"summary":"搜索Walmart商品","description":"按关键词查询商品价格、评分、库存状态、卖家及商品链接，支持排序、价格区间和属性筛选。每页通常约40至60条；只支持前10页。\n\n参数：\n- route（\"string\"，可选）：计费路线，省略时默认badger；单价见pricing，各路线返回字段可能不完全一致。允许值：[\"badger\", \"chameleon\"]。\n- minPrice（\"number\"，可选）：最低商品价格，单位美元，最小0；不传表示不设下限。最小值：0。\n- query（\"string\"，必填）：商品搜索关键词。最短字符数：1。\n- maxPrice（\"number\"，可选）：最高商品价格，单位美元，最小0；不低于minPrice，不传表示不设上限。最小值：0。\n- page（\"integer\"，可选）：页码，默认1，范围1至10；每页通常约40至60条。相邻页可能重复，按itemId去重；不是结果条数。Schema默认值：1；最小值：1；最大值：10。\n- sort（\"string\"，可选）：商品排序：best_match=相关性（业务默认）、best_seller=畅销、price_low=价格升序、price_high=价格降序、rating_high=评分降序、new=新品。允许值：[\"best_match\", \"best_seller\", \"price_low\", \"price_high\", \"rating_high\", \"new\"]。\n- facet（\"string\"，可选）：属性筛选表达式，多个key:value条件用||连接，例如brand:HP；使用当前商品类目适用的属性和值。最短字符数：1。\n\n返回与使用说明：\n返回 data.items、totalResults、totalPages等可用字段；不同计费路线可能缺少部分字段。相邻页可能重复商品，建议按itemId去重。","operationId":"data_relay_walmart_dot_search","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"facet","in":"query","required":false,"description":"属性筛选表达式，多个key:value条件用||连接，例如brand:HP；使用当前商品类目适用的属性和值。最短字符数：1。","schema":{"description":"属性筛选表达式，多个key:value条件用||连接，例如brand:HP；使用当前商品类目适用的属性和值。最短字符数：1。","minLength":1,"type":"string"}},{"name":"maxPrice","in":"query","required":false,"description":"最高商品价格，单位美元，最小0；不低于minPrice，不传表示不设上限。最小值：0。","schema":{"description":"最高商品价格，单位美元，最小0；不低于minPrice，不传表示不设上限。最小值：0。","minimum":0,"type":"number"}},{"name":"minPrice","in":"query","required":false,"description":"最低商品价格，单位美元，最小0；不传表示不设下限。最小值：0。","schema":{"description":"最低商品价格，单位美元，最小0；不传表示不设下限。最小值：0。","minimum":0,"type":"number"}},{"name":"page","in":"query","required":false,"description":"页码，默认1，范围1至10；每页通常约40至60条。相邻页可能重复，按itemId去重；不是结果条数。Schema默认值：1；最小值：1；最大值：10。","schema":{"default":1,"description":"页码，默认1，范围1至10；每页通常约40至60条。相邻页可能重复，按itemId去重；不是结果条数。Schema默认值：1；最小值：1；最大值：10。","maximum":10,"minimum":1,"type":"integer"}},{"name":"query","in":"query","required":true,"description":"商品搜索关键词。最短字符数：1。","schema":{"description":"商品搜索关键词。最短字符数：1。","minLength":1,"type":"string"}},{"name":"route","in":"query","required":false,"description":"计费路线，省略时默认badger；单价见pricing，各路线返回字段可能不完全一致。允许值：[\"badger\", \"chameleon\"]。","schema":{"description":"计费路线，省略时默认badger；单价见pricing，各路线返回字段可能不完全一致。允许值：[\"badger\", \"chameleon\"]。","enum":["badger","chameleon"],"type":"string"}},{"name":"sort","in":"query","required":false,"description":"商品排序：best_match=相关性（业务默认）、best_seller=畅销、price_low=价格升序、price_high=价格降序、rating_high=评分降序、new=新品。允许值：[\"best_match\", \"best_seller\", \"price_low\", \"price_high\", \"rating_high\", \"new\"]。","schema":{"description":"商品排序：best_match=相关性（业务默认）、best_seller=畅销、price_low=价格升序、price_high=价格降序、rating_high=评分降序、new=新品。允许值：[\"best_match\", \"best_seller\", \"price_low\", \"price_high\", \"rating_high\", \"new\"]。","enum":["best_match","best_seller","price_low","price_high","rating_high","new"],"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/walmart/product-reviews":{"get":{"tags":["Walmart"],"summary":"获取Walmart商品评价","description":"分页查询商品评价正文、星级、日期、作者及有帮助票数，支持按星级过滤、时间或评分排序。\n\n参数：\n- product_id（[\"string\", \"number\", \"boolean\"]，必填）：评价对象ID，必须填写商品搜索或详情返回的us_item_id；不能直接假定与其他商品ID相同。\n- rating（null，可选）：只查看指定星级评价，1至5分别表示一星至五星；不传不按星级过滤。\n- sort（[\"string\", \"number\", \"boolean\"]，可选）：评价排序：relevancy=相关性、helpful=有帮助优先、submission-desc=最新优先、submission-asc=最早优先、rating-desc=高分优先、rating-asc=低分优先；不传按站点默认。\n- page（[\"string\", \"number\", \"boolean\"]，可选）：结果页码，从1开始，业务默认1；保持原查询条件翻页，每页请求单独计费。\n- json_restrictor（[\"string\", \"number\", \"boolean\"]，可选）：响应字段筛选表达式，用于缩小返回体；不是商品筛选条件。\n\n返回与使用说明：\n返回 product、overall_rating、total_count、ratings、top_positive、top_negative及reviews等可用字段。product_id字段必须填写搜索或商品详情返回的us_item_id；page从1开始，保持商品、筛选和排序不变。","operationId":"data_relay_walmart_product_reviews","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"json_restrictor","in":"query","required":false,"description":"响应字段筛选表达式，用于缩小返回体；不是商品筛选条件。","schema":{"description":"响应字段筛选表达式，用于缩小返回体；不是商品筛选条件。","type":["string","number","boolean"]}},{"name":"page","in":"query","required":false,"description":"结果页码，从1开始，业务默认1；保持原查询条件翻页，每页请求单独计费。","schema":{"description":"结果页码，从1开始，业务默认1；保持原查询条件翻页，每页请求单独计费。","type":["string","number","boolean"]}},{"name":"product_id","in":"query","required":true,"description":"评价对象ID，必须填写商品搜索或详情返回的us_item_id；不能直接假定与其他商品ID相同。","schema":{"description":"评价对象ID，必须填写商品搜索或详情返回的us_item_id；不能直接假定与其他商品ID相同。","type":["string","number","boolean"]}},{"name":"rating","in":"query","required":false,"description":"只查看指定星级评价，1至5分别表示一星至五星；不传不按星级过滤。","schema":{"anyOf":[{"enum":["1","2","3","4","5"],"type":"string"},{"enum":[1,2,3,4,5],"type":"number"}],"description":"只查看指定星级评价，1至5分别表示一星至五星；不传不按星级过滤。"}},{"name":"sort","in":"query","required":false,"description":"评价排序：relevancy=相关性、helpful=有帮助优先、submission-desc=最新优先、submission-asc=最早优先、rating-desc=高分优先、rating-asc=低分优先；不传按站点默认。","schema":{"description":"评价排序：relevancy=相关性、helpful=有帮助优先、submission-desc=最新优先、submission-asc=最早优先、rating-desc=高分优先、rating-asc=低分优先；不传按站点默认。","type":["string","number","boolean"]}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/walmart/search":{"get":{"tags":["Walmart"],"summary":"按地区与类目搜索Walmart商品","description":"按关键词或类目检索商品，支持指定店铺、国家站点、价格、配送及属性条件。可只提供cat_id浏览类目，或按店铺查询本地价格与可售商品。\n\n参数：\n- store_id（[\"string\", \"number\", \"boolean\"]，可选）：Walmart店铺ID，用于限制门店及本地价格或可用商品；不是卖家登录凭据。\n- walmart_domain（[\"string\", \"number\", \"boolean\"]，可选）：Walmart市场域名，业务默认walmart.com；支持walmart.com=美国、walmart.com.mx=墨西哥。\n- spelling（null，可选）：是否自动修正搜索拼写，业务默认true；false关闭自动纠错。\n- query（[\"string\", \"number\", \"boolean\"]，可选）：Walmart商品搜索词；query和cat_id至少一种。\n- sort（[\"string\", \"number\", \"boolean\"]，可选）：商品排序：best_match=相关性（业务默认）、best_seller=畅销、price_low=价格升序、price_high=价格降序、rating_high=评分降序、new=新品。 墨西哥站不支持best_seller、rating_high、new。\n- soft_sort（[\"string\", \"number\", \"boolean\"]，可选）：是否保留相关性排序，关闭时传false，业务默认启用；墨西哥站不支持。\n- nd_en（null，可选）：是否只显示次日达商品，业务默认false；墨西哥站不支持。\n- max_price（[\"string\", \"number\", \"boolean\"]，可选）：最高商品价格，单位为市场站点商品币种；不低于min_price。\n- min_price（[\"string\", \"number\", \"boolean\"]，可选）：最低商品价格，单位为市场站点商品币种。\n- cat_id（[\"string\", \"number\", \"boolean\"]，可选）：Walmart类目ID，0表示所有部门，业务默认0；query和cat_id至少一种。墨西哥站不支持该筛选。\n- include_filters（null，可选）：是否在响应中包含筛选项，业务默认false；true返回可用filters。\n- page（[\"string\", \"number\", \"boolean\"]，可选）：结果页码，从1开始，业务默认1；保持原查询条件翻页，每页请求单独计费。 当前契约说明上限100，但不保证目标站点在后续页仍有商品；结合返回分页与结果判断。\n- facet（[\"string\", \"number\", \"boolean\"]，可选）：属性筛选表达式，多个key:value条件用||连接，例如brand:HP；使用当前商品类目适用的属性和值。\n- device（[\"string\", \"number\", \"boolean\"]，可选）：设备布局：desktop=桌面（业务默认）、tablet=平板、mobile=手机。\n- json_restrictor（[\"string\", \"number\", \"boolean\"]，可选）：响应字段筛选表达式，用于缩小返回体；不是商品筛选条件。\n\n返回与使用说明：\n返回 organic_results、筛选项及分页信息等字段。支持walmart.com与walmart.com.mx；墨西哥站部分排序、类目和配送筛选不支持，详见参数。page是页码，每次翻页单独计费。","operationId":"data_relay_walmart_search","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"cat_id","in":"query","required":false,"description":"Walmart类目ID，0表示所有部门，业务默认0；query和cat_id至少一种。墨西哥站不支持该筛选。","schema":{"description":"Walmart类目ID，0表示所有部门，业务默认0；query和cat_id至少一种。墨西哥站不支持该筛选。","type":["string","number","boolean"]}},{"name":"device","in":"query","required":false,"description":"设备布局：desktop=桌面（业务默认）、tablet=平板、mobile=手机。","schema":{"description":"设备布局：desktop=桌面（业务默认）、tablet=平板、mobile=手机。","type":["string","number","boolean"]}},{"name":"facet","in":"query","required":false,"description":"属性筛选表达式，多个key:value条件用||连接，例如brand:HP；使用当前商品类目适用的属性和值。","schema":{"description":"属性筛选表达式，多个key:value条件用||连接，例如brand:HP；使用当前商品类目适用的属性和值。","type":["string","number","boolean"]}},{"name":"include_filters","in":"query","required":false,"description":"是否在响应中包含筛选项，业务默认false；true返回可用filters。","schema":{"anyOf":[{"type":"boolean"},{"enum":["true","false"],"type":"string"}],"description":"是否在响应中包含筛选项，业务默认false；true返回可用filters。"}},{"name":"json_restrictor","in":"query","required":false,"description":"响应字段筛选表达式，用于缩小返回体；不是商品筛选条件。","schema":{"description":"响应字段筛选表达式，用于缩小返回体；不是商品筛选条件。","type":["string","number","boolean"]}},{"name":"max_price","in":"query","required":false,"description":"最高商品价格，单位为市场站点商品币种；不低于min_price。","schema":{"description":"最高商品价格，单位为市场站点商品币种；不低于min_price。","type":["string","number","boolean"]}},{"name":"min_price","in":"query","required":false,"description":"最低商品价格，单位为市场站点商品币种。","schema":{"description":"最低商品价格，单位为市场站点商品币种。","type":["string","number","boolean"]}},{"name":"nd_en","in":"query","required":false,"description":"是否只显示次日达商品，业务默认false；墨西哥站不支持。","schema":{"anyOf":[{"type":"boolean"},{"enum":["true","false"],"type":"string"}],"description":"是否只显示次日达商品，业务默认false；墨西哥站不支持。"}},{"name":"page","in":"query","required":false,"description":"结果页码，从1开始，业务默认1；保持原查询条件翻页，每页请求单独计费。 当前契约说明上限100，但不保证目标站点在后续页仍有商品；结合返回分页与结果判断。","schema":{"description":"结果页码，从1开始，业务默认1；保持原查询条件翻页，每页请求单独计费。 当前契约说明上限100，但不保证目标站点在后续页仍有商品；结合返回分页与结果判断。","type":["string","number","boolean"]}},{"name":"query","in":"query","required":false,"description":"Walmart商品搜索词；query和cat_id至少一种。","schema":{"description":"Walmart商品搜索词；query和cat_id至少一种。","type":["string","number","boolean"]}},{"name":"soft_sort","in":"query","required":false,"description":"是否保留相关性排序，关闭时传false，业务默认启用；墨西哥站不支持。","schema":{"description":"是否保留相关性排序，关闭时传false，业务默认启用；墨西哥站不支持。","type":["string","number","boolean"]}},{"name":"sort","in":"query","required":false,"description":"商品排序：best_match=相关性（业务默认）、best_seller=畅销、price_low=价格升序、price_high=价格降序、rating_high=评分降序、new=新品。 墨西哥站不支持best_seller、rating_high、new。","schema":{"description":"商品排序：best_match=相关性（业务默认）、best_seller=畅销、price_low=价格升序、price_high=价格降序、rating_high=评分降序、new=新品。 墨西哥站不支持best_seller、rating_high、new。","type":["string","number","boolean"]}},{"name":"spelling","in":"query","required":false,"description":"是否自动修正搜索拼写，业务默认true；false关闭自动纠错。","schema":{"anyOf":[{"type":"boolean"},{"enum":["true","false"],"type":"string"}],"description":"是否自动修正搜索拼写，业务默认true；false关闭自动纠错。"}},{"name":"store_id","in":"query","required":false,"description":"Walmart店铺ID，用于限制门店及本地价格或可用商品；不是卖家登录凭据。","schema":{"description":"Walmart店铺ID，用于限制门店及本地价格或可用商品；不是卖家登录凭据。","type":["string","number","boolean"]}},{"name":"walmart_domain","in":"query","required":false,"description":"Walmart市场域名，业务默认walmart.com；支持walmart.com=美国、walmart.com.mx=墨西哥。","schema":{"description":"Walmart市场域名，业务默认walmart.com；支持walmart.com=美国、walmart.com.mx=墨西哥。","type":["string","number","boolean"]}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ebay.product":{"get":{"tags":["eBay"],"summary":"获取eBay商品报价与拍卖状态","description":"根据商品链接查询价格、运费、成色、可售数量、关注数、卖家反馈，以及拍卖出价次数和结束时间等实时状态。\n\n参数：\n- route（\"string\"，可选）：计费路线，省略时默认badger；单价见pricing，各路线返回字段可能不完全一致。允许值：[\"badger\"]。\n- url（\"string\"，必填）：完整目标平台商品详情页地址，包含协议和正确市场域名；不是关键词、分类页或商品标题。\n\n返回与使用说明：\n返回标准化商品记录；商品国家站点由链接域名确定，价格保留对应站点币种。用于报价、库存与拍卖状态观察，完整商品属性和卖家描述使用商品完整资料端点。","operationId":"data_relay_ebay_dot_product","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"route","in":"query","required":false,"description":"计费路线，省略时默认badger；单价见pricing，各路线返回字段可能不完全一致。允许值：[\"badger\"]。","schema":{"description":"计费路线，省略时默认badger；单价见pricing，各路线返回字段可能不完全一致。允许值：[\"badger\"]。","enum":["badger"],"type":"string"}},{"name":"url","in":"query","required":true,"description":"完整目标平台商品详情页地址，包含协议和正确市场域名；不是关键词、分类页或商品标题。","schema":{"description":"完整目标平台商品详情页地址，包含协议和正确市场域名；不是关键词、分类页或商品标题。","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ebay.product_full":{"get":{"tags":["eBay"],"summary":"获取eBay商品完整资料","description":"查询商品全部可用的类目属性、型号、容量、兼容性、完整卖家描述、图片与卖家反馈，支持在售、已结束及已售商品链接。\n\n参数：\n- route（\"string\"，可选）：计费路线，省略时默认koala；单价见pricing，各路线返回字段可能不完全一致。允许值：[\"koala\"]。\n- url（\"string\"，必填）：完整目标平台商品详情页地址，包含协议和正确市场域名；不是关键词、分类页或商品标题。\n\n返回与使用说明：\n返回 specifications、description、images及商品和卖家字段等可用资料。可从已售商品结果取得链接，再补充少量商品完整资料；缺失字段不能当作零值。","operationId":"data_relay_ebay_dot_product_full","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"route","in":"query","required":false,"description":"计费路线，省略时默认koala；单价见pricing，各路线返回字段可能不完全一致。允许值：[\"koala\"]。","schema":{"description":"计费路线，省略时默认koala；单价见pricing，各路线返回字段可能不完全一致。允许值：[\"koala\"]。","enum":["koala"],"type":"string"}},{"name":"url","in":"query","required":true,"description":"完整目标平台商品详情页地址，包含协议和正确市场域名；不是关键词、分类页或商品标题。","schema":{"description":"完整目标平台商品详情页地址，包含协议和正确市场域名；不是关键词、分类页或商品标题。","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ebay.search":{"post":{"tags":["eBay"],"summary":"搜索eBay在售商品","description":"按关键词查询在售商品标题、价格、成色、运费、卖家及拍卖出价次数，最多25条。\n\n参数：\n- condition（\"array\"）：商品成色数组：new=全新、open_box=开箱、refurbished=翻新、used=二手、for_parts=零件或待修；不传不筛选。\n- route（\"string\"）：计费路线，默认badger；badger每次$0.0012，chameleon每次$0.00157，octopus每次基础费$0.0011加每条结果$0.00258。\n- minPrice（\"integer\"）：最低商品价格，美元整数，最小0；可选，无默认下限。\n- query（\"string\"）：必填商品搜索关键词，例如nintendo switch。\n- limit（\"integer\"）：最多返回商品条数，整数1至25，业务默认25；不是页码，本端点未提供翻页参数。\n- listingType（\"string\"）：购买形式：all=不限、auction=拍卖、buy_it_now=一口价；不传默认不限。\n- maxPrice（\"integer\"）：最高商品价格，美元整数，最小0且应不低于minPrice；可选，无默认上限。\n- sort（\"string\"）：排序：best_match=相关性（默认）、ending_soonest=即将结束、newly_listed=新上架、price_low=价格加运费升序、price_high=价格加运费降序。\n\n返回：data.items中的商品与卖家信息；found=false表示未找到结果。当前不支持旧搜索的国家站点、类目、卖家过滤及页码。报价不是已售成交价。","operationId":"data_relay_ebay_dot_search","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"description":"按关键词查询在售商品标题、价格、成色、运费、卖家及拍卖出价次数，最多25条。","example":{"limit":25,"query":"nintendo switch","sort":"best_match"},"examples":[{"limit":25,"query":"nintendo switch","sort":"best_match"}],"properties":{"condition":{"description":"商品成色数组：new=全新、open_box=开箱、refurbished=翻新、used=二手、for_parts=零件或待修；不传不筛选。","items":{"enum":["new","open_box","refurbished","used","for_parts"],"type":"string"},"type":"array"},"limit":{"description":"最多返回商品条数，整数1至25，业务默认25；不是页码，本端点未提供翻页参数。","maximum":25,"minimum":1,"type":"integer"},"listingType":{"description":"购买形式：all=不限、auction=拍卖、buy_it_now=一口价；不传默认不限。","enum":["all","auction","buy_it_now"],"type":"string"},"maxPrice":{"description":"最高商品价格，美元整数，最小0且应不低于minPrice；可选，无默认上限。","minimum":0,"type":"integer"},"minPrice":{"description":"最低商品价格，美元整数，最小0；可选，无默认下限。","minimum":0,"type":"integer"},"query":{"description":"必填商品搜索关键词，例如nintendo switch。","type":"string"},"route":{"description":"计费路线，默认badger；badger每次$0.0012，chameleon每次$0.00157，octopus每次基础费$0.0011加每条结果$0.00258。","enum":["badger","chameleon","octopus"],"type":"string"},"sort":{"description":"排序：best_match=相关性（默认）、ending_soonest=即将结束、newly_listed=新上架、price_low=价格加运费升序、price_high=价格加运费降序。","enum":["best_match","ending_soonest","newly_listed","price_low","price_high"],"type":"string"}},"required":["query"],"title":"搜索eBay在售商品","type":"object"}}}}}},"/api/v1/ebay.sold_listings":{"get":{"tags":["eBay"],"summary":"查询eBay已售商品","description":"按关键词分页查询近期已售商品，提供已售价格、日期、成色、拍卖出价、接受议价标记和卖家信息，支持日期、类目、价格及购买形式过滤。\n\n参数：\n- seller（\"string\"，可选）：当前不支持按卖家过滤，设置该字段将被拒绝；请省略。\n- endDate（\"string\"，可选）：已售日期终点，YYYY-MM-DD，包含当天；每页取回后过滤，空页仍需结合hasMore决定是否继续。格式：\"^[0-9]{4}-[0-9]{2}-[0-9]{2}$\"。\n- query（\"string\"，必填）：已售商品搜索关键词，例如iphone 13 pro。\n- listingType（\"string\"，可选）：购买形式：all=不限、auction=拍卖、buy_it_now=一口价；业务默认不限。允许值：[\"all\", \"auction\", \"buy_it_now\"]。\n- sort（\"string\"，可选）：已售记录排序：ended_recently=最近结束（默认）、price_low=已售价格加运费升序、price_high=已售价格加运费降序。允许值：[\"ended_recently\", \"price_low\", \"price_high\"]。\n- condition（\"string\"，可选）：商品成色：any=不限（默认）、new=全新、used=二手。Schema默认值：\"any\"；允许值：[\"any\", \"new\", \"used\"]。\n- site（\"string\"，可选）：已售数据的国家站点，当前仅支持ebay.com（美国），默认ebay.com。Schema默认值：\"ebay.com\"；允许值：[\"ebay.com\"]。\n- route（\"string\"，可选）：计费路线，省略时默认badger；单价见pricing，各路线返回字段可能不完全一致。允许值：[\"badger\", \"owl\"]。\n- freeShipping（\"boolean\"，可选）：当前只接受false或省略，表示不按包邮过滤；true会被拒绝，不支持该筛选。\n- minPrice（\"number\"，可选）：最低已售价格，最小0，单位为所选站点商品币种；不传不限制，maxPrice不低于minPrice。最小值：0。\n- limit（\"integer\"，可选）：每页最多已售记录数量，默认25，范围1至60；不是页数，翻页必须保持limit一致。Schema默认值：25；最小值：1；最大值：60。\n- returnsAccepted（\"boolean\"，可选）：当前只接受false或省略，表示不按退货条件过滤；true会被拒绝。\n- maxPrice（\"number\"，可选）：最高已售价格，最小0，单位为所选站点商品币种；不传不限制，maxPrice不低于minPrice。最小值：0。\n- page（\"integer\"，可选）：结果页码，从1开始，业务默认1；保持原查询条件翻页，每页请求单独计费。Schema默认值：1；最小值：1。\n- categoryId（\"string\"，可选）：已售商品类目数字ID字符串，例如9355=手机与智能手机、9394=手机配件。格式：\"^[0-9]+$\"。\n- startDate（\"string\"，可选）：已售日期起点，YYYY-MM-DD，包含当天，不晚于endDate。格式：\"^[0-9]{4}-[0-9]{2}-[0-9]{2}$\"。\n\n返回与使用说明：\n当前仅覆盖美国ebay.com。依据hasMore翻页，保持query、limit、日期、筛选和排序一致；结束日期在每页获取后过滤，因此某页为空但hasMore仍为true时继续翻页。存在议价标记时，不应把展示价格无条件视为最终实付成交价。","operationId":"data_relay_ebay_dot_sold_listings","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"categoryId","in":"query","required":false,"description":"已售商品类目数字ID字符串，例如9355=手机与智能手机、9394=手机配件。格式：\"^[0-9]+$\"。","schema":{"description":"已售商品类目数字ID字符串，例如9355=手机与智能手机、9394=手机配件。格式：\"^[0-9]+$\"。","pattern":"^[0-9]+$","type":"string"}},{"name":"condition","in":"query","required":false,"description":"商品成色：any=不限（默认）、new=全新、used=二手。Schema默认值：\"any\"；允许值：[\"any\", \"new\", \"used\"]。","schema":{"default":"any","description":"商品成色：any=不限（默认）、new=全新、used=二手。Schema默认值：\"any\"；允许值：[\"any\", \"new\", \"used\"]。","enum":["any","new","used"],"type":"string"}},{"name":"endDate","in":"query","required":false,"description":"已售日期终点，YYYY-MM-DD，包含当天；每页取回后过滤，空页仍需结合hasMore决定是否继续。格式：\"^[0-9]{4}-[0-9]{2}-[0-9]{2}$\"。","schema":{"description":"已售日期终点，YYYY-MM-DD，包含当天；每页取回后过滤，空页仍需结合hasMore决定是否继续。格式：\"^[0-9]{4}-[0-9]{2}-[0-9]{2}$\"。","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string"}},{"name":"freeShipping","in":"query","required":false,"description":"当前只接受false或省略，表示不按包邮过滤；true会被拒绝，不支持该筛选。","schema":{"description":"当前只接受false或省略，表示不按包邮过滤；true会被拒绝，不支持该筛选。","type":"boolean"}},{"name":"limit","in":"query","required":false,"description":"每页最多已售记录数量，默认25，范围1至60；不是页数，翻页必须保持limit一致。Schema默认值：25；最小值：1；最大值：60。","schema":{"default":25,"description":"每页最多已售记录数量，默认25，范围1至60；不是页数，翻页必须保持limit一致。Schema默认值：25；最小值：1；最大值：60。","maximum":60,"minimum":1,"type":"integer"}},{"name":"listingType","in":"query","required":false,"description":"购买形式：all=不限、auction=拍卖、buy_it_now=一口价；业务默认不限。允许值：[\"all\", \"auction\", \"buy_it_now\"]。","schema":{"description":"购买形式：all=不限、auction=拍卖、buy_it_now=一口价；业务默认不限。允许值：[\"all\", \"auction\", \"buy_it_now\"]。","enum":["all","auction","buy_it_now"],"type":"string"}},{"name":"maxPrice","in":"query","required":false,"description":"最高已售价格，最小0，单位为所选站点商品币种；不传不限制，maxPrice不低于minPrice。最小值：0。","schema":{"description":"最高已售价格，最小0，单位为所选站点商品币种；不传不限制，maxPrice不低于minPrice。最小值：0。","minimum":0,"type":"number"}},{"name":"minPrice","in":"query","required":false,"description":"最低已售价格，最小0，单位为所选站点商品币种；不传不限制，maxPrice不低于minPrice。最小值：0。","schema":{"description":"最低已售价格，最小0，单位为所选站点商品币种；不传不限制，maxPrice不低于minPrice。最小值：0。","minimum":0,"type":"number"}},{"name":"page","in":"query","required":false,"description":"结果页码，从1开始，业务默认1；保持原查询条件翻页，每页请求单独计费。Schema默认值：1；最小值：1。","schema":{"default":1,"description":"结果页码，从1开始，业务默认1；保持原查询条件翻页，每页请求单独计费。Schema默认值：1；最小值：1。","minimum":1,"type":"integer"}},{"name":"query","in":"query","required":true,"description":"已售商品搜索关键词，例如iphone 13 pro。","schema":{"description":"已售商品搜索关键词，例如iphone 13 pro。","type":"string"}},{"name":"returnsAccepted","in":"query","required":false,"description":"当前只接受false或省略，表示不按退货条件过滤；true会被拒绝。","schema":{"description":"当前只接受false或省略，表示不按退货条件过滤；true会被拒绝。","type":"boolean"}},{"name":"route","in":"query","required":false,"description":"计费路线，省略时默认badger；单价见pricing，各路线返回字段可能不完全一致。允许值：[\"badger\", \"owl\"]。","schema":{"description":"计费路线，省略时默认badger；单价见pricing，各路线返回字段可能不完全一致。允许值：[\"badger\", \"owl\"]。","enum":["badger","owl"],"type":"string"}},{"name":"seller","in":"query","required":false,"description":"当前不支持按卖家过滤，设置该字段将被拒绝；请省略。","schema":{"description":"当前不支持按卖家过滤，设置该字段将被拒绝；请省略。","type":"string"}},{"name":"site","in":"query","required":false,"description":"已售数据的国家站点，当前仅支持ebay.com（美国），默认ebay.com。Schema默认值：\"ebay.com\"；允许值：[\"ebay.com\"]。","schema":{"default":"ebay.com","description":"已售数据的国家站点，当前仅支持ebay.com（美国），默认ebay.com。Schema默认值：\"ebay.com\"；允许值：[\"ebay.com\"]。","enum":["ebay.com"],"type":"string"}},{"name":"sort","in":"query","required":false,"description":"已售记录排序：ended_recently=最近结束（默认）、price_low=已售价格加运费升序、price_high=已售价格加运费降序。允许值：[\"ended_recently\", \"price_low\", \"price_high\"]。","schema":{"description":"已售记录排序：ended_recently=最近结束（默认）、price_low=已售价格加运费升序、price_high=已售价格加运费降序。允许值：[\"ended_recently\", \"price_low\", \"price_high\"]。","enum":["ended_recently","price_low","price_high"],"type":"string"}},{"name":"startDate","in":"query","required":false,"description":"已售日期起点，YYYY-MM-DD，包含当天，不晚于endDate。格式：\"^[0-9]{4}-[0-9]{2}-[0-9]{2}$\"。","schema":{"description":"已售日期起点，YYYY-MM-DD，包含当天，不晚于endDate。格式：\"^[0-9]{4}-[0-9]{2}-[0-9]{2}$\"。","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ebay/seller":{"get":{"tags":["eBay"],"summary":"获取eBay卖家资料与商品","description":"查询公开卖家或店铺资料、反馈信息及其在售商品列表，支持购买形式、商品成色、包邮与排序筛选。\n\n参数：\n- _pgn（[\"string\", \"number\", \"boolean\"]，可选）：结果页码，业务默认1，从1开始；保持原查询及筛选条件不变。\n- free_shipping（[\"string\", \"number\", \"boolean\"]，可选）：是否只显示包邮商品；不传不按包邮过滤。\n- ebay_domain（[\"string\", \"number\", \"boolean\"]，可选）：eBay市场站点域名，业务默认ebay.com；例如ebay.co.uk、ebay.de，影响可售商品、币种和配送。\n- _sop（null，可选）：排序编码，业务默认12=相关性；1=即将结束、10=新上架、15=价格加运费升序、16=价格加运费降序、7=距离最近。\n- buying_format（null，可选）：卖家页购买形式：0=所有商品（默认）、1=一口价、2=拍卖。与普通搜索的Auction/BIN/BO不同。\n- type（[\"string\", \"number\", \"boolean\"]，必填）：公开卖家页面类型：user=个人卖家页、store=店铺页；按目标卖家实际页面选择，不是调用方登录类型。\n- _ipg（[\"string\", \"number\", \"boolean\"]，可选）：每页最多结果数：24、48（默认）、72；与普通商品搜索的60/120/240口径不同。\n- LH_ItemCondition（[\"string\", \"number\", \"boolean\"]，可选）：卖家页商品成色ID：3=全新、4=二手、10=未指定；多值用|连接。与普通搜索的1000等ID不同。\n- json_restrictor（[\"string\", \"number\", \"boolean\"]，可选）：响应字段筛选表达式，用于缩小返回体；不是商品筛选条件。\n- seller_id（[\"string\", \"number\", \"boolean\"]，必填）：公开eBay卖家用户名，可来自搜索或商品详情卖家信息；不是商品ID或调用方账户凭据。\n\n返回与使用说明：\n返回公开卖家、反馈及商品列表等可用内容。seller_id为公开卖家用户名，type按卖家页面类型选择user或store；无需卖家登录。页大小默认48，不使用普通搜索的60条口径。","operationId":"data_relay_ebay_seller","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"LH_ItemCondition","in":"query","required":false,"description":"卖家页商品成色ID：3=全新、4=二手、10=未指定；多值用|连接。与普通搜索的1000等ID不同。","schema":{"description":"卖家页商品成色ID：3=全新、4=二手、10=未指定；多值用|连接。与普通搜索的1000等ID不同。","type":["string","number","boolean"]}},{"name":"_ipg","in":"query","required":false,"description":"每页最多结果数：24、48（默认）、72；与普通商品搜索的60/120/240口径不同。","schema":{"description":"每页最多结果数：24、48（默认）、72；与普通商品搜索的60/120/240口径不同。","type":["string","number","boolean"]}},{"name":"_pgn","in":"query","required":false,"description":"结果页码，业务默认1，从1开始；保持原查询及筛选条件不变。","schema":{"description":"结果页码，业务默认1，从1开始；保持原查询及筛选条件不变。","type":["string","number","boolean"]}},{"name":"_sop","in":"query","required":false,"description":"排序编码，业务默认12=相关性；1=即将结束、10=新上架、15=价格加运费升序、16=价格加运费降序、7=距离最近。","schema":{"anyOf":[{"enum":["12","1","10","15","16","7"],"type":"string"},{"enum":[12,1,10,15,16,7],"type":"number"}],"description":"排序编码，业务默认12=相关性；1=即将结束、10=新上架、15=价格加运费升序、16=价格加运费降序、7=距离最近。"}},{"name":"buying_format","in":"query","required":false,"description":"卖家页购买形式：0=所有商品（默认）、1=一口价、2=拍卖。与普通搜索的Auction/BIN/BO不同。","schema":{"anyOf":[{"enum":["0","1","2"],"type":"string"},{"enum":[0,1,2],"type":"number"}],"description":"卖家页购买形式：0=所有商品（默认）、1=一口价、2=拍卖。与普通搜索的Auction/BIN/BO不同。"}},{"name":"ebay_domain","in":"query","required":false,"description":"eBay市场站点域名，业务默认ebay.com；例如ebay.co.uk、ebay.de，影响可售商品、币种和配送。","schema":{"description":"eBay市场站点域名，业务默认ebay.com；例如ebay.co.uk、ebay.de，影响可售商品、币种和配送。","type":["string","number","boolean"]}},{"name":"free_shipping","in":"query","required":false,"description":"是否只显示包邮商品；不传不按包邮过滤。","schema":{"description":"是否只显示包邮商品；不传不按包邮过滤。","type":["string","number","boolean"]}},{"name":"json_restrictor","in":"query","required":false,"description":"响应字段筛选表达式，用于缩小返回体；不是商品筛选条件。","schema":{"description":"响应字段筛选表达式，用于缩小返回体；不是商品筛选条件。","type":["string","number","boolean"]}},{"name":"seller_id","in":"query","required":true,"description":"公开eBay卖家用户名，可来自搜索或商品详情卖家信息；不是商品ID或调用方账户凭据。","schema":{"description":"公开eBay卖家用户名，可来自搜索或商品详情卖家信息；不是商品ID或调用方账户凭据。","type":["string","number","boolean"]}},{"name":"type","in":"query","required":true,"description":"公开卖家页面类型：user=个人卖家页、store=店铺页；按目标卖家实际页面选择，不是调用方登录类型。","schema":{"description":"公开卖家页面类型：user=个人卖家页、store=店铺页；按目标卖家实际页面选择，不是调用方登录类型。","type":["string","number","boolean"]}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/app/v3/fetch_creator_info":{"get":{"tags":["TikTok Shop"],"summary":"获取TikTok带货创作者信息","description":"获取创作者信息，包括创作者的基本信息、粉丝数、橱窗商品数量、带货直播间等信息。\n\n参数：\n- creator_uid（string，必填，未声明默认值）：创作者uid\n\n使用说明：- 创作者信息 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_app_v3_fetch_creator_info","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"creator_uid","in":"query","required":true,"description":"创作者uid","schema":{"description":"创作者uid","examples":["6555451606845243393"],"title":"Creator Uid","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/shop/web/fetch_hot_selling_products_list":{"get":{"tags":["TikTok Shop"],"summary":"获取TikTok热卖商品列表","description":"获取指定地区的热卖商品列表。\n\n参数：\n- count（integer，可选，默认 20）：本次最多返回的商品数量，1 至 100，默认 20；实际数量可能少于 count。\n- exclude_product_ids（string，可选，未声明默认值）：已取得的商品 ID，用英文逗号分隔，首次请求留空。\n- region（string，可选，默认 \"MY\"）：ID/JP/MX/MY/PH/SG/TH/VN，默认 MY；US、GB、BR 暂不支持。\n\n使用说明：- 商品位于 相应业务对象中的 productList；相应业务对象中的 hasMore 为 true 时可继续翻页。\n- 下一批将前面所有已取得的 product_id 累积传入 exclude_product_ids。\n- 返回顺序可能变化，请按 product_id 去重；本接口不提供热卖排名字段。\n- 以下为主要字段示意，省略通用响应字段和部分可选字段；具体字段以实际响应为准。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_shop_web_fetch_hot_selling_products_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"count","in":"query","required":false,"description":"本次最多返回的商品数量，1 至 100，默认 20；实际数量可能少于 count。","schema":{"default":20,"description":"本次最多返回的商品数量，1 至 100，默认 20；实际数量可能少于 count。","examples":[20],"maximum":100,"minimum":1,"title":"Count","type":"integer"}},{"name":"exclude_product_ids","in":"query","required":false,"description":"已取得的商品 ID，用英文逗号分隔，首次请求留空。","schema":{"description":"已取得的商品 ID，用英文逗号分隔，首次请求留空。","title":"Exclude Product Ids","type":"string"}},{"name":"region","in":"query","required":false,"description":"ID/JP/MX/MY/PH/SG/TH/VN，默认 MY；US、GB、BR 暂不支持。","schema":{"default":"MY","description":"ID/JP/MX/MY/PH/SG/TH/VN，默认 MY；US、GB、BR 暂不支持。","examples":["MY"],"title":"Region","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/shop/web/fetch_product_detail":{"get":{"tags":["TikTok Shop"],"summary":"获取TikTok商品详情V1","description":"获取商品详情及相关组件数据；字段完整程度因商品和地区而异。\n\n参数：\n- product_id（string，必填，未声明默认值）：商品 ID，必填。\n- region（string，可选，默认 \"MY\"）：商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。\n- seller_id（string，可选，未声明默认值）：商家 ID，可选，可留空。\n\n使用说明：- 页面数据位于 data.data；可包含 components_map、global_data 等字段。\n- 商品信息可见于 global_data.product_info.product_info 或商品信息组件；请检查实际存在的字段。\n- 需要更完整的商品详情时，建议使用 fetch_product_detail_v3。\n- 建议请求 timeout 设置为 30 秒。\n- 以下为主要字段示意，省略通用响应字段和部分可选字段；具体字段以实际响应为准。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_shop_web_fetch_product_detail","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"product_id","in":"query","required":true,"description":"商品 ID，必填。","schema":{"description":"商品 ID，必填。","examples":["1729556436942358002"],"title":"Product Id","type":"string"}},{"name":"region","in":"query","required":false,"description":"商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。","schema":{"default":"MY","description":"商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。","examples":["MY"],"title":"Region","type":"string"}},{"name":"seller_id","in":"query","required":false,"description":"商家 ID，可选，可留空。","schema":{"description":"商家 ID，可选，可留空。","examples":["7494629757824764402"],"title":"Seller Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/shop/web/fetch_product_detail_v3":{"get":{"tags":["TikTok Shop"],"summary":"获取TikTok商品详情V3","description":"获取指定地区商品的详情、价格、商家及相关信息。\n\n参数：\n- product_id（string，必填，未声明默认值）：商品 ID，必填。\n- region（string，可选，默认 \"SG\"）：商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。\n\n使用说明：- product_id 必须与 region 对应。\n- 商品页面数据位于 product_data，不是顶层 data.productInfo。\n- 若返回 page_config，请在 components_map 中找到 component_name=product_info，再读取 component_data.product_info。\n- 若返回 initialData，商品信息位于 initialData.productInfo；不要假设所有响应都同时包含这两种结构。\n- 价格、图片、商家等子字段以商品信息对象的实际返回为准。建议请求 timeout 设置为 30 秒。\n- 以下为主要字段示意，省略通用响应字段和部分可选字段；具体字段以实际响应为准。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。 本服务抽样响应的顶层字段为 product_data，商品页面数据从该对象读取；","operationId":"data_relay_tiktok_shop_web_fetch_product_detail_v3","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"product_id","in":"query","required":true,"description":"商品 ID，必填。","schema":{"description":"商品 ID，必填。","examples":["1732108663255959373"],"title":"Product Id","type":"string"}},{"name":"region","in":"query","required":false,"description":"商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。","schema":{"default":"SG","description":"商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。","examples":["SG"],"title":"Region","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/shop/web/fetch_product_id_by_share_link":{"get":{"tags":["TikTok Shop"],"summary":"获取TikTok分享链接中的商品ID","description":"从 TikTok Shop 分享链接获取商品 ID 和对应链接。\n\n参数：\n- region（string，可选，默认 \"US\"）：商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。\n- share_link（string，必填，未声明默认值）：分享链接，必填。\n\n使用说明：- data.product_id 是字符串；data.product_link 为对应链接。\n- 若返回 resolved=false，请核对分享链接。\n- 以下为主要字段示意，省略通用响应字段和部分可选字段；具体字段以实际响应为准。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_shop_web_fetch_product_id_by_share_link","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"region","in":"query","required":false,"description":"商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。","schema":{"default":"US","description":"商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。","examples":["US"],"title":"Region","type":"string"}},{"name":"share_link","in":"query","required":true,"description":"分享链接，必填。","schema":{"description":"分享链接，必填。","examples":["实际分享链接"],"title":"Share Link","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/shop/web/fetch_product_reviews_v2":{"get":{"tags":["TikTok Shop"],"summary":"获取TikTok商品评论V2","description":"获取商品评论，支持分页、排序和筛选。\n\n参数：\n- filter_type（integer，可选，默认 1）：1=全部，2=含图片或视频，3=真实购买，默认 1。\n- filter_value（integer，可选，默认 6）：filter_type=1 时，6=全部星级、1 至 5=对应星级；filter_type=2 或 3 时传 1。\n- page_start（integer，可选，默认 1）：页码，默认 1。\n- product_id（string，必填，未声明默认值）：商品 ID，必填。\n- region（string，可选，默认 \"US\"）：商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。\n- sort_rule（integer，可选，默认 2）：1=推荐，2=最近，默认 2。\n\n使用说明：- 评论数组位于 相应业务对象中的 product_reviews。\n- 相应业务对象中的 has_more 是布尔值；为 true 时保持筛选、排序参数不变，将 page_start 加 1。\n- total_reviews 和 review_ratings.review_count 是字符串；评分字段为数值。\n- 评论字段使用 review_rating、review_time、review_text、review_images 和 is_verified_purchase；具体可选字段以实际返回为准。\n- 没有评论时 product_reviews 可以为空数组；响应不保证包含 page_start。\n- 以下为主要字段示意，省略通用响应字段和部分可选字段；具体字段以实际响应为准。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_shop_web_fetch_product_reviews_v2","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"filter_type","in":"query","required":false,"description":"1=全部，2=含图片或视频，3=真实购买，默认 1。","schema":{"default":1,"description":"1=全部，2=含图片或视频，3=真实购买，默认 1。","examples":[1],"title":"Filter Type","type":"integer"}},{"name":"filter_value","in":"query","required":false,"description":"filter_type=1 时，6=全部星级、1 至 5=对应星级；filter_type=2 或 3 时传 1。","schema":{"default":6,"description":"filter_type=1 时，6=全部星级、1 至 5=对应星级；filter_type=2 或 3 时传 1。","examples":[6],"title":"Filter Value","type":"integer"}},{"name":"page_start","in":"query","required":false,"description":"页码，默认 1。","schema":{"default":1,"description":"页码，默认 1。","examples":[1],"title":"Page Start","type":"integer"}},{"name":"product_id","in":"query","required":true,"description":"商品 ID，必填。","schema":{"description":"商品 ID，必填。","examples":["1729408816995078528"],"title":"Product Id","type":"string"}},{"name":"region","in":"query","required":false,"description":"商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。","schema":{"default":"US","description":"商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。","examples":["US"],"title":"Region","type":"string"}},{"name":"sort_rule","in":"query","required":false,"description":"1=推荐，2=最近，默认 2。","schema":{"default":2,"description":"1=推荐，2=最近，默认 2。","examples":[2],"title":"Sort Rule","type":"integer"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/shop/web/fetch_products_by_category_id":{"get":{"tags":["TikTok Shop"],"summary":"按分类获取TikTok商品列表","description":"获取指定地区、分类下的商品列表。\n\n参数：\n- category_id（integer，必填，未声明默认值）：分类 ID，必填，可从 fetch_products_category_list 获取，需与 region 对应。\n- offset（integer，可选，默认 0）：分页偏移量，默认 0。\n- region（string，可选，默认 \"US\"）：商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。\n\n使用说明：- 商品位于 相应业务对象中的 productList，分页字段是 相应业务对象中的 hasMore，不是 products 或 has_more。\n- 每批实际商品数量可能少于 20。hasMore 为 false 或没有新增商品时应停止翻页；请按 product_id 去重。\n- image、product_price_info、rate_info、sold_info、seller_info、seo_url 均为对象。\n- 以下为主要字段示意，省略通用响应字段和部分可选字段；具体字段以实际响应为准。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_shop_web_fetch_products_by_category_id","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"category_id","in":"query","required":true,"description":"分类 ID，必填，可从 fetch_products_category_list 获取，需与 region 对应。","schema":{"description":"分类 ID，必填，可从 fetch_products_category_list 获取，需与 region 对应。","examples":[963976],"title":"Category Id","type":"integer"}},{"name":"offset","in":"query","required":false,"description":"分页偏移量，默认 0。","schema":{"default":0,"description":"分页偏移量，默认 0。","title":"Offset","type":"integer"}},{"name":"region","in":"query","required":false,"description":"商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。","schema":{"default":"US","description":"商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。","examples":["US"],"title":"Region","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/shop/web/fetch_search_products_list":{"get":{"tags":["TikTok Shop"],"summary":"搜索TikTok商品列表V1","description":"按关键词搜索指定地区的商品。\n\n参数：\n- offset（integer，可选，默认 0）：分页偏移量，首次请求为 0。\n- page_token（string，可选，未声明默认值）：分页标记，首次请求留空。\n- region（string，可选，默认 \"US\"）：商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。\n- search_word（string，必填，未声明默认值）：搜索关键词，必填。\n\n使用说明：- 商品位于 相应业务对象中的 products；分页状态位于 相应业务对象中的 has_more。\n- 下一页使用 相应业务对象中的 load_more_params 返回的 offset 和 page_token，保持 search_word、region 不变。\n- 游标请原样传递；每页数量可能变化，不要根据返回条数自行计算 offset。\n- image、seo_url 是对象，其他商品字段以实际返回为准。\n- 以下为主要字段示意，省略通用响应字段和部分可选字段；具体字段以实际响应为准。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_shop_web_fetch_search_products_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"offset","in":"query","required":false,"description":"分页偏移量，首次请求为 0。","schema":{"default":0,"description":"分页偏移量，首次请求为 0。","title":"Offset","type":"integer"}},{"name":"page_token","in":"query","required":false,"description":"分页标记，首次请求留空。","schema":{"description":"分页标记，首次请求留空。","title":"Page Token","type":"string"}},{"name":"region","in":"query","required":false,"description":"商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。","schema":{"default":"US","description":"商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。","examples":["US"],"title":"Region","type":"string"}},{"name":"search_word","in":"query","required":true,"description":"搜索关键词，必填。","schema":{"description":"搜索关键词，必填。","examples":["labubu"],"title":"Search Word","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/shop/web/fetch_search_products_list_v2":{"get":{"tags":["TikTok Shop"],"summary":"搜索TikTok商品列表V2","description":"按关键词搜索美国地区商品。\n\n参数：\n- offset（integer，可选，默认 0）：分页偏移量，首次请求为 0。\n- page_token（string，可选，未声明默认值）：分页标记，首次请求留空。\n- region（string，可选，默认 \"US\"）：仅支持 US，默认 US。\n- search_word（string，必填，未声明默认值）：搜索关键词，必填。\n\n使用说明：- 商品位于 相应业务对象中的 component_data.products；分页状态位于 component_data.has_more。\n- 下一页使用 component_data.offset 和 component_data.load_more_params.page_token，保持关键词和地区不变。\n- 不要把 V1 的商品或游标路径套用到 V2；其他地区请使用 fetch_search_products_list。\n- 以下为主要字段示意，省略通用响应字段和部分可选字段；具体字段以实际响应为准。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。 本服务抽样的商品列表位于响应根的 data.component_data.products，分页状态从 data.component_data 读取；这里的 data 是业务结果自身字段。","operationId":"data_relay_tiktok_shop_web_fetch_search_products_list_v2","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"offset","in":"query","required":false,"description":"分页偏移量，首次请求为 0。","schema":{"default":0,"description":"分页偏移量，首次请求为 0。","title":"Offset","type":"integer"}},{"name":"page_token","in":"query","required":false,"description":"分页标记，首次请求留空。","schema":{"description":"分页标记，首次请求留空。","title":"Page Token","type":"string"}},{"name":"region","in":"query","required":false,"description":"仅支持 US，默认 US。","schema":{"default":"US","description":"仅支持 US，默认 US。","examples":["US"],"title":"Region","type":"string"}},{"name":"search_word","in":"query","required":true,"description":"搜索关键词，必填。","schema":{"description":"搜索关键词，必填。","examples":["labubu"],"title":"Search Word","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/shop/web/fetch_search_word_suggestion_v2":{"get":{"tags":["TikTok Shop"],"summary":"获取TikTok搜索关键词建议V2","description":"获取商品搜索关键词建议。\n\n参数：\n- lang（string，可选，默认 \"en-US\"）：语言代码，默认 en-US。\n- region（string，可选，默认 \"US\"）：商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。\n- search_word（string，必填，未声明默认值）：搜索关键词，必填。\n\n使用说明：- 建议位于 data.data，是字符串数组，不是包含 keywords 或 suggestion 字段的对象。\n- 建议数量随关键词和地区变化，数组也可能为空。\n- 以下为主要字段示意，省略通用响应字段和部分可选字段；具体字段以实际响应为准。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_shop_web_fetch_search_word_suggestion_v2","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"lang","in":"query","required":false,"description":"语言代码，默认 en-US。","schema":{"default":"en-US","description":"语言代码，默认 en-US。","examples":["en-US"],"title":"Lang","type":"string"}},{"name":"region","in":"query","required":false,"description":"商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。","schema":{"default":"US","description":"商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。","examples":["US"],"title":"Region","type":"string"}},{"name":"search_word","in":"query","required":true,"description":"搜索关键词，必填。","schema":{"description":"搜索关键词，必填。","examples":["labubu"],"title":"Search Word","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/shop/web/fetch_seller_products_list":{"get":{"tags":["TikTok Shop"],"summary":"获取TikTok商家商品列表V1","description":"获取指定商家的商品列表。\n\n参数：\n- region（string，可选，默认 \"US\"）：商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。\n- search_params（string，可选，未声明默认值）：分页游标，首次请求留空。\n- seller_id（string，必填，未声明默认值）：商家 ID，必填，需与 region 对应。\n\n使用说明：- 商品位于 相应业务对象中的 products；相应业务对象中的 has_more 表示是否可继续翻页。\n- 下一页将 相应业务对象中的 load_more_params.search_params 原样传回 search_params，不要自行拼接游标。\n- image、seo_url 是对象；商品价格、评分、销量、商家字段分别位于 product_price_info、rate_info、sold_info、seller_info。\n- 每页实际返回数量可能变化。\n- 以下为主要字段示意，省略通用响应字段和部分可选字段；具体字段以实际响应为准。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_shop_web_fetch_seller_products_list","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"region","in":"query","required":false,"description":"商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。","schema":{"default":"US","description":"商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。","examples":["US"],"title":"Region","type":"string"}},{"name":"search_params","in":"query","required":false,"description":"分页游标，首次请求留空。","schema":{"description":"分页游标，首次请求留空。","examples":["30_WzQzOSwzOTAwMDAwMCwxNzIzMDU4NTY3NTM5LCIxNzI5NTc3OTc3OTI0Nzg0MTY1Il0="],"title":"Search Params","type":"string"}},{"name":"seller_id","in":"query","required":true,"description":"商家 ID，必填，需与 region 对应。","schema":{"description":"商家 ID，必填，需与 region 对应。","examples":["7495150558072178725"],"title":"Seller Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/shop/web/fetch_seller_products_list_v2":{"get":{"tags":["TikTok Shop"],"summary":"获取TikTok商家商品列表V2","description":"获取美国地区商家的商品列表。\n\n参数：\n- region（string，可选，默认 \"US\"）：仅支持 US，默认 US。\n- searchParams（string，可选，未声明默认值）：分页游标，首次请求留空。\n- seller_id（string，必填，未声明默认值）：美国地区商家 ID，必填。\n\n使用说明：- 商品项位于 相应业务对象中的 component_data.products；每一项的 product 对象包含 product_id、title 等商品字段。\n- 分页状态位于 component_data.has_more；为 true 时，将 component_data.next_search_param 原样传回 searchParams。\n- 按 product.product_id 去重；没有新商品时应停止翻页。其他地区请使用 fetch_seller_products_list。\n- 以下为主要字段示意，省略通用响应字段和部分可选字段；具体字段以实际响应为准。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_shop_web_fetch_seller_products_list_v2","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"region","in":"query","required":false,"description":"仅支持 US，默认 US。","schema":{"default":"US","description":"仅支持 US，默认 US。","examples":["US"],"title":"Region","type":"string"}},{"name":"searchParams","in":"query","required":false,"description":"分页游标，首次请求留空。","schema":{"description":"分页游标，首次请求留空。","title":"Searchparams","type":"string"}},{"name":"seller_id","in":"query","required":true,"description":"美国地区商家 ID，必填。","schema":{"description":"美国地区商家 ID，必填。","examples":["7495150558072178725"],"title":"Seller Id","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tiktok/shop/web/fetch_shop_id_by_share_link":{"get":{"tags":["TikTok Shop"],"summary":"获取TikTok分享链接中的店铺ID","description":"从 TikTok Shop 分享链接获取店铺 ID 和对应链接。\n\n参数：\n- region（string，可选，默认 \"US\"）：商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。\n- share_link（string，必填，未声明默认值）：分享链接，必填。\n\n使用说明：- data.shop_id 是字符串；data.shop_link 为对应链接。\n- 若返回 resolved=false，请核对分享链接。\n- 以下为主要字段示意，省略通用响应字段和部分可选字段；具体字段以实际响应为准。 业务无结果或业务错误可能仍产生费用，以用量查询中的已确认费用为准。","operationId":"data_relay_tiktok_shop_web_fetch_shop_id_by_share_link","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"},{"name":"region","in":"query","required":false,"description":"商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。","schema":{"default":"US","description":"商品或商家所在地区，US/SG/MY/PH/TH/VN/ID/JP/MX；GB、BR 暂不支持。","examples":["US"],"title":"Region","type":"string"}},{"name":"share_link","in":"query","required":true,"description":"分享链接，必填。","schema":{"description":"分享链接，必填。","examples":["实际分享链接"],"title":"Share Link","type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/app_v2/get_product_detail":{"get":{"tags":["小红书电商"],"summary":"获取商品详情","description":"通过 SKU ID 获取商品价格、规格、库存和描述等详细信息。","operationId":"get_product_detail_api_v1_xiaohongshu_app_v2_get_product_detail_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"sku_id","in":"query","required":true,"schema":{"type":"string","description":"商品 SKU ID / Product SKU ID","title":"Sku Id"},"description":"商品 SKU ID / Product SKU ID"},{"name":"source","in":"query","required":false,"schema":{"type":"string","description":"请求来源 / Source","default":"mall_search","title":"Source"},"description":"请求来源 / Source"},{"name":"pre_page","in":"query","required":false,"schema":{"type":"string","description":"前置页面 / Previous page","default":"mall_search","title":"Pre Page"},"description":"前置页面 / Previous page"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/app_v2/get_product_recommendations":{"get":{"tags":["小红书电商"],"summary":"获取商品推荐","description":"根据商品 SKU ID，使用游标分页获取相关推荐商品。","operationId":"get_product_recommendations_api_v1_xiaohongshu_app_v2_get_product_recommendations_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"sku_id","in":"query","required":true,"schema":{"type":"string","description":"商品 SKU ID / Product SKU ID","title":"Sku Id"},"description":"商品 SKU ID / Product SKU ID"},{"name":"cursor_score","in":"query","required":false,"schema":{"type":"string","description":"分页游标，首次请求留空 / Pagination cursor","default":"","title":"Cursor Score"},"description":"分页游标，首次请求留空 / Pagination cursor"},{"name":"region","in":"query","required":false,"schema":{"type":"string","description":"地区 / Region","default":"US","title":"Region"},"description":"地区 / Region"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/app_v2/get_product_review_overview":{"get":{"tags":["小红书电商"],"summary":"获取商品评价概览","description":"获取商品评分分布、好评率和评论标签等统计信息。","operationId":"get_product_review_overview_api_v1_xiaohongshu_app_v2_get_product_review_overview_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"sku_id","in":"query","required":true,"schema":{"type":"string","description":"商品 SKU ID / Product SKU ID","title":"Sku Id"},"description":"商品 SKU ID / Product SKU ID"},{"name":"tab","in":"query","required":false,"schema":{"type":"integer","description":"标签类型 / Tab type","default":2,"title":"Tab"},"description":"标签类型 / Tab type"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/app_v2/get_product_reviews":{"get":{"tags":["小红书电商"],"summary":"获取商品评价","description":"分页获取商品评论，并支持排序和仅看有图评论。","operationId":"get_product_reviews_api_v1_xiaohongshu_app_v2_get_product_reviews_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"sku_id","in":"query","required":true,"schema":{"type":"string","description":"商品 SKU ID / Product SKU ID","title":"Sku Id"},"description":"商品 SKU ID / Product SKU ID"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","description":"页码，从 0 开始 / Page number","default":0,"title":"Page"},"description":"页码，从 0 开始 / Page number"},{"name":"sort_strategy_type","in":"query","required":false,"schema":{"type":"integer","description":"排序策略：0=综合排序，1=最新排序","default":0,"title":"Sort Strategy Type"},"description":"排序策略：0=综合排序，1=最新排序"},{"name":"share_pics_only","in":"query","required":false,"schema":{"type":"integer","description":"仅看有图评论：0=否，1=是","default":0,"title":"Share Pics Only"},"description":"仅看有图评论：0=否，1=是"},{"name":"from_page","in":"query","required":false,"schema":{"type":"string","description":"来源页面 / From page","default":"score_page","title":"From Page"},"description":"来源页面 / From page"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/app_v2/search_products":{"get":{"tags":["小红书电商"],"summary":"搜索商品","description":"按关键词分页搜索小红书商品，每页返回 20 条结果。","operationId":"search_products_api_v1_xiaohongshu_app_v2_search_products_get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"keyword","in":"query","required":true,"schema":{"type":"string","description":"搜索关键词 / Search keyword","title":"Keyword"},"description":"搜索关键词 / Search keyword"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","description":"页码，从 1 开始 / Page number","default":1,"title":"Page"},"description":"页码，从 1 开始 / Page number"},{"name":"search_id","in":"query","required":false,"schema":{"type":"string","description":"搜索 ID；翻页时传入首次搜索返回的值 / Search ID for pagination","default":"","title":"Search Id"},"description":"搜索 ID；翻页时传入首次搜索返回的值 / Search ID for pagination"},{"name":"source","in":"query","required":false,"schema":{"type":"string","description":"请求来源 / Source","default":"explore_feed","title":"Source"},"description":"请求来源 / Source"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/xiaohongshu/pgy/get_live_blogger_list":{"post":{"tags":["小红书电商"],"summary":"获取直播博主列表","description":"按电商转化、直播表现和粉丝购买力筛选直播带货博主。","operationId":"get_live_blogger_list_api_v1_xiaohongshu_pgy_get_live_blogger_list_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。","title":"A2A Openapi Request Id"},"description":"链路溯源 ID（选填），格式：a2a-openapi-uuid；不传时由系统生成并返回。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveBloggerRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRelayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/estimate_price":{"get":{"tags":["image-models"],"summary":"价格计算器（包含 MJ）","description":"试算一次图片生成会消耗多少 AGT，与生成接口的实际扣费同源（调用后端内部报价服务，4 位小数向上取整）。\n\n同一个接口兼容全部模型：\n返回模型展示名称 `model_name`，把它作为生成接口的 `model` 参数使用。\n\n- 普通图片模型返回**一张图片**的价格，分辨率档位由 `width` / `height` 反推（与生成请求的实际出图尺寸保持一致），`quality` 取 auto / low / medium / high / xhigh / max；\n- Seedream 按像素面积和参考图张数计费，拆层可传 layer_decomposition 和 max_images 试算预扣额。\n- MJ 模型返回一次**固定四张图片**的总价，`quality` 取 sd / hd（传 auto 按 sd），忽略 `width` / `height` 和参考图。\n\n`reference_image_count` 仅用于试算；真正提交时请确保每张参考图都已 PUT 上传成功（OSS 返回 2xx）后再调用生成接口。\n\n`model_name` 接受展示名称或运行时标识。不携带凭证时返回原价；携带 `Authorization: Bearer <agent-key>` 时，按该用户有效畅享卡权益返回实际价格。`enjoy_card_applied` 表示是否命中优惠，`standard_agt_price` 为优惠前总价。\n\n### 1K / 2K / 4K 档位如何计算\n\n价格计算器用 `width` / `height` 反推档位，档位口径与生成接口一致：\n\n- **按 `size` 计价的模型（如 `image-2`）**：`auto` / 缺省、长边 ≤ 1536 → 1K；\n  长边 < 3840 且总像素 ≤ 2048×2048（4,194,304）→ 2K；其余 → 4K。\n- **Banana**：只有与预置尺寸完全一致时才匹配 1K / 2K / 4K；\n  其他尺寸按 `1×` 分辨率倍率试算。生成接口的 `imageSize` 会直接选择档位。\n- **MJ**：没有分辨率维度，忽略 `width` / `height`，\n  固定四图按 `sd` / `hd` 计价。\n\n> 例如 `2736x1536` 的长边是 2736（< 3840），但总像素为 4,202,496（> 4,194,304），\n> 按 **4K** 计算。\n\n分辨率倍率取自 `model_price_configs.output_resolution` 的 `1k` / `2k` / `4k`；\n倍率缺失时按 `1×`。最终价格仍在乘完张数后向上取整到 4 位小数。","operationId":"estimate_price_api_v1_images_estimate_price_get","security":[{"AgentKeyBearer":[]},{}],"parameters":[{"name":"model_name","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"description":"模型展示名称（`model_name`），取自 `GET /api/v1/images/models`；运行时标识也兼容。","examples":["Image 2","香蕉2.1"],"title":"Model Name"},"description":"模型展示名称（`model_name`），取自 `GET /api/v1/images/models`；运行时标识也兼容。"},{"name":"width","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"目标图片宽度（像素），与生成请求的实际出图尺寸一致；分辨率档位由宽高反推。省略时按 1024×1024（1K 档）计算。MJ 忽略该参数。","examples":[1024],"default":1024,"title":"Width"},"description":"目标图片宽度（像素），与生成请求的实际出图尺寸一致；分辨率档位由宽高反推。省略时按 1024×1024（1K 档）计算。MJ 忽略该参数。"},{"name":"height","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"目标图片高度（像素）。省略时按 1024×1024（1K 档）计算。MJ 忽略该参数。","examples":[1024],"default":1024,"title":"Height"},"description":"目标图片高度（像素）。省略时按 1024×1024（1K 档）计算。MJ 忽略该参数。"},{"name":"quality","in":"query","required":false,"schema":{"enum":["auto","low","medium","high","xhigh","max","sd","hd"],"type":"string","description":"清晰度：普通模型使用 auto / low / medium / high / xhigh / max；MJ 使用 sd / hd（传 auto 时按 sd 计算）。","examples":["high","hd"],"default":"auto","title":"Quality"},"description":"清晰度：普通模型使用 auto / low / medium / high / xhigh / max；MJ 使用 sd / hd（传 auto 时按 sd 计算）。"},{"name":"reference_image_count","in":"query","required":false,"schema":{"type":"integer","maximum":10,"minimum":0,"description":"Seedream 改图最多 10 张，按张加价。其他模型最多 6 张，按有无参考图计价，不随张数递增。MJ 参考图不计价，忽略该参数。仅供试算；真正提交前请确保每张参考图都已 PUT 上传成功（OSS 返回 2xx）。","examples":[1],"default":0,"title":"Reference Image Count"},"description":"Seedream 改图最多 10 张，按张加价。其他模型最多 6 张，按有无参考图计价，不随张数递增。MJ 参考图不计价，忽略该参数。仅供试算；真正提交前请确保每张参考图都已 PUT 上传成功（OSS 返回 2xx）。"},{"name":"layer_decomposition","in":"query","required":false,"schema":{"type":"boolean","description":"按 Seedream 图层拆分预扣金额试算。","default":false,"title":"Layer Decomposition"},"description":"按 Seedream 图层拆分预扣金额试算。"},{"name":"max_images","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":2},{"type":"null"}],"description":"拆分上限，默认 30。","title":"Max Images"},"description":"拆分上限，默认 30。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImagePriceEstimateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/models":{"get":{"tags":["image-models"],"summary":"获取图片模型列表与价格区间","description":"返回本服务当前支持生成并可计费的图片模型（image、banana、mj、seedream），字段与后端图片 Agent 的模型列表一致，但**不返回默认模型**。\n\n`models` 是模型目录：每项包含模型展示名称、A2A 模型标识、双语描述，`resolution_prices` 按 1K / 2K / 4K 返回单张 AGT 价格区间（不支持的档位为 `null`），以及按分辨率配置的 `background` / `quality` / `tips` / `resolution`。\n\n`items` 是兼容旧调用方的价格列表（含 `pricing_dimension` / `image_count` / `quality_prices`），新调用方请使用 `models`。\n\n模型只返回 `model_config` 中配置且未下线的项；`model_config` 缺失的模型仍会返回，但不带能力参数。无需鉴权。\n\n### 1K / 2K / 4K 价格区间说明\n\n`1K` / `2K` / `4K` 是计费档位，倍率来自模型价格配置；区间会随质量 / 参考图等维度变化。\n\n- 按 `size` 计价的模型：`auto` / 不传、长边 ≤ 1536 为 1K；\n  长边 < 3840 且总像素 ≤ 4,194,304 为 2K；其余为 4K。\n- Banana 按 `imageSize` 直接映射，不传按 1K。\n- MJ 没有分辨率档位，固定四图按 `sd` / `hd` 计价。","operationId":"list_models_api_v1_images_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageModelCatalogResponse"}}}}}}},"/api/v1/models":{"get":{"tags":["openai-models"],"summary":"拉取当前支持的模型列表（OpenAI 兼容）","description":"OpenAI 兼容的模型发现接口，返回 `{\"object\": \"list\", \"data\": [...]}`，官方 SDK 的 `client.models.list()` 可直接解析，无需适配层。\n\n只列出**当前可用的 GPT Image 模型**（`image` 分组）：它们由 `POST /api/v1/images/generations` 与 `POST /api/v1/images/edits` 执行，与 OpenAI 图片接口同构。Banana、MJ 使用各自的请求协议，只在 `GET /api/v1/images/models` 中返回（含价格档位），不会出现在这里。\n\n`data[].id` 就是生成接口的 `model` 参数；价格请查 `GET /api/v1/images/models` 或 `GET /api/v1/images/estimate_price`。\n\nOpenAI SDK 用法：`base_url` 设为 `https://<host>/api/v1`，`client.models.list()` 即调用本接口（`client.models.retrieve(id)` 对应 `GET /{id}`）。价格配置里下线（`model_config.status=0`）的模型不会返回。无需鉴权。","operationId":"list_models_api_v1_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenAIModelList"}}}}}}},"/api/v1/models/{model_id}":{"get":{"tags":["openai-models"],"summary":"拉取单个模型（OpenAI 兼容）","description":"OpenAI 兼容的 `GET /v1/models/{model}`：`model_id` 传模型列表返回的 `id`（展示名称，例如 `Image 2`），也兼容内部运行时标识（例如 `image-2`），大小写不敏感。","operationId":"retrieve_model_api_v1_models__model_id__get","parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"description":"模型 ID，取自 `GET /api/v1/models` 的 `data[].id`。","examples":["Image 2"],"title":"Model Id"},"description":"模型 ID，取自 `GET /api/v1/models` 的 `data[].id`。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenAIModel"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/edits":{"post":{"tags":["image"],"summary":"改图（默认同步，可切换异步）","description":"强烈建议使用异步方式进行请求（`mode=async`）：立即返回 `202` 和 `task_id`，再按 `Retry-After` 轮询任务；不传 `mode` 时默认 `sync`，会等待任务结束后返回。\n\n以 1-6 张参考图提交改图任务（单张不超过 10MB）。同时支持两种请求体：\n\n1. `application/json`：`images` 传公网 HTTPS URL、`POST /api/v1/files/presign` 返回的 OSS key，或 base64 图片（`data:image/png;base64,...` data URL 或纯 base64）；每一项也可写成 `{\"image_url\": \"...\"}` 对象；\n2. `multipart/form-data`：用可重复的 `image` 文件字段直接上传图片，兼容常见 SDK 的 `images.edit(image=..., prompt=...)`；`image` 文本字段也可传 URL、OSS key 或 base64 data URL。\n\n上传的文件与 base64 图片会先存到私有 OSS，任务表只保存 key，不保存 base64。\n\n⚠️ 使用 OSS key 时，请务必确认图片已 PUT 上传成功（OSS 返回 2xx）后再调用本接口；未上传成功的 key 会让运行时下载失败。\n\n`model` 传**模型展示名称**（`model_name`），取自模型列表或价格计算器。\n\n💳 计费：单张价格 = 基础费 × 质量倍率 × 分辨率倍率 × 参考图倍率；带参考图时才会乘参考图倍率，倍率从模型价格配置读取，总额向上取整到 4 位小数。任务失败会自动退回预扣，成功则保留扣费。本接口不支持试用额度。\n\n### 1K / 2K / 4K 计费档位\n\n`1K` / `2K` / `4K` 是**计费档位**，不是固定输出尺寸。服务端先按请求的 `size` 判定档位，\n再读取 `model_price_configs.output_resolution` 中对应的 `1k` / `2k` / `4k` 倍率：\n\n`单张价格 = 基础费 × 质量倍率 × 分辨率倍率`（改图另乘参考图倍率），\n总额在乘完张数后向上取整到 4 位小数；倍率缺失时按 `1×` 计算。\n\n判定规则（长边 = `max(width, height)`）：\n\n1. `size=auto` 或不传 → **1K**；\n2. 长边 ≤ 1536 → **1K**；\n3. 长边 < 3840 **且** 总像素 ≤ 2048×2048（4,194,304）→ **2K**；\n4. 其余情况 → **4K**。\n\n> 档位同时看长边和总像素，不能只看长边。例如 `2736x1536` 的长边是 2736（< 3840），\n> 但总像素为 4,202,496（> 4,194,304），因此按 **4K** 计价。\n\n**推荐比例和尺寸：`1:1` / `1024x1024`（1K 档）**，适合作为通用起手尺寸；\n需要横幅或竖幅时可使用下表中的其他比例。\n\n以下常用尺寸均满足「宽高为 16 的倍数、宽高比在 1:3 到 3:1 之间」的校验，\n并已按上述规则落到对应档位。它们是可直接使用的常用组合，不是强制枚举；\n你也可以传其他合法的 `WIDTHxHEIGHT`。\n\n| 比例 | 1K | 2K | 4K |\n| --- | --- | --- | --- |\n| `21:9` | `1456x624` | `3024x1296` | `3808x1632` |\n| `16:9` | `1536x864` | `2560x1440` | `3840x2160` |\n| `3:2` | `1536x1024` | `2496x1664` | `3504x2336` |\n| `4:3` | `1344x1008` | `2304x1728` | `3264x2448` |\n| `1:1` | `1024x1024` | `2048x2048` | `2880x2880` |\n| `3:4` | `1008x1344` | `1728x2304` | `2448x3264` |\n| `2:3` | `1024x1536` | `1664x2496` | `2336x3504` |\n| `9:16` | `864x1536` | `1440x2560` | `2160x3840` |\n\n### SVG / GIF 改图\n\n改图默认 `output_format=png`，也支持 `jpeg`、`webp`；只有 2.6 系列中的 SUB2API\n渠道模型额外支持 `svg` / `gif`，官方别名的改图接口仍只支持 PNG / JPEG / WebP。\n实际可用性取决于上游分组能力。\n\n- `svg` 仅支持 `n=1`；改图接口不接收 `svg` 编写模型配置。\n- `gif` 可用 `frame_count`（2–16）和 `frame_duration_ms`（20–2000 毫秒）；\n  multipart 表单中用整数字符串。\n- 帧参数只能与 `output_format=gif` 一起使用，否则返回 `422`。\n\n🔑 需要 Agent key 鉴权。查询参数 `a2a_openapi_request_id`（`a2a-openapi-<uuid>`）建议传，它就是 `task_id`：同一个任务固定用同一个 ID，网络重试时返回已有任务（`200`）而不会重复扣费，同一 ID 提交不同内容返回 `409`；不传时服务端自动生成，并通过响应头 `X-A2A-OpenAPI-Request-ID` 返回。每个用户同时未结束的任务数有上限，超出返回 `429`。\n\n⏱ `mode` 查询参数：默认 `sync`，提交后等待任务结束再返回。同步模式下，任务成功返回 `200`，图片运行时响应（`created`、`data` 等）直接位于顶层；任务失败返回 `error.status_code`（落在 400–599 之外时为 `502`），`error` 给出原因，预扣自动退回。超过服务端等待上限（默认 1800 秒）仍未结束时返回 `202` 与 `Location`，任务继续在后台执行，可用 `GET /api/v1/images/tasks/{task_id}` 查询，或用同一个 `a2a_openapi_request_id` 重新提交接着等（不会重复扣费）。`mode=async` 时立即返回 `202` 和 `task_id`，按响应头 `Retry-After` 轮询即可。同步等待期间不占用数据库连接。","operationId":"edit_image_api_v1_images_edits_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"mode","in":"query","required":false,"schema":{"enum":["sync","async"],"type":"string","description":"执行模式：默认 `sync`，提交后等待任务结束后返回；`async` 立即返回 `202` 和 `task_id`，请用 `GET /api/v1/images/tasks/{task_id}` 按 `Retry-After` 轮询。","default":"sync","title":"Mode"},"description":"执行模式：默认 `sync`，提交后等待任务结束后返回；`async` 立即返回 `202` 和 `task_id`，请用 `GET /api/v1/images/tasks/{task_id}` 按 `Retry-After` 轮询。"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"任务 ID（建议传），格式：a2a-openapi-uuid。不传时服务端自动生成，并通过响应头 X-A2A-OpenAPI-Request-ID 与响应体 task_id 返回。同一个任务固定传同一个 ID：网络重试时会直接返回已有任务而不会重复扣费；同一 ID 提交不同内容会被拒绝（409）。","title":"A2A Openapi Request Id"},"description":"任务 ID（建议传），格式：a2a-openapi-uuid。不传时服务端自动生成，并通过响应头 X-A2A-OpenAPI-Request-ID 与响应体 task_id 返回。同一个任务固定传同一个 ID：网络重试时会直接返回已有任务而不会重复扣费；同一 ID 提交不同内容会被拒绝（409）。"}],"responses":{"202":{"description":"`mode=async` 时任务已受理；`mode=sync` 时等待超时，任务仍在后台执行，用 `Location` 轮询或用同一个 ID 重新提交。","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageTaskResponse"}}}},"200":{"description":"重复提交返回已有任务；`mode=sync` 且任务成功时也返回 `200`。","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageTaskResponse"}}}},"502":{"description":"任务失败：状态码取自 `error.status_code`，预扣已自动退回。","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageTaskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageEditRequest"}},"multipart/form-data":{"schema":{"type":"object","required":["model","prompt","image"],"properties":{"model":{"type":"string"},"prompt":{"type":"string"},"image":{"type":"array","items":{"type":"string","format":"binary"},"description":"1-6 reference images; repeat the image field. Each part is a JPEG/PNG/WebP file, or a text value holding an HTTPS URL, OSS key, or base64 data URL."},"size":{"type":"string","default":"auto"},"quality":{"type":"string","default":"auto"},"background":{"type":"string","default":"auto"},"output_format":{"type":"string","enum":["png","jpeg","webp","svg","gif"],"default":"png","description":"只有 2.6 系列中的 SUB2API 渠道模型支持 svg / gif；SVG 要求 n=1。"},"frame_count":{"type":"integer","minimum":2,"maximum":16,"description":"GIF 动画帧数；仅 output_format=gif 时可用。"},"frame_duration_ms":{"type":"integer","minimum":20,"maximum":2000,"description":"GIF 每帧时长（毫秒）；仅 output_format=gif 时可用。"},"response_format":{"type":"string","enum":["url","b64_json"],"default":"url"},"n":{"type":"integer","minimum":1,"maximum":5,"default":1},"moderation":{"type":"string","default":"auto"},"input_fidelity":{"type":"string","default":"low"}}}}}}}},"/api/v1/images/generations":{"post":{"tags":["image"],"summary":"生图（默认同步，可切换异步）","description":"强烈建议使用异步方式进行请求（`mode=async`）：立即返回 `202` 和 `task_id`，再按 `Retry-After` 轮询任务；不传 `mode` 时默认 `sync`，会等待任务结束后返回。\n\n提交生图任务。\n\n`model` 传**模型展示名称**（`model_name`），可从 `GET /api/v1/images/models` 或价格计算器 `/api/v1/images/estimate_price` 的 `model_name` 获取；服务端会换回真实模型标识调用上游。\n\n`response_format=url`（默认）返回临时图片链接；`response_format=b64_json` 返回 base64。上游仍固定返回 URL，服务端仅在响应时下载并编码，数据库只保存 URL，不会写入 base64。\n\n💳 计费：按 `model_price_configs` 中该模型的图片价格配置预扣 AGT，单张价格 = 基础费 × 质量倍率 × 分辨率倍率（改图另乘参考图倍率），总额在乘完张数后向上取整到 4 位小数；`size=auto` 按 1K 档计价。任务失败会自动退回预扣，成功则保留扣费；上游部分图片失败时按实际返回张数结算。本接口不支持试用额度。\n\n### 1K / 2K / 4K 计费档位\n\n`1K` / `2K` / `4K` 是**计费档位**，不是固定输出尺寸。服务端先按请求的 `size` 判定档位，\n再读取 `model_price_configs.output_resolution` 中对应的 `1k` / `2k` / `4k` 倍率：\n\n`单张价格 = 基础费 × 质量倍率 × 分辨率倍率`（改图另乘参考图倍率），\n总额在乘完张数后向上取整到 4 位小数；倍率缺失时按 `1×` 计算。\n\n判定规则（长边 = `max(width, height)`）：\n\n1. `size=auto` 或不传 → **1K**；\n2. 长边 ≤ 1536 → **1K**；\n3. 长边 < 3840 **且** 总像素 ≤ 2048×2048（4,194,304）→ **2K**；\n4. 其余情况 → **4K**。\n\n> 档位同时看长边和总像素，不能只看长边。例如 `2736x1536` 的长边是 2736（< 3840），\n> 但总像素为 4,202,496（> 4,194,304），因此按 **4K** 计价。\n\n**推荐比例和尺寸：`1:1` / `1024x1024`（1K 档）**，适合作为通用起手尺寸；\n需要横幅或竖幅时可使用下表中的其他比例。\n\n以下常用尺寸均满足「宽高为 16 的倍数、宽高比在 1:3 到 3:1 之间」的校验，\n并已按上述规则落到对应档位。它们是可直接使用的常用组合，不是强制枚举；\n你也可以传其他合法的 `WIDTHxHEIGHT`。\n\n| 比例 | 1K | 2K | 4K |\n| --- | --- | --- | --- |\n| `21:9` | `1456x624` | `3024x1296` | `3808x1632` |\n| `16:9` | `1536x864` | `2560x1440` | `3840x2160` |\n| `3:2` | `1536x1024` | `2496x1664` | `3504x2336` |\n| `4:3` | `1344x1008` | `2304x1728` | `3264x2448` |\n| `1:1` | `1024x1024` | `2048x2048` | `2880x2880` |\n| `3:4` | `1008x1344` | `1728x2304` | `2448x3264` |\n| `2:3` | `1024x1536` | `1664x2496` | `2336x3504` |\n| `9:16` | `864x1536` | `1440x2560` | `2160x3840` |\n\n### SVG / GIF 输出\n\n`output_format` 默认 `png`，也支持 `jpeg`、`webp`；2.6 系列模型（含官方别名的生图接口）\n额外支持 `svg` 和 `gif`，其他模型传 `svg` / `gif` 返回 `422`。\n实际可用性取决于上游分组能力。\n\n- `svg` 仅支持 `n=1`；生成接口可通过 `svg.model` 指定 SVG 编写模型，\n  `svg.reasoning.effort` 可选 `none` / `minimal` / `low` / `medium` / `high` /\n  `xhigh` / `max`。省略 `svg` 时使用服务端默认编写模型。\n- `gif` 可用 `frame_count`（2–16，省略时上游默认 9）和 `frame_duration_ms`\n  （20–2000 毫秒，省略时上游默认 200，上游按 10 毫秒取整）。\n- `svg` / `frame_count` / `frame_duration_ms` 必须与对应输出格式一起使用，\n  否则返回 `422`。\n\n🔑 需要 Agent key 鉴权。查询参数 `a2a_openapi_request_id`（`a2a-openapi-<uuid>`）建议传，它就是 `task_id`：同一个任务固定用同一个 ID，网络重试时返回已有任务（`200`）而不会重复扣费，同一 ID 提交不同内容返回 `409`；不传时服务端自动生成，并通过响应头 `X-A2A-OpenAPI-Request-ID` 返回。每个用户同时未结束的任务数有上限，超出返回 `429`。\n\n⏱ `mode` 查询参数：默认 `sync`，提交后等待任务结束再返回。同步模式下，任务成功返回 `200`，图片运行时响应（`created`、`data` 等）直接位于顶层；任务失败返回 `error.status_code`（落在 400–599 之外时为 `502`），`error` 给出原因，预扣自动退回。超过服务端等待上限（默认 1800 秒）仍未结束时返回 `202` 与 `Location`，任务继续在后台执行，可用 `GET /api/v1/images/tasks/{task_id}` 查询，或用同一个 `a2a_openapi_request_id` 重新提交接着等（不会重复扣费）。`mode=async` 时立即返回 `202` 和 `task_id`，按响应头 `Retry-After` 轮询即可。同步等待期间不占用数据库连接。","operationId":"create_image_api_v1_images_generations_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"mode","in":"query","required":false,"schema":{"enum":["sync","async"],"type":"string","description":"执行模式：默认 `sync`，提交后等待任务结束后返回；`async` 立即返回 `202` 和 `task_id`，请用 `GET /api/v1/images/tasks/{task_id}` 按 `Retry-After` 轮询。","default":"sync","title":"Mode"},"description":"执行模式：默认 `sync`，提交后等待任务结束后返回；`async` 立即返回 `202` 和 `task_id`，请用 `GET /api/v1/images/tasks/{task_id}` 按 `Retry-After` 轮询。"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"任务 ID（建议传），格式：a2a-openapi-uuid。不传时服务端自动生成，并通过响应头 X-A2A-OpenAPI-Request-ID 与响应体 task_id 返回。同一个任务固定传同一个 ID：网络重试时会直接返回已有任务而不会重复扣费；同一 ID 提交不同内容会被拒绝（409）。","title":"A2A Openapi Request Id"},"description":"任务 ID（建议传），格式：a2a-openapi-uuid。不传时服务端自动生成，并通过响应头 X-A2A-OpenAPI-Request-ID 与响应体 task_id 返回。同一个任务固定传同一个 ID：网络重试时会直接返回已有任务而不会重复扣费；同一 ID 提交不同内容会被拒绝（409）。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageGenerationRequest"}}}},"responses":{"202":{"description":"`mode=async` 时任务已受理；`mode=sync` 时等待超时，任务仍在后台执行，用 `Location` 轮询或用同一个 ID 重新提交。","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageTaskResponse"}}}},"200":{"description":"重复提交返回已有任务；`mode=sync` 且任务成功时也返回 `200`。","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageTaskResponse"}}}},"502":{"description":"任务失败：状态码取自 `error.status_code`，预扣已自动退回。","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageTaskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/banana/generations":{"post":{"tags":["banana"],"summary":"生图/改图（Banana，默认同步，可切换异步）","description":"强烈建议使用异步方式进行请求（`mode=async`）：立即返回 `202` 和 `task_id`，再按 `Retry-After` 轮询任务；不传 `mode` 时默认 `sync`，会等待任务结束后返回。\n\n使用 Banana 原生请求体（`contents` / `parts`）提交生图或改图任务。本接口把模型放到请求体 `model` 参数里，路径固定。`model` 传**模型展示名称**（`model_name`，例如 `香蕉2.1`），可从 `GET /api/v1/images/models` 或价格计算器的 `model_name` 获取；服务端会换回真实模型标识调用上游。\n\n参考图支持 `imageUrl` 和 `inlineData` 两种方式。`imageUrl` 可传公网 HTTPS URL 或 `POST /api/v1/files/presign` 返回的 OSS key（单张不超过 10MB，服务端会把 key 重签名成 1 天有效的 URL）；`inlineData` 传 `mimeType` 与标准 base64 `data`，服务端解码并上传到私有 OSS，数据库只保存对象 key，不会保存 base64。⚠️ 使用 OSS key 时，请务必确认图片已 PUT 上传成功（OSS 返回 2xx）后再调用本接口，未上传成功的 key 会导致运行时下载失败。\n\n💳 计费：单张价格 = 基础费 × 分辨率倍率；`imageSize` 决定档位（1K / 2K / 4K，不传按 1K 计价），parts 中包含 `imageUrl` 或 `inlineData` 时再乘参考图倍率。任务失败会自动退回预扣，成功则保留扣费；上游部分图片失败时按实际返回张数结算。本接口不支持试用额度。\n\n### 1K / 2K / 4K 计费档位\n\nBanana 没有 `size`，由 `imageSize` 直接决定计费档位：`1K` → `1k`、`2K` → `2k`、\n`4K` → `4k`；不传 `imageSize` 按 `1K` 计价。公开请求只接受 `1K` / `2K` / `4K`。\n\n`单张价格 = 基础费 × 分辨率倍率`（带参考图时再乘参考图倍率），\n总额在乘完张数后向上取整到 4 位小数；倍率缺失时按 `1×` 计算。\n档位由 `imageSize` 决定，不按实际像素反推；下表的像素尺寸用于说明每个\n`aspectRatio` + `imageSize` 组合实际会请求多大的图。\n\n`aspectRatio` / `imageSize` 会按 `model` 解析后的模型校验；`香蕉Pro` 不支持 1:4、4:1、1:8、8:1，传入会返回 `422`。\n\n### Banana 图片比例与实际尺寸\n\nBanana 不接受任意 `WIDTHxHEIGHT`。请在 `generationConfig.responseFormat.image` 中组合 `aspectRatio` 和 `imageSize`；未提供时默认使用 `1:1` 和 `1K`。\n\n```json\n{\n  \"generationConfig\": {\n    \"responseFormat\": {\n      \"image\": {\"aspectRatio\": \"16:9\", \"imageSize\": \"2K\"}\n    }\n  }\n}\n```\n\n#### 香蕉2\n\n| `aspectRatio` | `1K` | `2K` | `4K` |\n| --- | --- | --- | --- |\n| `1:1` | `1024x1024` | `2048x2048` | `4096x4096` |\n| `1:4` | `512x2048` | `1024x4096` | `2048x8192` |\n| `1:8` | `384x3072` | `768x6144` | `1536x12288` |\n| `2:3` | `848x1264` | `1696x2528` | `3392x5056` |\n| `3:2` | `1264x848` | `2528x1696` | `5056x3392` |\n| `3:4` | `896x1200` | `1792x2400` | `3584x4800` |\n| `4:1` | `2048x512` | `4096x1024` | `8192x2048` |\n| `4:3` | `1200x896` | `2400x1792` | `4800x3584` |\n| `4:5` | `928x1152` | `1856x2304` | `3712x4608` |\n| `5:4` | `1152x928` | `2304x1856` | `4608x3712` |\n| `8:1` | `3072x384` | `6144x768` | `12288x1536` |\n| `9:16` | `768x1376` | `1536x2752` | `3072x5504` |\n| `16:9` | `1376x768` | `2752x1536` | `5504x3072` |\n| `21:9` | `1584x672` | `3168x1344` | `6336x2688` |\n\n#### 香蕉2.1\n\n| `aspectRatio` | `1K` | `2K` | `4K` |\n| --- | --- | --- | --- |\n| `1:1` | `1024x1024` | `2048x2048` | `4096x4096` |\n| `1:4` | `512x2048` | `1024x4096` | `2048x8192` |\n| `1:8` | `384x3072` | `768x6144` | `1536x12288` |\n| `2:3` | `848x1264` | `1696x2528` | `3392x5056` |\n| `3:2` | `1264x848` | `2528x1696` | `5056x3392` |\n| `3:4` | `896x1200` | `1792x2400` | `3584x4800` |\n| `4:1` | `2048x512` | `4096x1024` | `8192x2048` |\n| `4:3` | `1200x896` | `2400x1792` | `4800x3584` |\n| `4:5` | `928x1152` | `1856x2304` | `3712x4608` |\n| `5:4` | `1152x928` | `2304x1856` | `4608x3712` |\n| `8:1` | `3072x384` | `6144x768` | `12288x1536` |\n| `9:16` | `768x1376` | `1536x2752` | `3072x5504` |\n| `16:9` | `1376x768` | `2752x1536` | `5504x3072` |\n| `21:9` | `1584x672` | `3168x1344` | `6336x2688` |\n\n#### 香蕉Pro\n\n| `aspectRatio` | `1K` | `2K` | `4K` |\n| --- | --- | --- | --- |\n| `1:1` | `1024x1024` | `2048x2048` | `4096x4096` |\n| `2:3` | `848x1264` | `1696x2528` | `3392x5056` |\n| `3:2` | `1264x848` | `2528x1696` | `5056x3392` |\n| `3:4` | `896x1200` | `1792x2400` | `3584x4800` |\n| `4:3` | `1200x896` | `2400x1792` | `4800x3584` |\n| `4:5` | `928x1152` | `1856x2304` | `3712x4608` |\n| `5:4` | `1152x928` | `2304x1856` | `4608x3712` |\n| `9:16` | `768x1376` | `1536x2752` | `3072x5504` |\n| `16:9` | `1376x768` | `2752x1536` | `5504x3072` |\n| `21:9` | `1584x672` | `3168x1344` | `6336x2688` |\n\n🔑 需要 Agent key 鉴权。查询参数 `a2a_openapi_request_id`（`a2a-openapi-<uuid>`）建议传，它就是 `task_id`：同一个任务固定用同一个 ID，网络重试时返回已有任务（`200`）而不会重复扣费，同一 ID 提交不同内容返回 `409`；不传时服务端自动生成，并通过响应头 `X-A2A-OpenAPI-Request-ID` 返回。每个用户同时未结束的任务数有上限，超出返回 `429`。\n\n⏱ `mode` 查询参数：默认 `sync`，提交后等待任务结束再返回。同步模式下，任务成功返回 `200`，图片运行时响应（`created`、`data` 等）直接位于顶层；任务失败返回 `error.status_code`（落在 400–599 之外时为 `502`），`error` 给出原因，预扣自动退回。超过服务端等待上限（默认 1800 秒）仍未结束时返回 `202` 与 `Location`，任务继续在后台执行，可用 `GET /api/v1/images/tasks/{task_id}` 查询，或用同一个 `a2a_openapi_request_id` 重新提交接着等（不会重复扣费）。`mode=async` 时立即返回 `202` 和 `task_id`，按响应头 `Retry-After` 轮询即可。同步等待期间不占用数据库连接。","operationId":"create_image_api_v1_images_banana_generations_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"mode","in":"query","required":false,"schema":{"enum":["sync","async"],"type":"string","description":"执行模式：默认 `sync`，提交后等待任务结束后返回；`async` 立即返回 `202` 和 `task_id`，请用 `GET /api/v1/images/tasks/{task_id}` 按 `Retry-After` 轮询。","default":"sync","title":"Mode"},"description":"执行模式：默认 `sync`，提交后等待任务结束后返回；`async` 立即返回 `202` 和 `task_id`，请用 `GET /api/v1/images/tasks/{task_id}` 按 `Retry-After` 轮询。"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"任务 ID（建议传），格式：a2a-openapi-uuid。不传时服务端自动生成，并通过响应头 X-A2A-OpenAPI-Request-ID 与响应体 task_id 返回。同一个任务固定传同一个 ID：网络重试时会直接返回已有任务而不会重复扣费；同一 ID 提交不同内容会被拒绝（409）。","title":"A2A Openapi Request Id"},"description":"任务 ID（建议传），格式：a2a-openapi-uuid。不传时服务端自动生成，并通过响应头 X-A2A-OpenAPI-Request-ID 与响应体 task_id 返回。同一个任务固定传同一个 ID：网络重试时会直接返回已有任务而不会重复扣费；同一 ID 提交不同内容会被拒绝（409）。"}],"responses":{"202":{"description":"`mode=async` 时任务已受理；`mode=sync` 时等待超时，任务仍在后台执行，用 `Location` 轮询或用同一个 ID 重新提交。","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageTaskResponse"}}}},"200":{"description":"重复提交返回已有任务；`mode=sync` 且任务成功时也返回 `200`。","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageTaskResponse"}}}},"502":{"description":"任务失败：状态码取自 `error.status_code`，预扣已自动退回。","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageTaskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BananaGenerationRequest"}}}}}},"/api/v1/images/mj/generations":{"post":{"tags":["mj"],"summary":"四图生成（MJ，默认同步，可切换异步）","description":"强烈建议使用异步方式进行请求（`mode=async`）：立即返回 `202` 和 `task_id`，再按 `Retry-After` 轮询任务；不传 `mode` 时默认 `sync`，会等待任务结束后返回。\n\n提交 MJ 生图任务，一个任务固定生成四张图片。画面比例和清晰度等参数写在 `prompt` 的 flag 里；`prompt` 最多 1000 个字符（上游上限），超出返回 `422`。\n\nMJ 走固定的生图模型，请求体不需要也不能传 `model`；价格计算器里 MJ 的 `model_name` 仅用于试算/展示。\n\n参考图 `images` 最多 4 张、单张不超过 5MB：服务端只校验张数与格式，大小由运行时下载时校验。每一项可以是公网 HTTPS URL，也可以是 `POST /api/v1/files/presign` 返回的 OSS key（服务端会重签名成 1 天有效的 URL）。⚠️ 使用 OSS key 时，请务必确认图片已 PUT 上传成功（OSS 返回 2xx）后再调用本接口；未上传成功的 key 会导致运行时下载失败。\n\n💳 计费：MJ 没有分辨率维度，单张价格 = 基础费 × 清晰度倍率（`--sd` 默认 / `--hd`），总额按四张图片计算并向上取整到 4 位小数；参考图不额外计费。任务失败会自动退回预扣，成功则保留扣费；上游部分图片失败时按实际返回张数结算。本接口不支持试用额度。\n\n🔑 需要 Agent key 鉴权。查询参数 `a2a_openapi_request_id`（`a2a-openapi-<uuid>`）建议传，它就是 `task_id`：同一个任务固定用同一个 ID，网络重试时返回已有任务（`200`）而不会重复扣费，同一 ID 提交不同内容返回 `409`；不传时服务端自动生成，并通过响应头 `X-A2A-OpenAPI-Request-ID` 返回。每个用户同时未结束的任务数有上限，超出返回 `429`。\n\n⏱ `mode` 查询参数：默认 `sync`，提交后等待任务结束再返回。同步模式下，任务成功返回 `200`，图片运行时响应（`created`、`data` 等）直接位于顶层；任务失败返回 `error.status_code`（落在 400–599 之外时为 `502`），`error` 给出原因，预扣自动退回。超过服务端等待上限（默认 1800 秒）仍未结束时返回 `202` 与 `Location`，任务继续在后台执行，可用 `GET /api/v1/images/tasks/{task_id}` 查询，或用同一个 `a2a_openapi_request_id` 重新提交接着等（不会重复扣费）。`mode=async` 时立即返回 `202` 和 `task_id`，按响应头 `Retry-After` 轮询即可。同步等待期间不占用数据库连接。","operationId":"create_image_api_v1_images_mj_generations_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"mode","in":"query","required":false,"schema":{"enum":["sync","async"],"type":"string","description":"执行模式：默认 `sync`，提交后等待任务结束后返回；`async` 立即返回 `202` 和 `task_id`，请用 `GET /api/v1/images/tasks/{task_id}` 按 `Retry-After` 轮询。","default":"sync","title":"Mode"},"description":"执行模式：默认 `sync`，提交后等待任务结束后返回；`async` 立即返回 `202` 和 `task_id`，请用 `GET /api/v1/images/tasks/{task_id}` 按 `Retry-After` 轮询。"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"任务 ID（建议传），格式：a2a-openapi-uuid。不传时服务端自动生成，并通过响应头 X-A2A-OpenAPI-Request-ID 与响应体 task_id 返回。同一个任务固定传同一个 ID：网络重试时会直接返回已有任务而不会重复扣费；同一 ID 提交不同内容会被拒绝（409）。","title":"A2A Openapi Request Id"},"description":"任务 ID（建议传），格式：a2a-openapi-uuid。不传时服务端自动生成，并通过响应头 X-A2A-OpenAPI-Request-ID 与响应体 task_id 返回。同一个任务固定传同一个 ID：网络重试时会直接返回已有任务而不会重复扣费；同一 ID 提交不同内容会被拒绝（409）。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MjGenerationRequest"}}}},"responses":{"202":{"description":"`mode=async` 时任务已受理；`mode=sync` 时等待超时，任务仍在后台执行，用 `Location` 轮询或用同一个 ID 重新提交。","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageTaskResponse"}}}},"200":{"description":"重复提交返回已有任务；`mode=sync` 且任务成功时也返回 `200`。","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageTaskResponse"}}}},"502":{"description":"任务失败：状态码取自 `error.status_code`，预扣已自动退回。","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageTaskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/seedream/generations":{"post":{"tags":["seedream"],"summary":"Seedream 5.5 生图、改图与图层拆分","description":"使用 Agent key 提交任务。model 传模型列表的展示名。图片输入支持 HTTPS URL 和已上传的个人 OSS key，结果通过 data[].url 返回。Base64 输入和输出均返回 422。\n\nsize 支持宽x高，省略时使用 1024x1024。1K、2K、4K 简写分别对应 1024x1024、2048x2048、3840x2160。按像素面积计费，三档上限依次为 2610000、4630000、8294400。改图支持 1–10 张参考图，每张加收配置的参考图费。\n\nlayer_decomposition=true 时传一张图，支持 1K 或 2K，可省略 prompt。按 max_images 预扣（默认 30，范围 2–100），按实际返回图层数结算；输入图免费。text_recognition=true 时，图层可包含富文本 OCR。\n\n⏱ `mode` 查询参数：默认 `sync`，提交后等待任务结束再返回。同步模式下，任务成功返回 `200`，图片运行时响应（`created`、`data` 等）直接位于顶层；任务失败返回 `error.status_code`（落在 400–599 之外时为 `502`），`error` 给出原因，预扣自动退回。超过服务端等待上限（默认 1800 秒）仍未结束时返回 `202` 与 `Location`，任务继续在后台执行，可用 `GET /api/v1/images/tasks/{task_id}` 查询，或用同一个 `a2a_openapi_request_id` 重新提交接着等（不会重复扣费）。`mode=async` 时立即返回 `202` 和 `task_id`，按响应头 `Retry-After` 轮询即可。同步等待期间不占用数据库连接。","operationId":"create_seedream_image_api_v1_images_seedream_generations_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"mode","in":"query","required":false,"schema":{"enum":["sync","async"],"type":"string","description":"执行模式：默认 `sync`，提交后等待任务结束后返回；`async` 立即返回 `202` 和 `task_id`，请用 `GET /api/v1/images/tasks/{task_id}` 按 `Retry-After` 轮询。","default":"sync","title":"Mode"},"description":"执行模式：默认 `sync`，提交后等待任务结束后返回；`async` 立即返回 `202` 和 `task_id`，请用 `GET /api/v1/images/tasks/{task_id}` 按 `Retry-After` 轮询。"},{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"任务 ID（建议传），格式：a2a-openapi-uuid。不传时服务端自动生成，并通过响应头 X-A2A-OpenAPI-Request-ID 与响应体 task_id 返回。同一个任务固定传同一个 ID：网络重试时会直接返回已有任务而不会重复扣费；同一 ID 提交不同内容会被拒绝（409）。","title":"A2A Openapi Request Id"},"description":"任务 ID（建议传），格式：a2a-openapi-uuid。不传时服务端自动生成，并通过响应头 X-A2A-OpenAPI-Request-ID 与响应体 task_id 返回。同一个任务固定传同一个 ID：网络重试时会直接返回已有任务而不会重复扣费；同一 ID 提交不同内容会被拒绝（409）。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeedreamGenerationRequest"}}}},"responses":{"202":{"description":"`mode=async` 时任务已受理；`mode=sync` 时等待超时，任务仍在后台执行，用 `Location` 轮询或用同一个 ID 重新提交。","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageTaskResponse"}}}},"200":{"description":"重复提交返回已有任务；`mode=sync` 且任务成功时也返回 `200`。","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageTaskResponse"}}}},"502":{"description":"任务失败：状态码取自 `error.status_code`，预扣已自动退回。","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageTaskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/tasks/{task_id}":{"get":{"tags":["image-tasks"],"summary":"查询生图任务","description":"查询由生图提交接口创建的任务。`task_id` 即提交响应里的 `task_id`（等同于提交时的 `a2a_openapi_request_id`）。\n\n`status` 依次为 `queued` → `running` → `succeeded` / `failed`。未结束时响应带 `Retry-After`（秒），建议按该间隔轮询；`succeeded` 时图片运行时响应（`created`、`data` 等）直接位于顶层；`response_format=url` 时图片地址为临时链接，`response_format=b64_json` 时返回 base64（仅在响应时生成，不写入数据库）；`failed` 时 `error` 给出原因，扣费会自动退回。\n\n部分图片失败时仍为 `succeeded`，`billed_image_count` 小于 `image_count`，仅按实际返回的张数计费。\n\n本接口不计费，只能查询自己的任务。🔑 需要 Agent key 鉴权。","operationId":"get_image_task_api_v1_images_tasks__task_id__get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","pattern":"^a2a-openapi-[0-9a-fA-F-]{36}$","description":"任务 ID，格式：a2a-openapi-uuid。","examples":["a2a-openapi-3f0c9a52-6b2f-4a53-9d6a-2f5f1c1f9a10"],"title":"Task Id"},"description":"任务 ID，格式：a2a-openapi-uuid。"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageTaskResponse"}}}},"404":{"description":"任务不存在，或不属于当前用户。"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/files/presign":{"post":{"tags":["files"],"summary":"申请参考图直传签名（预签名 PUT）","description":"生成一个预签名 PUT 地址；客户端把图片字节直接 PUT 到 OSS，再用返回的 `key` 作为参考图。图片不经过本服务。\n\n⚠️ 必须等 PUT 上传成功（OSS 返回 2xx）后再使用 `key`；上传未完成或失败时，`key` 不指向真实对象，传给参考图接口会导致运行时下载失败。\n\n只支持 `image/jpeg`、`image/png`、`image/webp`，单张最大 10 MB。PUT 时必须带响应里 `headers` 中的 `Content-Type` 和 `Content-Length`（都在签名里，不一致会返回 `SignatureDoesNotMatch`）。签名有效期默认 1 小时。\n\nPUT 成功后把 `key` 放进改图的 `images`、Banana 的 `imageUrl.url`，或 MJ 的 `images`；服务端调用图片运行时时会重新签名成读取 URL。再次提醒：**请确认上传成功后再调用生成接口**。\n\n🔑 需要 Agent key 鉴权。","operationId":"presign_reference_image_api_v1_files_presign_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileUploadPresignRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileUploadPresignResponse"}}}},"413":{"description":"文件超过 10 MB。"},"415":{"description":"不是 JPEG / PNG / WebP。"},"503":{"description":"当前环境未配置 OSS。"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"AgentKeyBearer":[]}]}},"/api/v1/video/minimax/estimate_price":{"post":{"tags":["minimax-video"],"summary":"计算 MiniMax 视频价格","description":"测量素材并返回完整费用明细，不提交任务、不扣费。根据请求体自动选择 generation 普通生成或 regeneration 再生成价格，无需传 price_type。对应类型价格未配置或停用返回 503，不回退到其他类型。报价随配置变化，实际扣费以提交时快照为准。V1 普通生成输出时长为 4–15 秒整数；输入视频/音频每段不超过 15 秒，参考视频和参考音频总时长各不超过 15 秒，再生成源视频不超过 15 秒。","operationId":"estimate_minimax_video_price_api_v1_video_minimax_estimate_price_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/GenerationRequest"},{"$ref":"#/components/schemas/RegenerationRequest"}],"title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Estimate Minimax Video Price Api V1 Video Minimax Estimate Price Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"AgentKeyBearer":[]}]}},"/api/v1/video/minimax/h3_context_ir":{"post":{"tags":["minimax-video"],"summary":"MiniMax H3 提示词增强","description":"按次 API 调用计费，默认 0 AGT/次；实际价格以接口价格配置为准。不按视频/音频秒数、图片张数或 token 计费，也不为报价下载素材。生成结果异步：直接提交上游后创建任务并返回 202，按 Location 轮询；同一任务幂等重试不重复收费。配置为付费时提交预扣，失败或超时退款；billing_settled 表示结算或退款已确认。","operationId":"enhance_minimax_prompt_api_v1_video_minimax_h3_context_ir_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"幂等任务 ID：a2a-openapi-uuid；不传则自动生成。重试请复用。","title":"A2A Openapi Request Id"},"description":"幂等任务 ID：a2a-openapi-uuid；不传则自动生成。重试请复用。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoTaskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/minimax/models":{"get":{"tags":["minimax-video"],"summary":"MiniMax 视频模型与价格（已废弃）","description":"此接口仅列出 MiniMax。请迁移到 `GET /api/v1/video/models` 查询视频模型与价格。","operationId":"list_minimax_video_models_api_v1_video_minimax_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response List Minimax Video Models Api V1 Video Minimax Models Get"}}}}},"deprecated":true}},"/api/v1/video/minimax/tasks/{task_id}":{"get":{"tags":["minimax-video"],"summary":"查询 MiniMax H3 视频任务（已废弃）","description":"过渡期内可继续使用。请使用原 task_id 迁移到 `GET /api/v1/video/{task_id}`。","operationId":"get_minimax_video_task_api_v1_video_minimax_tasks__task_id__get","deprecated":true,"security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoTaskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/minimax/v2/estimate_price":{"post":{"tags":["minimax-video"],"summary":"计算 MiniMax V2 视频价格","description":"测量素材并返回 V2 报价，不提交、不扣费；fast_mode 优先通道费用为普通通道的 2 倍。参考视频/音频每段 2–15 秒，参考视频和参考音频总时长各不超过 15 秒。","operationId":"estimate_minimax_video_price_v2_api_v1_video_minimax_v2_estimate_price_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/V2GenerationRequest"},{"$ref":"#/components/schemas/V2RegenerationRequest"}],"title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Estimate Minimax Video Price V2 Api V1 Video Minimax V2 Estimate Price Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"AgentKeyBearer":[]}]}},"/api/v1/video/minimax/v2/video_generation":{"post":{"tags":["minimax-video"],"summary":"MiniMax H3 V2 视频生成","description":"异步任务返回 202，按 Location 轮询；失败或超时全额退款。使用 api_version=v2 的独立模型价格，不回退到 v1；价格未配置返回 503。服务端按输出时长自动匹配价格档位；已有启用配置但时长不在任何档位内返回 422，不扣费。服务端测量素材并生成扣费快照，同一请求 ID 幂等重放不重复扣费。参考视频/音频每段 2–15 秒，参考视频和参考音频总时长各不超过 15 秒。支持 480P/768P/1080P/2K、4–30 秒，fast_mode 优先通道费用为 2 倍。","operationId":"generate_minimax_video_v2_api_v1_video_minimax_v2_video_generation_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"幂等任务 ID：a2a-openapi-uuid；不传则自动生成。重试请复用。","title":"A2A Openapi Request Id"},"description":"幂等任务 ID：a2a-openapi-uuid；不传则自动生成。重试请复用。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2GenerationRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoTaskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/minimax/v2/video_regeneration":{"post":{"tags":["minimax-video"],"summary":"MiniMax H3 V2 768P 再生成 2K","description":"异步任务返回 202，按 Location 轮询；失败或超时全额退款。使用 api_version=v2 的独立模型价格，不回退到 v1；价格未配置返回 503。服务端按输出时长自动匹配价格档位；已有启用配置但时长不在任何档位内返回 422，不扣费。服务端测量素材并生成扣费快照，同一请求 ID 幂等重放不重复扣费。参考视频/音频每段 2–15 秒，参考视频和参考音频总时长各不超过 15 秒。使用 regeneration 价格；source_task_id 必须是自己的成功 V2 768P 任务。","operationId":"regenerate_minimax_video_v2_api_v1_video_minimax_v2_video_regeneration_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"幂等任务 ID：a2a-openapi-uuid；不传则自动生成。重试请复用。","title":"A2A Openapi Request Id"},"description":"幂等任务 ID：a2a-openapi-uuid；不传则自动生成。重试请复用。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2RegenerationRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoTaskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/minimax/video_generation":{"post":{"tags":["minimax-video"],"summary":"MiniMax H3 视频生成","description":"生成结果异步：扣费后立即提交上游，收到接受或明确拒绝后创建任务并返回 202，按 Location 轮询。失败或超时全额退款，退款未确认时 billing_settled=false，后台持续重试。价格未配置返回 503，不发起免费任务。提交前统计图片张数并测量视频/音频秒数，按 AGT 单价累加后向上保留 4 位小数扣费。服务端按输出时长自动选择价格档位；已有价格但时长未覆盖返回 422，不扣费。视频/音频使用公网 HTTP(S) 或 Base64 data URI；mm_file 图片按张计量。V1 普通生成输出时长为 4–15 秒整数；输入视频/音频每段不超过 15 秒，参考视频和参考音频总时长各不超过 15 秒，再生成源视频不超过 15 秒。使用 price_type=generation 的普通生成价格。","operationId":"generate_minimax_video_api_v1_video_minimax_video_generation_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"幂等任务 ID：a2a-openapi-uuid；不传则自动生成。重试请复用。","title":"A2A Openapi Request Id"},"description":"幂等任务 ID：a2a-openapi-uuid；不传则自动生成。重试请复用。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoTaskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/minimax/video_regeneration":{"post":{"tags":["minimax-video"],"summary":"MiniMax H3 768P 再生成 2K","description":"生成结果异步：扣费后立即提交上游，收到接受或明确拒绝后创建任务并返回 202，按 Location 轮询。失败或超时全额退款，退款未确认时 billing_settled=false，后台持续重试。价格未配置返回 503，不发起免费任务。提交前统计图片张数并测量视频/音频秒数，按 AGT 单价累加后向上保留 4 位小数扣费。服务端按输出时长自动选择价格档位；已有价格但时长未覆盖返回 422，不扣费。视频/音频使用公网 HTTP(S) 或 Base64 data URI；mm_file 图片按张计量。V1 普通生成输出时长为 4–15 秒整数；输入视频/音频每段不超过 15 秒，参考视频和参考音频总时长各不超过 15 秒，再生成源视频不超过 15 秒。使用 price_type=regeneration 的独立再生成价格；未配置或停用时返回 503，不使用普通生成价格。","operationId":"regenerate_minimax_video_api_v1_video_minimax_video_regeneration_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"幂等任务 ID：a2a-openapi-uuid；不传则自动生成。重试请复用。","title":"A2A Openapi Request Id"},"description":"幂等任务 ID：a2a-openapi-uuid；不传则自动生成。重试请复用。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegenerationRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoTaskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/magi-2/estimate_price":{"post":{"tags":["magi-video"],"summary":"计算 MAGI-2 视频价格","description":"使用与创建任务相同的请求体，支持文生、图生及参考素材生成。按当前启用价格和实测素材用量返回费用明细，total_agt 为预计总价。报价不创建任务、不扣费。实际费用以创建时的价格快照为准。两种接口均必填提示词。\n\n| 生成模式 | `mode` 取值 | 素材要求 |\n| --- | --- | --- |\n| 文生视频 | `text-to-video` | 只需提示词。 |\n| 图生视频 | `image-to-video` | 首帧图片必填，可选尾帧图片。 |\n| 参考素材生视频 | `reference-to-video` | 至少提供一个素材，最多 10 张图、5 段视频和 5 段音频，可混用。 |\n\n### 素材限制\n\n| 素材 | 单文件大小 | 格式 | 数量和时长 |\n| --- | --- | --- | --- |\n| 首尾帧图片 | < 30 MB | JPEG、PNG、WebP、BMP、TIFF、GIF、HEIC、HEIF | 首帧 1 张，尾帧可选 1 张 |\n| 参考图片 | < 30 MB | JPEG、PNG、WebP、BMP、TIFF、GIF、HEIC、HEIF | 最多 10 张 |\n| 参考视频 | ≤ 200 MB | MP4、MOV（H.264 或 H.265） | 最多 5 段，单段 2–30 秒，视频合计最多 30 秒 |\n| 参考音频 | ≤ 15 MB | WAV、MP3 | 最多 5 段，单段 2–30 秒，音频合计最多 30 秒 |\n\n1 MB 为 1,000,000 字节。图片宽、高均须在 16–10,000 像素之间，总像素最多 1,600 万，长边最多为短边的 100 倍。\n\n请将示例地址替换为可公开下载的 HTTP(S) 直链，并确保排队期间链接仍可下载。\n估价和提交时会测量参考视频、音频的实际时长，素材格式和大小以处理时读取的文件为准。","operationId":"estimate_magi_video_price_api_v1_video_magi_2_estimate_price_post","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/MagiTextRequest"},{"$ref":"#/components/schemas/MagiImageRequest"},{"$ref":"#/components/schemas/MagiReferenceRequest"}],"title":"视频生成参数","discriminator":{"propertyName":"mode","mapping":{"text-to-video":"#/components/schemas/MagiTextRequest","image-to-video":"#/components/schemas/MagiImageRequest","reference-to-video":"#/components/schemas/MagiReferenceRequest"}}},"examples":{"text-to-video":{"summary":"文生视频","value":{"mode":"text-to-video","prompt":"海浪轻拍礁石，镜头缓慢推近。","duration":5}},"image-to-video":{"summary":"图生视频（首尾帧）","value":{"mode":"image-to-video","prompt":"从清晨的海岸过渡到日落。","image":"https://example.com/dawn.jpg","last_image":"https://example.com/sunset.jpg"}},"reference-to-video":{"summary":"参考素材生视频（图、视频和音频混用）","value":{"mode":"reference-to-video","prompt":"让图中的小船随浪起伏，参考视频的镜头移动和音频的节奏。","images":["https://example.com/boat.jpg"],"videos":["https://example.com/waves.mp4"],"audios":["https://example.com/sea.wav"]}}}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Estimate Magi Video Price Api V1 Video Magi 2 Estimate Price Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"AgentKeyBearer":[]}]}},"/api/v1/video/magi-2/video_generation":{"post":{"tags":["magi-video"],"summary":"MAGI-2 视频生成","description":"三种模式均必填提示词。输出 1080P，时长 4–30 秒。按输出时长选价，按输入视频/音频秒数、图片张数与输出秒数计费。缺价返回 503。提交后按 Location 查询（GET /api/v1/video/{task_id}），失败或超时全额退款。\n\n| 生成模式 | `mode` 取值 | 素材要求 |\n| --- | --- | --- |\n| 文生视频 | `text-to-video` | 只需提示词。 |\n| 图生视频 | `image-to-video` | 首帧图片必填，可选尾帧图片。 |\n| 参考素材生视频 | `reference-to-video` | 至少提供一个素材，最多 10 张图、5 段视频和 5 段音频，可混用。 |\n\n### 素材限制\n\n| 素材 | 单文件大小 | 格式 | 数量和时长 |\n| --- | --- | --- | --- |\n| 首尾帧图片 | < 30 MB | JPEG、PNG、WebP、BMP、TIFF、GIF、HEIC、HEIF | 首帧 1 张，尾帧可选 1 张 |\n| 参考图片 | < 30 MB | JPEG、PNG、WebP、BMP、TIFF、GIF、HEIC、HEIF | 最多 10 张 |\n| 参考视频 | ≤ 200 MB | MP4、MOV（H.264 或 H.265） | 最多 5 段，单段 2–30 秒，视频合计最多 30 秒 |\n| 参考音频 | ≤ 15 MB | WAV、MP3 | 最多 5 段，单段 2–30 秒，音频合计最多 30 秒 |\n\n1 MB 为 1,000,000 字节。图片宽、高均须在 16–10,000 像素之间，总像素最多 1,600 万，长边最多为短边的 100 倍。\n\n请将示例地址替换为可公开下载的 HTTP(S) 直链，并确保排队期间链接仍可下载。\n估价和提交时会测量参考视频、音频的实际时长，素材格式和大小以处理时读取的文件为准。\n\n已提交的任务在处理时确认素材大小超限，查询结果会返回 `status=failed`，`error.code` 为 `INPUT_MEDIA_TOO_LARGE`。","operationId":"generate_magi_video_api_v1_video_magi_2_video_generation_post","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"a2a_openapi_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"幂等任务 ID：a2a-openapi-uuid；不传则自动生成。重试请复用。","title":"A2A Openapi Request Id"},"description":"幂等任务 ID：a2a-openapi-uuid；不传则自动生成。重试请复用。"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/MagiTextRequest"},{"$ref":"#/components/schemas/MagiImageRequest"},{"$ref":"#/components/schemas/MagiReferenceRequest"}],"discriminator":{"propertyName":"mode","mapping":{"text-to-video":"#/components/schemas/MagiTextRequest","image-to-video":"#/components/schemas/MagiImageRequest","reference-to-video":"#/components/schemas/MagiReferenceRequest"}},"title":"视频生成参数"},"examples":{"text-to-video":{"summary":"文生视频","value":{"mode":"text-to-video","prompt":"海浪轻拍礁石，镜头缓慢推近。","duration":5}},"image-to-video":{"summary":"图生视频（首尾帧）","value":{"mode":"image-to-video","prompt":"从清晨的海岸过渡到日落。","image":"https://example.com/dawn.jpg","last_image":"https://example.com/sunset.jpg"}},"reference-to-video":{"summary":"参考素材生视频（图、视频和音频混用）","value":{"mode":"reference-to-video","prompt":"让图中的小船随浪起伏，参考视频的镜头移动和音频的节奏。","images":["https://example.com/boat.jpg"],"videos":["https://example.com/waves.mp4"],"audios":["https://example.com/sea.wav"]}}}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoTaskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/models":{"get":{"tags":["video-tasks"],"summary":"视频模型与价格","description":"按模型和接口版本列出 MiniMax H3、MAGI-2 当前启用的 AGT 单价。prices 按生成类型、分辨率及输出时长分档，时长上下限均包含在内。","operationId":"list_video_models_api_v1_video_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoModelCatalog"}}}}}}},"/api/v1/video/{task_id}":{"get":{"tags":["video-tasks"],"summary":"查询视频任务","description":"使用创建接口返回的 task_id（a2a-openapi-UUID），或直接访问创建响应的 Location。使用 Agent Key 鉴权，仅可查询当前用户的任务。任务进行中或费用结算中，按 Retry-After 响应头给出的秒数再次查询。成功后从 result 读取结果。","operationId":"get_video_task_api_v1_video__task_id__get","security":[{"AgentKeyBearer":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoTaskResponse"}}}},"404":{"description":"任务不存在或不属于当前用户。"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/a2afans/users/me":{"get":{"tags":["a2afans-users"],"summary":"获取 Agent 所属用户信息","operationId":"get_me_api_v1_a2afans_users_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserMeResponse"}}}}},"security":[{"AgentKeyBearer":[]}]}},"/api/v1/healthz":{"get":{"tags":["meta"],"summary":"健康检查","operationId":"healthz_api_v1_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthResponse"}}}}}}},"/api/v1/prices":{"get":{"tags":["pricing"],"summary":"查询启用的接口价格","operationId":"list_prices_api_v1_prices_get","parameters":[{"name":"path","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":255},{"type":"null"}],"title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiPriceResponse"},"title":"Response List Prices Api V1 Prices Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/prices/by-tags":{"get":{"tags":["pricing"],"summary":"按标签分页查询启用的接口详情","description":"按标签数组分页查询启用的 API；多个标签按 OR 关系匹配。无需鉴权。","operationId":"list_prices_by_tags_api_v1_prices_by_tags_get","parameters":[{"name":"tags","in":"query","required":true,"schema":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":64,"title":"Tags"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"price_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["free","paid"],"type":"string"},{"type":"null"}],"title":"Price Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiPriceListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"ApiPriceListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ApiPriceResponse"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"limit":{"type":"integer","minimum":1.0,"title":"Limit"},"offset":{"type":"integer","minimum":0.0,"title":"Offset"}},"type":"object","required":["items","total","limit","offset"],"title":"ApiPriceListResponse","description":"One paginated page of enabled API prices."},"ApiPriceResponse":{"properties":{"path":{"type":"string","maxLength":255,"minLength":1,"title":"Path"},"agt_price":{"anyOf":[{"type":"integer"},{"type":"number"}],"title":"Agt Price"},"allow_daily_agt":{"type":"boolean","title":"Allow Daily Agt"},"tag":{"type":"string","title":"Tag"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["path","agt_price","allow_daily_agt","tag","name"],"title":"ApiPriceResponse"},"AudioContent":{"properties":{"type":{"type":"string","const":"audio_url","title":"Type"},"audio_url":{"$ref":"#/components/schemas/MediaURL"},"role":{"type":"string","const":"reference_audio","title":"Role"}},"additionalProperties":false,"type":"object","required":["type","audio_url","role"],"title":"AudioContent"},"BloggerListRequest":{"properties":{"page_num":{"type":"integer","title":"Page Num","description":"页码，1-250（上游只开放前 5000 条）/ Page, 1-250"},"page_size":{"type":"integer","title":"Page Size","description":"每页数量，1-20（建议保持 20）/ Page size, 1-20"},"keyword":{"type":"string","title":"Keyword","description":"搜索词；留空表示只筛选不搜索"},"search_type":{"type":"integer","title":"Search Type","description":"搜索方式：1=按笔记关键词找博主，0=按昵称搜索"},"column":{"type":"string","title":"Column","description":"排序字段；可选值见接口说明"},"sort":{"type":"string","title":"Sort","description":"排序方向：desc 或 asc"},"brand_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand User Id","description":"品牌方或广告主用户 ID，可不填"},"similar_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Similar User Id","description":"目标博主 userId；可与其他筛选条件叠加"},"similar_word":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Similar Word","description":"目标博主昵称，仅用于回显，不影响结果"},"goal":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Goal","description":"合作目标筛选"},"blogger":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Blogger","description":"博主属性筛选"},"fans":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Fans","description":"粉丝画像筛选"},"note":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Note","description":"日常笔记数据筛选"},"coop":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Coop","description":"合作笔记数据筛选"},"live":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Live","description":"直播数据筛选"},"flags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Flags","description":"开关类筛选"}},"type":"object","title":"BloggerListRequest"},"ContentSquareRequest":{"properties":{"biz_type":{"type":"integer","title":"Biz Type","description":"榜单：1=热门，2=产品种草，3=电商推广，4=蒲公英合作，5=客资收集，6=电商热门，7=种草直达，8=应用推广"},"page_num":{"type":"integer","title":"Page Num","description":"页码；每个榜单固定只有 100 条"},"page_size":{"type":"integer","title":"Page Size","description":"每页数量，1-34（网页固定 34）"},"search_word":{"type":"string","title":"Search Word","description":"关键词；留空查看整榜，支持英文逗号分隔批量搜索"},"order_by":{"type":"string","title":"Order By","description":"排序字段；留空使用该榜默认排序"},"date_range":{"type":"integer","title":"Date Range","description":"统计窗口：近 3、7、14 或 30 日"},"sub_biz_type":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sub Biz Type","description":"仅榜 8：1=应用下载，2=小程序推广，3=应用唤起"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category","description":"仅榜 1：类目，格式如 \"内容类目#美妆\""},"industry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industry","description":"榜 2-8（除榜 1）：所属行业名，取值集因榜而异"},"note_type":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Note Type","description":"内容类型：1=图文，2=视频"},"content_type":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Content Type","description":"内容来源：1=博主合作，2=明星合作，3=员工，5=买手，6=专业号，11=主理人，-1=用户"},"theme":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Theme","description":"榜 2/4/5/7/8：题材名称"},"author_type":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Author Type","description":"仅榜 4：1=蒲公英博主，2=明星"},"placement":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Placement","description":"榜 2/3/5/7/8：流量场域，1=发现，2=搜索，3=视频内流"},"marketing_target":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Marketing Target","description":"仅榜 3：3=商品推广，8=直播推广"},"price":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Price","description":"仅榜 4：创作者报价筛选"},"fans":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Fans","description":"仅榜 4：创作者粉丝量区间"}},"type":"object","required":["biz_type"],"title":"ContentSquareRequest"},"ContextRequest":{"properties":{"model":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Model"},"content":{"items":{"oneOf":[{"$ref":"#/components/schemas/TextContent"},{"$ref":"#/components/schemas/ImageContent"},{"$ref":"#/components/schemas/VideoContent"},{"$ref":"#/components/schemas/AudioContent"}],"discriminator":{"propertyName":"type","mapping":{"audio_url":"#/components/schemas/AudioContent","image_url":"#/components/schemas/ImageContent","text":"#/components/schemas/TextContent","video_url":"#/components/schemas/VideoContent"}}},"type":"array","maxItems":14,"minItems":1,"title":"Content","description":"内容数组，可在同一数组中组合文字、图片、视频、音频。每个元素通过 type 指定一种结构：text、image_url、video_url 或 audio_url；文档中的 oneOf 仅约束单个元素，不要求整个数组使用同一种类型。首尾帧不能与参考素材混用；参考图片/视频/音频分别最多 9/3/3 个，合计最多 12 个。必须恰好包含一个非空 text（最多 7000 字符）；不接受 base_video。"},"duration":{"type":"integer","maximum":30.0,"minimum":4.0,"title":"Duration","description":"目标视频时长，4–30 秒整数。"},"ratio":{"anyOf":[{"type":"string","enum":["adaptive","21:9","16:9","4:3","1:1","3:4","9:16"]},{"type":"null"}],"title":"Ratio","description":"文生必须指定具体比例；参考生默认 adaptive。"}},"additionalProperties":false,"type":"object","required":["model","content","duration"],"title":"ContextRequest"},"DataRelayResponse":{"properties":{"code":{"type":"integer","title":"Code","default":200},"a2a_openapi_request_id":{"type":"string","pattern":"^a2a-openapi-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","title":"A2A Openapi Request Id","description":"链路溯源 ID，格式：a2a-openapi-uuid；回显提交值，未提交时由系统生成。"},"data":{"title":"Data"}},"type":"object","required":["a2a_openapi_request_id"],"title":"DataRelayResponse","description":"Envelope returned by data-relay business endpoints."},"DataSummaryRequest":{"properties":{"user_id":{"type":"string","title":"User Id","description":"博主用户 ID / Blogger user ID"},"business":{"type":"integer","title":"Business","description":"笔记口径：0=日常笔记，1=合作笔记"}},"type":"object","required":["user_id"],"title":"DataSummaryRequest"},"FansHistoryRequest":{"properties":{"user_id":{"type":"string","title":"User Id","description":"博主用户 ID / Blogger user ID"},"increase_type":{"type":"integer","title":"Increase Type","description":"曲线口径：1=粉丝总量，2=每日新增"},"date_type":{"type":"integer","title":"Date Type","description":"时间范围：1=近 30 日，2=近 60 日"}},"type":"object","required":["user_id"],"title":"FansHistoryRequest"},"FileUploadPresignRequest":{"properties":{"filename":{"type":"string","maxLength":255,"minLength":1,"title":"Filename","description":"原始文件名，仅用于记录/展示；扩展名由 `content_type` 决定。","examples":["reference.png"]},"content_type":{"type":"string","maxLength":255,"minLength":1,"title":"Content Type","description":"图片 MIME 类型，支持 `image/jpeg` / `image/png` / `image/webp`。**会写进签名**——PUT 时必须带同一个 `Content-Type`，否则 OSS 拒收。","examples":["image/png"]},"content_length":{"type":"integer","exclusiveMinimum":0.0,"title":"Content Length","description":"文件字节数，单张最大 10MB（10485760 字节）。**会写进签名**——PUT 时的 `Content-Length` 必须与它完全一致，否则 OSS 返回 `SignatureDoesNotMatch`。","examples":[48213]}},"type":"object","required":["filename","content_type","content_length"],"title":"FileUploadPresignRequest","description":"``POST /api/v1/files/presign`` — request a direct-upload signature.","examples":[{"content_length":48213,"content_type":"image/png","filename":"reference.png"}]},"FileUploadPresignResponse":{"properties":{"key":{"type":"string","title":"Key","description":"对象的 OSS key；**必须先确认 PUT 上传成功（OSS 返回 2xx）**，再把它当作参考图 key 调用改图 / Banana / MJ 接口；未上传成功的 key 会导致运行时下载失败。"},"upload_url":{"type":"string","title":"Upload Url","description":"带时效的预签名 PUT 地址，直接把图片字节 PUT 到这里。"},"method":{"type":"string","const":"PUT","title":"Method","description":"上传 HTTP 方法，固定 PUT。","default":"PUT"},"headers":{"additionalProperties":{"type":"string"},"type":"object","title":"Headers","description":"PUT 时必须原样带上的请求头（至少含 Content-Type，需与签名一致）。"},"expires_in":{"type":"integer","minimum":1.0,"title":"Expires In","description":"签名 URL 的有效秒数；默认 3600（1 小时）。"}},"type":"object","required":["key","upload_url","headers","expires_in"],"title":"FileUploadPresignResponse","description":"拿到 key 后仍需完成 PUT 上传；只有 PUT 返回 2xx 时 key 才指向真实对象，才能用于参考图接口。","examples":[{"expires_in":3600,"headers":{"Content-Length":"48213","Content-Type":"image/png"},"key":"prod/openapi/uploads/123e4567-e89b-12d3-a456-426614174000/reference/9f3c4e.png","method":"PUT","upload_url":"https://a2afans.oss-cn-chengdu.aliyuncs.com/prod/openapi/uploads/123e4567-e89b-12d3-a456-426614174000/reference/9f3c4e.png?x-oss-signature=..."}]},"GenerationRequest":{"properties":{"model":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Model"},"content":{"items":{"oneOf":[{"$ref":"#/components/schemas/TextContent"},{"$ref":"#/components/schemas/ImageContent"},{"$ref":"#/components/schemas/VideoContent"},{"$ref":"#/components/schemas/AudioContent"}],"discriminator":{"propertyName":"type","mapping":{"audio_url":"#/components/schemas/AudioContent","image_url":"#/components/schemas/ImageContent","text":"#/components/schemas/TextContent","video_url":"#/components/schemas/VideoContent"}}},"type":"array","maxItems":14,"minItems":1,"title":"Content","description":"内容数组，可在同一数组中组合文字、图片、视频、音频。每个元素通过 type 指定一种结构：text、image_url、video_url 或 audio_url；文档中的 oneOf 仅约束单个元素，不要求整个数组使用同一种类型。首尾帧不能与参考素材混用；参考图片/视频/音频分别最多 9/3/3 个，合计最多 12 个。必须恰好包含一个非空 text（最多 7000 字符）；不接受 base_video。"},"duration":{"type":"integer","maximum":15.0,"minimum":4.0,"title":"Duration","description":"输出时长，4–15 秒整数。"},"ratio":{"anyOf":[{"type":"string","enum":["adaptive","21:9","16:9","4:3","1:1","3:4","9:16"]},{"type":"null"}],"title":"Ratio","description":"文生必须指定具体比例；参考生默认 adaptive。"},"resolution":{"type":"string","enum":["768P","2K"],"title":"Resolution"},"aigc_watermark":{"type":"boolean","title":"Aigc Watermark","default":false}},"additionalProperties":false,"type":"object","required":["model","content","duration","resolution"],"title":"GenerationRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HealthResponse":{"properties":{"status":{"type":"string","title":"Status","description":"Service status"},"environment":{"type":"string","title":"Environment","description":"Current deployment environment"}},"type":"object","required":["status","environment"],"title":"HealthResponse","examples":[{"environment":"dev","status":"ok"}]},"ImageContent":{"properties":{"type":{"type":"string","const":"image_url","title":"Type"},"image_url":{"$ref":"#/components/schemas/MediaURL"},"role":{"anyOf":[{"type":"string","enum":["first_frame","last_frame","reference_image"]},{"type":"null"}],"title":"Role"}},"additionalProperties":false,"type":"object","required":["type","image_url"],"title":"ImageContent"},"ImageGenerationRequest":{"properties":{"model":{"type":"string","maxLength":128,"minLength":1,"title":"Model","description":"模型展示名称（model_name），例如 Image 2、image-2.5-sunburst，取自 `GET /api/v1/images/models` 或价格计算器返回的 `model_name`。","examples":["Image 2"]},"prompt":{"type":"string","maxLength":32000,"minLength":1,"title":"Prompt","description":"详细的图片生成提示词。","examples":["一只橘猫坐在成都茶馆里，纪实摄影风格，自然光"]},"size":{"type":"string","pattern":"^(?:auto|[1-9]\\d*x[1-9]\\d*)$","title":"Size","description":"输出尺寸，支持 auto 或 WIDTHxHEIGHT（宽×高）。auto 按 1K 档计价；宽高都必须是 16 的倍数，宽高比在 1:3 到 3:1 之间。","default":"auto","examples":["1024x1024"]},"quality":{"type":"string","enum":["auto","low","medium","high","xhigh","max"],"title":"Quality","description":"图片质量；auto 由模型选择，2.5 系列额外支持 xhigh 和 max。","default":"auto","examples":["high"]},"background":{"type":"string","enum":["transparent","opaque","auto"],"title":"Background","description":"图片背景：transparent、opaque 或 auto。","default":"auto"},"output_format":{"type":"string","enum":["png","jpeg","webp","svg","gif"],"title":"Output Format","description":"输出图片编码格式。","default":"png"},"response_format":{"type":"string","enum":["url","b64_json"],"title":"Response Format","description":"图片返回方式：`url` 返回临时访问链接；`b64_json` 返回 base64。上游始终返回 URL，base64 仅在 API 响应阶段临时生成，不写入数据库。","default":"url"},"n":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"N","description":"本次生成的图片数量。","default":1},"moderation":{"type":"string","enum":["auto","low"],"title":"Moderation","description":"内容审核级别：auto 或限制较宽松的 low。","default":"auto"},"frame_count":{"anyOf":[{"type":"integer","maximum":16.0,"minimum":2.0},{"type":"null"}],"title":"Frame Count","description":"GIF 动画帧数，2–16；仅 output_format=gif 时可用，省略时上游默认 9。"},"frame_duration_ms":{"anyOf":[{"type":"integer","maximum":2000.0,"minimum":20.0},{"type":"null"}],"title":"Frame Duration Ms","description":"GIF 每帧时长，20–2000 毫秒，上游按 10 毫秒取整；仅 output_format=gif 时可用，省略时上游默认 200。"},"svg":{"anyOf":[{"$ref":"#/components/schemas/ImageSvgOptions"},{"type":"null"}],"description":"仅 output_format=svg 时可用，且要求 n=1。开启 SVG 模型选择的官方账号须提供 svg.model；省略时可使用服务配置的默认编写模型。"}},"additionalProperties":false,"type":"object","required":["model","prompt"],"title":"ImageGenerationRequest","description":"文生图请求。","examples":[{"model":"image-2.5-sunburst","n":1,"prompt":"一只橘猫坐在成都茶馆里，纪实摄影风格，自然光","quality":"high","size":"1024x1024"}]},"ImageModelCatalogItem":{"properties":{"model_name":{"type":"string","title":"Model Name","description":"模型展示名称。","examples":["Image 2"]},"family":{"anyOf":[{"type":"string","enum":["gpt_image","banana","midjourney"]},{"type":"null"}],"title":"Family","description":"图片模型家族；公共目录未区分时为 null。"},"a2a_model_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"A2A Model Key","description":"平台内 A2A 模型标识；未配置时为 null。","examples":["a2a-image-v3-0001"]},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon","description":"模型图标标识；暂无图标时为 null。"},"description_zh":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description Zh","description":"模型中文描述。"},"description_en":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description En","description":"模型英文描述。"},"resolution_prices":{"$ref":"#/components/schemas/ImageModelCatalogResolutionPrices","description":"按 1K / 2K / 4K 返回的单张 AGT 价格区间；不支持的档位为 null。"},"background":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","title":"Background","description":"模型按分辨率支持的背景参数；未配置时为空对象。","examples":[{"1K":["auto"],"2K":["auto"],"4K":["opaque","auto"]}]},"quality":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","title":"Quality","description":"模型按分辨率支持的图片质量参数；未配置时为空对象。"},"tips":{"additionalProperties":{"$ref":"#/components/schemas/ImageModelParameterTip"},"type":"object","title":"Tips","description":"模型按分辨率配置且已开启的参数提示；未配置时为空对象。"},"resolution":{"items":{"type":"string"},"type":"array","title":"Resolution","description":"模型支持的分辨率档位；未配置时为空数组。","examples":[["1K","2K","4K"]]},"capabilities":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Capabilities","description":"Agent Base 动态参数能力；公共图片目录固定为 null。"}},"additionalProperties":false,"type":"object","required":["model_name","resolution_prices"],"title":"ImageModelCatalogItem","description":"One image model in the backend image Agent catalog shape.\n\nField names and null semantics mirror ``UserImageAgentModelItem`` from\n``a2afans-backend``. ``capabilities`` is only populated by Agent Base in the\nbackend, so this public catalog always returns ``null``."},"ImageModelCatalogResolutionPrices":{"properties":{"1k":{"anyOf":[{"$ref":"#/components/schemas/ImageResolutionPrice"},{"type":"null"}],"description":"1K 分辨率下单张图片的 AGT 价格区间；不支持时为 null。"},"2k":{"anyOf":[{"$ref":"#/components/schemas/ImageResolutionPrice"},{"type":"null"}],"description":"2K 分辨率下单张图片的 AGT 价格区间；不支持时为 null。"},"4k":{"anyOf":[{"$ref":"#/components/schemas/ImageResolutionPrice"},{"type":"null"}],"description":"4K 分辨率下单张图片的 AGT 价格区间；不支持时为 null。"}},"type":"object","title":"ImageModelCatalogResolutionPrices","description":"Backend-compatible 1K / 2K / 4K price ranges.\n\nUnlike :class:`ImageResolutionPrices` (the legacy ``items`` shape that omits\nunsupported tiers), the catalog keeps all three keys and returns ``null`` for\ntiers the model does not support, matching the backend image Agent response."},"ImageModelCatalogResponse":{"properties":{"models":{"items":{"$ref":"#/components/schemas/ImageModelCatalogItem"},"type":"array","title":"Models","description":"图片模型列表。"},"items":{"items":{"$ref":"#/components/schemas/ImageModelPriceItem"},"type":"array","title":"Items","description":"兼容旧调用方的价格列表（含 pricing_dimension / quality_prices）；新调用方请使用 models。","deprecated":true}},"additionalProperties":false,"type":"object","required":["models","items"],"title":"ImageModelCatalogResponse","description":"Image model catalog without a default model."},"ImageModelParameterTip":{"properties":{"enabled":{"type":"boolean","title":"Enabled","description":"是否展示该分辨率提示。","default":false},"type":{"type":"string","enum":["info","warning","error"],"title":"Type","description":"提示级别：info 为蓝色信息，warning 为黄色警示，error 为红色错误提示。","default":"warning"},"text":{"type":"string","maxLength":500,"title":"Text","description":"提示文案。","default":""}},"additionalProperties":false,"type":"object","title":"ImageModelParameterTip","description":"One optional warning shown when a resolution tier is selected."},"ImageModelPriceItem":{"properties":{"model_name":{"type":"string","title":"Model Name","description":"模型展示名称；生成接口的 `model` 参数直接传该值，服务端会换回真实模型标识。","examples":["Image 2","香蕉2.1"]},"description_zh":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description Zh","description":"模型中文描述。"},"description_en":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description En","description":"模型英文描述。"},"pricing_dimension":{"type":"string","enum":["resolution","quality"],"title":"Pricing Dimension","description":"价格档位的维度：普通图片模型按 1K/2K/4K 分辨率，MJ 按 sd/hd 清晰度。"},"image_count":{"type":"integer","minimum":1.0,"title":"Image Count","description":"一个计费单位包含的图片张数：普通图片模型为 1（按张），MJ 固定为 4（按组）。","examples":[1,4]},"resolution_prices":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"description":"1K、2K、4K 每个分辨率档位下生成一张图片的 AGT 价格区间；MJ 返回 null。"},"quality_prices":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"description":"sd、hd 每个清晰度档位下一次生成的 AGT 价格区间；仅 MJ 返回，其它模型为 null。"}},"additionalProperties":false,"type":"object","required":["model_name","pricing_dimension","image_count"],"title":"ImageModelPriceItem","description":"One supported image model with its current AGT price ranges."},"ImagePriceEstimateResponse":{"properties":{"model_name":{"type":"string","title":"Model Name","description":"模型展示名称；把它作为生成接口的 `model` 参数传入即可（服务端会换回真实模型标识）。","examples":["Image 2","香蕉2.1"]},"pricing_dimension":{"type":"string","enum":["resolution","quality"],"title":"Pricing Dimension","description":"本次计价使用的维度：resolution（按分辨率）或 quality（MJ 按清晰度）。"},"image_count":{"type":"integer","minimum":1.0,"title":"Image Count","description":"本次计价包含的图片张数：普通模型为 1，MJ 固定为 4，Seedream 拆层为预扣上限。","examples":[1,4]},"enjoy_card_applied":{"type":"boolean","title":"Enjoy Card Applied","description":"当前用户是否命中有效畅享卡优惠。","default":false,"examples":[true]},"standard_agt_price":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Standard Agt Price","description":"优惠前 AGT 总价；仅命中畅享卡时返回。","examples":[2]},"agt_price":{"anyOf":[{"type":"integer"},{"type":"number"}],"title":"Agt Price","description":"本次调用将消耗的 AGT（4 位小数向上取整，即实际扣费金额）。","examples":[6.75,50]}},"additionalProperties":false,"type":"object","required":["model_name","pricing_dimension","image_count","agt_price"],"title":"ImagePriceEstimateResponse","description":"Price of what one request would be charged.\n\nRegular models return the price of **one** image; MJ returns the price of one\nfixed **four-image** generation package. Both use the same backend quote as the\nactual charge, including valid enjoy-card benefits, rounded up to four decimals.\n\nOnly the display name is returned: pass it as the generation endpoint's\n``model`` parameter and the service resolves the runtime model itself."},"ImageQualityPrice":{"properties":{"min_agt_price":{"anyOf":[{"type":"integer"},{"type":"number"}],"title":"Min Agt Price","description":"该清晰度下完成一次 MJ 生成（固定 4 张图片）的 **最低** AGT 消耗。","examples":[10]},"max_agt_price":{"anyOf":[{"type":"integer"},{"type":"number"}],"title":"Max Agt Price","description":"该清晰度下完成一次 MJ 生成（固定 4 张图片）的 **最高** AGT 消耗。","examples":[15]}},"additionalProperties":false,"type":"object","required":["min_agt_price","max_agt_price"],"title":"ImageQualityPrice","description":"AGT price for one MJ generation (a fixed four-image package) at one quality."},"ImageQualityPrices":{"properties":{"sd":{"anyOf":[{"$ref":"#/components/schemas/ImageQualityPrice"},{"type":"null"}],"description":"SD 清晰度下一次 MJ 生成（固定 4 张图片）的 AGT 价格区间。"},"hd":{"anyOf":[{"$ref":"#/components/schemas/ImageQualityPrice"},{"type":"null"}],"description":"HD 清晰度下一次 MJ 生成（固定 4 张图片）的 AGT 价格区间。"}},"additionalProperties":false,"type":"object","title":"ImageQualityPrices","description":"MJ's ``sd`` / ``hd`` price tiers; unsupported tiers are omitted."},"ImageResolutionPrice":{"properties":{"min_agt_price":{"anyOf":[{"type":"integer"},{"type":"number"}],"title":"Min Agt Price","description":"该分辨率下生成一张图片可能的**最低** AGT 消耗：取遍所有能命中的质量与参考图组合后的下界。","examples":[1]},"max_agt_price":{"anyOf":[{"type":"integer"},{"type":"number"}],"title":"Max Agt Price","description":"该分辨率下生成一张图片可能的**最高** AGT 消耗：取遍所有能命中的质量与参考图组合后的上界。","examples":[10]}},"additionalProperties":false,"type":"object","required":["min_agt_price","max_agt_price"],"title":"ImageResolutionPrice","description":"AGT range for generating one image at one resolution tier."},"ImageResolutionPrices":{"properties":{"1k":{"anyOf":[{"$ref":"#/components/schemas/ImageResolutionPrice"},{"type":"null"}],"description":"1K 分辨率下单张图片的 AGT 价格区间。"},"2k":{"anyOf":[{"$ref":"#/components/schemas/ImageResolutionPrice"},{"type":"null"}],"description":"2K 分辨率下单张图片的 AGT 价格区间。"},"4k":{"anyOf":[{"$ref":"#/components/schemas/ImageResolutionPrice"},{"type":"null"}],"description":"4K 分辨率下单张图片的 AGT 价格区间。"}},"type":"object","title":"ImageResolutionPrices","description":"Resolution tiers the model supports; unsupported tiers are omitted."},"ImageSvgOptions":{"properties":{"model":{"type":"string","maxLength":128,"minLength":1,"title":"Model","description":"SVG 编写模型名，与顶层的图片模型独立；须为该官方账号有权使用的模型。"},"reasoning":{"anyOf":[{"$ref":"#/components/schemas/ImageSvgReasoning"},{"type":"null"}],"description":"SVG 编写模型的推理强度配置。"}},"additionalProperties":false,"type":"object","required":["model"],"title":"ImageSvgOptions","description":"Optional SVG writer configuration accepted by the generation route."},"ImageSvgReasoning":{"properties":{"effort":{"anyOf":[{"type":"string","enum":["none","minimal","low","medium","high","xhigh","max"]},{"type":"null"}],"title":"Effort","description":"SVG 编写模型的推理强度；可用档位取决于该模型，省略时使用模型默认值。"}},"additionalProperties":false,"type":"object","title":"ImageSvgReasoning","description":"Reasoning settings for the model that writes the SVG."},"ImageTaskError":{"properties":{"status_code":{"type":"integer","title":"Status Code","description":"等价的 HTTP 状态码。"},"code":{"type":"string","title":"Code","description":"机器可读错误码，例如 upstream_timeout、worker_lost。"},"type":{"type":"string","title":"Type","description":"错误分类。"},"message":{"type":"string","title":"Message","description":"错误说明。"},"retryable":{"type":"boolean","title":"Retryable","description":"重新提交是否可能成功。"},"upstream":{"anyOf":[{},{"type":"null"}],"title":"Upstream","description":"上游返回的原始内容（例如整批失败时每张图片的错误），可能为空。"}},"additionalProperties":true,"type":"object","required":["status_code","code","type","message","retryable"],"title":"ImageTaskError","description":"Why a task failed. Failed tasks are refunded."},"ImageTaskResponse":{"properties":{"task_id":{"type":"string","title":"Task Id","description":"任务 ID，格式 a2a-openapi-uuid；等同于提交时的 a2a_openapi_request_id。"},"status":{"type":"string","enum":["queued","running","succeeded","failed"],"title":"Status","description":"queued 排队中，running 生成中，succeeded 已完成，failed 已失败（已退款）。"},"model_name":{"type":"string","title":"Model Name","description":"模型展示名称，与提交时的 `model` 及模型列表里的 `model_name` 一致。"},"image_count":{"type":"integer","title":"Image Count","description":"请求生成的图片数量。"},"billed_image_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Billed Image Count","description":"实际按张计费的图片数；任务结束前为空，失败为 0，部分成功小于 image_count。"},"agt_cost":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Agt Cost","description":"本任务的 AGT 费用。排队/生成中为预扣金额；结束后以最终结算金额为准。"},"billing_settled":{"type":"boolean","title":"Billing Settled","description":"退款或结算是否已确认完成；任务刚结束的几秒内可能为 false，此时 agt_cost 尚未最终确定。"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"error":{"anyOf":[{"$ref":"#/components/schemas/ImageTaskError"},{"type":"null"}],"description":"仅 failed 时返回。"}},"additionalProperties":true,"type":"object","required":["task_id","status","model_name","image_count","agt_cost","billing_settled","created_at"],"title":"ImageTaskResponse","description":"One image task: submit receipt and polling result share this shape.","examples":[{"agt_cost":"12.5000","billed_image_count":1,"billing_settled":true,"created":1760947241,"created_at":"2026-10-20T08:00:00Z","data":[{"url":"https://cdn.example/1.png"}],"finished_at":"2026-10-20T08:00:41Z","image_count":1,"model_name":"Image 2","started_at":"2026-10-20T08:00:01Z","status":"succeeded","task_id":"a2a-openapi-3f0c9a52-6b2f-4a53-9d6a-2f5f1c1f9a10"}]},"KeywordRequest":{"properties":{"search_word":{"type":"string","title":"Search Word","description":"关键词，如“面膜”/ Keyword"}},"type":"object","required":["search_word"],"title":"KeywordRequest"},"LiveBloggerRequest":{"properties":{"page_num":{"type":"integer","title":"Page Num","description":"页码，1-250（上游只开放前 5000 条）/ Page, 1-250"},"page_size":{"type":"integer","title":"Page Size","description":"每页数量，1-20（蒲公英网页固定 20）/ Page size, 1-20"},"seed":{"type":"integer","title":"Seed","description":"翻页种子：首页传 0，后续传上一页返回的 seed"},"nick_name":{"type":"string","title":"Nick Name","description":"按博主昵称搜索"},"category":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Category","description":"合作品类筛选"},"buyer":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Buyer","description":"买手天团与内容人设筛选"},"ecom":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Ecom","description":"电商转化力筛选"},"live":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Live","description":"直播投入度与表现力筛选"},"fans":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Fans","description":"粉丝购买力筛选"},"flags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Flags","description":"平台推荐开关"}},"type":"object","title":"LiveBloggerRequest"},"MagiImageRequest":{"properties":{"model":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"模型编号","description":"省略时使用 magi-2.0。","default":"magi-2.0"},"prompt":{"type":"string","maxLength":15000,"minLength":1,"title":"提示词","description":"描述希望生成的画面、动作或镜头。三种模式均必填，最多 15,000 个字符。"},"duration":{"type":"integer","maximum":30.0,"minimum":4.0,"title":"输出时长","description":"视频时长，单位为秒。可填 4–30 的整数，默认 5 秒。","default":5},"generate_audio":{"type":"boolean","title":"生成音轨","description":"是否为输出视频生成音轨，默认开启。","default":true},"mode":{"type":"string","const":"image-to-video","title":"生成模式","description":"图生视频，填写 image-to-video。"},"image":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"首帧图片","description":"必填。提供可公开下载的首帧图片 HTTP(S) 直链。"},"last_image":{"anyOf":[{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},{"type":"null"}],"title":"尾帧图片","description":"可选。提供可公开下载的尾帧图片 HTTP(S) 直链，以指定结束画面。"},"aspect_ratio":{"anyOf":[{"type":"string","enum":["16:9","9:16","1:1","4:3","3:4"]},{"type":"null"}],"title":"画面宽高比","description":"省略时从支持的画幅中选择最接近首帧图片宽高比的一档。"}},"additionalProperties":false,"type":"object","required":["prompt","mode","image"],"title":"图生视频"},"MagiReferenceRequest":{"properties":{"model":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"模型编号","description":"省略时使用 magi-2.0。","default":"magi-2.0"},"prompt":{"type":"string","maxLength":15000,"minLength":1,"title":"提示词","description":"描述希望生成的画面、动作或镜头。三种模式均必填，最多 15,000 个字符。"},"duration":{"type":"integer","maximum":30.0,"minimum":4.0,"title":"输出时长","description":"视频时长，单位为秒。可填 4–30 的整数，默认 5 秒。","default":5},"generate_audio":{"type":"boolean","title":"生成音轨","description":"是否为输出视频生成音轨，默认开启。","default":true},"mode":{"type":"string","const":"reference-to-video","title":"生成模式","description":"参考素材生视频，填写 reference-to-video。图片、视频和音频可混用，至少提供一个素材。"},"images":{"items":{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},"type":"array","maxItems":10,"title":"参考图片","description":"参考图片的公网 HTTP(S) 直链，最多 10 张。"},"videos":{"items":{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},"type":"array","maxItems":5,"title":"参考视频","description":"参考视频的公网 HTTP(S) 直链，最多 5 段。每段 2–30 秒，视频合计最多 30 秒。"},"audios":{"items":{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},"type":"array","maxItems":5,"title":"参考音频","description":"参考音频的公网 HTTP(S) 直链，最多 5 段。每段 2–30 秒，音频合计最多 30 秒。"},"aspect_ratio":{"type":"string","enum":["16:9","9:16","1:1","4:3","3:4","21:9"],"title":"画面宽高比","description":"默认横屏 16:9，也支持超宽画幅 21:9。","default":"16:9"}},"additionalProperties":false,"type":"object","required":["prompt","mode"],"title":"参考素材生视频"},"MagiTextRequest":{"properties":{"model":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"模型编号","description":"省略时使用 magi-2.0。","default":"magi-2.0"},"prompt":{"type":"string","maxLength":15000,"minLength":1,"title":"提示词","description":"描述希望生成的画面、动作或镜头。三种模式均必填，最多 15,000 个字符。"},"duration":{"type":"integer","maximum":30.0,"minimum":4.0,"title":"输出时长","description":"视频时长，单位为秒。可填 4–30 的整数，默认 5 秒。","default":5},"generate_audio":{"type":"boolean","title":"生成音轨","description":"是否为输出视频生成音轨，默认开启。","default":true},"mode":{"type":"string","const":"text-to-video","title":"生成模式","description":"文生视频，填写 text-to-video。"},"aspect_ratio":{"type":"string","enum":["16:9","9:16","1:1","4:3","3:4","21:9"],"title":"画面宽高比","description":"默认横屏 16:9，也支持超宽画幅 21:9。","default":"16:9"}},"additionalProperties":false,"type":"object","required":["prompt","mode"],"title":"文生视频"},"MediaURL":{"properties":{"url":{"type":"string","minLength":1,"title":"Url"}},"additionalProperties":false,"type":"object","required":["url"],"title":"MediaURL"},"MetricsRequest":{"properties":{"user_id":{"type":"string","title":"User Id","description":"博主用户 ID / Blogger user ID"},"business":{"type":"integer","title":"Business","description":"笔记口径：0=日常笔记，1=合作笔记"},"note_type":{"type":"integer","title":"Note Type","description":"笔记类型：3=图文+视频，1=图文，2=视频"},"date_type":{"type":"integer","title":"Date Type","description":"时间范围：1=近 30 日，2=近 90 日"},"advertise_switch":{"type":"integer","title":"Advertise Switch","description":"流量类型：1=全部（含合作），0=仅自然流量"}},"type":"object","required":["user_id"],"title":"MetricsRequest"},"MjGenerationRequest":{"properties":{"prompt":{"type":"string","maxLength":1000,"minLength":1,"title":"Prompt","description":"MJ 提示词；画面比例和清晰度（--sd / --hd）等 flag 直接写在提示词里，清晰度同时决定计价。最多 1000 个字符（上游上限）。"},"images":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":4,"minItems":1},{"type":"null"}],"title":"Images","description":"可选参考图列表，最多 4 张，单张不超过 5MB。每一项可以是公网 HTTPS URL，也可以是 `POST /api/v1/files/presign` 返回的 OSS key（推荐；也可写成 `oss://<key>`）。⚠️ 请务必确认图片已 PUT 上传成功（OSS 返回 2xx）后再调用本接口，未上传成功的 key 会导致运行时下载失败。服务端只校验张数与格式，大小由图片运行时下载时校验；调用运行时时会把 key 或本服务的 OSS URL 重签名成 1 天有效的 URL。","examples":[["https://images.example/reference.png"]]}},"additionalProperties":false,"type":"object","required":["prompt"],"title":"MjGenerationRequest","description":"MJ synchronous generation request.\n\n本接口固定使用 MJ 模型，因此请求体没有 ``model`` 字段；服务端自行补全模型标识\n并按 MJ 的计费口径计价。","examples":[{"prompt":"一只橘猫坐在成都茶馆里，纪实摄影风格 --ar 16:9 --hd"}]},"NoteDetailRequest":{"properties":{"note_id":{"type":"string","title":"Note Id","description":"笔记 ID / Note ID"}},"type":"object","required":["note_id"],"title":"NoteDetailRequest"},"NotesRequest":{"properties":{"user_id":{"type":"string","title":"User Id","description":"博主用户 ID / Blogger user ID"},"page_number":{"type":"integer","title":"Page Number","description":"页码，从 1 开始 / Page number, from 1"},"page_size":{"type":"integer","title":"Page Size","description":"每页数量，1-8（蒲公英网页固定 8）/ Page size, 1-8"},"note_type":{"type":"integer","title":"Note Type","description":"笔记类型：4=全部，3=合作笔记，1=图文，2=视频"},"order_type":{"type":"integer","title":"Order Type","description":"排序：1=最新发布，2=阅读最多，3=互动最多"},"advertise_switch":{"type":"integer","title":"Advertise Switch","description":"流量类型：1=全部（含商业合作），0=仅自然流量"},"feature_tag":{"type":"string","title":"Feature Tag","description":"内容特征筛选；取值见博主详情的 featureTags"},"content_tag":{"type":"string","title":"Content Tag","description":"内容类目筛选；取值见博主详情的 contentTags"},"is_third_platform":{"type":"integer","title":"Is Third Platform","description":"是否只看跨域合作笔记：1=是，0=不限"}},"type":"object","required":["user_id"],"title":"NotesRequest"},"NotesV2Request":{"properties":{"user_id":{"type":"string","title":"User Id","description":"博主用户 ID / Blogger user ID"},"page_number":{"type":"integer","title":"Page Number","description":"页码，从 1 开始 / Page number, from 1"},"page_size":{"type":"integer","title":"Page Size","description":"每页数量，1-8（蒲公英网页固定 8）/ Page size, 1-8"},"note_type":{"type":"integer","title":"Note Type","description":"笔记类型：0=全部，1=图文，2=视频"},"order_type":{"type":"integer","title":"Order Type","description":"排序：1=最新发布，2=阅读最多，3=互动最多"}},"type":"object","required":["user_id"],"title":"NotesV2Request"},"OpenAIModel":{"properties":{"id":{"type":"string","title":"Id","description":"模型 ID。直接作为 `POST /api/v1/images/generations` 或 `/edits` 的 `model` 参数传入即可。","examples":["Image 2"]},"object":{"type":"string","const":"model","title":"Object","description":"对象类型，固定为 `model`（兼容接口的契约字段）。","default":"model"},"created":{"type":"integer","title":"Created","description":"Unix 时间戳（秒）。本服务没有逐模型创建时间，固定返回模型目录的发布时间。","default":1735689600,"examples":[1735689600]},"owned_by":{"type":"string","title":"Owned By","description":"服务提供方，固定为 `a2afans`（兼容接口的契约字段）。","default":"a2afans","examples":["a2afans"]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"模型描述（优先中文，缺失时回退英文）。兼容接口之外的附加字段。","examples":["图片生成模型"]}},"additionalProperties":false,"type":"object","required":["id"],"title":"OpenAIModel","description":"One entry of the model listing (compatibility wire format)."},"OpenAIModelList":{"properties":{"object":{"type":"string","const":"list","title":"Object","description":"对象类型，固定为 `list`（兼容接口的契约字段）。","default":"list"},"data":{"items":{"$ref":"#/components/schemas/OpenAIModel"},"type":"array","title":"Data","description":"当前可调用的生图模型；香蕉 / MJ 模型只在 `/api/v1/images/models` 返回。"}},"additionalProperties":false,"type":"object","required":["data"],"title":"OpenAIModelList","description":"Response envelope of ``GET /api/v1/models``."},"RegenerationRequest":{"properties":{"model":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Model"},"resolution":{"type":"string","const":"2K","title":"Resolution"},"source_task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Task Id","description":"本服务返回的 a2a-openapi-uuid；只能使用自己的成功 768P 任务。"},"content":{"anyOf":[{"items":{"oneOf":[{"$ref":"#/components/schemas/TextContent"},{"$ref":"#/components/schemas/ImageContent"},{"$ref":"#/components/schemas/VideoContent"},{"$ref":"#/components/schemas/AudioContent"}],"discriminator":{"propertyName":"type","mapping":{"audio_url":"#/components/schemas/AudioContent","image_url":"#/components/schemas/ImageContent","text":"#/components/schemas/TextContent","video_url":"#/components/schemas/VideoContent"}}},"type":"array","maxItems":14,"minItems":1},{"type":"null"}],"title":"Content","description":"内容数组，可在同一数组中组合文字、图片、视频、音频。每个元素通过 type 指定一种结构：text、image_url、video_url 或 audio_url；文档中的 oneOf 仅约束单个元素，不要求整个数组使用同一种类型。首尾帧不能与参考素材混用；参考图片/视频/音频分别最多 9/3/3 个，合计最多 12 个。与 source_task_id 二选一；使用 content 时，必须恰好包含一个非空 text（最多 40000 字符）和一个 role=base_video 的视频。"},"aigc_watermark":{"type":"boolean","title":"Aigc Watermark","default":false}},"additionalProperties":false,"type":"object","required":["model","resolution"],"title":"RegenerationRequest"},"SeedreamGenerationRequest":{"properties":{"model":{"type":"string","maxLength":128,"minLength":1,"title":"Model","examples":["Seedream 5.5"]},"prompt":{"anyOf":[{"type":"string","maxLength":32000},{"type":"null"}],"title":"Prompt","description":"文生图和改图必填。"},"image":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array","maxItems":10,"minItems":1},{"type":"null"}],"title":"Image","description":"单个 HTTPS URL、已上传的 OSS key，或最多 10 项的数组。"},"size":{"type":"string","pattern":"^(?:[124][Kk]|[1-9][0-9]{0,5}x[1-9][0-9]{0,5})$","title":"Size","description":"宽x高，或计费档位 1K、2K、4K。图层拆分支持 1K、2K。","default":"1024x1024"},"layer_decomposition":{"type":"boolean","title":"Layer Decomposition","default":false},"layer_decomposition_options":{"anyOf":[{"$ref":"#/components/schemas/SeedreamLayerOptions"},{"type":"null"}]},"output_format":{"anyOf":[{"type":"string","enum":["png","jpeg"]},{"type":"null"}],"title":"Output Format"},"response_format":{"type":"string","const":"url","title":"Response Format","default":"url"},"watermark":{"type":"boolean","title":"Watermark","default":true},"background":{"anyOf":[{"type":"string","enum":["transparent","opaque","auto"]},{"type":"null"}],"title":"Background"},"safety_identifier":{"anyOf":[{"type":"string","maxLength":64,"minLength":1,"pattern":"^[ -~]+$"},{"type":"null"}],"title":"Safety Identifier"},"optimize_prompt_options":{"anyOf":[{"$ref":"#/components/schemas/SeedreamPromptOptions"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["model"],"title":"SeedreamGenerationRequest"},"SeedreamLayerOptions":{"properties":{"max_images":{"type":"integer","maximum":100.0,"minimum":2.0,"title":"Max Images","default":30},"text_recognition":{"type":"boolean","title":"Text Recognition","default":false}},"additionalProperties":false,"type":"object","title":"SeedreamLayerOptions"},"SeedreamPromptOptions":{"properties":{"mode":{"type":"string","const":"standard","title":"Mode","default":"standard"}},"additionalProperties":false,"type":"object","title":"SeedreamPromptOptions"},"SimilarRequest":{"properties":{"user_id":{"type":"string","title":"User Id","description":"目标博主用户 ID / Target blogger user ID"},"page_num":{"type":"integer","title":"Page Num","description":"页码，从 1 开始 / Page, from 1"},"page_size":{"type":"integer","title":"Page Size","description":"每页数量，1-4（蒲公英网页固定 4）/ Page size, 1-4"}},"type":"object","required":["user_id"],"title":"SimilarRequest"},"TaskError":{"properties":{"code":{"type":"string","title":"Code","description":"机器可读错误码，例如 task_timeout（超时）、billing_rejected（钱包拒绝扣费）、upstream_rejected（网关拒绝请求）、delivery_missing/delivery_failed/delivery_expired（未拿到有效视频交付）。"},"message":{"type":"string","title":"Message","description":"错误说明，便于直接展示给调用方。"}},"type":"object","required":["code","message"],"title":"TaskError","description":"Why a task failed. Failed video tasks are refunded."},"TextContent":{"properties":{"type":{"type":"string","const":"text","title":"Type"},"text":{"type":"string","maxLength":40000,"minLength":1,"title":"Text"}},"additionalProperties":false,"type":"object","required":["type","text"],"title":"TextContent"},"TextOutput":{"properties":{"type":{"type":"string","const":"text","title":"Type","description":"结果类型，固定为 text。"},"text":{"type":"string","minLength":1,"title":"Text","description":"增强后的提示词全文，可直接作为视频生成请求的 content[].text。"}},"type":"object","required":["type","text"],"title":"TextOutput","description":"Successful prompt enhancement; feeds ``content[].text`` directly."},"UserIdRequest":{"properties":{"user_id":{"type":"string","title":"User Id","description":"博主用户 ID / Blogger user ID"}},"type":"object","required":["user_id"],"title":"UserIdRequest"},"UserMeResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"display_name":{"type":"string","title":"Display Name"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"avatar_seed":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Seed"},"bio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bio"},"is_active":{"type":"boolean","title":"Is Active"},"is_admin":{"type":"boolean","title":"Is Admin","default":false},"email_verified":{"type":"boolean","title":"Email Verified"},"phone_verified":{"type":"boolean","title":"Phone Verified"},"last_reset_show_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Reset Show At"},"has_password":{"type":"boolean","title":"Has Password"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"wallet":{"$ref":"#/components/schemas/WalletResponse"}},"additionalProperties":false,"type":"object","required":["id","display_name","is_active","email_verified","phone_verified","has_password","created_at","wallet"],"title":"UserMeResponse","description":"Agent owner profile with wallet balances."},"V2GenerationRequest":{"properties":{"model":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Model"},"content":{"items":{"oneOf":[{"$ref":"#/components/schemas/TextContent"},{"$ref":"#/components/schemas/ImageContent"},{"$ref":"#/components/schemas/VideoContent"},{"$ref":"#/components/schemas/AudioContent"}],"discriminator":{"propertyName":"type","mapping":{"audio_url":"#/components/schemas/AudioContent","image_url":"#/components/schemas/ImageContent","text":"#/components/schemas/TextContent","video_url":"#/components/schemas/VideoContent"}}},"type":"array","maxItems":14,"minItems":1,"title":"Content","description":"内容数组，可在同一数组中组合文字、图片、视频、音频。每个元素通过 type 指定一种结构：text、image_url、video_url 或 audio_url；文档中的 oneOf 仅约束单个元素，不要求整个数组使用同一种类型。首尾帧不能与参考素材混用；参考图片/视频/音频分别最多 9/3/3 个，合计最多 12 个。必须恰好包含一个非空 text（最多 7000 字符）；不接受 base_video。"},"duration":{"type":"integer","maximum":30.0,"minimum":4.0,"title":"Duration","description":"输出时长，4–30 秒整数；必须落在该模型/分辨率已启用的价格档位内，服务端自动选档。"},"ratio":{"anyOf":[{"type":"string","enum":["adaptive","21:9","16:9","4:3","1:1","3:4","9:16"]},{"type":"null"}],"title":"Ratio","description":"文生必须指定具体比例；参考生默认 adaptive。"},"resolution":{"type":"string","enum":["480P","768P","1080P","2K"],"title":"Resolution"},"fast_mode":{"type":"boolean","title":"Fast Mode","description":"优先通道，费用为普通通道的 2 倍。","default":false}},"additionalProperties":false,"type":"object","required":["model","content","duration","resolution"],"title":"V2GenerationRequest","description":"V2 uses the same content rules with a wider duration/resolution range."},"V2RegenerationRequest":{"properties":{"model":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Model"},"resolution":{"type":"string","const":"2K","title":"Resolution"},"source_task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Task Id","description":"本服务返回的 a2a-openapi-uuid；只能使用自己的成功 768P 任务。"},"content":{"anyOf":[{"items":{"oneOf":[{"$ref":"#/components/schemas/TextContent"},{"$ref":"#/components/schemas/ImageContent"},{"$ref":"#/components/schemas/VideoContent"},{"$ref":"#/components/schemas/AudioContent"}],"discriminator":{"propertyName":"type","mapping":{"audio_url":"#/components/schemas/AudioContent","image_url":"#/components/schemas/ImageContent","text":"#/components/schemas/TextContent","video_url":"#/components/schemas/VideoContent"}}},"type":"array","maxItems":14,"minItems":1},{"type":"null"}],"title":"Content","description":"内容数组，可在同一数组中组合文字、图片、视频、音频。每个元素通过 type 指定一种结构：text、image_url、video_url 或 audio_url；文档中的 oneOf 仅约束单个元素，不要求整个数组使用同一种类型。首尾帧不能与参考素材混用；参考图片/视频/音频分别最多 9/3/3 个，合计最多 12 个。与 source_task_id 二选一；使用 content 时，必须恰好包含一个非空 text（最多 40000 字符）和一个 role=base_video 的视频。"},"aigc_watermark":{"type":"boolean","title":"Aigc Watermark","default":false}},"additionalProperties":false,"type":"object","required":["model","resolution"],"title":"V2RegenerationRequest","description":"Source ownership and V2 compatibility are checked by the service."},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VideoContent":{"properties":{"type":{"type":"string","const":"video_url","title":"Type"},"video_url":{"$ref":"#/components/schemas/MediaURL"},"role":{"type":"string","enum":["reference_video","base_video"],"title":"Role"}},"additionalProperties":false,"type":"object","required":["type","video_url","role"],"title":"VideoContent"},"VideoModelCatalog":{"properties":{"models":{"items":{"$ref":"#/components/schemas/VideoModelPricing"},"type":"array","title":"Models"}},"type":"object","required":["models"],"title":"VideoModelCatalog"},"VideoModelPriceResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"price_key":{"type":"string","title":"Price Key"},"version":{"type":"integer","title":"Version"},"api_version":{"type":"string","enum":["v1","v2"],"title":"Api Version","description":"接口/模型版本；version 为调价历史版本。","default":"v1"},"model":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Model"},"display_name":{"type":"string","maxLength":128,"minLength":1,"title":"Display Name"},"provider_model":{"type":"string","title":"Provider Model"},"resolution":{"type":"string","title":"Resolution"},"price_type":{"type":"string","enum":["generation","regeneration"],"title":"Price Type"},"duration_min_seconds":{"type":"integer","maximum":30.0,"minimum":4.0,"title":"Duration Min Seconds","description":"输出时长档位下限（秒，包含）。"},"duration_max_seconds":{"type":"integer","maximum":30.0,"minimum":4.0,"title":"Duration Max Seconds","description":"输出时长档位上限（秒，包含）。"},"output_agt_per_second":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,14}|(?=[\\d.]{1,21}0*$)\\d{0,14}\\.\\d{0,6}0*$)","title":"Output Agt Per Second"},"input_video_agt_per_second":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,14}|(?=[\\d.]{1,21}0*$)\\d{0,14}\\.\\d{0,6}0*$)","title":"Input Video Agt Per Second"},"input_audio_agt_per_second":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,14}|(?=[\\d.]{1,21}0*$)\\d{0,14}\\.\\d{0,6}0*$)","title":"Input Audio Agt Per Second"},"extra_image_agt":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,14}|(?=[\\d.]{1,21}0*$)\\d{0,14}\\.\\d{0,6}0*$)","title":"Extra Image Agt"},"free_images_per_task":{"type":"integer","title":"Free Images Per Task"},"status":{"type":"integer","title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","price_key","version","model","display_name","provider_model","resolution","price_type","duration_min_seconds","duration_max_seconds","output_agt_per_second","input_video_agt_per_second","input_audio_agt_per_second","extra_image_agt","free_images_per_task","status","created_at","updated_at"],"title":"VideoModelPriceResponse"},"VideoModelPricing":{"properties":{"model":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Model"},"api_version":{"type":"string","enum":["v1","v2"],"title":"Api Version"},"display_name":{"type":"string","maxLength":128,"minLength":1,"title":"Display Name"},"prices":{"items":{"$ref":"#/components/schemas/VideoModelPriceResponse"},"type":"array","title":"Prices"},"pricing_configured":{"type":"boolean","title":"Pricing Configured"},"currency":{"type":"string","const":"AGT","title":"Currency"},"resolutions":{"items":{"type":"string"},"type":"array","title":"Resolutions"},"duration_min":{"type":"integer","title":"Duration Min","description":"模型支持的最短输出时长（秒）。"},"duration_max":{"type":"integer","title":"Duration Max","description":"模型支持的最长输出时长（秒）。"}},"type":"object","required":["model","api_version","display_name","prices","pricing_configured","currency","resolutions","duration_min","duration_max"],"title":"VideoModelPricing"},"VideoOutput":{"properties":{"type":{"type":"string","const":"video","title":"Type","description":"结果类型，固定为 video。"},"url":{"type":"string","minLength":10,"pattern":"^https?://","title":"Url","description":"视频下载地址（公网 HTTP(S)），在 storage_expires_at 之前有效。"},"source":{"type":"string","const":"archive","title":"Source","description":"交付方式，固定为 archive，表示视频已归档到可下载存储。","default":"archive"},"duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration","description":"实际输出视频时长（秒）；上游未返回时为空。"},"resolution":{"anyOf":[{"type":"string","enum":["480P","768P","1080P","2K"]},{"type":"null"}],"title":"Resolution","description":"实际输出分辨率；上游未返回时为空。"},"ratio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ratio","description":"实际画面比例，例如 16:9；请求 ratio=adaptive 时为上游最终决定的取值。"}},"type":"object","required":["type","url"],"title":"VideoOutput","description":"Successful video deliverable; the video must already be archived."},"VideoTaskResponse":{"properties":{"task_id":{"type":"string","title":"Task Id","description":"任务 ID，格式 a2a-openapi-uuid；等同于提交时的 a2a_openapi_request_id，也是响应头 X-A2A-OpenAPI-Request-ID 的值，可直接用于轮询。"},"model":{"type":"string","title":"Model","description":"对外模型编号（价格配置里的 model，默认与上游 provider_model 相同），与模型列表返回的 model 一致；服务端据此换回上游供应商模型调用网关。"},"operation":{"type":"string","title":"Operation","description":"任务类型：magi-2/video_generation 为 MAGI-2 视频生成；video_generation 视频生成（文生/图生/首尾帧/参考素材），video_regeneration 把成功的 768P 视频再生成 2K，V2 任务分别为 v2/video_generation 和 v2/video_regeneration；h3_context_ir 提示词增强（结果为文本，不产出视频）。"},"status":{"type":"string","enum":["charging","queued","running","succeeded","failed"],"title":"Status","description":"任务状态：charging/queued 为历史任务状态；running 上游网关已接受任务；succeeded 已成功交付；failed 已失败并按规则退款。"},"agt_cost":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Agt Cost","description":"本任务的 AGT 费用。charging/queued/running 为预扣金额；成功的最终扣费；失败任务在退款确认后为 0。"},"billing_settled":{"type":"boolean","title":"Billing Settled","description":"扣费或退款是否已在钱包确认完成。任务刚结束的几秒内可能为 false，后台会持续重试；此时 agt_cost 尚未最终确定。"},"billing_cancelled":{"type":"boolean","title":"Billing Cancelled","description":"是否已确认退款。仅失败任务可能为 true，表示原扣费已全额退回。"},"price_breakdown":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Price Breakdown","description":"提交时的价格快照，用于审计报价，不随后续价格调整变化。视频生成/再生成含 version、currency、price、usage（图片张数与视频/音频秒数）、costs_agt、subtotal_agt、total_agt；提示词增强为按次结构，含 pricing_type=per_call、api_path、call_count、unit_price_agt、total_agt。实际费用以 agt_cost 为准。"},"result":{"anyOf":[{"$ref":"#/components/schemas/VideoOutput"},{"$ref":"#/components/schemas/TextOutput"},{"type":"null"}],"title":"Result","description":"成功结果。视频任务返回 type=video 的对象（下载地址、时长、分辨率、比例）；提示词增强返回 type=text 的对象。未结束、失败或视频已过期时为 null。"},"error":{"anyOf":[{"$ref":"#/components/schemas/TaskError"},{"type":"null"}],"description":"仅 failed 时返回，包含机器可读错误码和中文说明。"},"storage_status":{"type":"string","title":"Storage Status","description":"视频存储状态：not_applicable 提示词增强无视频存储；pending 等待归档；retrying 归档重试中；succeeded 可下载；expired 已过期（result 返回 null）；failed 归档失败（已退款）。"},"storage_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Storage Expires At","description":"视频下载地址的过期时间（UTC）；到期后本地查询返回 storage_status=expired 且 result=null，请在有效期内转存。提示词增强和未交付视频时为空。"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"任务创建时间（UTC）。"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At","description":"任务结束时间（UTC）；charging/queued/running 期间为空。"}},"type":"object","required":["task_id","model","operation","status","agt_cost","billing_settled","billing_cancelled","storage_status","created_at"],"title":"VideoTaskResponse","description":"One video task: submit receipt and polling result share this shape.","examples":[{"agt_cost":"300.0000","billing_cancelled":false,"billing_settled":true,"created_at":"2026-11-10T08:00:00Z","finished_at":"2026-11-10T08:06:30Z","model":"MiniMax-H3","operation":"video_generation","price_breakdown":{"currency":"AGT","subtotal_agt":"300.0000","total_agt":"300.0000","version":1},"result":{"duration":6.0,"ratio":"16:9","resolution":"768P","source":"archive","type":"video","url":"https://cdn.example/video.mp4"},"status":"succeeded","storage_expires_at":"2026-11-20T08:00:00Z","storage_status":"succeeded","task_id":"a2a-openapi-3f0c9a52-6b2f-4a53-9d6a-2f5f1c1f9a10"}]},"WalletResponse":{"properties":{"available_cents":{"type":"integer","title":"Available Cents","description":"可用 RMB 余额，单位为分。"},"frozen_cents":{"type":"integer","title":"Frozen Cents","description":"冻结 RMB 余额，单位为分。"},"points":{"anyOf":[{"type":"integer"},{"type":"number"}],"title":"Points","description":"可用 AGT 余额。"},"daily_points":{"anyOf":[{"type":"integer"},{"type":"number"}],"title":"Daily Points","description":"当日可用 AGT 额度。"},"frozen_points":{"anyOf":[{"type":"integer"},{"type":"number"}],"title":"Frozen Points","description":"冻结 AGT 余额。"},"auto_withdraw_enabled":{"type":"boolean","title":"Auto Withdraw Enabled","description":"是否开启结算后自动提现。"}},"additionalProperties":false,"type":"object","required":["available_cents","frozen_cents","points","daily_points","frozen_points","auto_withdraw_enabled"],"title":"WalletResponse","description":"Current RMB and AGT balances.","examples":[{"auto_withdraw_enabled":true,"available_cents":50000,"daily_points":5,"frozen_cents":0,"frozen_points":0,"points":1000}]},"ImageEditRequest":{"additionalProperties":false,"description":"以参考图 URL 改图的请求。","examples":[{"images":["https://cdn.example.com/source.png"],"model":"image-2.5-sunburst","n":1,"prompt":"保留主体构图，将背景改成雨夜霓虹街道","quality":"high","size":"1024x1024"}],"properties":{"model":{"description":"模型展示名称（model_name），例如 Image 2、image-2.5-sunburst，取自 `GET /api/v1/images/models` 或价格计算器返回的 `model_name`。","examples":["Image 2"],"maxLength":128,"minLength":1,"title":"Model","type":"string"},"prompt":{"description":"详细的图片生成提示词。","examples":["一只橘猫坐在成都茶馆里，纪实摄影风格，自然光"],"maxLength":32000,"minLength":1,"title":"Prompt","type":"string"},"size":{"default":"auto","description":"输出尺寸，支持 auto 或 WIDTHxHEIGHT（宽×高）。auto 按 1K 档计价；宽高都必须是 16 的倍数，宽高比在 1:3 到 3:1 之间。","examples":["1024x1024"],"pattern":"^(?:auto|[1-9]\\d*x[1-9]\\d*)$","title":"Size","type":"string"},"quality":{"default":"auto","description":"图片质量；auto 由模型选择，2.5 系列额外支持 xhigh 和 max。","enum":["auto","low","medium","high","xhigh","max"],"examples":["high"],"title":"Quality","type":"string"},"background":{"default":"auto","description":"图片背景：transparent、opaque 或 auto。","enum":["transparent","opaque","auto"],"title":"Background","type":"string"},"output_format":{"default":"png","description":"输出图片编码格式。","enum":["png","jpeg","webp","svg","gif"],"title":"Output Format","type":"string"},"response_format":{"default":"url","description":"图片返回方式：`url` 返回临时访问链接；`b64_json` 返回 base64。上游始终返回 URL，base64 仅在 API 响应阶段临时生成，不写入数据库。","enum":["url","b64_json"],"title":"Response Format","type":"string"},"n":{"default":1,"description":"本次生成的图片数量。","maximum":5,"minimum":1,"title":"N","type":"integer"},"moderation":{"default":"auto","description":"仅为兼容协议保留：上游 edits 接口不支持该字段，服务端会在转发前移除。","enum":["auto","low"],"title":"Moderation","type":"string"},"frame_count":{"anyOf":[{"maximum":16,"minimum":2,"type":"integer"},{"type":"null"}],"default":null,"description":"GIF 动画帧数，2–16；仅 output_format=gif 时可用，省略时上游默认 9。","title":"Frame Count"},"frame_duration_ms":{"anyOf":[{"maximum":2000,"minimum":20,"type":"integer"},{"type":"null"}],"default":null,"description":"GIF 每帧时长，20–2000 毫秒，上游按 10 毫秒取整；仅 output_format=gif 时可用，省略时上游默认 200。","title":"Frame Duration Ms"},"svg":{"anyOf":[{"$ref":"#/components/schemas/ImageSvgOptions"},{"type":"null"}],"default":null,"description":"改图接口不接收 SVG 编写模型配置；请省略。SVG/GIF 改图只由顶层 `output_format` 控制。"},"images":{"description":"待编辑图片列表，最多 6 张，单张不超过 10MB。每一项可以是公网 HTTPS URL，也可以是 `POST /api/v1/files/presign` 返回的 OSS key（推荐；也可写成 `oss://<key>`），或 JPEG/PNG/WebP 图片的 base64（`data:image/png;base64,...` 形式的 data URL，或不带前缀的纯 base64）。每一项也可写成 `{\"image_url\": \"...\"}` 对象；字段名也可用 `image`。base64 图片会在提交时上传到私有 OSS，任务里只保存 key。⚠️ 使用 OSS key 时请务必确认图片已 PUT 上传成功（OSS 返回 2xx）后再调用本接口；未上传成功的 key 会让运行时下载失败。URL 与 key 的大小由图片运行时下载时校验；调用运行时时会把 key 或本服务的 OSS URL 重签名成 1 天有效的 URL。","examples":[["https://cdn.example.com/source.png"]],"items":{"type":"string"},"maxItems":6,"minItems":1,"title":"Images","type":"array"},"input_fidelity":{"default":"low","deprecated":true,"description":"仅为兼容旧协议保留；上游当前会忽略该字段。","enum":["low","high"],"title":"Input Fidelity","type":"string"}},"required":["model","prompt","images"],"title":"ImageEditRequest","type":"object"},"BananaContent":{"additionalProperties":false,"description":"一条消息，由文字和可选参考图组成。","properties":{"role":{"anyOf":[{"enum":["user","model"],"type":"string"},{"type":"null"}],"default":null,"description":"消息角色；请求通常使用 user，省略时按用户消息处理。","examples":["user"],"title":"Role"},"parts":{"description":"消息内容，可包含提示词以及图片编辑使用的图片。","items":{"$ref":"#/components/schemas/BananaPart"},"minItems":1,"title":"Parts","type":"array"}},"required":["parts"],"title":"BananaContent","type":"object"},"BananaGenerationConfig":{"additionalProperties":false,"description":"上游网关支持的图片生成选项。","properties":{"responseModalities":{"anyOf":[{"items":{"type":"string"},"minItems":1,"type":"array"},{"type":"null"}],"default":null,"description":"期望的输出模态；只返回图片时使用 [\"IMAGE\"]。","examples":[["IMAGE"]],"title":"Responsemodalities"},"responseFormat":{"anyOf":[{"$ref":"#/components/schemas/BananaResponseFormat"},{"type":"null"}],"default":null,"description":"输出图片的比例与分辨率配置。"},"thinkingConfig":{"anyOf":[{"$ref":"#/components/schemas/BananaThinkingConfig"},{"type":"null"}],"default":null,"description":"可选的模型思考配置。"}},"title":"BananaGenerationConfig","type":"object"},"BananaImageOutputConfig":{"additionalProperties":false,"description":"输出图片的宽高比与分辨率档位。","properties":{"aspectRatio":{"anyOf":[{"enum":["1:1","1:4","1:8","2:3","3:2","3:4","4:1","4:3","4:5","5:4","8:1","9:16","16:9","21:9"],"type":"string"},{"type":"null"}],"default":null,"description":"输出宽高比，必须是 Banana 支持的比例之一：1:1、1:4、1:8、2:3、3:2、3:4、4:1、4:3、4:5、5:4、8:1、9:16、16:9、21:9；`香蕉2` / `香蕉2.1` 支持全部比例，`香蕉Pro` 不支持 1:4、4:1、1:8、8:1；省略时按 1:1 处理。","examples":["16:9"],"title":"Aspectratio"},"imageSize":{"anyOf":[{"enum":["1K","2K","4K"],"type":"string"},{"type":"null"}],"default":null,"description":"输出分辨率档位：1K、2K 或 4K；省略时按 1K 档计价。","examples":["2K"],"title":"Imagesize"}},"title":"BananaImageOutputConfig","type":"object"},"BananaImageUrl":{"additionalProperties":false,"description":"One reference image downloaded by the upstream gateway (URL or OSS key).","properties":{"url":{"description":"待编辑图片：公网 HTTPS URL，或 `POST /api/v1/files/presign` 返回的 OSS key（也可写成 `oss://<key>`）。⚠️ 请务必确认该 key 对应的图片已 PUT 上传成功（OSS 返回 2xx）后再调用本接口，未上传成功的 key 会导致运行时下载失败。服务端调用运行时前会把 key 重签名成 1 天有效的 URL。","examples":["https://cdn.example.com/source.png"],"minLength":1,"title":"Url","type":"string"}},"required":["url"],"title":"BananaImageUrl","type":"object"},"BananaInlineData":{"additionalProperties":false,"description":"An inline base64 reference image accepted by the Banana contract.\n\nThe value is intentionally excluded from serialization. The submission\nservice uploads the decoded bytes to OSS and replaces this part with an\n``imageUrl`` key, so the original base64 never reaches task persistence.","properties":{"mimeType":{"description":"图片 MIME 类型：image/jpeg、image/png 或 image/webp。","enum":["image/jpeg","image/png","image/webp"],"examples":["image/png"],"title":"Mimetype","type":"string"},"data":{"description":"图片原始字节的标准 base64 编码（不含 data: URI 前缀）。","format":"password","minLength":1,"title":"Data","type":"string","writeOnly":true}},"required":["mimeType","data"],"title":"BananaInlineData","type":"object"},"BananaPart":{"additionalProperties":false,"description":"消息中的一段文字或参考图。\n\n参考图支持 ``inlineData`` base64、公网 HTTPS 的 ``imageUrl``，或\n``POST /api/v1/files/presign`` 返回的 OSS key。base64 会在提交阶段上传到\nOSS，任务表只保存生成的 key；使用 key 时必须先确认图片已 PUT 上传成功。","properties":{"text":{"anyOf":[{"minLength":1,"type":"string"},{"type":"null"}],"default":null,"description":"生图提示词或图片编辑指令。","examples":["Create a cinematic image of a moon base"],"title":"Text"},"imageUrl":{"anyOf":[{"$ref":"#/components/schemas/BananaImageUrl"},{"type":"null"}],"default":null,"description":"图片编辑使用的参考图：公网 HTTPS URL，或 `POST /api/v1/files/presign` 返回的 OSS key（也支持 `oss://<key>`）。⚠️ 请务必确认图片已 PUT 上传成功（OSS 返回 2xx）后再调用本接口，未上传成功的 key 会导致运行时下载失败。"},"inlineData":{"anyOf":[{"$ref":"#/components/schemas/BananaInlineData"},{"type":"null"}],"default":null,"description":"base64 编码的参考图。服务端解码后上传到私有 OSS，数据库只保存对象 key；单张最大 10MB，支持 JPEG、PNG、WebP。","examples":[{"data":"<base64>","mimeType":"image/png"}]}},"title":"BananaPart","type":"object"},"BananaResponseFormat":{"additionalProperties":false,"description":"输出图片格式配置。","properties":{"image":{"$ref":"#/components/schemas/BananaImageOutputConfig","description":"输出图片配置。"}},"required":["image"],"title":"BananaResponseFormat","type":"object"},"BananaThinkingConfig":{"additionalProperties":false,"description":"可选的模型思考配置。","properties":{"thinkingLevel":{"anyOf":[{"minLength":1,"type":"string"},{"type":"null"}],"default":null,"description":"思考强度；支持该能力的模型可传 minimal 或 high。","examples":["minimal"],"title":"Thinkinglevel"},"includeThoughts":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"是否让上游返回思考内容。","examples":[false],"title":"Includethoughts"}},"title":"BananaThinkingConfig","type":"object"},"BananaGenerationRequest":{"additionalProperties":false,"description":"以模型展示名称发起的图片生成请求。\n\n上游运行时把模型放在路径里；本服务的 Banana 提交接口固定使用\n``/api/v1/images/banana/generations`` 一个路径，并把 `model` 作为必填请求体参数。","examples":[{"contents":[{"parts":[{"text":"Create a cinematic image of a moon base"}]}],"generationConfig":{"responseFormat":{"image":{"aspectRatio":"16:9","imageSize":"2K"}},"responseModalities":["IMAGE"]},"model":"香蕉2.1","n":1}],"properties":{"model":{"description":"模型展示名称（model_name），例如 香蕉2.1，取自 `GET /api/v1/images/models` 或价格计算器返回的 `model_name`；服务端会换回真实模型标识调用上游。","examples":["香蕉2.1"],"maxLength":128,"minLength":1,"title":"Model","type":"string"},"contents":{"description":"消息列表；文生图放 text，图片编辑可用 `imageUrl` 或 `inlineData` 传参考图。`inlineData` 会在提交时上传到私有 OSS，任务表只保存对象 key。⚠️ 传 OSS key 时请先确认图片已上传成功。","items":{"$ref":"#/components/schemas/BananaContent"},"minItems":1,"title":"Contents","type":"array"},"generationConfig":{"anyOf":[{"$ref":"#/components/schemas/BananaGenerationConfig"},{"type":"null"}],"default":null,"description":"图片输出模态、比例、分辨率和思考选项。"},"n":{"default":1,"description":"一次返回的图片数量；上游网关会按请求顺序逐张生成。","maximum":5,"minimum":1,"title":"N","type":"integer"}},"required":["model","contents"],"title":"BananaGenerationRequest","type":"object"}},"securitySchemes":{"AgentKeyBearer":{"type":"http","description":"在 Authorization: Bearer <agent-key> 中传递 A2A Fans Agent key。","scheme":"bearer","bearerFormat":"agent-key"}}},"tags":[{"name":"TikTok","x-displayName":"TikTok","description":"社媒 · TikTok","x-category-code":"social.tiktok"},{"name":"抖音","x-displayName":"抖音","description":"社媒 · 抖音","x-category-code":"social.douyin"},{"name":"小红书","x-displayName":"小红书","description":"社媒 · 小红书","x-category-code":"social.xiaohongshu"},{"name":"Instagram","x-displayName":"Instagram","description":"社媒 · Instagram","x-category-code":"social.instagram"},{"name":"X","x-displayName":"X","description":"社媒 · X","x-category-code":"social.twitter"},{"name":"YouTube","x-displayName":"YouTube","description":"社媒 · YouTube","x-category-code":"social.youtube"},{"name":"微博","x-displayName":"微博","description":"社媒 · 微博","x-category-code":"social.weibo"},{"name":"Reddit","x-displayName":"Reddit","description":"社媒 · Reddit","x-category-code":"social.reddit"},{"name":"搜索结果","x-displayName":"搜索结果","description":"SEO · 搜索结果","x-category-code":"seo.search"},{"name":"关键词研究","x-displayName":"关键词研究","description":"SEO · 关键词研究","x-category-code":"seo.keywords"},{"name":"网站与竞品","x-displayName":"网站与竞品","description":"SEO · 网站与竞品","x-category-code":"seo.sites"},{"name":"外链分析","x-displayName":"外链分析","description":"SEO · 外链分析","x-category-code":"seo.backlinks"},{"name":"页面审计","x-displayName":"页面审计","description":"SEO · 页面审计","x-category-code":"seo.audit"},{"name":"网页问答采集","x-displayName":"网页问答采集","description":"GEO · 网页问答采集","x-category-code":"geo.answers"},{"name":"品牌与竞品","x-displayName":"品牌与竞品","description":"GEO · 品牌与竞品","x-category-code":"geo.mentions"},{"name":"引用来源分析","x-displayName":"引用来源分析","description":"GEO · 引用来源分析","x-category-code":"geo.citations"},{"name":"历史变化","x-displayName":"历史变化","description":"GEO · 历史变化","x-category-code":"geo.history"},{"name":"需求估算","x-displayName":"需求估算","description":"GEO · 需求估算","x-category-code":"geo.demand"},{"name":"Amazon","x-displayName":"Amazon","description":"电商 · Amazon","x-category-code":"ecommerce.amazon"},{"name":"Google Shopping","x-displayName":"Google Shopping","description":"电商 · Google Shopping","x-category-code":"ecommerce.google_shopping"},{"name":"1688","x-displayName":"1688","description":"电商 · 1688","x-category-code":"ecommerce.1688"},{"name":"Walmart","x-displayName":"Walmart","description":"电商 · Walmart","x-category-code":"ecommerce.walmart"},{"name":"eBay","x-displayName":"eBay","description":"电商 · eBay","x-category-code":"ecommerce.ebay"},{"name":"TikTok Shop","x-displayName":"TikTok Shop","description":"电商 · TikTok Shop","x-category-code":"ecommerce.tiktok_shop"},{"name":"小红书电商","x-displayName":"小红书电商","description":"电商 · 小红书电商","x-category-code":"ecommerce.xiaohongshu"},{"name":"image-models","x-displayName":"图片模型与价格"},{"name":"openai-models","x-displayName":"OpenAI 兼容模型"},{"name":"image","x-displayName":"GPT Image"},{"name":"banana","x-displayName":"Banana"},{"name":"mj","x-displayName":"Midjourney"},{"name":"seedream","x-displayName":"Seedream Image"},{"name":"image-tasks","x-displayName":"图片任务"},{"name":"files","x-displayName":"参考图上传"},{"name":"minimax-video","x-displayName":"MiniMax H3"},{"name":"magi-video","x-displayName":"MAGI-2 视频生成"},{"name":"video-tasks","x-displayName":"视频任务"},{"name":"a2afans-users","x-displayName":"账户信息"},{"name":"meta","x-displayName":"服务信息"},{"name":"pricing","x-displayName":"接口价格"}],"x-tagGroups":[{"name":"社媒","tags":["TikTok","抖音","小红书","Instagram","X","YouTube","微博","Reddit"]},{"name":"SEO","tags":["搜索结果","关键词研究","网站与竞品","外链分析","页面审计"]},{"name":"GEO","tags":["网页问答采集","品牌与竞品","引用来源分析","历史变化","需求估算"]},{"name":"电商","tags":["Amazon","Google Shopping","1688","Walmart","eBay","TikTok Shop","小红书电商"]},{"name":"图片生成","tags":["image-models","openai-models","image","banana","mj","seedream","image-tasks","files"]},{"name":"视频生成","tags":["minimax-video","magi-video","video-tasks"]},{"name":"账户与系统","tags":["a2afans-users","meta","pricing"]}]}