> ## 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.

# /afishafi/events/search

> Search Afisha.fi events (Russian-language cultural events across Finland). Provide a keyword for a full-text search over all events, or filter the upcoming listing by category, city and date range. Each item is a full event with title, description, start and end dates, city, organizer, price and currency, ticket link, images and view count.

**Price:** 1 credit

**💡 AI Hint:** Search Afisha.fi events. Two modes: provide keyword for a full-text search across all events (past and upcoming), or omit keyword and filter the upcoming listing by category, city and start_date/end_date (YYYY-MM-DD). Keyword search does not combine with category/city/date filters. Set count to how many results you want. Each item has id, title, description, start_at/end_at, city, organizer, price, currency (EUR), ticket_url, images, view_count, source_url and lang.



## OpenAPI

````yaml /openapi/events-tickets.json post /api/afishafi/events/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/afishafi/events/search:
    post:
      tags:
        - /afishafi
      summary: /afishafi/events/search
      description: >-
        Search Afisha.fi events (Russian-language cultural events across
        Finland). Provide a keyword for a full-text search over all events, or
        filter the upcoming listing by category, city and date range. Each item
        is a full event with title, description, start and end dates, city,
        organizer, price and currency, ticket link, images and view count.


        **Price:** 1 credit


        **💡 AI Hint:** Search Afisha.fi events. Two modes: provide keyword for
        a full-text search across all events (past and upcoming), or omit
        keyword and filter the upcoming listing by category, city and
        start_date/end_date (YYYY-MM-DD). Keyword search does not combine with
        category/city/date filters. Set count to how many results you want. Each
        item has id, title, description, start_at/end_at, city, organizer,
        price, currency (EUR), ticket_url, images, view_count, source_url and
        lang.
      operationId: __api_afishafi_events_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AfishafiEventsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AfishafiEvent'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AfishafiEventsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        keyword:
          anyOf:
            - type: string
            - type: 'null'
          description: Full-text search query across all events (past and upcoming)
          examples:
            - концерт
            - балет
        category:
          anyOf:
            - $ref: '#/components/schemas/AfishafiCategory'
            - type: 'null'
          description: Filter the listing by a single event category
        city:
          anyOf:
            - $ref: '#/components/schemas/AfishafiCity'
            - type: 'null'
          description: Filter the listing by a single Finnish city
        start_date:
          anyOf:
            - type: string
            - type: 'null'
          description: Lower bound of the listing date window (YYYY-MM-DD)
          examples:
            - '2026-07-01'
        end_date:
          anyOf:
            - type: string
            - type: 'null'
          description: Upper bound of the listing date window (YYYY-MM-DD)
          examples:
            - '2026-12-31'
        count:
          type: integer
          minimum: 1
          description: Max number of events to return
      type: object
      required:
        - count
    AfishafiEvent:
      properties:
        '@type':
          type: string
          default: AfishafiEvent
        id:
          type: integer
        description:
          anyOf:
            - type: string
            - type: 'null'
        start_at:
          anyOf:
            - type: string
            - type: 'null'
        end_at:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        organizer:
          anyOf:
            - type: string
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        ticket_url:
          anyOf:
            - type: string
            - type: 'null'
        images:
          items:
            type: string
          type: array
          default: []
        view_count:
          anyOf:
            - type: integer
            - type: 'null'
        source_url:
          anyOf:
            - type: string
            - type: 'null'
        lang:
          type: string
          default: ru
      type: object
      required:
        - id
        - title
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    AfishafiCategory:
      type: string
      enum:
        - ballet
        - concerts
        - clubs
        - exhibitions
        - theatre
        - kids
        - seminars
        - youth
        - excursions
    AfishafiCity:
      type: string
      enum:
        - vaasa
        - valkeala
        - vantaa
        - varkaus
        - vesanto
        - vihti
        - vuokatti
        - ivalo
        - ilomantsi
        - imatra
        - joensuu
        - kajaani
        - kangasala
        - kankaanpaa
        - karjaa
        - karkkila
        - kemi
        - kerava
        - keuruu
        - kirkkonummi
        - kittila
        - kokkola
        - kotka
        - kouvola
        - kristiinankaupunki
        - kuopio
        - lapinlahti
        - lappeenranta
        - lapua
        - lahti
        - levi
        - leppavirta
        - lieksa
        - loviisa
        - lohja
        - lviv
        - mikkeli
        - nastola
        - nummi_pusula
        - nurmijarvi
        - orimattila
        - oulu
        - paimio
        - parikkala
        - pieksamaki
        - pietarsaari
        - porvoo
        - pori
        - posio
        - pyha
        - raasepori
        - raahe
        - rauma
        - riihimaki
        - rovaniemi
        - ruka
        - savonlinna
        - salla
        - salo
        - seinajoki
        - suonenjoki
        - tampere
        - tornio
        - turku
        - tuusula
        - forssa
        - hamina
        - hankasalmi
        - hanko
        - hauho
        - heinola
        - helsinki
        - hyvinkaa
        - hameenlinna
        - espoo
        - jyvaskyla
        - jamsa
        - jarvenpaa
    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

````