Felo API PlatformFelo API Platform
全部 DataForSEO 端点
v0.2.0-beta
OpenAPI 3.1.0
服务器:https://openapi.felo.ai
客户端库

DataForSEO

​

SEO, search-engine results, keyword research, backlinks and AI visibility data.

热门搜索

​

某个地点中搜索量最高的关键词,不按种子词或站点筛选。分页使用 limit、offset 和 offset_token;前几页之后请改用该令牌。采用 DataForSEO 的信封结构:数据位于 tasks[0].result,结果状态位于 tasks[0].status_code——被拒绝的请求仍会返回 HTTP 200。这是该系列中负责发现的一端:还没有种子关键词时先用它,再用 post_dataforseo_labs_google_keyword_ideas_live 收窄范围。

计费参考

  • 计量方式:按上报的响应成本计量。
  • 参考请求估算:0.1356 美元。
  • 参考客户倍率:1.0。不得对已结算的客户金额再次应用。

仅供参考的元数据,不是账户报价、保证价格或消费上限。资源额度不同于 Felo 额度。最终扣费以 Felo 计费记录为准。

请求体
application/json
  • 类型: array (object | null)[]
    • filters
      类型: array (object | null)[] | null

      结果筛选参数数组
      可选字段
      可同时添加多个筛选条件(最多 8 个)
      应在条件之间设置逻辑运算符 and、or
      支持以下运算符:
      regex、not_regex、<、<=、>、>=、=、<>、in、not_in、match、not_match、ilike、not_ilike、like、not_like
      可在 like 和 not_like 以及 ilike 和 not_ilike 中使用 % 运算符,匹配任意长度(零个或多个字符)的字符串
      示例:
      ["keyword_info.search_volume",">",0]

      [["keyword_info.search_volume","in",[0,1000]],
      "and",
      ["keyword_info.competition_level","=","LOW"]]

      [["keyword_info.search_volume",">",100],
      "and",
      [["keyword_info.cpc","<",0.5],
      "or",

      ["keyword_info.high_top_of_page_bid","<=",0.5]]]
      有关筛选条件的更多信息,请参阅 Dataforseo Labs - Filters 或这篇 帮助中心指南

      空对象
    • ignore_synonyms
      类型: boolean | null

      忽略高度相似的关键词
      可选字段
      如果设为 true,则只返回核心关键词,所有高度相似的关键词都会被排除;
      默认值:false

    • include_clickstream_data
      类型: boolean | null

      在结果中包含或排除基于点击流的指标数据
      可选字段
      如果参数设为 true,响应中将包含 clickstream_keyword_info、keyword_info_normalized_with_clickstream 和 keyword_info_normalized_with_bing 字段
      默认值:false
      启用此参数后,该请求将按双倍价格计费

      有关基于点击流的指标如何计算的更多信息,请参阅这篇 帮助中心文章

    • include_serp_info
      类型: boolean | null

      包含每个关键词的 SERP 数据
      可选字段
      如果设为 true,我们将返回一个 serp_info 数组,其中包含响应中每个关键词的 SERP 数据(搜索结果数量、相关 URL 和 SERP 特性)
      默认值:false

    • language_code
      类型: string | null

      语言代码
      未指定 language_name 时为必填字段
      注意:必须指定 language_name 或 language_code
      可单独向
      https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages 发起请求,获取可用地点及其 language_code 的列表
      示例:
      en

    • language_name
      类型: string

      语言全名
      未指定 language_code 时为必填字段
      注意:必须指定 language_name 或 language_code
      可单独向
      https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages 发起请求,获取可用地点及其 language_name 的列表
      示例:
      English

    • limit
      类型: integer | null

      返回关键词的最大数量
      可选字段
      注意:可通过在每次后续请求的响应中提供的 offset_token 获取超过 1000 条结果
      默认值:1000
      最大值:1000

    • location_code
      类型: integer

      地点代码
      未指定 location_name 时为必填字段
      注意:必须指定 location_name 或 location_code
      可单独向
      https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages 发起请求,获取可用地点及其 location_code 的列表
      示例:
      2840

    • location_name
      类型: string

      地点全名
      未指定 location_code 时为必填字段
      注意:必须指定 location_name 或 location_code
      可单独向
      https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages 发起请求,获取可用地点及其 location_name 的列表
      示例:
      United Kingdom

    • offset
      类型: integer | null

      返回的关键词在结果数组中的偏移量
      可选字段
      默认值:0
      如果指定 10,结果数组中的前十个关键词将被跳过,并返回后续关键词的数据
      注意:建议仅在检索最多 10,000 条结果时使用此参数
      如需检索超过 10,000 条结果,请改用 offset_token。

    • offset_token
      类型: string | null

      用于后续请求的偏移令牌
      可选字段
      在每次请求响应的同名字段中提供;
      使用此参数可在单次请求尝试获取超过 10,000 条结果时避免超时;
      通过指定响应数组中的唯一 offset_token 值,你将获得初始任务的后续结果;
      offset_token 值对每个后续任务都是唯一的
      注意:如果请求中指定了 offset_token,处理任务时将不考虑除 limit 之外的所有其他参数。
      有关此参数的更多信息,请参阅我们的帮助中心

    • order_by
      类型: array string[] | null

      结果排序规则
      可选字段
      可使用与 filters 数组相同的值对结果排序
      可能的排序类型:
      asc - 结果将按升序排列
      desc - 结果将按降序排列
      应使用逗号设置排序类型
      示例:
      ["keyword_info.competition,desc"]
      默认规则:
      ["keyword_info.search_volume,desc"]
      注意,单次请求中最多可设置三条排序规则
      应使用逗号分隔多条排序规则
      示例:
      ["keyword_info.search_volume,desc","keyword_info.cpc,desc"]

    • tag
      类型: string | null

      用户自定义任务标识符
      可选字段
      字符数上限为 255
      可使用此参数标识任务,并将其与结果对应
      可在响应的 data 对象中找到指定的 tag 值

