Can I get HVAC mode from Nest thermostat without a hub?

  • I want to use a relay to turn a fan on or off based on temperature sensors as well as whether the HVAC is on heat or cool or off.

    I have a Nest thermostat and I know that it can report the HVAC status via the API, however, do need to purchase a separate hub such as Nest Hub Max to get that info or can it be attained directly through Shelly devices or cloud?