Google Finance price chart

GET https://api.api.sh/google-finance/v1/chart
1 credit / call search & seo try it in the playground →

Each point has its time (with the market's UTC offset), price, change and change % against the chart's reference price (the previous close for 1d, the first point otherwise) and volume where the market reports it.

Every response includes credits_used: the credits this call cost.

Parameters

nametypedescription
symbolrequired string TICKER:EXCHANGE as Google Finance writes it, e.g. AAPL:NASDAQ, VOD:LON, .INX:INDEXSP; a currency or crypto pair such as EUR-USD or BTC-USD. A bare US ticker such as AAPL is looked up on the US exchanges. Example: AAPL:NASDAQ
range 1d | 5d | 1m | 6m | ytd | 1y | 5y | max The chart range (default 1m).
hl string Interface language, e.g. en (default).

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/google-finance/v1/chart?symbol=AAPL%3ANASDAQ" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.