Yandex web search in your chatbot or agent in 5 minutes
Our API brings web answers with Yandex‑level relevance, spam filtering, and low latency — ideal for building your own LLM agent, GPT bots, support assistants, and RAG systems.
import base64
import requests
API_TOKEN = "YOUR_API_TOKEN"
FOLDER_ID = "YOUR_FOLDER_ID"
API_URL = "https://searchapi.api.cloud.yandex.net/v2/web/search"
payload = {
"query": {
"searchType": "SEARCH_TYPE_COM",
"queryText": "great wall of china",
"familyMode": "FAMILY_MODE_MODERATE"
},
"groupSpec": {"groupMode": "GROUP_MODE_FLAT", "groupsOnPage": 10, "docsInGroup": 1},
"responseFormat": "FORMAT_XML",
"folderId": FOLDER_ID
}
headers = {"Authorization": f"Bearer {API_TOKEN}"}
resp = requests.post(API_URL, headers=headers, json=payload, timeout=30)
resp.raise_for_status()
print(base64.b64decode(resp.json()["rawData"]))
API Capabilities
Web Search
The API accepts a text query, the device type and the user’s region, returns the most relevant, high-quality pages by searching region-specific results and prioritizing pages optimized for the user’s device
Image Search
The API accepts a text query, the device type and the user’s region, returns the most relevant, links to high-quality images by searching region-specific results and prioritizing sources optimized for the user’s device
Video Search
The API accepts a text query, the device type and the user’s region, returns the most relevant, links to high-quality video by searching region-specific results and prioritizing pages optimized for the user’s device
AI Search
The API accepts a text question, the device type and the user’s region, returns generative answer to the user’s query, grounded with citations to high-quality sources optimized for the user’s device
Visual Search
The API accepts an image, the device type and the user’s region, returns similar high-quality images by searching region-specific results and prioritizing sources optimized for the user’s device
Site Search
Enable users to perform searches on a single website or a collection of websites managed by a particular organization
Use cases
LLM Search
Power your LLM applications with factual data to generate accurate, trustworthy up-to-date answers with actual sources
LLM Agents
Give your agent a reliable web brain. Orchestrate tool calls and get a generative, cited answer in one API call. For example, a travel AI-agent for planning and booking all aspects of journey
Site Search
Provide users typo-tolerance and instant indexing search for content across your website
Internet Search
Embed internet-wide search into your product. Run originality checks, verify claims, monitor brand / intellectual property risks, and power competitive research with filters and regional targeting
Competitor analysis
Track competitors prices, availability, and reviews across the web. Normalize SKUs with product matching to power dynamic pricing
Smart Camera
Search similar products for user uploaded photo in e-commerce portal
Quality comparison
Yandex delivers world-class search worldwide. Our core languages are English, Russian, Turkish, Kazakh, and Uzbek, with standard support for all other languages. Below are benchmark results for the languages most frequently requested by our clients.
Higher is better. Source: SimpleQA benchmark.
Pricing
Pro early bird
$3.5 / 1k requests
- Best for: chat assistants
- Limited offer: lock price until 1 Nov
- Valid while purchasing 300k requests/month
Enterprise
Custom
- Best for: private search engines and large data providers
- Millions of requests
- Dedicated quotas
- SLA and 24/7 support
FAQ
Are Yandex’s search results good?
Yes. According to the Cloudflare Radar Year in Review 2024, Yandex ranks in the global Top 2 search engines. Yandex supports strong, high-quality results.
What are your limits and latency?
Contact us for current latency SLOs and throughput limits by plan. Higher dedicated limits are available on Enterprise.
Why is this faster than SERP parsers?
We use our own large web index instead of live SERP scraping, avoiding scraping overhead and rate limits to deliver results faster.
What types of search are supported?
The API supports text, image, and web search. Results are delivered in under one second with high availability (99.9%).
How does pricing and request limits work?
We offer flexible pricing plans based on request volume. Free trial or demo keys are available for testing.
Can I use this in commercial products?
Yes. Usage is governed by our terms and data processing agreement. Follow search data usage requirements.
How can I get support?
You can reach us through the contact form on the site.
Contact us
Leave a request — we will send an API key and documentation access.
By submitting, you agree to the processing of personal data.