No, API models and endpoints do not have web search abilities or such a service.
The only way an API model can get onto the internet is by a function or injection that you write yourself.
Google has “grounding” on some models, employing Google search. However, making use of it, you have to follow terms - basically turning your chatbot into an ad for Google in every response.