Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

DataForSEO Google Finance Explore

Tài liệu API
https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/finance_explore/live/advanced

Fetch Google Finance's explore page: market movers, indexes, and news. Google Finance explore data for a location.

Giá
$0.002USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
Location code, e.g. 2840 for the United States.
Language code, e.g. "en".
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

DataForSEO Google Finance Explore API

Returns the Google Finance explore page for a location and language. The response holds major stock index values grouped by region, an earnings calendar, and a list of news stories. It needs location_code and language_code.

Use cases

  • Show a dashboard of the Dow Jones, S&P 500, Nasdaq, DAX, FTSE 100, and Nikkei 225 with their daily change.
  • List companies that report earnings today and link each one to its Google Finance quote page.
  • Collect current market news headlines with source names and timestamps for a finance news feed.
  • Compare what Google Finance shows in different countries by changing location_code and language_code.

Request

curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/finance_explore/live/advanced" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"location_code": 2840, "language_code": "en"}'

The result is returned in outputs[0].

Parameters

NameTypeRequiredDescription
language_codestringNoLanguage code, e.g. "en".
location_codeintegerNoLocation code, e.g. 2840 for the United States.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "data": {
        "api": "serp",
        "device": "desktop",
        "function": "live",
        "language_code": "en",
        "location_code": 2840,
        "os": "windows",
        "se": "google",
        "se_type": "finance_explore"
      },
      "id": "11030829-1614-0139-0000-501a544e31e7",
      "path": [
        "v3"
      ],
      "result": [
        {
          "check_url": "https://www.google.com/finance/beta?hl=en&gl=us",
          "datetime": "2026-11-03 08:29:24 +00:00",
          "item_types": [
            "google_finance_hero_groups"
          ],
          "items": [
            {
              "markets": [
                {
                  "items": [
                    {
                      "displayed_name": "Dow Jones Industrial Average",
                      "identifier": ".DJI:INDEXDJX",
                      "index_value": 51983.98,
                      "index_value_delta": 213.67188,
                      "location": "America/New_York",
                      "market_identifier": "INDEXDJX",
                      "percentage_delta": 0.41273054,
                      "ticker": ".DJI"
                    }
                  ],
                  "market": "US"
                }
              ],
              "rank_absolute": 1,
              "rank_group": 1,
              "type": "google_finance_hero_groups"
            }
          ],
          "items_count": 4,
          "keyword": null,
          "language_code": "en",
          "location_code": 2840
        }
      ],
      "result_count": 1,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "2.1080 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "2.2048 sec.",
  "version": "0.1.20261022"
}

Response fields

FieldMeaning
tasks[].result[].items[].typeBlock type. The response shows google_finance_hero_groups, google_finance_earnings_calendar, and google_finance_news.
tasks[].result[].items[].markets[].marketRegion name for a group of indexes, such as US, Europe, or Asia.
tasks[].result[].items[].markets[].items[].displayed_name / ticker / identifierIndex name, ticker symbol, and the full identifier that joins ticker and exchange, such as .INX:INDEXSP.
tasks[].result[].items[].markets[].items[].index_valueCurrent value of the index.
tasks[].result[].items[].markets[].items[].index_value_delta / percentage_deltaChange in the index value, as a point amount and as a percentage. Negative values mean the index is down.
tasks[].result[].items[].markets[].items[].locationTime zone of the index's market, such as America/New_York.
tasks[].result[].items[].items[].title / urlIn the earnings calendar block, the event title and the Google Finance quote link for the company. In the news block, the headline and the article link.
tasks[].result[].items[].items[].timestampEvent date for calendar entries, or publish time for news entries. Format is YYYY-MM-DD HH:MM:SS +00:00.
tasks[].result[].items[].items[].sourceName of the news source for each news story.

Notes

  • Set location_code (for example 2840 for the United States) and language_code (for example en) in the request body.
  • The result is in tasks[].result[]. The item_types array lists which blocks the page contains.
  • Each block has rank_absolute and rank_group, which give its order on the page.
  • Earnings calendar url values contain the ticker and exchange, such as SHOP:NASDAQ.

Pricing

$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
DataForSEO$0.002 mỗi lần gọiJSON
DataForSEOTừ $0.0102 mỗi lần gọiJSON
DataForSEOTừ $0.000724 mỗi lần gọiJSON
DataForSEO$0.004 mỗi lần gọiJSON
DataForSEOTừ $0.00162 mỗi lần gọiJSON
DataForSEOTừ $0.001105 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API DataForSEO Google Finance Explore?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/finance_explore/live/advanced với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API DataForSEO Google Finance Explore có giá bao nhiêu?

$0.002 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API DataForSEO Google Finance Explore chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: location_code (integer) và language_code (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API DataForSEO Google Finance Explore trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của DataForSEO không?

Không. DataForSEO Google Finance Explore chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của DataForSEO.