How to search by code content using the API?

Hi all,

Is there any endpoint where I can search by code content?

Github has something like that: https://api.github.com/search/code

Thanks,
Marcelo