Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Search API
  • Getting started
  • Access management
  • Pricing policy
  • Audit Trails events
  • Release notes

Authentication in API v1

Written by
Yandex Cloud
Updated at July 24, 2025

To work with Yandex Search API using API v1, you need to send API requests under a service account. API v1 only supports authentication with API keys.

Warning

If your API key may have been compromised, revoke it and issue a new one.

  1. Get the service account's folder ID.

  2. Get an API key.

  3. Provide the obtained values in each request:

    GET requests
    POST requests

    In GET requests, provide the folder ID and API key in the folderid and apikey fields of the request URL, respectively:

    curl 'https://yandex.<domain>/search/xml?folderid=<folder_ID>&apikey=<API_key_value>&query=<search_request_text>'
    

    In POST requests, provide the API key in the Authorization request header in the following format:

    curl \
      --request POST \
      --header "Authorization: Api-Key <API_key>" \
      ...
    

    Provide the folder ID in the folderid field of the request URL:

    https://yandex.<domain>/search/xml?folderid=<folder_ID>
    

Was the article helpful?

© 2025 Direct Cursus Technology L.L.C.