> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /yandexsearch/search

> Search Yandex by query and return organic web results: destination url, title, displayed url (breadcrumb), snippet and position. Region-biased and language-aware. 

<b>Results are ordered by relevance — the first result is the most relevant.</b>

**Price:** 1 credit

**💡 AI Hint:** Yandex web search by query (text). Each result is an organic SERP entry (url, title, displayed_url, snippet, position). Bias to a region with region (geo-id, e.g. 213=Moscow, 2=Saint Petersburg) and set results language with lang. Pick the domain (yandex.com international or yandex.ru Russian). Strong for Russian-language and RU-region web discovery where Google/DuckDuckGo differ.



## OpenAPI

````yaml /openapi-filtered.json post /api/yandexsearch/search
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/yandexsearch/search:
    post:
      tags:
        - /yandexsearch
      summary: /yandexsearch/search
      description: >-
        Search Yandex by query and return organic web results: destination url,
        title, displayed url (breadcrumb), snippet and position. Region-biased
        and language-aware. 


        <b>Results are ordered by relevance — the first result is the most
        relevant.</b>


        **Price:** 1 credit


        **💡 AI Hint:** Yandex web search by query (text). Each result is an
        organic SERP entry (url, title, displayed_url, snippet, position). Bias
        to a region with region (geo-id, e.g. 213=Moscow, 2=Saint Petersburg)
        and set results language with lang. Pick the domain (yandex.com
        international or yandex.ru Russian). Strong for Russian-language and
        RU-region web discovery where Google/DuckDuckGo differ.
      operationId: __api_yandexsearch_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/YandexSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/YandexSearchResult'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    YandexSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        text:
          type: string
          minLength: 1
          description: Search query
          examples:
            - python fastapi
            - купить ноутбук
        count:
          type: integer
          minimum: 1
          description: Max number of organic results to return
        domain:
          $ref: '#/components/schemas/YandexSearchDomain'
          description: Yandex domain — Russian (yandex.ru) or international (yandex.com)
          default: yandex.ru
        region:
          anyOf:
            - type: integer
              exclusiveMinimum: 0
            - type: 'null'
          description: Yandex region geo-id biasing local ranking
          examples:
            - 213
            - 2
        lang:
          anyOf:
            - type: string
              minLength: 1
            - type: 'null'
          description: Interface and results language
          examples:
            - ru
            - en
      type: object
      required:
        - text
        - count
    YandexSearchResult:
      properties:
        '@type':
          type: string
          default: YandexSearchResult
        url:
          type: string
        displayed_url:
          type: string
          default: ''
        snippet:
          type: string
          default: ''
        position:
          type: integer
          default: 0
      type: object
      required:
        - url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    YandexSearchDomain:
      type: string
      enum:
        - yandex.com
        - yandex.ru
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````