The Helioviewer Python SDK by Helioviewer allows API interaction to access solar data. It provides installation, requests, and responses. Advanced configuration implements custom timeout values in seconds.
You can find the spot price and futures contracts for Brent crude. How about for biofuel? Though it does not focus on spot pricing, the KDF Billion-Ton API from the U.S. Department of Energy tracks forces involved in projecting this and that could identify business opportunities for creating facilities involved in biofuel's production.