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

# /afishaboston/events/search

> List upcoming Afisha Boston events (Russian-language cultural events in the Boston area). Optionally filter by a title keyword or a date range. Each item is a full event with title, description, start and end dates, image, venue, organizer, ticket price range and currency, per-tier tickets (name, price, availability), event status, refund policy, ticket link, language and the event page URL.

**Price:** 1 credit

**💡 AI Hint:** List upcoming Afisha Boston events. Optional filters: keyword (matched against the event title), start_date/end_date (YYYY-MM-DD, by event date). Results are sorted by start date (soonest first). Set count to how many results you want. Each item has id, title, description, image, start_at/end_at, event_status, price_min/price_max, currency, tickets (per-tier name/price/availability), venue, organizer, refund_policy, ticket_url, source_url and lang.



## OpenAPI

````yaml /openapi/events-tickets.json post /api/afishaboston/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/afishaboston/events/search:
    post:
      tags:
        - /afishaboston
      summary: /afishaboston/events/search
      description: >-
        List upcoming Afisha Boston events (Russian-language cultural events in
        the Boston area). Optionally filter by a title keyword or a date range.
        Each item is a full event with title, description, start and end dates,
        image, venue, organizer, ticket price range and currency, per-tier
        tickets (name, price, availability), event status, refund policy, ticket
        link, language and the event page URL.


        **Price:** 1 credit


        **💡 AI Hint:** List upcoming Afisha Boston events. Optional filters:
        keyword (matched against the event title), start_date/end_date
        (YYYY-MM-DD, by event date). Results are sorted by start date (soonest
        first). Set count to how many results you want. Each item has id, title,
        description, image, start_at/end_at, event_status, price_min/price_max,
        currency, tickets (per-tier name/price/availability), venue, organizer,
        refund_policy, ticket_url, source_url and lang.
      operationId: __api_afishaboston_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/AfishabostonEventsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AfishabostonEvent'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AfishabostonEventsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        keyword:
          anyOf:
            - type: string
            - type: 'null'
          description: Filter events by a substring of the title
          examples:
            - Незлобин
            - театр
        start_date:
          anyOf:
            - type: string
            - type: 'null'
          description: Keep only events on or after this date (YYYY-MM-DD)
          examples:
            - '2026-09-01'
        end_date:
          anyOf:
            - type: string
            - type: 'null'
          description: Keep only events on or before this date (YYYY-MM-DD)
          examples:
            - '2026-12-31'
        count:
          type: integer
          minimum: 1
          description: Max number of events to return
      type: object
      required:
        - count
    AfishabostonEvent:
      properties:
        '@type':
          type: string
          default: AfishabostonEvent
        id:
          type: integer
        description:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        start_at:
          anyOf:
            - type: string
            - type: 'null'
        end_at:
          anyOf:
            - type: string
            - type: 'null'
        event_status:
          anyOf:
            - type: string
            - type: 'null'
        price_min:
          anyOf:
            - type: number
            - type: 'null'
        price_max:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        tickets:
          items:
            $ref: '#/components/schemas/AfishabostonTicket'
          type: array
          default: []
        venue:
          anyOf:
            - $ref: '#/components/schemas/AfishabostonVenue'
            - type: 'null'
        organizer:
          anyOf:
            - $ref: '#/components/schemas/AfishabostonOrganizer'
            - type: 'null'
        refund_policy:
          anyOf:
            - type: string
            - type: 'null'
        ticket_url:
          anyOf:
            - type: string
            - type: 'null'
        source_url:
          anyOf:
            - type: string
            - type: 'null'
        lang:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
        - title
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    AfishabostonTicket:
      properties:
        '@type':
          type: string
          default: AfishabostonTicket
        name:
          anyOf:
            - type: string
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        availability:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    AfishabostonVenue:
      properties:
        '@type':
          type: string
          default: AfishabostonVenue
        name:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        state:
          anyOf:
            - type: string
            - type: 'null'
        postcode:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    AfishabostonOrganizer:
      properties:
        '@type':
          type: string
          default: AfishabostonOrganizer
        name:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    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

````