Maoyan Piaofang China Box Office Scraper avatar

Maoyan Piaofang China Box Office Scraper

Pricing

Pay per event

Go to Apify Store
Maoyan Piaofang China Box Office Scraper

Maoyan Piaofang China Box Office Scraper

Scrape real-time China box office data from Maoyan Piaofang. Extracts daily revenue, market share, screening counts, seat occupancy, and cumulative totals for all currently-screening films. Includes genre, cast, director, and Maoyan rating enrichment via film detail API.

Pricing

Pay per event

Rating

0.0

(0)

Developer

BowTiedRaccoon

BowTiedRaccoon

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Share

Scrape real-time China box office data from Maoyan Piaofang — the canonical Chinese box-office data source. Extracts daily split revenue, market share, screening counts, seat occupancy, and cumulative totals for all currently-screening films.

What it does

Makes two API calls per run:

  1. Dashboard snapshotGET piaofang.maoyan.com/dashboard-ajax returns all currently-screening films with live box-office data.
  2. Film detail enrichmentGET piaofang.maoyan.com/movie/<id> fetches genre tags, director, and audience intent count for each film.

Returns one record per film combining both data sources.

Output fields

FieldTypeDescription
movie_idintegerMaoyan movie ID
movie_namestringFilm title (Chinese)
release_infostringDays-since-release string (e.g. "上映31天")
box_split_unit_yuanfloatToday's split box-office in yuan
sum_box_descstringCumulative box-office display (e.g. "12.76亿")
sum_box_yuanfloatCumulative box-office in yuan
daily_box_split_yuanfloatToday's split box-office in yuan (daily portion)
box_rate_pctfloatMarket share % for the day
show_countintegerNumber of screenings today
show_count_rate_pctfloatScreening share %
avg_seat_view_pctfloatAverage per-screening seat occupancy %
avg_show_viewfloatAverage viewers per screening
split_box_rate_pctfloatSplit box-office rate %
genre_tagsstringGenre tags (pipe-delimited)
directorsstringDirector(s) (pipe-delimited)
wish_countinteger"Want to watch" count (想看)
snapshotted_atstringISO-8601 capture timestamp

Notes on glyph obfuscation

Maoyan's API encodes box-office digit fields using Unicode Private Use Area (PUA) codepoints that rotate daily. This actor automatically decodes them by:

  1. Parsing the per-response WOFF font (URL embedded in the API response fontStyle field)
  2. Using a glyph shape fingerprint to map each PUA codepoint to the correct digit 0-9
  3. Falling back to an algebraic solver (using film market-share ratios as constraints) if the fingerprint table does not match a new font variant

Use cases

  • Hollywood studio Asia-Pacific box office monitoring
  • Equity research on Chinese cinema companies (CNMC, Wanda, Alibaba Pictures)
  • Entertainment ESG datasets requiring daily China market data
  • Cross-referencing with Douban movie ratings for sentiment plus commercial signal