As I recall the has_been_liquidated and has_insolvency_history fields (in the CompanyProfile resource from the REST API) are “sticky” e.g. they indicate if the company has ever been liquidated / insolvent - even if not currently in that state.
However the company_status field should be the place where that is shown (see link to docs for the CompanyProfile resource below):
Possible values are:
active dissolved liquidation receivership administration voluntary-arrangement converted-closed insolvency-proceedings
I don’t know what exactly triggers the “liquidated” flag / status though - maybe Companies House have the definitive info on that…?
See docs here:
https://developer-specs.company-information.service.gov.uk/companies-house-public-data-api/resources/companyprofile?v=latest