The APRs are obtained from the API of each protocol such as Astroport's API, Mirror's API, or Nexus's API. The consolidated data will be provided via Spectrum's API and cached for 5-10 minutes while each protocol might have various cache intervals depending on their update frequency.