Looks like Grepper has no public API. Searchcode has an API, but it is a one person project so it may end abruptly.
FWIW, if nobody has complained about Koders Query not working in the last 10 years I am pretty sure that the plugin is not used at all.