데이터 API / DataForSEO / SERP
Setting Google Dataset Search Tasks
Queues datasets matching a query in Google Dataset Search on Google, returning a task id in tasks[0].id. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200. The live twin answers immediately and is simpler for a single query; queue when the batch would outlast a tool call.
파라미터
경로, 쿼리, 헤더 파라미터가 없습니다.
요청 본문
keywordstring필수Keyword to search datasets for
language_namestring선택Full name of search engine language
language_codestring선택Search engine language code
osstring선택Device operating system, such as windows or macos
last_updatedstring선택Last time the dataset was updated, such as 1m, 1y, or 3y
file_formatsstring[]선택Dataset file formats, such as other, archive, text, image, document, or tabular
usage_rightsstring선택Usage rights, such as commercial or noncommercial
priorityinteger선택Task priority
postback_urlstring선택URL for sending task results
pingback_urlstring선택Notification URL of a completed task
postback_datastring선택Postback datatype; possible value: advanced
요청 예시
curl -X POST "https://openapi.felo.ai/v1/beta/dataforseo/serp/google/dataset_search/task_post" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "<string>",
"language_name": "<string>",
"language_code": "<string>",
"os": "<string>",
"last_updated": "<string>",
"file_formats": [
"<string>"
],
"usage_rights": "<string>",
"priority": 0
}'응답
응답 필드
versionstring선택The current version of the API
status_codeinteger선택General status code
status_messagestring선택General informational message
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 returned with an error
tasksstring[]선택Array of task objects
idstring선택Task identifier in UUID format
status_codeinteger선택Task status code
status_messagestring선택Task status message
costnumber선택Cost of the task, USD
result_countinteger선택Number of elements in the result array