API de cotação da ação VALE3 em JSON
Consulte VALE3 (Vale SA) via REST: cotação e fundamentos em JSON, com exemplos em curl, Python e Node.
Indicadores de VALE3
| Nome | Vale SA |
|---|---|
| Último fechamento | R$ 58,40 (04/12/2026) |
| P/VP | 1,33 |
| Dividend yield | 9,60% |
| P/L | 118,49 |
| ROE | 1,12% |
curl
curl https://api.sldx.com.br/stock-price/VALE3
Este exemplo funciona sem cadastro.
Python
import requests
r = requests.get("https://api.sldx.com.br/stock-price/VALE3", timeout=10)
r.raise_for_status()
print(r.json())
Node.js 18+
const r = await fetch("https://api.sldx.com.br/stock-price/VALE3");
console.log(await r.json());
Formato da resposta
{
"success": true,
"result": {
"vale3": {
"exchange_code": "BVMF",
"name": "Vale SA",
"current_price": number,
"high_24h": number,
"low_24h": number,
"change_24h": number,
"lastUpdated": unix timestamp
}
}
}
Também: GET /stock-fundamentals/VALE3 (Free) e GET /stock-dividends/VALE3 (plano pago). Detalhes na documentação.