Authentication

Every call needs the X-API-Key header with your API key.

curl -H "X-API-Key: SEU_TOKEN" https://visnoinvest.com/api/data/v1/stocks/PETR4

Don't have a key yet? Subscribe to Pro to create one.

Endpoints

For each endpoint: a full response example and a field table. Dates are ISO 8601 (YYYY-MM-DD). Ratios and margins are decimals (0.28 = 28%). Null fields are omitted.

GET/stocks

Lightweight catalog of B3-listed companies — name and tickers only.

Response example

[
  { "company": "Petrobras", "tickers": ["PETR3", "PETR4"] },
  { "company": "Vale", "tickers": ["VALE3"] },
  { "company": "Itaú Unibanco", "tickers": ["ITUB3", "ITUB4"] }
]

Fields

FieldTypeDescription
companystringCompany display name
tickersstring[]Listed tickers for the same company
GET/stocks/{ticker}

Profile and fundamental indicators for a stock. Returns a Stock object.

Response example

{
  "ticker": "PETR4",
  "company": "Petrobras",
  "cnpj": "33.000.167/0001-01",
  "website": "https://www.petrobras.com.br",
  "sector": "Petróleo, Gás e Biocombustíveis",
  "subsector": "Exploração e Produção",
  "activity": "Petróleo, gás natural e energia",
  "cvm_status": "Ativo",
  "tickers": ["PETR3", "PETR4"],
  "judicial_recovery": false,
  "free_float": 0.63,
  "years_listed": 47,
  "last_price_date": "2026-07-18",
  "updated_at": "2026-07-18",
  "last_report_date": "2026-03-31",
  "next_report_date": "2026-08-15",
  "price": 36.52,
  "trading_volume": 1250000000,
  "market_cap": 472000000000,
  "enterprise_value": 610000000000,
  "dy": 0.125,
  "vpa": 28.4,
  "lpa": 7.1,
  "target_price_graham": 42.3,
  "net_revenue": 490000000000,
  "gross_profit": 250000000000,
  "net_profit": 95000000000,
  "ebit": 140000000000,
  "ebitda": 180000000000,
  "net_worth": 380000000000,
  "assets": 1050000000000,
  "liabilities": 670000000000,
  "cash_and_cash_equivalents": 45000000000,
  "inventories": 38000000000,
  "short_term_debt": 40000000000,
  "long_term_debt": 180000000000,
  "gross_debt": 220000000000,
  "net_debt": 175000000000,
  "operating_cash_flow": 160000000000,
  "investing_cash_flow": -65000000000,
  "financing_cash_flow": -80000000000,
  "capex": 55000000000,
  "free_cash_flow": 105000000000,
  "net_revenue_cagr_5y": 0.12,
  "net_profit_cagr_5y": 0.18,
  "ebit_cagr_5y": 0.15,
  "ebitda_cagr_5y": 0.14,
  "ev_ebit_ratio": 4.3,
  "ev_ebitda_ratio": 3.4,
  "ev_net_revenue_ratio": 1.2,
  "ev_assets_ratio": 0.58,
  "ev_free_cash_flow_ratio": 5.8,
  "ev_operating_cash_flow_ratio": 3.8,
  "price_free_cash_flow_ratio": 4.5,
  "price_operating_cash_flow_ratio": 2.9,
  "price_net_worth_ratio": 1.24,
  "price_net_profit_ratio": 5.2,
  "price_net_revenue_ratio": 0.96,
  "price_assets_ratio": 0.45,
  "price_ebit_ratio": 3.4,
  "gross_margin": 0.51,
  "net_margin": 0.19,
  "ebit_margin": 0.28,
  "roic": 0.19,
  "roe": 0.28,
  "roa": 0.09,
  "asset_turnover": 0.47,
  "net_debt_ebit_ratio": 1.25,
  "net_debt_ebitda_ratio": 0.97,
  "net_debt_net_worth_ratio": 0.46,
  "gross_debt_net_worth_ratio": 0.58,
  "net_worth_assets_ratio": 0.36,
  "immediate_liquidity": 0.35,
  "current_liquidity": 1.2,
  "quick_liquidity": 0.9,
  "total_liquidity": 1.5
}

Fields

