JustSERPDocs
Google

Google Finance

Google Finance: a stock, index, fund, currency pair or coin, answered as the document: `search_metadata`, `search_parameters`, `search_information`, `summary`, `graph`, `knowledge_graph` (`stats`, and `about` for stocks only), `news`, `compare_to`, `markets` and `lists`.

GET
/v1/google/finance

Google Finance: a stock, index, fund, currency pair or coin, answered as the document: search_metadata, search_parameters, search_information, summary, graph, knowledge_graph (stats, and about for stocks only), news, compare_to, markets and lists. financials, key_events, related_stocks and discover_more are not answered; window 5D to MAX is a 400 (the page does not carry them). No snapshot.

Authorization

headerX-API-Key<token>

Your API key.

Query Parameters

cancel_token?string

A name you make up for this request (a UUID is fine), so you can later GET /v1/cancel with it. Only you know it, so only you can cancel. Use a new one for every request, retries included: a cancelled token stays cancelled for a few minutes.

Length1 <= length <= 128
q*string

SYMBOL:EXCHANGE or a hyphenated pair. Anything else is a 400.

Length1 <= length
hl?string

Language.

Default"en"
window?string

The chart in graph. 5D, 6M, YTD, 1Y, 5Y and MAX are a 400: the page does not carry them.

Default"1D"
Value in"1D""1M"

Response Body

The instrument, as the document. When the page could not be parsed, the usual envelope.

application/json
  1. response

The Finance document. A block is present only when the page has it.

search_metadata?
search_parameters?

The request as sent.

search_information?
summary?
graph?array<>
knowledge_graph?
news?array<>
compare_to?array<>
markets?
lists?array<>
[key: string]?any
Example Request
curl -X GET 'https://api.justserp.com/v1/google/finance?q=NVDA%3ANASDAQ'
Example Response
{  "search_metadata": {    "id": "string",    "status": "string",    "created_at": "string",    "request_url": "string"  },  "search_parameters": {},  "search_information": {},  "summary": {    "title": "string",    "stock": "string",    "exchange": "string",    "price": 0,    "currency": "string",    "date": "string",    "price_change": {}  },  "graph": [    {      "price": 0,      "currency": "string",      "date": "string",      "volume": 0    }  ],  "knowledge_graph": {    "stats": [      {}    ],    "about": {}  },  "news": [    {      "title": "string",      "articles": [        {}      ]    }  ],  "compare_to": [    {}  ],  "markets": {    "us": [      {}    ],    "europe": [      {}    ],    "asia": [      {}    ],    "latin_america": [      {}    ],    "currencies": [      {}    ],    "crypto": [      {}    ],    "futures": [      {}    ]  },  "lists": [    {}  ]}