Afisha.ru Events avatar

Afisha.ru Events

Pricing

from $3.50 / 1,000 afisha.ru events

Go to Apify Store
Afisha.ru Events

Afisha.ru Events

Collect public Afisha.ru event cards for Moscow and Saint Petersburg. Get titles and URLs, plus dates, venues, and starting prices when shown. Run with city and category, no login. Pricing: $0.0035 per saved event and $0.00005 per Actor start (Free).

Pricing

from $3.50 / 1,000 afisha.ru events

Rating

0.0

(0)

Developer

Vitalii Bondarev

Vitalii Bondarev

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

6 days ago

Last modified

Categories

Features

Limited permissions

Share

Afisha.ru Public Event Listings

Afisha.ru Events scrapes public event cards from Afisha.ru for Moscow and Saint Petersburg, one record per listing card. On the Free plan, each saved event is $0.0035 and each Actor start is $0.00005.

  • Scrape a city events calendar from public cards: title, displayed dates, venue, and canonical URL, with no Afisha login.
  • Extract the starting ruble price when a card shows one, to compare concerts, theatre, or other categories.
  • Pull one section, such as cinema, kids, sports, exhibitions, excursions, or standup, for a focused list.
  • Omit price, image, subtitle, date, and venue when the card does not show them, instead of guessing.
  • Start with residential Apify Proxy, the input default, or set useApifyProxy to false for a direct connection.

What you get

Each run reads one server-rendered listing page, https://www.afisha.ru/{city}/{category}/, and returns unique event cards from that HTML. Records always include id, url, title, and event_type. The actor also writes city and category from the input.

Other keys are added only when that card shows them, and they are left out rather than filled with placeholders. price_text, price_from, and currency are stored together; when a ruble amount is parsed, currency is RUB.

The Console overview table lists id, title, event_type, city, category, date_text, venue, price_from, currency, and url. subtitle, price_text, and image_url stay on the record when the card has them.

FieldTypeDescription
idstringEvent ID taken from the event URL.
urlstringCanonical event URL on afisha.ru.
titlestringTitle text from the event link.
event_typestringPath type on the event URL: concert, performance, movie, exhibition, excursion, sport, or event.
citystringInput city route, msk or spb.
categorystringInput listing section.
subtitlestringExtra card label, included only when shown.
date_textstringDate or schedule text as displayed (a month name, "сегодня", "завтра", "выходные", a permanent-exhibition phrase, or a clock time), not a normalized timestamp.
venuestringVenue name from a venue link on the card, when present.
price_textstringPrice phrase as displayed, when a ruble amount is found.
price_fromnumberParsed starting amount for that phrase.
currencystringRUB when a price is parsed.
image_urlstringAbsolute image URL from the card, when present.

Sample output

One saved card from a Moscow events listing:

{
"id": "1001397",
"url": "https://www.afisha.ru/performance/vals-boston-1001397/",
"title": "Вальс-бостон",
"event_type": "performance",
"city": "msk",
"category": "events",
"date_text": "Октябрь, ноябрь",
"venue": "Театр Эстрады",
"subtitle": "Мюзикл",
"price_text": "От 1800 ₽",
"price_from": 1800,
"currency": "RUB",
"image_url": "https://s2.afisha.ru/mediastorage/94/25/1f96a236b77a445185bdac1f2594.jpg"
}

Pricing

This Actor uses pay-per-event billing. Two Free-plan events are configured.

EventWhen it is chargedFree-plan price
Actor start (apify-actor-start)Charged when the Actor starts. The number of events depends on memory: one event per GB, with a minimum of one event.$0.00005
Afisha.ru Events (apify-default-dataset-item)One scraped result with all fields.$0.0035 per event

That is $3.50 per 1,000 saved events on the Free plan, and $0.05 per 1,000 Actor starts on the Free plan. 10,000 saved events = $35 on the Free plan, and 10,000 Actor starts = $0.50 on the Free plan. Default memory is 512 MB, so a start at that size is one Actor start event.

The Apify Free plan includes $5 of monthly platform usage credit. After one Actor start, the result count that fits is 1428: floor((5 - 0.00005) / 0.0035) = 1428, and 1428 × $0.0035 on the Free plan + $0.00005 = $4.99805.

Platform usage for compute, Apify Proxy traffic including residential, and storage is included in these event prices and is paid by the Actor developer. This Actor is not on pay per event plus usage, so you are not billed separately for that platform usage.

