How to get all active states & provinces from one api call?
CRM.api3('StateProvince', 'get', {
  &quot;sequential&quot;: 1,
  &quot;return&quot;: [&quot;name&quot;,&quot;country_id.name&quot;],
  &quot;options&quot;: {&quot;limit&quot;:0}
})

UPDATE: I haven't tried this but Lodash v3 is loaded on most civi pages so you might be able to use filter or forEach to combine the results of the above with the countryLimit array to remove inactive ones.