响应
  • 200
    类型: object | null · Response36Afe1097B20_DataforseoLabsGoogleTopSearchesLiveResponseInfo
    • cost
      类型: number | null 格式: double

      任务总费用,美元

    • status_code
      类型: integer | null

      通用状态码 完整响应码列表见此处

    • status_message
      类型: string | null

      通用信息性消息 完整的一般信息性消息列表见此处

    • tasks
      类型: array (object | null)[] | null

      任务数组

      • 类型: object | null · Response36Afe1097B20_DataforseoLabsGoogleTopSearchesLiveTaskInfo
        • cost
          类型: number | null 格式: double

          任务总费用,美元

        • data
          类型: object | null

          包含你在 POST 请求中指定的相同参数

          • propertyName
            类型: object | null
        • id
          类型: string | null

          任务标识符 我们系统中 UUID 格式的唯一任务标识符

        • path
          类型: array (string | null)[] | null

          URL 路径

        • result
          类型: array (object | null)[] | null

          结果数组

          • items
            类型: array (object | null)[] | null

            包含关键词及相关数据

            • avg_backlinks_info
              类型: object | null · Response36Afe1097B20_AvgBacklinksInfo

              返回关键词的反向链接数据
              此对象提供平均反向链接数、引用页面数和域名数,以及该关键词自然排名前 10 网站的平均排名值

              • backlinks
                类型: number | null

                平均反向链接数

              • dofollow
                类型: number | null

                平均 dofollow 链接数

              • last_updated_time
                类型: string | null

                关键词数据更新的日期和时间
                采用 UTC 格式:“yyyy-mm-dd hh-mm-ss +00:00”
                示例:
                2019-11-15 12:57:46 +00:00

              • main_domain_rank
                类型: number | null

                平均主域名排名
                在此帮助中心文章中了解该指标及其计算公式

              • rank
                类型: number | null

                平均排名
                有关该指标及其计算方式的更多信息,请参阅这篇帮助中心文章

              • referring_domains
                类型: number | null

                平均引用域名数量

              • referring_main_domains
                类型: number | null

                平均引用主域名数量

              • referring_pages
                类型: number | null

                平均引用页面数量

              • se_type
                类型: string | null

                搜索引擎类型

            • clickstream_keyword_info
              类型: object | null · Response36Afe1097B20_ClickstreamKeywordInfo

              返回关键词的点击流数据
              要获取此字段的结果,参数 include_clickstream_data 必须设为 true

              • age_distribution
                类型: object | null

                基于点击流的指标按年龄的分布
                如需了解该指标的计算方式,请参阅此帮助中心文章

                • propertyName
                  类型: integer | null 格式: int64

                  Signed 64-bit integers (long type).

              • gender_distribution
                类型: object | null

                基于点击流的估算指标按性别的分布
                如需了解该指标的计算方式,请参阅此帮助中心文章

                • propertyName
                  类型: integer | null 格式: int64

                  Signed 64-bit integers (long type).

              • last_updated_time
                类型: string | null

                关键词数据更新的日期和时间
                采用 UTC 格式:“yyyy-mm-dd hh-mm-ss +00:00”
                示例:
                2019-11-15 12:57:46 +00:00

              • monthly_searches
                类型: array (object | null)[] | null

                每月搜索量
                表示该关键词创意在指定地理位置的(近似)搜索次数(基于过去十二个月的数据)

                • month
                  类型: integer | null

                  月

                • search_volume
                  类型: integer | null

                  每月平均搜索量

                • year
                  类型: integer | null

                  年

              • search_volume
                类型: integer | null 格式: int64

                平均每月搜索量
                表示该关键词创意在 google.com 上的(近似)搜索次数

            • keyword
              类型: string | null

              返回的关键词想法

            • keyword_info
              类型: object | null · Response36Afe1097B20_KeywordInfo

              返回关键词想法的关键词数据

              • categories
                类型: array integer[] | null

                产品和服务类别
                你可以下载所有可能类别的完整列表

              • competition
                类型: number | null

                竞争
                表示与指定关键词相关的相对竞争程度。该值基于 Google Ads 数据,介于 0 和 1 之间(含 0 和 1)

              • competition_level
                类型: string | null

                竞争程度
                仅表示指定关键词在付费 SERP 中的相对竞争程度;
                可能的值:LOW、MEDIUM、HIGH
                如果竞争程度未知,该值为 null;
                在这篇帮助中心文章中了解该指标的更多信息

              • cpc
                类型: number | null

                每次点击费用
                表示该关键词历史平均每次点击费用(美元)

              • high_top_of_page_bid
                类型: number | null

                广告展示在首页顶部的最高出价
                表示高于约 80% 的广告获得展示所需最低出价的值(基于 Google Ads 的广告主统计数据)
                该值可能因 POST 请求中指定的地点而异

              • last_updated_time
                类型: string | null

                关键词数据更新的日期和时间
                采用 UTC 格式:“yyyy-mm-dd hh-mm-ss +00:00”
                示例:
                2019-11-15 12:57:46 +00:00

              • low_top_of_page_bid
                类型: number | null

                广告展示在首页顶部的最低出价
                表示高于约 20% 的广告获得展示所需最低出价的值(基于 Google Ads 的广告主统计数据)
                该值可能因 POST 请求中指定的地点而异

              • monthly_searches
                类型: array (object | null)[] | null

                每月搜索量
                表示该关键词创意在指定地理位置的(近似)搜索次数(基于过去十二个月的数据)

                • month
                  类型: integer | null

                  月

                • search_volume
                  类型: integer | null

                  每月平均搜索量

                • year
                  类型: integer | null

                  年

              • se_type
                类型: string | null

                搜索引擎类型

              • search_volume
                类型: integer | null 格式: int64

                平均每月搜索量
                表示该关键词创意在 google.com 上的(近似)搜索次数

              • search_volume_trend
                类型: object | null · Response36Afe1097B20_SearchVolumeTrend

                搜索量趋势变化
                表示与上一周期相比的搜索量变化百分比

                • monthly
                  类型: integer | null

                  搜索量相较上个月的百分比变化

                • quarterly
                  类型: integer | null

                  搜索量相较上季度的百分比变化

                • yearly
                  类型: integer | null

                  搜索量相较去年的百分比变化

            • keyword_info_normalized_with_bing
              类型: object | null · Response36Afe1097B20_KeywordInfoNormalizedWithInfo

              包含按 Bing 搜索量归一化的关键词搜索量

              • is_normalized
                类型: boolean | null

                关键词信息已归一化 如果为 true,数值将使用 Bing 数据进行归一化

              • last_updated_time
                类型: string | null

                数据集更新日期和时间 UTC 格式:“yyyy-mm-dd hh-mm-ss +00:00” 示例: 2019-11-15 12:57:46 +00:00

              • monthly_searches
                类型: array (object | null)[] | null

                每月搜索量 对象数组,包含一年中某个月的搜索量

                • month
                  类型: integer | null

                  月

                • search_volume
                  类型: integer | null

                  每月平均搜索量

                • year
                  类型: integer | null

                  年

              • search_volume
                类型: integer | null

                关键词的当前搜索量

            • keyword_info_normalized_with_clickstream
              类型: object | null · Response36Afe1097B20_KeywordInfoNormalizedWithInfo

              包含按点击流数据归一化的关键词搜索量

              • is_normalized
                类型: boolean | null

                关键词信息已归一化 如果为 true,数值将使用 Bing 数据进行归一化

              • last_updated_time
                类型: string | null

                数据集更新日期和时间 UTC 格式:“yyyy-mm-dd hh-mm-ss +00:00” 示例: 2019-11-15 12:57:46 +00:00

              • monthly_searches
                类型: array (object | null)[] | null

                每月搜索量 对象数组,包含一年中某个月的搜索量

                • month
                  类型: integer | null

                  月

                • search_volume
                  类型: integer | null

                  每月平均搜索量

                • year
                  类型: integer | null

                  年

              • search_volume
                类型: integer | null

                关键词的当前搜索量

            • keyword_properties
              类型: object | null · Response36Afe1097B20_KeywordProperties

              关键词的附加信息

              • core_keyword
                类型: string | null

                词组中的主关键词
                包含由同义词聚类算法确定的词组主关键词
                如果值为 null,则表示我们的数据库中没有相应算法能识别为与 keyword 同义的关键词

              • detected_language
                类型: string | null

                检测到的关键词语言
                表示系统识别出的关键词语言

              • is_another_language
                类型: boolean | null

                检测到的关键词语言与设置的语言不同
                如果为 true,表示请求中设置的语言与系统为给定关键词确定的语言不一致

              • keyword_difficulty
                类型: integer | null

                关键词进入前 10 个自然搜索结果排名的难度
                表示关键词进入前 10 个自然搜索结果的机会,采用 0 到 100 的对数刻度;
                计算时会分析 SERP 前 10 个页面的链接概况等参数;
                在这篇帮助中心指南中了解该指标的更多信息

              • se_type
                类型: string | null

                搜索引擎类型

              • synonym_clustering_algorithm
                类型: string | null

                用于识别同义词的算法
                可能的值:
                keyword_metrics - 表示基于 keyword_info 参数的算法
                text_processing - 表示基于文本的算法
                如果值为 null,则表示我们的数据库中没有相应算法能识别为与 keyword 同义的关键词

              • words_count
                类型: integer | null 格式: int64

                关键词中的词数
                表示该关键词由多少个词组成

            • language_code
              类型: string | null

              POST 数组中的语言代码

            • location_code
              类型: integer | null

              POST 数组中的位置代码

            • se_type
              类型: string | null

              搜索引擎类型

            • search_intent_info
              类型: object | null · Response36Afe1097B20_SearchIntentInfo

              返回关键词的搜索意图信息
              可在这篇帮助中心文章中了解搜索意图

              • foreign_intent
                类型: array (string | null)[] | null

                补充搜索意图
                可能的值:informational、navigational、commercial、transactional

              • last_updated_time
                类型: string | null

                关键词数据更新的日期和时间
                采用 UTC 格式:“yyyy-mm-dd hh-mm-ss +00:00”
                示例:
                2019-11-15 12:57:46 +00:00

              • main_intent
                类型: string | null

                主要搜索意图
                可能的值:informational、navigational、commercial、transactional

              • se_type
                类型: string | null

                搜索引擎类型

            • serp_info
              类型: object | null · Response36Afe1097B20_SerpInfo

              SERP 数据
              此值为 null 的情况包括:未在 POST 数组中把 include_serp_info 设为 true,或我们的数据库中没有该关键词的 SERP 数据

              • check_url
                类型: string | null

                搜索引擎结果的直接 URL
                可用于确保我们提供了准确的结果

              • last_updated_time
                类型: string | null

                关键词数据更新的日期和时间
                采用 UTC 格式:“yyyy-mm-dd hh-mm-ss +00:00”
                示例:
                2019-11-15 12:57:46 +00:00

              • previous_updated_time
                类型: string | null

                SERP 数据在最近一次更新之前的日期和时间
                采用 UTC 格式:“yyyy-mm-dd hh-mm-ss +00:00”
                示例:
                2019-10-15 12:57:46 +00:00

              • se_results_count
                类型: integer | null 格式: int64

                返回关键词的搜索结果数

              • se_type
                类型: string | null

                搜索引擎类型

              • serp_item_types
                类型: array (string | null)[] | null

                SERP 中的搜索结果类型
                包含在 SERP 中找到的搜索结果类型(items)
                可能的条目类型:
                answer_box、app、carousel、multi_carousel、featured_snippet、google_flights、google_reviews、third_party_reviews、google_posts、images、jobs、knowledge_graph、local_pack、hotels_pack、map、organic、paid、people_also_ask、related_searches、people_also_search、shopping、top_stories、twitter、video、events、mention_carousel、recipes、top_sights、scholarly_articles、popular_products、podcasts、questions_and_answers、find_results_on、stocks_box、visual_stories、commercial_units、local_services、google_hotels、math_solver、currency_box、product_considerations、found_on_web、short_videos、refine_products、explore_brands、perspectives、discussions_and_forums、compare_sites、courses、ai_overview;
                注意,实际结果仅针对 organic、paid、featured_snippet 和 local_pack 元素返回

          • items_count
            类型: integer | null 格式: int64

            items 数组中返回的结果数

          • language_code
            类型: string | null

            POST 数组中的语言代码

          • location_code
            类型: integer | null

            POST 数组中的位置代码

          • offset
            类型: integer | null

            当前偏移值

          • offset_token
            类型: string | null

            用于后续请求的偏移令牌
            可使用此字段中提供的字符串获取初始任务的后续结果;
            注意:offset_token 的值对每个后续任务都是唯一的

          • se_type
            类型: string | null

            搜索引擎类型

          • total_count
            类型: integer | null 格式: int64

            我们数据库中与你的请求相关的结果总数

        • result_count
          类型: integer | null 格式: int64

          result 数组中的元素数

        • status_code
          类型: integer | null

          任务的状态码 由 DataForSEO 生成,范围如下:10000-60000 完整响应码列表见此处

        • status_message
          类型: string | null

          任务的信息性消息 完整的一般信息性消息列表见此处

        • time
          类型: string | null

          执行时间,秒

    • tasks_count
      类型: integer | null 格式: int64

      tasks 数组中的任务数

    • tasks_error
      类型: integer | null 格式: int64

      tasks 数组中返回错误的任务数

    • time
      类型: string | null

      总执行时间,秒

    • version
      类型: string | null

      API 的当前版本

    application/json
  • 400

    无法处理该请求。请检查请求参数。

  • 401

    需要有效的 Felo API 密钥。

  • 402

    由于未满足计费要求,请求无法继续。

  • 403

    该账户无权执行此操作。

  • 429

    已达到请求或支出限额。

  • 502

    服务无法完成该请求。

  • 503

    API 或计费服务暂时不可用。

  • 504

    服务在处理请求时超时。

  • default

    错误响应;上游透传响应可能采用提供方格式

    application/json
