DataForSEO
SEO, search-engine results, keyword research, backlinks and AI visibility data.
Setting Google Finance Markets SERP Tasks
Queues the market indexes and movers Google Finance lists 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.
- 型: array object[]
- market型: string
_type 必須Market type for the Markets tab
- language型: string
_code Search engine language code
- language型: string
_name Full name of search engine language
- location型: integer
_code Search engine location code
- location型: string
_name Full name of search engine location
- pingback型: string
_url Notification URL of a completed task
- postback型: string
_data Postback datatype; possible values: advanced, html
- postback型: string
_url URL for sending task results
- priority型: integer
Task priority
- 型: object200
Successful response
- 型: numbercost
Total tasks cost, USD
- 型: integerstatus
_code General status code
- 型: stringstatus
_message General informational message
- 型: array string[]tasks
Array of task objects
- 型: integertasks
_count The number of tasks in the tasks array
- 型: integertasks
_error The number of tasks in the tasks array returned with an error
- 型: numbertasks[]
.cost Cost of the task, USD
- 型: stringtasks[]
.id Task identifier in UUID format
- 型: integertasks[]
.result _count Number of elements in the result array
- 型: integertasks[]
.status _code Task status code
- 型: stringtasks[]
.status _message Task status message
- 型: stringtime
Execution time, seconds
- 型: stringversion
The current version of the API
application/json - 400
Bad request
- 401
Unauthorized
- 402
The request cannot proceed because a billing requirement is not met.
- 403
The account is not permitted to perform this operation.
- 429
Rate limit exceeded
- 500
Internal server error
- 502
The service could not complete the request.
- 503
The API or billing service is temporarily unavailable.
- 504
The service timed out while processing the request.
- default
The operation failed. Keep the response request ID when contacting Felo support.
curl https://openapi.felo.ai/v1/beta/dataforseo/serp/google/finance_markets/task_post \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '[
{
"location_name": "",
"location_code": 1,
"language_name": "",
"language_code": "",
"market_type": "",
"priority": 1,
"postback_url": "",
"pingback_url": "",
"postback_data": ""
}
]'
{
"version": "string",
"status_code": 1,
"status_message": "string",
"time": "string",
"cost": 1,
"tasks_count": 1,
"tasks_error": 1,
"tasks": [
"string"
],
"tasks[].id": "string",
"tasks[].status_code": 1,
"tasks[].status_message": "string",
"tasks[].cost": 1,
"tasks[].result_count": 1
}