extended_state API requires autopilot to send data on MAVLink topic EXTENDED_SYS_STATE.
Unfortunately, APM does not support sending any data on MAVLink EXTENDED_SYS_STATE.
extended_state API is currently only supported by PX4.