API para Google Finance: Cotação
Obtenha uma cotação ao vivo de qualquer ação, índice, ETF, fundo mútuo, par de moedas ou símbolo de cripto: nome, preço atual, variação absoluta e percentual no dia, moeda da cotação, bolsa e estado do mercado, além de números intradiários e de referência (abertura, máxima e mínima do dia, fechamento anterior, volume, valor de mercado e a faixa de 52 semanas).
US$ 1,16/mil req., pague por requisição, sem assinatura.
Home › AAPL:NasdaqGS
Apple Inc
Closed · NasdaqGS · USD
{"symbol": "AAPL","price": 338.4,"name": "Apple Inc","change": -2.67,"changePercent": -0.78,"currency": "USD","exchange": "NasdaqGS","marketState": "CLOSED",... 13 campos a mais}
Preços
Preços do endpoint Cotação da API para Google Finance
Teste
Obtenha Cotação do Google Finance em uma só requisição
Este exemplo mostra 24 de 25 campos. Ver todos os campos
{
"found": true,
"data": {
"items": [
{
"symbol": "AAPL",
"price": 338.4,
"name": "Apple Inc",
"change": -2.67,
"changePercent": -0.78,
"currency": "USD",
"exchange": "NasdaqGS",
"marketState": "CLOSED",
"assetType": "EQUITY",
"previousClose": 341.07,
"open": 340.37,
"dayHigh": 342.99,
"dayLow": 338.04,
"volume": 32820000,
"averageVolume": 41440000,
"marketCap": 4940000000000,
"fiftyTwoWeekHigh": 345.34,
"fiftyTwoWeekLow": 243.42,
"bid": 338.35,
"ask": 338.45,
"asOfUtc": 1790625600
}
]
}
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Uma requisição, um formato de resposta.
Cada campo que você envia e cada campo que você recebe, cada um com um exemplo real.
Última verificação em 2026-11-14 · disponibilidade e latência medidas em 30d
Corpo da requisição
JSON, enviado via POST para este endpoint.
- symbolstring
AAPL:NASDAQ
O símbolo a cotar. Ações dos EUA usam o ticker simples (ex.: AAPL, TSLA); ações de fora dos EUA acrescentam um sufixo de mercado (ex.: VOW3.DE, BABA.HK, BARC.L); índices usam acento circunflexo (ex.: ^GSPC, ^DJI); cripto e moedas usam a forma de par (ex.: BTC-USD, EURUSD=X); fundos mútuos e futuros usam o próprio símbolo (ex.: VFIAX, ES=F). Formas alternativas comuns são aceitas e normalizadas (ex.: AAPL:NASDAQ, .DJI, BTC/USD). Apenas símbolos exatos, não uma busca por nome de empresa.
Resposta
JSON, um valor de exemplo por campo.
The quote for the requested symbol: name, current price, day change (absolute and percent), quote currency, exchange and market state, plus intraday and reference figures. Up to one element (empty when the symbol did not resolve). Populated whenever the provider has data for the entity.
- asOfUtcnumber
1790625600
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
- asknumber
338.45
Current ask price.
- assetTypestring
EQUITY
Instrument class (e.g. EQUITY, ETF, CRYPTOCURRENCY, CURRENCY, INDEX, MUTUALFUND, FUTURE).
- averageVolumenumber
41440000
Average daily trading volume.
- bidnumber
338.35
Current bid price.
- changenumber
-2.67
Absolute price change on the day, in the quote currency.
- changePercentnumber
-0.78
Percent price change on the day.
- currencystring
USD
ISO currency the quote is priced in (e.g. USD). Populated whenever the provider has data for the entity.
- dayHighnumber
342.99
Highest price so far in the current session.
- dayLownumber
338.04
Lowest price so far in the current session.
- exchangestring
NasdaqGS
Exchange the instrument trades on (e.g. NasdaqGS). Populated whenever the provider has data for the entity.
- fiftyTwoWeekHighnumber
345.34
Highest price over the trailing 52 weeks.
- fiftyTwoWeekLownumber
243.42
Lowest price over the trailing 52 weeks.
- marketCapnumber
4940000000000
Market capitalization in the quote currency.
- marketStatestring
CLOSED
Current market state (e.g. REGULAR, PRE, POST, CLOSED).
- namestring
Apple Inc
Instrument or company name. Populated whenever the provider has data for the entity.
- opennumber
340.37
Opening price for the current session.
- previousClosenumber
341.07
Previous session close price.
- pricenumber
338.4
Current price in the quote currency.
- symbolstring
AAPL
Resolved ticker symbol for the quote. Populated whenever the provider has data for the entity.
- volumenumber
32820000
Traded volume for the current session.
- foundboolean
true
True when the symbol resolved to a quote.
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
Dúvidas frequentes
Sobre o endpoint Cotação da API para Google Finance
O endpoint Cotação da AnyAPI para Google Finance retorna dados de Google Finance em JSON normalizado com uma chamada POST para /v1/run/google_finance.quote. Obtenha uma cotação ao vivo de qualquer ação, índice, ETF, fundo mútuo, par de moedas ou símbolo de cripto: nome, preço atual, variação absoluta e percentual no dia, moeda da cotação, bolsa e estado do mercado, além de números intradiários e de referência (abertura, máxima e mínima do dia, fechamento anterior, volume, valor de mercado e a faixa de 52 semanas). A AnyAPI retorna um schema normalizado, seja qual for a fonte que atende. Custa a partir de US$ 1,16 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 92,4% das chamadas ao endpoint Cotação da API para Google Finance feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 5,8 segundos, em 1.633 chamadas medidas.