Their API doesn't provide the mixed Kagi metasearch results though. Only results from their smallweb Teclis index, Curlie, and I think Marginalia results are included. Probably also other sources I'm not aware of.
Marginalia has a free-ish API for non-commercial purposes if you go direct: