About Yandex Search API
With Yandex Search API, you can automatically submit queries to the Yandex search database and get your search results. The service is tailored for developers and webmasters.
With Yandex Search API, you can easily implement the search feature on individual websites, groups of websites, or across the internet, or create an application with built-in search features. Additionally, it offers features to monitor website ranking for specific queries in Yandex search results. Yandex Search API enables text and image search, where you can customize search parameters, optimize results for specific devices, and select the output format.
In Yandex Search API, you can run queries in synchronous and deferred (asynchronous) modes. In synchronous mode, you will get the results immediately once your query is processed. In synchronous mode, you will get a response with minimum delay, but not instantly: processing takes some time. In asynchronous mode, in response to a query, you will get the Operation object with the ID of the operation in progress. You can use this ID to find out the query status and later get the result.
API
API is an interface natively integrated into the Yandex Cloud ecosystem. API is designed based on the gRPC mechanism and allows sending text queries using gRPC calls or the POST method in synchronous and deferred modes. You can get the result in XML or HTML formats. Search results are generated in default format or optimized for mobile devices.
With the API, you can use text queries to search for images. Image search is only available in synchronous mode.
You can also use the API for text search in combination YandexGPT's generative features. This gives you a single concise and coherent generative response to generate which the neural network analyzes relevant Yandex Search API text search results across websites.
With API, you set the search type directly in the body of each query. You need a Yandex Cloud user or service account and authentication data to send queries. You do not need to specify trusted IP addresses when using API.
Yandex Cloud ML SDK
Yandex Cloud AI Studio provides Yandex Cloud ML SDK, a library of tools and code examples for Python development. ML SDK employs a standardized method of working with Yandex Search API and simplifies integration with other Yandex Cloud AI Studio services.
The ML SDK library implements the synchronous and asynchronous Python interfaces based on gRPC API calls of Yandex Search API and AI Studio services. For the full list of supported functions, library source code, and use cases, visit this GitHub repository
You can learn more about Yandex Cloud ML SDK in this AI Studio guide.