API de cotação da ação ITSA4 em JSON
Consulte ITSA4 (Itausa - Investimentos Itau SA) via REST: cotação e fundamentos em JSON, com exemplos em curl, Python e Node.
Indicadores de ITSA4
| Nome | Itausa - Investimentos Itau SA |
|---|---|
| Último fechamento | R$ 13,39 (04/12/2026) |
| P/VP | 1,53 |
| Dividend yield | 8,43% |
| P/L | 7,94 |
| ROE | 19,30% |
curl
curl -H "Authorization: Bearer $SLDX_TOKEN" \ https://api.sldx.com.br/stock-price/ITSA4
Exige um token grátis: criar chave. O plano Free inclui este endpoint.
Python
import os
import requests
r = requests.get("https://api.sldx.com.br/stock-price/ITSA4", headers={"Authorization": f"Bearer {os.environ['SLDX_TOKEN']}"}, timeout=10)
r.raise_for_status()
print(r.json())
Node.js 18+
const r = await fetch("https://api.sldx.com.br/stock-price/ITSA4", { headers: { Authorization: `Bearer ${process.env.SLDX_TOKEN}` } });
console.log(await r.json());
Formato da resposta
{
"success": true,
"result": {
"itsa4": {
"exchange_code": "BVMF",
"name": "Itausa - Investimentos Itau SA",
"current_price": number,
"high_24h": number,
"low_24h": number,
"change_24h": number,
"lastUpdated": unix timestamp
}
}
}
Também: GET /stock-fundamentals/ITSA4 (Free) e GET /stock-dividends/ITSA4 (plano pago). Detalhes na documentação.