How to use

You do not log in to Afisha. Use your own Apify account.

{
"city": "msk",
"category": "events",
"maxResults": 30,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}
  1. Open Afisha.ru Events in the Apify Console.
  2. Choose city (msk or spb) and category (events, concerts, theatre, cinema, exhibitions, excursions, sports, kids, or standup).
  3. Set maxResults and keep or edit proxyConfiguration.
  4. Start the run and wait for the listing page to be read.
  5. Open the dataset and check the saved cards.
  6. Repeat the run with Apify Schedules. Daily is a reasonable starting point for listing cards; it is only a starting point, not a statement of how often Afisha updates the page.

Export the dataset as JSON or CSV, or read it through the Apify dataset API.

Input parameters

ParameterWhat it doesDefault
cityCity route used in the listing URL. msk is Moscow and spb is Saint Petersburg. The value is lowercased. Any other city fails the run. Required on the form; if it is omitted from raw input, the actor uses msk.msk
categoryListing section appended to the city URL. Allowed: events, concerts, theatre, cinema, exhibitions, excursions, sports, kids, standup. Any other value fails the run. Required on the form; if it is omitted from raw input, the actor uses events.events
maxResultsMaximum records to push. The schema requires an integer of at least 1, with no maximum. A value that cannot be read as a number (for example text or null) falls back to 50; a decimal such as 3.7 is cut to 3. A value of 0 or below ends the run before the page is requested.50
proxyConfigurationWhen useApifyProxy is true, this object is passed to Apify Proxy. Otherwise the actor sets a direct connection (useApifyProxy false).useApifyProxy true, group RESIDENTIAL

Limits and edge cases

Note: One run reads only https://www.afisha.ru/{city}/{category}/. It does not request further listing pages and it does not cover the whole Afisha catalog.

ConditionWhat you seeWhat to do
The listing page has fewer cards than maxResultsA successful run with fewer records than the cap, and a log line Saved {count} Afisha records from that URLTreat the count as the cards found on that page, not as a full city catalog.
maxResults is 0 or negativeThe run stops with no records and does not request AfishaSet maxResults to 1 or higher.
City or category is outside the allowed valuesThe run fails with Unsupported Afisha city or Unsupported Afisha categoryUse msk or spb and one of the nine categories.
The page HTML has no recognizable event cardsA successful run that saves 0 recordsTry the other city or another category. Content varies by page.
A card has no price, date, venue, subtitle, or imageThe record is saved without those keysRead only the keys that are present.
The same event ID appears twice on the pageOne record for that IDNo change is required.
category and the card type differcategory is your input. event_type comes from that card's URL pathFilter on event_type when you need the card's own type.
Afisha returns a challenge page or an HTTP errorThe run fails before any records are saved. If a proxy configuration is in use and the first request fails, one more request is made; if that also fails, the error names the listing URLIf you turned the proxy off, set useApifyProxy back to true with the RESIDENTIAL group. Requests time out after 40 seconds.
A link text is only a price or a ticket labelThat link is not used as the title. A card is saved only when a real title is foundExpect fewer rows than the number of links on the page.

FAQ

How much does it cost to scrape Afisha.ru events?

On the Free plan, each saved event is $0.0035 (apify-default-dataset-item) and each Actor start is $0.00005 (apify-actor-start). At the 512 MB default, the start charge is one event. The Free plan's $5 monthly credit covers 1428 results after one start; the calculation is under Pricing. Platform usage, including residential Apify Proxy traffic, is included in those event prices and is not billed again to you.

Why is my dataset empty?

A finished run with no items means the listing page had no parseable event cards, or maxResults was 0 or negative and the actor returned before requesting the page. A successful empty read logs Saved 0 Afisha records from the listing URL. Check msk or spb, use one of the nine categories, and set a positive maxResults. You still only get cards present on that one page.

Why did the run fail?

An unsupported city or category raises Unsupported Afisha city or Unsupported Afisha category before the fetch. A challenge page or an HTTP error stops the run after the request, and no records from that fetch are saved. With a proxy configuration, a failed first request is tried once more; the error still names the listing URL if both attempts fail. Turn residential Apify Proxy back on if the run used a direct connection.

Is collecting public Afisha.ru listings allowed under Afisha's ToS?

The Actor reads public data from publicly available Afisha.ru listing pages and does not log in. Whether your use is allowed depends on Afisha's terms and on the law that applies to your use case. This page does not give a legal guarantee.