$ curl -X GET 'https://brapi.dev/api/quote/BMGB4?range=1y&interval=1mo'

{
    • "BRL"
    • 820891939
    • "BANCO BMG PN N1"
    • "Banco BMG S.A."
    • -0.035
    • -0.927
    • "2025-04-03T20:07:00.000Z"
    • 3.74
    • 3.79
    • "3.72 - 3.79"
    • 3.72
    • 565700
    • 3.775
    • 3.92
    • "3.01 - 4.65"
    • 3.01
    • 4.65
    • "BMGB4"
    • {} 25 keys
      • 8.761816924141112
      • 0.4336847
      • "https://icons.brapi.dev/icons/BMGB4.svg"
      • {} 3 keys
      }