SLDX API › Dados

API de cotação do FII HGLG11 em JSON

Consulte HGLG11 (FII CSHG LOGCI ERS) via REST: cotação e fundamentos em JSON, com exemplos em curl, Python e Node.

Indicadores de HGLG11

NomeFII CSHG LOGCI ERS
Último fechamentoR$ 142,80 (04/12/2026)
P/VP0,87
Dividend yield9,41%

curl

curl -H "Authorization: Bearer $SLDX_TOKEN" \
 https://api.sldx.com.br/stock-price/HGLG11

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/HGLG11", 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/HGLG11", { headers: { Authorization: `Bearer ${process.env.SLDX_TOKEN}` } });
console.log(await r.json());

Formato da resposta

{
  "success": true,
  "result": {
    "hglg11": {
      "exchange_code": "BVMF",
      "name": "FII CSHG LOGCI  ERS",
      "current_price": number,
      "high_24h": number,
      "low_24h": number,
      "change_24h": number,
      "lastUpdated": unix timestamp
    }
  }
}

Também: GET /stock-fundamentals/HGLG11 (Free) e GET /stock-dividends/HGLG11 (plano pago). Detalhes na documentação.