Tools
get_event_chart
Charts one event over time: its prices and inventory, or its demand.
When to use it
- You want the price path of one event: how its median and lowest prices and its listings moved, from the source you pick.
- You want to see whether demand for one event is building or fading: set
metrictodemand. - For one section in finer steps, use
get_event_sections_livewithviewseries. For the event's other numbers over time, useget_event_analyticswithrange. - It replaces
get_event_price_chartandget_event_demand_chart, whose names still answer: see Old names.
Inputs
metric(string):price(the default) for prices and inventory,demandfor Interest, the people viewing the event per hour, and Sales, the orders placed per hour. One ofprice,demand.event_id(string, required): The event, by its Ticker id (evplus ten characters), assearch_eventsand the other tools return it.range(string): How far back the series reaches. Withprice, every point when you leave it out or passall. Withdemand, 28 days when you leave it out, andallreaches back up to one year. For an event that has taken place, it counts back from the event date. One of3d,7d,14d,28d,30d,90d,all.granularity(string): Withprice:daily(the default), one point per date, orintraday, one point per reading where the source holds them;meta.granularitysays which was served. Withdemand:daily(the default), one row per date, with that date's value, orintraday, one row per reading for the last 90 dates of the window (last_snapshot_timeis when it was read), and one row per date before them. One ofdaily,intraday.source(string): Withprice, the market the prices come from.vs,tp,tmr,gt,sg,shandaqare the resale market;tm,mlb(the team's own primary market for a baseball game) andsgpare the primary market. Never put a primary and a resale source in one series. It does not apply todemand. One ofvs,tp,tm,tmr,gt,sg,sh,mlb,sgp,aq,axs,axsr,go.section(string): Withpriceandsourcemlbonly: one or more of the event's sections, comma separated, at most 60, each asget_event_sections_livewithsourcemlbkeys it. One section reads that section's own series. Several read one series:ticketsis their sum,floorthe lowest floor andmedianthe median of the section medians, withp25andp75null. Any other source refuses it. Up to 3900 characters.exclude(string): Comma separated listings to leave out:zone(Unassigned seats, where the seller holds no specific seats yet;vs) andview(Limited view, where the market says the seats see the stage or field only in part;vs,sg,sgpandsh). Leave it out to count every listing.excludedin the answer names what was left out, and a price with nothing left is null. Up to 64 characters.render(boolean): Include a chart image ahead of the data. Setfalsefor the data only, a smaller answer.market(string): Withdemand, the marketrowsreads:vs(the default) orsh. A market your plan does not include is refused;marketsstill gives every market your plan includes. One ofvs,sh.currency(string):usdorvenue. For an event at a Canadian or UK venue,venuegives every price in the venue's currency (Canadian dollars or pounds) at one exchange rate for the event, so the cheapest market and any order stay the same, and the answer namescurrency,venue_currency,fx_rateandfx_rate_date. Leave it out for USD. Any other event is always in USD. One ofusd,venue.
Examples
How has the price of this concert moved over the last 90 days?
{ "event_id": "ev3rp4z4zhq1", "range": "90d" }Is demand for this game building or fading? Data only, no chart.
{ "event_id": "ev5t9h2w7k3c", "metric": "demand", "render": false }What is left on the primary market for this show, and at what price?
{ "event_id": "ev8k2m4q7x1a", "source": "tm" }What comes back
- With
price, on every source:source,metaandseries, oldest first. Each point hasdate, the price before fees infloor,median,p25andp75, the all-in price (what the buyer pays) infloorAip,medianAip,p25Aipandp75Aip, thenlistingsandtickets.meta.mappedfalsemeans the event has no link to that source. - At one point per date on
vs,medianand the middle half of prices (p25top75) are averages across that date, andflooris its low.vsends on the latest reading, so its last date's point takes that reading's values. - With
demand: one row per date withsnapshot_date,interest, the most people viewing in an hour, andsales, the tickets bought, as whole numbers. Read the change from one date to the next as momentum. - With
demand,marketsputs theinterestandsalesof each market your plan includes side by side and never sums them. Each market'sunitnames what each figure counts: people forinterest, tickets forsales, and onvsthe orders beside them. - A date with no point has no reading; leave it unfilled.
event_nameandvenue_namename the event, so a chart legend reads a name, not an id. - A chart image comes first unless
renderisfalse, on every source. Withprice,seriesis empty when the event has no history; withdemand,rowsis.
Limits and quota
- Reads only: it changes nothing.
- Every plan reads the full
vsseries and demand. The Pro plan and above includetp; the Max plan and above includetm,tmr,gt,sg,sh,mlbandsgp. A source your plan does not include is refused with aplan_requirederror. - The Max plan and above include events that have already taken place.
- An input the metric does not take, like
sourcewithdemand, is refused by name. - A
priceanswer too long for one result keeps its newest points, andmetasays so. Atintraday, ask fordailyto read the whole span.