Web search APIs can't present the full document due to copyright. They can only present the snippet contextual to the query.
I wrote my own implementation using various web search APIs and a puppeteer service to download individual documents as needed. It wasn't that hard but I do get blocked by some sites (reddit for example).