{"slug":"apify-yandex-search-api","title":"apify-yandex-search-api","summary":"Get structured Yandex search results without an official API key using the Apify Yandex Search Scraper Actor (johnvc/Scrape-Yandex). One query returns the full SERP as JSON, with organic results (position, title, link, displayed_link, snippet), and optional ads, knowledge graph, ","platform":"Claude","tags":["seo","mcp"],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-11-13T18:18:21.927188Z","repo":{"url":"https://github.com/apify/awesome-skills","stars":295,"forks":116,"license":"Apache-2.0","updatedAt":"2026-11-12T09:43:07Z"},"bodyHtml":"<hr>\n<h2>name: apify-yandex-search-api\ndescription: Get structured Yandex search results without an official API key using the Apify Yandex Search Scraper Actor (johnvc/Scrape-Yandex). One query returns the full SERP as JSON, with organic results (position, title, link, displayed_link, snippet), and optional ads, knowledge graph, inline images, and inline videos, targeted by Yandex domain, language, and any of 123,000 plus lr region IDs. Use when the user wants a yandex search api, a yandex serp api, Yandex search results as JSON or CSV, to scrape Yandex search, to check what ranks on yandex.ru for a query or region, or SEO research for Russian-speaking markets. Pay-per-page billing, MCP-ready for Claude and other AI agents.\nauthor: John Cole (links use the author’s Apify affiliate code; routed Actors are built by the author)\nauthor_url: <a href=\"https://github.com/johnisanerd\">https://github.com/johnisanerd</a>\nlicense: MIT\nmetadata:\nversion: \"1.0\"\nkeywords: \"apify, yandex, yandex-search, serp, search-api, seo, json, mcp, claude\"\ncategory: data-extraction</h2>\n<h1>Yandex Search API: Full SERP Results as JSON</h1>\n<p>A Yandex search API without an official API key. One query returns the full Yandex SERP as structured JSON: organic results with positions and sitelinks, plus ads, knowledge graph, and inline media when you ask for them, targeted to any Yandex domain, language, and region.</p>\n<h2>When to use this skill</h2>\n<ul>\n<li>The user wants a \"Yandex search API\" or \"Yandex SERP API\" without registering for an official key.</li>\n<li>They want Yandex search results as JSON or CSV for a query, market, or region.</li>\n<li>They want to see what ranks on yandex.ru for a query, by city or region.</li>\n<li>They are doing SEO or competitor research for Russian-speaking markets.</li>\n</ul>\n<p>Not for: keyword rank tracking over time (use the pay-per-result Yandex edition), reverse image lookups (use the Yandex Reverse Image Search Actor), or Google SERPs.</p>\n<h2>What you get (one dataset item per page, tagged by <code>item_type</code>)</h2>\n<p>Each dataset item is one page of one result type, tagged with <code>item_type</code> (<code>organic</code>, <code>ads</code>, <code>knowledge_graph</code>, <code>inline_images</code>, <code>inline_videos</code>). The results sit in a nested array on that item: <code>organic_results</code> holds rows with <code>position</code>, <code>title</code>, <code>link</code>, <code>displayed_link</code>, <code>snippet</code> (plus <code>date</code>, <code>rich_snippet</code>, and <code>sitelinks</code> when Yandex shows them); the optional types use <code>ads_results</code>, <code>knowledge_graph</code>, <code>inline_images</code>, and <code>inline_videos</code> arrays. Every item also carries page metadata: <code>total_results_found</code>, <code>page_number</code>, <code>pages_processed</code>, <code>pagination_limit_reached</code>.</p>\n<h2>Prerequisites</h2>\n<ul>\n<li>Apify account (sign up at <a href=\"https://apify.com?fpr=9n7kx3&amp;fp_sid=awesomeskills\">https://apify.com?fpr=9n7kx3&amp;fp_sid=awesomeskills</a>).</li>\n<li>Authentication via <code>apify login</code>, or an <code>APIFY_TOKEN</code> environment variable (Apify Console, Settings, Integrations).</li>\n</ul>\n<h2>The Actor</h2>\n<ul>\n<li>Store page: <a href=\"https://apify.com/johnvc/Scrape-Yandex?fpr=9n7kx3&amp;fp_sid=awesomeskills\">https://apify.com/johnvc/Scrape-Yandex?fpr=9n7kx3&amp;fp_sid=awesomeskills</a></li>\n<li>Actor ID: <code>johnvc/Scrape-Yandex</code></li>\n<li>Pricing: a small per-run start fee plus a per-page fee (see <code>references/gotchas.md</code>).</li>\n</ul>\n<h2>Run it with the Apify CLI</h2>\n<p>Organic results for a query on yandex.com:</p>\n<pre><code>apify actors call \"johnvc/Scrape-Yandex\" -i '{\"text\":\"crm software\",\"max_pages\":2}' \\\n  --json \\\n  --user-agent apify-awesome-skills/apify-yandex-search-api \\\n  2&gt;/dev/null\n</code></pre>\n<p>Full Russian SERP for Moscow (lr 213), organic plus ads plus knowledge graph:</p>\n<pre><code>apify actors call \"johnvc/Scrape-Yandex\" -i '{\"text\":\"купить ноутбук\",\"yandex_domain\":\"yandex.ru\",\"lang\":\"ru\",\"lr\":213,\"include_ads\":true,\"include_knowledge_graph\":true,\"max_pages\":2}' \\\n  --json \\\n  --user-agent apify-awesome-skills/apify-yandex-search-api \\\n  2&gt;/dev/null\n</code></pre>\n<p>Every call carries the three flags this repo expects: <code>--json</code>, <code>--user-agent apify-awesome-skills/apify-yandex-search-api</code>, and <code>2&gt;/dev/null</code>.</p>\n<h2>Run it from Claude or another AI agent (MCP)</h2>\n<p>The Actor is MCP-ready. Add the hosted server URL:</p>\n<p><code>https://mcp.apify.com/?tools=actors,docs,johnvc/Scrape-Yandex</code></p>\n<p>Then ask, for example: \"Get the first two pages of Yandex results for 'hotel booking' on yandex.ru and list the organic links with positions.\" MCP setup docs: <a href=\"https://docs.apify.com/platform/integrations/mcp\">https://docs.apify.com/platform/integrations/mcp</a></p>\n<h2>Workflow</h2>\n<ol>\n<li>Fetch the current input schema with <code>apify actors info \"johnvc/Scrape-Yandex\" --input --json --user-agent apify-awesome-skills/apify-yandex-search-api 2&gt;/dev/null</code> (read <code>taggedBuilds.latest.build.inputSchema</code>), then build the query. <code>text</code> is the only required field. Pick <code>yandex_domain</code> (six domains), <code>lang</code> (19 languages), and <code>lr</code> (region ID, for example 213 for Moscow, 2 for Saint Petersburg) for the market you care about.</li>\n<li>Choose result types. Organic is on by default; flip <code>include_ads</code>, <code>include_knowledge_graph</code>, <code>include_inline_images</code>, or <code>include_inline_videos</code> as needed. Each page of each type comes back as its own dataset item tagged with <code>item_type</code>.</li>\n<li>Bound the volume. <code>max_pages</code> (default 2) is the cost driver; <code>sort_mode</code> \"date\" and <code>period</code> narrow to recent results.</li>\n<li>Estimate cost, then confirm with the user if the run is large. See <code>references/gotchas.md</code>.</li>\n<li>Run the Actor, then read the completed run’s <code>defaultDatasetId</code> into <code>DATASET_ID</code> and fetch its rows with <code>apify datasets get-items \"$DATASET_ID\" --format json --user-agent apify-awesome-skills/apify-yandex-search-api 2&gt;/dev/null</code>. Check all items for <code>error</code> and <code>error_message</code> before filtering by <code>item_type</code>, then read the nested array on each item (<code>organic_results</code> for the web SERP). Flatten the arrays client-side if the user wants CSV.</li>\n</ol>\n<h2>Inputs</h2>\n<ul>\n<li><code>text</code> (string, required): the search query</li>\n<li><code>yandex_domain</code> (enum, 6 domains, default <code>yandex.com</code>)</li>\n<li><code>lang</code> (enum, 19) and <code>lr</code> (integer region ID, 123,000 plus locations)</li>\n<li><code>include_organic_results</code> (default true), <code>include_ads</code>, <code>include_knowledge_graph</code>, <code>include_inline_images</code>, <code>include_inline_videos</code> (booleans)</li>\n<li><code>max_pages</code> (integer, default 2) and <code>groups_on_page</code> (default 10)</li>\n<li><code>sort_mode</code> (<code>relevance</code> or <code>date</code>), <code>period</code>, <code>family_mode</code>, <code>fix_typo</code></li>\n</ul>\n<p>For video results in the web SERP, set <code>include_inline_videos: true</code> and keep <code>include_organic_results: true</code>. Read <code>inline_videos</code> on items with <code>item_type: \"inline_videos\"</code>; return <code>title</code>, <code>duration</code>, and <code>source_link</code> when present (<code>link</code> opens the Yandex preview). For the dedicated Images vertical (<code>include_image_search</code>), see the Yandex image search API skill. Dedicated video search (<code>include_video_search</code>) is a separate Actor mode; see <code>references/gotchas.md</code> before using it.</p>\n<h2>Cost</h2>\n<p>Billing is a small one-time start fee per run plus a per-page fee, so cost is roughly proportional to <code>max_pages</code>. A default two-page run costs well under a dollar; live prices and thresholds are in <code>references/gotchas.md</code>.</p>\n<h2>Honest limits</h2>\n<ul>\n<li>Keep <code>page_number</code> with <code>position</code>: positions restart on each page. Positions reflect the SERP at crawl time for the chosen <code>lr</code> region; they vary by region and personalization-free crawling can still fluctuate run to run.</li>\n<li>This skill reads the SERP; it does not track ranks over time (that is the pay-per-result edition's job).</li>\n<li>Knowledge graph, ads, and inline media appear only when Yandex shows them for that query.</li>\n</ul>\n<h2>Troubleshooting</h2>\n<ul>\n<li>Empty organic results: check the query on the chosen domain manually; try <code>fix_typo</code> true and a broader query.</li>\n<li>Wrong-market results: set <code>yandex_domain</code>, <code>lang</code>, and <code>lr</code> together; <code>lr</code> alone does not switch language.</li>\n<li><code>pagination_limit_reached</code> true means the configured page limit was reached. For fewer pages, inspect returned items and run errors before assuming Yandex ran out of results.</li>\n</ul>\n<p>See <code>references/gotchas.md</code> for cost guardrails and error recovery, and <code>references/actor-index.md</code> for the Actor routing table.</p>\n<h2>Related Yandex and international SERP Actors</h2>\n<ul>\n<li>Yandex Search, pay per result edition (rank tracking): <a href=\"https://apify.com/johnvc/yandex-scrape-yandex-search-results-at-scale---per-result?fpr=9n7kx3&amp;fp_sid=awesomeskills\">https://apify.com/johnvc/yandex-scrape-yandex-search-results-at-scale---per-result?fpr=9n7kx3&amp;fp_sid=awesomeskills</a></li>\n<li>Yandex Reverse Image Search API: <a href=\"https://apify.com/johnvc/yandex-reverse-image-search?fpr=9n7kx3&amp;fp_sid=awesomeskills\">https://apify.com/johnvc/yandex-reverse-image-search?fpr=9n7kx3&amp;fp_sid=awesomeskills</a></li>\n<li>Baidu Search Scraper: <a href=\"https://apify.com/johnvc/Baidu-Search-Scraper?fpr=9n7kx3&amp;fp_sid=awesomeskills\">https://apify.com/johnvc/Baidu-Search-Scraper?fpr=9n7kx3&amp;fp_sid=awesomeskills</a></li>\n<li>Naver Search API (Korea): <a href=\"https://apify.com/johnvc/naver-search-api?fpr=9n7kx3&amp;fp_sid=awesomeskills\">https://apify.com/johnvc/naver-search-api?fpr=9n7kx3&amp;fp_sid=awesomeskills</a></li>\n</ul>\n","files":[{"path":"references/actor-index.md","sizeBytes":1600,"isText":true},{"path":"references/gotchas.md","sizeBytes":3092,"isText":true},{"path":"SKILL.md","sizeBytes":8236,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-11-13T18:18:59.837267Z","sha256":"B75F93ADC12A67C7B6333EA728376EA3D7C39F788C1FDB4A363BF94235CB7CC6","sizeBytes":5966},"review":null,"source":{"repositoryUrl":"https://github.com/apify/awesome-skills","path":"skills/apify-yandex-search-api","license":"Apache-2.0","commit":"851fdfd7d4fe2ba36a9f48048ced4299a8e0512b","subtreeSha":"6BC41D3F183F15A9AFC3503243095A601D02F49BB8367C2A43B1267F993A53A8","lastSyncedAt":"2026-11-13T18:18:15.806529Z"},"reviewedAt":"2026-11-13T18:20:14.297862Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/apify/awesome-skills/tree/main/skills/apify-yandex-search-api"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install apify-awesome-skills@llmmart"},{"target":"git","command":"git clone https://github.com/apify/awesome-skills.git"}]}