Request Example for post/v1/beta/dataforseo/dataforseo_labs/google/top_searches/live
curl https://openapi.felo.ai/v1/beta/dataforseo/dataforseo_labs/google/top_searches/live \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '[
  {
    "language_name": "English",
    "location_code": 2840,
    "limit": 3
  }
]'
{
  "version": null,
  "status_code": null,
  "status_message": null,
  "time": null,
  "cost": null,
  "tasks_count": null,
  "tasks_error": null,
  "tasks": [
    {
      "id": null,
      "status_code": null,
      "status_message": null,
      "time": null,
      "cost": null,
      "result_count": null,
      "path": [
        null
      ],
      "data": null,
      "result": [
        {
          "se_type": null,
          "location_code": null,
          "language_code": null,
          "total_count": null,
          "items_count": null,
          "offset": null,
          "offset_token": null,
          "items": [
            {
              "se_type": null,
              "keyword": null,
              "location_code": null,
              "language_code": null,
              "keyword_info": "[Max Depth Exceeded]",
              "keyword_info_normalized_with_bing": "[Max Depth Exceeded]",
              "keyword_info_normalized_with_clickstream": "[Max Depth Exceeded]",
              "clickstream_keyword_info": "[Max Depth Exceeded]",
              "keyword_properties": "[Max Depth Exceeded]",
              "serp_info": "[Max Depth Exceeded]",
              "avg_backlinks_info": "[Max Depth Exceeded]",
              "search_intent_info": "[Max Depth Exceeded]"
            }
          ]
        }
      ]
    }
  ]
}
Top Searches

需要帮助?