Yes, they have, but it's billed separately and more expensive than a subscription, depending on how much you use it: https://help.kagi.com/kagi/api/search.html
Edit: also, looks like you have to be in the 'Team' plan for access. But who knows, if there is demand I'm sure they'd open this up, so maybe just ping them.