Skip to main content
POST
/
api
/
google
/
finance
/
quotes
/
ratings
/google/finance/quotes/ratings
curl --request POST \
  --url https://api.anysite.io/api/google/finance/quotes/ratings \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "ticker": "<string>",
  "timeout": 300
}
'
[
  {
    "@type": "@google_finance_ratings",
    "consensus": "<string>",
    "analyst_count": 123,
    "price_target_low": 123,
    "price_target_high": 123,
    "price_target_average": 123,
    "currency": "<string>",
    "ratings": []
  }
]

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"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

@type
string
default:@google_finance_ratings
consensus
string | null
analyst_count
integer | null
price_target_low
number | null
price_target_high
number | null
price_target_average
number | null
currency
string | null
ratings
GoogleFinanceAnalystRating · object[]