FieldTypeDescription
tickerstringB3 ticker symbol
companystringCompany display name
cnpjstringCompany tax ID (CNPJ)
websitestringCorporate website
sectorstringSector (Visno taxonomy)
subsectorstringSubsector (Visno taxonomy)
activitystringBusiness activity description
cvm_statusstringCVM registration status
tickersstring[]Listed tickers for the same company
judicial_recoverybooleanWhether the company is in judicial recovery
free_floatnumberFree float (decimal)
years_listedintegerYears since listing
last_price_datedateDate of the latest quote
updated_atdateReference date for the indicators
last_report_datedateDate of the latest DFP/ITR
next_report_datedateExpected date of the next DFP/ITR
pricenumberClosing price
trading_volumenumberTraded financial volume
market_capnumberMarket capitalization
enterprise_valuenumberEnterprise value (EV)
dynumberDividend yield
vpanumberBook value per share
lpanumberEarnings per share
target_price_grahamnumberTarget price (Graham formula)
net_revenuenumberNet revenue (12 months)
gross_profitnumberGross profit (12 months)
net_profitnumberNet profit (12 months)
ebitnumberEBIT (12 months)
ebitdanumberEBITDA (12 months)
net_worthnumberShareholders' equity (latest report)
assetsnumberTotal assets (latest report)
liabilitiesnumberTotal liabilities (latest report)
cash_and_cash_equivalentsnumberCash and cash equivalents
inventoriesnumberInventories
short_term_debtnumberShort-term debt
long_term_debtnumberLong-term debt
gross_debtnumberGross debt
net_debtnumberNet debt
operating_cash_flownumberOperating cash flow (12 months)
investing_cash_flownumberInvesting cash flow (12 months)
financing_cash_flownumberFinancing cash flow (12 months)
capexnumberCAPEX (12 months)
free_cash_flownumberFree cash flow (12 months)
net_revenue_cagr_5ynumberNet revenue CAGR (5 years)
net_profit_cagr_5ynumberNet profit CAGR (5 years)
ebit_cagr_5ynumberEBIT CAGR (5 years)
ebitda_cagr_5ynumberEBITDA CAGR (5 years)
ev_ebit_rationumberEV/EBIT
ev_ebitda_rationumberEV/EBITDA
ev_net_revenue_rationumberEV/Net revenue
ev_assets_rationumberEV/Assets
ev_free_cash_flow_rationumberEV/Free cash flow
ev_operating_cash_flow_rationumberEV/Operating cash flow
price_free_cash_flow_rationumberPrice/Free cash flow
price_operating_cash_flow_rationumberPrice/Operating cash flow
price_net_worth_rationumberP/B
price_net_profit_rationumberP/E
price_net_revenue_rationumberP/S
price_assets_rationumberPrice/Assets
price_ebit_rationumberPrice/EBIT
gross_marginnumberGross margin
net_marginnumberNet margin
ebit_marginnumberEBIT margin
roicnumberROIC
roenumberROE
roanumberROA
asset_turnovernumberAsset turnover
net_debt_ebit_rationumberNet debt / EBIT
net_debt_ebitda_rationumberNet debt / EBITDA
net_debt_net_worth_rationumberNet debt / Equity
gross_debt_net_worth_rationumberGross debt / Equity
net_worth_assets_rationumberEquity / Assets
immediate_liquiditynumberCash ratio
current_liquiditynumberCurrent ratio
quick_liquiditynumberQuick ratio
total_liquiditynumberTotal liquidity ratio
GET/stocks/{ticker}/quote

Full daily quote history (OHLC, adjusted close, and volume).

Response example

[
  {
    "date": "2026-07-17",
    "open": 35.80,
    "high": 36.20,
    "low": 35.50,
    "close": 36.00,
    "adjusted_close": 36.00,
    "volume": 980000000
  },
  {
    "date": "2026-07-18",
    "open": 36.10,
    "high": 36.80,
    "low": 35.90,
    "close": 36.52,
    "adjusted_close": 36.52,
    "volume": 1250000000
  }
]

Fields

FieldTypeDescription
datedateTrading session date
opennumberOpening price
highnumberHigh price
lownumberLow price
closenumberClosing price
adjusted_closenumberClose adjusted for corporate actions
volumenumberTraded financial volume
GET/stocks/{ticker}/history/{metric}

Historical series for an indicator, with full history.

Parameters

NameInDescription
metric*pathSeries indicator (e.g. price, dy, roe, net_profit).
granularityquerydaily | monthly | quarterly | quarterly_ltm | yearly (optional).

Response example

[
  { "date": "2024-01-31", "value": 38.1 },
  { "date": "2024-02-29", "value": 39.4 },
  { "date": "2024-03-31", "value": 37.2 }
]

Fields

FieldTypeDescription
datedateSeries point date
valuenumberIndicator value on that date

Full OpenAPI specification (to auto-generate clients): openapi.json