Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Search API
    • All guides
      • General connection procedure
      • Query testing
      • Authentication with the API
      • Requesting limits
      • Performing search queries
      • Mobile search results
  • Access management
  • Pricing policy
  • Audit Trails events

In this article:

  • Request format
  • Request example
  • Response format
  1. Step-by-step guides
  2. API v1
  3. Requesting limits

Requesting limits for the next 24 hours

Written by
Yandex Cloud
Updated at March 28, 2025
  • Request format
    • Request example
  • Response format

You can use API v1 to request information about limits on the number of requests to Yandex Search API.

The response contains information about the limit for each hour during the next 24 hours.

Request format

https://yandex.<domain>/search/xml
  ? [action=<limits-info>]
  & [folderid=<folder_ID>]
  & [apikey=<service_account_API_key>]

Where:

  • folderid: ID of the folder you are using to work with Yandex Search API.
  • apikey: API key of the service account in this folder. You can create an API key in the management console interface. The value of an API key is displayed only once when it is being created.

Request example

The following request returns information about hourly limits on the number of search queries the user can submit in the next 24 hours:

https://yandex.ru/search/xml?action=limits-info&folderid=b1g8oateeanu********&apikey=AQVN1kJ7f_1dHwW_Ert6p8357XJgzuKEpW********

Response format

In response to the request for hourly limits, Yandex Search API returns a UTF-8 encoded XML file.

Note

If the allowed number of queries during one of the hours is exceeded, queries in excess of the limit will be deducted from the corresponding hour in the next 24-hour period. The excess data will be taken into account when generating a response.

Below is the general structure of the resulting XML document with examples of values.

<yandexsearch version="1.0">
<response>
<limits>
<time-interval from="2014-07-22 20:00:00 +0000" to="2014-07-22 21:00:00 +0000">500</time-interval>
<time-interval from="2014-07-22 21:00:00 +0000" to="2014-07-22 22:00:00 +0000">450</time-interval>
<time-interval from="2014-07-22 22:00:00 +0000" to="2014-07-22 23:00:00 +0000">590</time-interval>
<time-interval from="2014-07-22 23:00:00 +0000" to="2014-07-23 00:00:00 +0000">600</time-interval>
<time-interval from="2014-07-23 00:00:00 +0000" to="2014-07-23 01:00:00 +0000">300</time-interval>
<time-interval from="2014-07-23 01:00:00 +0000" to="2014-07-23 02:00:00 +0000">200</time-interval>
<time-interval from="2014-07-23 02:00:00 +0000" to="2014-07-23 03:00:00 +0000">500</time-interval>
<time-interval from="2014-07-23 03:00:00 +0000" to="2014-07-23 04:00:00 +0000">500</time-interval>
<time-interval from="2014-07-23 04:00:00 +0000" to="2014-07-23 05:00:00 +0000">500</time-interval>
<time-interval from="2014-07-23 05:00:00 +0000" to="2014-07-23 06:00:00 +0000">100</time-interval>
<time-interval from="2014-07-23 06:00:00 +0000" to="2014-07-23 07:00:00 +0000">100</time-interval>
<time-interval from="2014-07-23 07:00:00 +0000" to="2014-07-23 08:00:00 +0000">100</time-interval>
<time-interval from="2014-07-23 08:00:00 +0000" to="2014-07-23 09:00:00 +0000">100</time-interval>
<time-interval from="2014-07-23 09:00:00 +0000" to="2014-07-23 10:00:00 +0000">200</time-interval>
<time-interval from="2014-07-23 10:00:00 +0000" to="2014-07-23 11:00:00 +0000">300</time-interval>
<time-interval from="2014-07-23 11:00:00 +0000" to="2014-07-23 12:00:00 +0000">300</time-interval>
<time-interval from="2014-07-23 12:00:00 +0000" to="2014-07-23 13:00:00 +0000">300</time-interval>
<time-interval from="2014-07-23 13:00:00 +0000" to="2014-07-23 14:00:00 +0000">300</time-interval>
<time-interval from="2014-07-23 14:00:00 +0000" to="2014-07-23 15:00:00 +0000">300</time-interval>
<time-interval from="2014-07-23 15:00:00 +0000" to="2014-07-23 16:00:00 +0000">300</time-interval>
<time-interval from="2014-07-23 16:00:00 +0000" to="2014-07-23 17:00:00 +0000">400</time-interval>
<time-interval from="2014-07-23 17:00:00 +0000" to="2014-07-23 18:00:00 +0000">500</time-interval>
<time-interval from="2014-07-23 18:00:00 +0000" to="2014-07-23 19:00:00 +0000">500</time-interval>
<time-interval from="2014-07-23 19:00:00 +0000" to="2014-07-23 20:00:00 +0000">600</time-interval>
</limits>
</response>
</yandexsearch>

Tag

Description

Attributes

response

Grouping tag

None

limits

This is a grouping tag.

Contains records about hourly limits on allowed number of search requests.

None

time-interval

Number of search requests you can send during a given time interval.

The interval boundaries are defined by attributes.

  • from: Limit interval start date and time (inclusive).
  • to: Limit interval end date and time (not inclusive).

Attribute data format:

YYYY-MM-DD HH:MM:SS +HHMM 

HHMM sets an event offset from UTC+0.

Warning

Currently, all hourly limits are output in UTC+0.

Was the article helpful?

Previous
Authentication with the API
Next
Performing search queries
Yandex project
© 2025 Yandex.Cloud LLC