If you're looking for a free solar radiation API to recreate a map like the JRC PVGIS for a non-commercial app, the best option is likely to use the PVGIS API itself, which offers a free tier with access to basic solar radiation data in JSON format.