Google

Google Finance chart data

Returns the price chart for a Google Finance quote such as AAPL:NASDAQ or BTC-USD over a window from 1d to max (default 1d). Each point has a time, price and volume; the response also carries the instrument's name, exchange, currency, current price, change and previous close.

get/google/finance/chart/{quote}

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/google/finance/chart/{quote}
  • Auth: API key in header x-api-key

Path parameters

quotestring required

Quote identifier such as AAPL:NASDAQ

Query parameters

windowstring

Window: 1d, 5d, 1m, 6m, ytd, 1y, 5y, max

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "instrument": {
      "after_hours": {
        "change": -3.37,
        "change_percent": -1.3,
        "price": 255.65
      },
      "change": -3.37,
      "change_percent": -1.3,
      "country": "US",
      "currency": "USD",
      "exchange": "NASDAQ",
      "google_id": "/m/07zmbvf",
      "identifier": "AAPL:NASDAQ",
      "last_update_unix": 1777077000,
      "name": "Apple Inc",
      "previous_close": 236.35,
      "price": 255.65,
      "ticker": "AAPL",
      "timezone": "America/New_York",
      "type": "stock"
    },
    "points": [
      {
        "price": 239.5,
        "time": "2024-12-27T09:03:00Z",
        "volume": 131032
      }
    ],
    "previous_close": 236.35,
    "window": "1m"
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 4 revisions of this API.