Gato GraphQL

Product details

Q: Can a search input be integrated to request data from an external API?

If I wanted to add a search input to my wordpress website and when a user searches something can this trigger the external api connection to retrieve the results and restructure that data to be presented on the search results page?

Is polling available for external API's?

2d5e39395476408a9f5fd02c1aa8c82bPLUSMar 27, 2025
Founder Team
Leonardo_GatoGraphQL

Leonardo_GatoGraphQL

Mar 28, 2025

A: Yes, can you connect via JavaScript, get the results, and output them in whatever format you want. For polling, you can just keep connecting to the server at regular intervals

Share
Helpful?
Log in to join the conversation
Verified Purchaser badge

Verified purchaser

Posted: Mar 31, 2025

Have you got any documentation on interacting with the search?

Founder
Posted: Apr 1, 2025

Here there is some: https://gatographql.com/tutorial/searching-wordpress-data. To search posts with certain string, check: https://gatographql.com/guides/query/posts. Then to connect to the server and execute the GraphQL query via JS: https://gatographql.com/guides/intro/connecting-to-the-graphql-server-from-a-client