APIs / Search engines / Yandex
1 credit per call4 endpoints13 datapointsChecked working 6 Dec 2026
Yandex API
Yandex API for web search, image search, video search and search suggestions as JSON, with image sizes, sources and thumbnails. From 1 credit per call.
{
"success": true,
"search_information": {
"query": "cat",
"yandex_domain": "com",
"page": 1
},
"images_results": [
{
"position": 1,
"title": "Pinterest Cat Photo",
"original": "https://i.pinimg.com/474x/be/61/f9/be61f90308ce2c055419be9410269530.jpg",
"original_width": 474,
"original_height": 842,
"file_size_bytes": 61978,
"thumbnail": "https://avatars.mds.yandex.net/i?id=2b3e32b254eb623748a7d826cef9dd8c3ae37e7a-4600332-images-thumbs&n=13",
"thumbnail_width": 474,
"thumbnail_height": 842,
"source": "ru.pinterest.com",
"source_page": "https://ru.pinterest.com/ideas/pinterest-cat-photo/910343365143/",
"is_gif": false,
"other_sizes": [
{
"url": "https://avatars.dzeninfra.ru/get-zen_doc/271828/pub_6a87493df19820512443d33d_6a874c4c1f4cc43d1a45fff2/scale_1200",
"width": 675,
"height": 1200,
"file_size_bytes": 130315
},
{
"url": "https://i.pinimg.com/236x/be/61/f9/be61f90308ce2c055419be9410269530.jpg",
"width": 236,
"height": 419,
"file_size_bytes": 20978
}
]
},
{
"position": 2,
"title": "Страница 3 Фотографии на тему \"Кошка кудрявой шерстью 3d\" - скачивайте бесплатны",
"original": "https://img.magnific.com/free-photo/close-up-adorable-kitten-looking-up_23-2150782225.jpg?semt=ais_incoming&w=740&q=80",
"original_width": 493,
"original_height": 740,
"file_size_bytes": 60650,
"thumbnail": "https://avatars.mds.yandex.net/i?id=e5df4a65847d798d8e608b5abe6372a3654773b3-9841374-images-thumbs&n=13",
"thumbnail_width": 493,
"thumbnail_height": 740,
"source": "ru.freepik.com",
"source_page": "https://ru.freepik.com/photos/%D0%BA%D0%BE%D1%88%D0%BA%D0%B0-%D0%BA%D1%83%D0%B4%D1%80%D1%8F%D0%B2%D0%BE%D0%B9-%D1%88%D0%B5%D1%80%D1%81%D1%82%D1%8C%D1%8E-3d/3",
"is_gif": false,
"other_sizes": [
{
"url": "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj02a5Ecy4IKYacIakphbGfUq6CPpGDubbOl0DYlRGMGj1cZk3aY0mCWtGt16pr86ezfLA5vM5tTghGhuispKk12-ZNmqTVKCHTHpUrQqMtwn8eexjETBBcB5Z5fxvay-UAB7jOVvQw73aigHS9iGPsOseDtUmcv0PgPx_j3oisKJb_-W-5Jg…",
"width": 1280,
"height": 1920,
"file_size_bytes": 195868
},
{
"url": "https://sun9-53.vkuserphoto.ru/s/v1/ig2/gt6_v7S6fjM-UeVrgS951wCZywIEE6M9hrAx_STV8HwE5EDrPFezYooWVXtjinjTVQ7xBIgtOCmr4UIsPPjOr8-A.jpg?quality=95&as=32x48,48x72,72x108,108x162,160x240,240x360,360x540,480x720&from=bu",
"width": 480,
"height": 720,
"file_size_bytes": 164726
},
{
"url": "https://img.freepik.com/free-photo/close-up-on-adorable-kitten-looking-up_23-2150782225.jpg?size=626&ext=jpg",
"width": 417,
"height": 626,
"file_size_bytes": 60869
}
]
},
{
"position": 3,
"title": "Page 8 Cat breeds Photos - Download Free High-Quality Pictures Freepik",
"original": "https://img.magnific.com/free-photo/adorable-cat-relaxing-indoors_23-2150692784.jpg?semt=ais_hybrid&w=740&q=80",
"original_width": 493,
"original_height": 740,
"file_size_bytes": 63573,
"thumbnail": "https://avatars.mds.yandex.net/i?id=172be742bf00ed1354bfa1cd2767d6c8a4f1c2d3-4429068-images-thumbs&n=13",
"thumbnail_width": 493,
"thumbnail_height": 740,
"source": "freepik.com",
"source_page": "https://www.freepik.com/photos/cat-breeds/8",
"is_gif": false,
"other_sizes": [
{
"url": "https://pic.rutubelist.ru/video/2025-09-08/67/aa/67aaf017eee185a1582ab4e285508e51.jpg",
"width": 3024,
"height": 5376,
"file_size_bytes": 755507
},
{
"url": "https://img.freepik.com/free-photo/adorable-cat-relaxing-indoors_23-2150692784.jpg?size=626&ext=jpg",
"width": 417,
"height": 626,
"file_size_bytes": 62679
}
]
}
],
"pagination": {
"page": 1,
"has_next_page": true
},
"meta": {
"duration_ms": 9512,
"request_id": "req_b3003102b2c9414f8c4344da142dee3d",
"credits_charged": 1,
"credits_remaining": 1773
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | positioninteger | titlestring | originalurl | original_widthinteger | original_heightinteger | file_size_bytesinteger | thumbnailurl | thumbnail_widthinteger | thumbnail_heightinteger | sourcestring | source_pageurl | is_gifboolean | other_sizesobject[] |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 1 | Pinterest Cat Photo | https://i.pinimg.com/474x/be/61/f9/be61f90308ce2c055419be9410269530.jpg | 474 | 842 | 61978 | https://avatars.mds.yandex.net/i?id=2b3e32b254eb623748a7d826cef9dd8c3ae37e7a-4600332-images-thumbs&n=13 | 474 | 842 | ru.pinterest.com | https://ru.pinterest.com/ideas/pinterest-cat-photo/910343365143/ | false | [2 items] |
| 2 | 2 | Страница 3 Фотографии на тему "Кошка кудрявой шерстью 3d" - скачивайте бесплатны | https://img.magnific.com/free-photo/close-up-adorable-kitten-looking-up_23-2150782225.jpg?semt=ais_incoming&w=740&q=80 | 493 | 740 | 60650 | https://avatars.mds.yandex.net/i?id=e5df4a65847d798d8e608b5abe6372a3654773b3-9841374-images-thumbs&n=13 | 493 | 740 | ru.freepik.com | https://ru.freepik.com/photos/%D0%BA%D0%BE%D1%88%D0%BA%D0%B0-%D0%BA%D1%83%D0%B4%D1%80%D1%8F%D0%B2%D0%BE%D0%B9-%D1%88%D0%B5%D1%80%D1%81%D1%82%D1%8C%D1%8E-3d/3 | false | [3 items] |
| 3 | 3 | Page 8 Cat breeds Photos - Download Free High-Quality Pictures Freepik | https://img.magnific.com/free-photo/adorable-cat-relaxing-indoors_23-2150692784.jpg?semt=ais_hybrid&w=740&q=80 | 493 | 740 | 63573 | https://avatars.mds.yandex.net/i?id=172be742bf00ed1354bfa1cd2767d6c8a4f1c2d3-4429068-images-thumbs&n=13 | 493 | 740 | freepik.com | https://www.freepik.com/photos/cat-breeds/8 | false | [2 items] |
[
{
"position": 1,
"title": "Pinterest Cat Photo",
"original": "https://i.pinimg.com/474x/be/61/f9/be61f90308ce2c055419be9410269530.jpg",
"original_width": 474,
"original_height": 842,
"file_size_bytes": 61978,
"thumbnail": "https://avatars.mds.yandex.net/i?id=2b3e32b254eb623748a7d826cef9dd8c3ae37e7a-4600332-images-thumbs&n=13",
"thumbnail_width": 474,
"thumbnail_height": 842,
"source": "ru.pinterest.com",
"source_page": "https://ru.pinterest.com/ideas/pinterest-cat-photo/910343365143/",
"is_gif": false,
"other_sizes": [
{
"url": "https://avatars.dzeninfra.ru/get-zen_doc/271828/pub_6a87493df19820512443d33d_6a874c4c1f4cc43d1a45fff2/scale_1200",
"width": 675,
"height": 1200,
"file_size_bytes": 130315
},
{
"url": "https://i.pinimg.com/236x/be/61/f9/be61f90308ce2c055419be9410269530.jpg",
"width": 236,
"height": 419,
"file_size_bytes": 20978
}
]
},
{
"position": 2,
"title": "Страница 3 Фотографии на тему \"Кошка кудрявой шерстью 3d\" - скачивайте бесплатны",
"original": "https://img.magnific.com/free-photo/close-up-adorable-kitten-looking-up_23-2150782225.jpg?semt=ais_incoming&w=740&q=80",
"original_width": 493,
"original_height": 740,
"file_size_bytes": 60650,
"thumbnail": "https://avatars.mds.yandex.net/i?id=e5df4a65847d798d8e608b5abe6372a3654773b3-9841374-images-thumbs&n=13",
"thumbnail_width": 493,
"thumbnail_height": 740,
"source": "ru.freepik.com",
"source_page": "https://ru.freepik.com/photos/%D0%BA%D0%BE%D1%88%D0%BA%D0%B0-%D0%BA%D1%83%D0%B4%D1%80%D1%8F%D0%B2%D0%BE%D0%B9-%D1%88%D0%B5%D1%80%D1%81%D1%82%D1%8C%D1%8E-3d/3",
"is_gif": false,
"other_sizes": [
{
"url": "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj02a5Ecy4IKYacIakphbGfUq6CPpGDubbOl0DYlRGMGj1cZk3aY0mCWtGt16pr86ezfLA5vM5tTghGhuispKk12-ZNmqTVKCHTHpUrQqMtwn8eexjETBBcB5Z5fxvay-UAB7jOVvQw73aigHS9iGPsOseDtUmcv0PgPx_j3oisKJb_-W-5Jg…",
"width": 1280,
"height": 1920,
"file_size_bytes": 195868
},
{
"url": "https://sun9-53.vkuserphoto.ru/s/v1/ig2/gt6_v7S6fjM-UeVrgS951wCZywIEE6M9hrAx_STV8HwE5EDrPFezYooWVXtjinjTVQ7xBIgtOCmr4UIsPPjOr8-A.jpg?quality=95&as=32x48,48x72,72x108,108x162,160x240,240x360,360x540,480x720&from=bu",
"width": 480,
"height": 720,
"file_size_bytes": 164726
},
{
"url": "https://img.freepik.com/free-photo/close-up-on-adorable-kitten-looking-up_23-2150782225.jpg?size=626&ext=jpg",
"width": 417,
"height": 626,
"file_size_bytes": 60869
}
]
},
{
"position": 3,
"title": "Page 8 Cat breeds Photos - Download Free High-Quality Pictures Freepik",
"original": "https://img.magnific.com/free-photo/adorable-cat-relaxing-indoors_23-2150692784.jpg?semt=ais_hybrid&w=740&q=80",
"original_width": 493,
"original_height": 740,
"file_size_bytes": 63573,
"thumbnail": "https://avatars.mds.yandex.net/i?id=172be742bf00ed1354bfa1cd2767d6c8a4f1c2d3-4429068-images-thumbs&n=13",
"thumbnail_width": 493,
"thumbnail_height": 740,
"source": "freepik.com",
"source_page": "https://www.freepik.com/photos/cat-breeds/8",
"is_gif": false,
"other_sizes": [
{
"url": "https://pic.rutubelist.ru/video/2025-09-08/67/aa/67aaf017eee185a1582ab4e285508e51.jpg",
"width": 3024,
"height": 5376,
"file_size_bytes": 755507
},
{
"url": "https://img.freepik.com/free-photo/adorable-cat-relaxing-indoors_23-2150692784.jpg?size=626&ext=jpg",
"width": 417,
"height": 626,
"file_size_bytes": 62679
}
]
}
]position,title,original,original_width,original_height,file_size_bytes,thumbnail,thumbnail_width,thumbnail_height,source,source_page,is_gif,other_sizes
1,Pinterest Cat Photo,https://i.pinimg.com/474x/be/61/f9/be61f90308ce2c055419be9410269530.jpg,474,842,61978,https://avatars.mds.yandex.net/i?id=2b3e32b254eb623748a7d826cef9dd8c3ae37e7a-4600332-images-thumbs&n=13,474,842,ru.pinterest.com,https://ru.pinterest.com/ideas/pinterest-cat-photo/910343365143/,false,"[{""url"":""https://avatars.dzeninfra.ru/get-zen_doc/271828/pub_6a87493df19820512443d33d_6a874c4c1f4cc43d1a45fff2/scale_1200"",""width"":675,""height"":1200,""file_size_bytes"":130315},{""url"":""https://i.pinimg.com/236x/be/61/f9/be61f90308ce2c055419be9410269530.jpg"",""width"":236,""height"":419,""file_size_bytes"":20978}]"
2,"Страница 3 Фотографии на тему ""Кошка кудрявой шерстью 3d"" - скачивайте бесплатны",https://img.magnific.com/free-photo/close-up-adorable-kitten-looking-up_23-2150782225.jpg?semt=ais_incoming&w=740&q=80,493,740,60650,https://avatars.mds.yandex.net/i?id=e5df4a65847d798d8e608b5abe6372a3654773b3-9841374-images-thumbs&n=13,493,740,ru.freepik.com,https://ru.freepik.com/photos/%D0%BA%D0%BE%D1%88%D0%BA%D0%B0-%D0%BA%D1%83%D0%B4%D1%80%D1%8F%D0%B2%D0%BE%D0%B9-%D1%88%D0%B5%D1%80%D1%81%D1%82%D1%8C%D1%8E-3d/3,false,"[{""url"":""https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj02a5Ecy4IKYacIakphbGfUq6CPpGDubbOl0DYlRGMGj1cZk3aY0mCWtGt16pr86ezfLA5vM5tTghGhuispKk12-ZNmqTVKCHTHpUrQqMtwn8eexjETBBcB5Z5fxvay-UAB7jOVvQw73aigHS9iGPsOseDtUmcv0PgPx_j3oisKJb_-W-5Jg…"",""width"":1280,""height"":1920,""file_size_bytes"":195868},{""url"":""https://sun9-53.vkuserphoto.ru/s/v1/ig2/gt6_v7S6fjM-UeVrgS951wCZywIEE6M9hrAx_STV8HwE5EDrPFezYooWVXtjinjTVQ7xBIgtOCmr4UIsPPjOr8-A.jpg?quality=95&as=32x48,48x72,72x108,108x162,160x240,240x360,360x540,480x720&from=bu"",""width"":480,""height"":720,""file_size_bytes"":164726},{""url"":""https://img.freepik.com/free-photo/close-up-on-adorable-kitten-looking-up_23-2150782225.jpg?size=626&ext=jpg"",""width"":417,""height"":626,""file_size_bytes"":60869}]"
3,Page 8 Cat breeds Photos - Download Free High-Quality Pictures Freepik,https://img.magnific.com/free-photo/adorable-cat-relaxing-indoors_23-2150692784.jpg?semt=ais_hybrid&w=740&q=80,493,740,63573,https://avatars.mds.yandex.net/i?id=172be742bf00ed1354bfa1cd2767d6c8a4f1c2d3-4429068-images-thumbs&n=13,493,740,freepik.com,https://www.freepik.com/photos/cat-breeds/8,false,"[{""url"":""https://pic.rutubelist.ru/video/2025-09-08/67/aa/67aaf017eee185a1582ab4e285508e51.jpg"",""width"":3024,""height"":5376,""file_size_bytes"":755507},{""url"":""https://img.freepik.com/free-photo/adorable-cat-relaxing-indoors_23-2150692784.jpg?size=626&ext=jpg"",""width"":417,""height"":626,""file_size_bytes"":62679}]"Recorded from our API · 3 items shown · 13 datapoints per itemGET /v1/yandex/search?text=pizza+restaurant&lang=en
13 datapoints
Identity
- titlestring
Other
- positioninteger
- originalurl
- original_widthinteger
- original_heightinteger
- file_size_bytesinteger
- thumbnailurl
- thumbnail_widthinteger
- thumbnail_heightinteger
- sourcestring
- source_pageurl
- is_gifboolean
- other_sizesobject[]
Playground
Run this API
curl "https://api.perceptlayer.com/v1/yandex/search?text=pizza+restaurant&lang=en" \
-H "X-API-Key: $API_KEY"Yandex · 4 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/yandex/images | none+8 optional | JSON | 1 credit |
GET/v1/yandex/search | text+6 optional | search_informationimages_resultspagination | 1 credit |
GET/v1/yandex/suggest | text+1 optional | JSON | 1 credit |
GET/v1/yandex/videos | text+3 optional | JSON | 1 credit |
Overview
About the Yandex API
What you can get
The Yandex API returns Yandex web results, image results, video results and search suggestions as JSON through 4 endpoints.
- Web search:
searchtakes atext, withyandex_domain(com, ru, kz, by or com.tr),lang(en, ru or tr),lr,family_mode,period(day, 2weeks or month) andpage(only 1). - Images:
imagestakes atextor aurl, withyandex_domain(com, ru, kz or by),page,site,orientation(horizontal, vertical or square),size(large, medium or small) andfile_type(jpg, png or gif). - Videos:
videostakes atext, withyandex_domain(com, ru, kz, by or com.tr),pageandduration(short, medium or long). - Suggestions:
suggesttakes atext, withlang(en, ru or tr).
The recorded image search for "cat" with orientation=vertical returns images_results, each with position, title, original, original_width, original_height, file_size_bytes, thumbnail, thumbnail_width, thumbnail_height, source, source_page, is_gif and other_sizes (each with url, width, height and file_size_bytes). It also returns search_information and pagination with has_next_page.
How a call works
GET /v1/yandex/images?text=cat&orientation=vertical, with your key in the X-API-Key header, returns each image's original URL and the source_page it appears on. Check has_next_page before asking for the next page. To build queries first, GET /v1/yandex/suggest?text=tiger&lang=en returns suggestions you can pass as text. GET /v1/yandex/search?text=pizza restaurant&lang=en runs a web search. Every successful call costs 1 credit, except search: 1 credit, or 4 when the standard route is blocked and the call falls back to a slower one. Failed calls cost nothing.
More search engines APIs
Use cases
Track web results for a query in English, Russian or Turkish, by `period`
Use the Yandex API to track web results for a query in English, Russian or Turkish, by `period`Find the pages where an image appears, with `source` and `source_page`
Use the Yandex API to find the pages where an image appears, with `source` and `source_page`Collect images of a set orientation, size or file type for a dataset
Use the Yandex API to collect images of a set orientation, size or file type for a datasetSearch images on one site with `site`
Use the Yandex API to search images on one site with `site`FAQ
Questions
How much does the Yandex API cost?
Each successful call costs one credit, and each results page is one call. Web `search` costs one credit, or four when the standard route is blocked and the call falls back to a slower one. New accounts get free credits to start, and credit packs bring the price down as you scale.
Can I choose the Yandex domain?
Yes. Pass `yandex_domain` as com, ru, kz or by to `images`, and com, ru, kz, by or com.tr to `search` and `videos`.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Is this the official Yandex API?
No. Perceptlayer is an independent service and is not affiliated with Yandex. It returns Yandex data as JSON with a Perceptlayer key, so there is no Yandex developer account, app review or partner approval to get first. It only reads data: if Yandex has an official API and you need to act on your own Yandex account, such as posting, managing orders or reading private data, use that one.
Should I build a Yandex scraper instead?
You can, but a Yandex scraper is code you maintain: page changes break it, requests get blocked, and Yandex's terms govern how you collect data. The Yandex API gives you 4 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the Yandex API with 100 free credits
No credit card. Failed calls are never billed.