数据 API / DataForSEO / Keywords Data
Setting Live ‘Bing Ads Keyword Suggestions for URL’ Tasks
Suggests Bing keywords for one page target, reading the page itself rather than a seed list. exclude_brands drops brand terms, language_code scopes it. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200. Use it when you have a URL and no keyword list yet; once you have seeds, post_dataforseo_keywords_bing_kw_for_keywords_live expands them. The submit and fetch twins of this endpoint do the same work asynchronously, at the same price, for batches too large to wait on.
参数
没有路径、查询或请求头参数。
请求体
targetstring必填target URL of the webpage to scan for possible keywords required field maximum length: 2000 characters
language_codestring可选search engine language code required field if you don’t specify language_name if you use this field, you don’t need to specify language_name you can receive the list of available languages with their language_code by making a separate request to https://api.dataforseo.com/v3/keywords_data/bing/keyword_suggestions_for_url/languages example: en
exclude_brandsboolean可选determines whether the results exclude brand keywords optional field
language_namestring可选Full name of the search engine language. Required if language_code is not supplied; either language_name or language_code is sufficient.
请求示例
curl -X POST "https://openapi.felo.ai/v1/beta/dataforseo/keywords_data/bing/keyword_suggestions_for_url/live" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"target": "<string>",
"language_code": "<string>",
"exclude_brands": false,
"language_name": "<string>"
}'响应
响应字段
versionstring可选the current version of the API
status_codeinteger可选general status code you can find the full list of the response codes here Note: we strongly recommend designing a necessary system for handling related exceptional or error conditions
status_messagestring可选general informational message you can find the full list of general informational messages here
timestring可选execution time, seconds
costnumber可选total tasks cost, USD
tasks_countinteger可选the number of tasks in the tasks array
tasks_errorinteger可选the number of tasks in the tasks array that were returned an error
tasksstring[]可选array of tasks
idstring可选task identifier unique task identifier in our system in the UUID format
status_codeinteger可选status code of the task generated by DataForSEO; can be within the following range: 10000-60000 you can find the full list of response codes here
status_messagestring可选informational message of the task you can find the full list of general informational messages here
timestring可选execution time, seconds
costnumber可选cost of the task, USD
result_countinteger可选number of elements in the result array
pathstring[]可选URL path
dataobject可选contains the same parameters that you specified in the POST request
resultstring[]可选array of results results are sorted in order from keywords with the highest confidence score to those with the lowest confidence score
keywordstring可选suggested keyword
confidence_scorenumber可选a score from 0.0 to 1.0 that indicates the probability that the keyword would match a user’s search query