Skip to main content
POST
/
api
/
google
/
finance
/
quotes
/
history
/google/finance/quotes/history
curl --request POST \
  --url https://api.anysite.io/api/google/finance/quotes/history \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "ticker": "<string>",
  "count": 2,
  "timeout": 300,
  "interval": "1d"
}
'
[
  {
    "date_at": "<string>",
    "@type": "@google_finance_bar",
    "open": 123,
    "high": 123,
    "low": 123,
    "close": 123,
    "volume": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
ticker
string
required

Ticker in SYMBOL:EXCHANGE form

Pattern: ^[A-Za-z0-9.\-]{1,15}:[A-Za-z0-9.\-]{1,15}$
Examples:

"GOOGL:NASDAQ"

"AAPL:NASDAQ"

"TSLA:NASDAQ"

count
integer
required

Maximum number of bars to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
interval
enum<string>
default:1d

Bar interval: 5m for intraday or 1d for daily bars

Available options:
5m,
1d

Response

Successful Response

date_at
string
required
@type
string
default:@google_finance_bar
open
number | null
high
number | null
low
number | null
close
number | null
volume
integer | null