nielsen local monthlies api release 1.0 documentation · stations description: station metadata for...

24
Nielsen Local Monthlies API Release 1.0 Documentation Endpoint Details: https://api.developer.nielsen.com/watchapi/local/monthlies/api/v1 Rate limit: 3 calls per second Authentication Instructions: To generate an access token, please see the OAuth 2.0 Guide on how to use the Authorization API. To make an API call, pass in the below header with your access token: Key: “Authorization” Value: “Bearer 762CoxehAgJsCmRCTA6CIqUnQzwYOH20n9NMiJc6rm9xKrVMYH2oZD” Note: There is a space and an access token after bearer. The access token must be generated using the authorization endpoint. Example request in Postman:

Upload: others

Post on 30-Jun-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

NielsenLocalMonthliesAPIRelease1.0Documentation

EndpointDetails: https://api.developer.nielsen.com/watchapi/local/monthlies/api/v1

Ratelimit:3callspersecond

AuthenticationInstructions:Togenerateanaccesstoken,pleaseseetheOAuth2.0GuideonhowtousetheAuthorizationAPI.TomakeanAPIcall,passinthebelowheaderwithyouraccesstoken:

Key:“Authorization”

Value:“Bearer762CoxehAgJsCmRCTA6CIqUnQzwYOH20n9NMiJc6rm9xKrVMYH2oZD”

Note:Thereisaspaceandanaccesstokenafterbearer.Theaccesstokenmustbegenerated

usingtheauthorizationendpoint.

ExamplerequestinPostman:

Page 2: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

dataAvailabilitiesDescription:DeterminewhatdataisavailableintheAPI(Datastreams,measurementperiods,sample

types,etc.)

RequestURL:https://api.developer.nielsen.com/watchapi/local/monthlies/api/v1/dataAvailabilities?

ParameterName ParameterType

Description

marketId Int UniqueDMAidentifier(e.g."501"forNew

York)

marketName String NielsenDMAname(e.g."NewYork,NY")

marketType String ThecollectionmethodoftheDMA(e.g."LPM",

"Set-Meter",“CodeReader”,“Diary”)

year Int Theyearcorrespondingtothemeasurement

period(e.g.“2015”)

month String Themonthcorrespondingtothemeasurement

period(e.g.“March”)

dataSource String Datasample(e.g.“Cable”,“Hispanic”,“Black”,

“Household”)

excludeUnsubscribedMarkets Bool Truebydefault.Whentrue,theresponsewill

belimitedtoonlymarketsthattheuseris

subscribedto.Iffalse,theresponsewillreturn

metadataforallmarkets.

ResponseField Description marketId UniqueDMAidentifier(e.g."501"forNewYork)

marketName NielsenDMAname(e.g.“NewYork,NY”)

marketType ThecollectionmethodoftheDMA(e.g.“LPM”,“Set-Meter”)

year Theyearcorrespondingtothemeasurementperiod(e.g.“2015”)

month Themonthcorrespondingtothemeasurementperiod(e.g.“March”)

dataSource Datasample(e.g.“Cable”,“Hispanic”,“Black”,“Household”)

surveyStartDate Firstbroadcastdateofthesurveyperiod(YYYY-MM-DD)

surveyEndDate Lastbroadcastdateofthesurveyperiod(YYYY-MM-DD)

Page 3: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

markets

Description:MarketorDesignatedMarketArea(DMA)metadata.

RequestURL:https://api.developer.nielsen.com/watchapi/local/monthlies/api/v1/markets?

ExampleURL:

https://api.developer.nielsen.com/watchapi/local/monthlies/api/v1/markets?marketType=Diary

ParameterName ParameterType

Description

marketId int UniqueDMAidentifier(e.g."501"forNew

York)

marketName String NielsenDMAname(e.g."NewYork,NY")

marketType String ThecollectionmethodoftheDMA(e.g."LPM",

"Set-Meter")

marketRank int ThecurrentrankoftheDMA(e.g."1"

correspondstothemostpopulatedDMA,New

York)

excludeUnsubscribedMarkets Bool Truebydefault.Whentrue,theresponsewill

belimitedtoonlymarketsthattheuseris

subscribedto.Iffalse,theresponsewillreturn

metadataforallmarkets.

ResponseField

Description

marketId UniqueDMAidentifier(e.g."501"forNewYork)

marketName NielsenDMAname(e.g."NewYork,NY")

marketType ThecollectionmethodoftheDMA(“LPM”,“Set-Meter”,“CodeReader”,

“Diary”)

marketAbbr AbbreviatedDMAname(e.g."NY")

marketRank ThecurrentrankoftheDMA(e.g."1"correspondstothemostpopulated

DMA,NewYork)

Page 4: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

stations

Description:Stationmetadataformarketswheretherehasbeenviewingofthestation.Includescume

dataforaspecifiedmeasurementperiodforthe7am-1amdaypart.

RequestURL:https://api.developer.nielsen.com/watchapi/local/monthlies/api/v1/stations?

ExampleRequest:

https://api.developer.nielsen.com/watchapi/local/monthlies/api/v1/stations?excludeSpill=false&market

Id=501

ParameterName ParameterType

Description

stationId int Uniquestationidentifier.(e.g.5010)

stationName String Stationname/CallLetters(e.g.“WABC-TV7.2”)

affiliation String Networkaffiliationoflocalbroadcaststation

(e.g.“ABC”)

callLetters string Calllettersforthestation(e.g.WABC)

distributionType String Distributorstationtype(e.g.“Broadcast”or

“Cable”)

cumeThreshold Float Correspondsto“stationCume”–filtersoutall

stationswithstationCumebelowtheinput

value.Ifnull,thenthethresholdwillbe2.5

cumePeriod Date Ifnotspecified,mostrecentcumeperiodfor

eachstationisreturned.Ifspecified(e.g.YYYY-

MM-DD;2015-10-28),stationCumedataforthe

measurementperiodthatthedatefallsintois

returned(ornulliftherewasnocumeforthe

stationduringthatmeasurementperiod)

excludeSpill Bool Defaultstofalse.Controlswhetherornotto

returnbroadcaststationsoriginatingin

differentmarkets(e.g.“true”,“false”)

originMarketId int MarketIDoftheDMAwherethesource

originatedfrom

originMarketName String Nameofstation’soriginmarket(e.g.“New

York”)

marketId Int MarketIDoftheDMA(e.g.“501”forNY).

MarketIDscanberetrievedfromthedata

availabilityormarketsreferencecall)

marketName String NielsenDMAname(e.g.“NewYork,NY”)

parentPlusIndicator String Indicateswhetherastationisapartofa

Parent+relationship.OptionsareParent+

(denotingthesumofparentstationwith

satellites),Parent,Satellite,orOther(returns

onlystationswhicharenotapartofaparent+

relationship).

Page 5: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

excludeUnsubscribedMarkets Bool Truebydefault.Whentrue,theresponsewill

belimitedtoonlymarketsthattheuseris

subscribedto.Iffalse,theresponsewillreturn

metadataforallmarkets.

ResponseField Description stationId UniquenumericalStationIdentifier

stationName Stationname

callLetters Calllettersforthestation(e.g.WABC)

affiliation Networkaffiliationoflocalbroadcaststation

airChannel Stationairchannel

parentPlusIndicator Denoteswhetherastationispartofaparent+relationship.(e.g.

Parent+,Parent,Satellite,null)

distributionType Distributorstationtype(“Broadcast”or“Cable”)

stationCume Cumeforthemeasurementperiod.IfcumePeriodisnotspecified,it

shouldbethemostrecentcume.Ifnothresholdissetandthereisno

cumeforastation,thenanullshouldbereturned

cumePeriod MeasurementperiodforthestationCumereturned

originMarketId MarketIDoftheDMAwherethesourceoriginatedfrom

originMarketName DMAnamewherethesourceoriginatedfrom

marketId MarketIDoftheDMA(e.g.“501”forNY)

marketName NielsenDMAname

Page 6: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

programsDescription:Programlineupmetadataforaspecifiedbroadcastday,market,andstation.

RequestURL:https://api.developer.nielsen.com/watchapi/local/monthlies/api/v1/programs?

ExampleURL:

https://api.developer.nielsen.com/watchapi/local/monthlies/api/v1/programs?broadcastDate=2016-04-

29&reportStart=03%3A00&reportEnd=03%3A00&marketId=501&stationId=5010

ParameterName ParameterType

Description

broadcastDate(required)

Date Broadcastdayofrequesteddatainthefollowingformat:

YYYY-MM-DD(e.g.“2015-12-10”)

reportStart String Reportstarttime(e.g.HH:MM;“12:20”24-hourtime).

Optionalfield–defaultstoafullbroadcastday,03:00AM

–03:00AM.

reportEnd string Reportendtime(e.g.HH:MM;“13:20”24-hourtime).

Optionalfield–defaultstoafullbroadcastday,03:00AM

–03:00AM.

programId Int UniquenumericProgramIdentifier

programName String Programname.Thisparametercanbeusedasafilterand

searchesfortheclosestmatch(e.g.“Wheel”)

programSource String Networksourcefortheprogram(e.g.“FOX”)

stationId(required)

Int NumericalIDcodeofthestation(e.g.“5015”forWABC-TV

7.1intheNYDMA).StationIDcanberetrievedfromthe

stationsreferencecall

originMarketId Int MarketIDoftheDMAwherethesourceoriginatedfrom

(e.g.“501”)

marketId(required)

Int MarketIDoftheDMA(e.g.“501”forNY).MarketIDscan

beretrievedfromthedataavailabilityormarkets

referencecall)

telecastId int UniquenumericIdentifierforeachTelecast

trackageId Int TrackageIDtoprovideawayofidentifyingwhichairingof

thespecifictelecast

trackageName String Clientprovidednametotrackeachtelecast

ResponseField Description broadcastDate Thedateonwhichtheprogramoriginallyaired(YYYY-MM-

DD).

broadcastDayOfWeekName Thebroadcastdayoftheweekduringwhichtheprogram

aired(e.g.“THURSDAY”).

programId UniquenumericProgramIdentifier

programName ProgramName

telecastStartTime Localtimeforwhentheprogramstarts

telecastEndTime Localtimeforwhentheprogramends

totalDuration Totaldurationoftheprogram

Page 7: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

telecastActualStartTime Actualstarttimeoftelecast(notquarter-hourbound)

telecastActualEndTime Actualendtimeoftelecast(notquarter-hourbound)

programTypeCode Broadcastspecialcodetodenotethetypeofprogram

programTypeDesc Describeswhattypeofprogramitis

programSource Networksourcefortheprogram

stationId NumericalIDcodeofthestation(e.g.“5015”forWABC-TV

7.1intheNYDMA).StationIDcanberetrievedfromthe

stationsreferencecall

stationName Stationname

callLetters Calllettersforthestation(e.g.WABC)

affiliation Networkaffiliationoflocalbroadcaststation

distributionType Distributorstationtype(“Broadcast”or“Cable”)

episodeId UniqueIDnumberforanepisode

episodeTitle Nameoftheepisode

telecastId UniquenumericIdentifierforeachTelecast

trackageId TrackageIDtoprovideawayofidentifyingwhichairingof

thespecifictelecast

trackageName Clientprovidednametotrackeachtelecast

originMarketId MarketIDoftheDMAwherethesourceoriginatedfrom

originMarketName DMAnamewherethesourceoriginatedfrom

marketId MarketIDoftheDMA(e.g.“501”forNY)

marketName NielsenDMAname

Page 8: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

quarterHourRatingsDescription:Quarter-hourratingsmetricsforaspecifiedbroadcastday,market,station,datastream,

sampletype,anddemographic.

RequestURL:https://api.developer.nielsen.com/watchapi/local/monthlies/api/v1/quarterHourRatings?

ExampleURL:

https://api.developer.nielsen.com/watchapi/local/monthlies/api/v1/quarterHourRatings?broadcastDate

=2015-11-

28&reportStart=03%3A00&reportEnd=03%3A00&gender=Person&marketId=501&stationId=5015&data

Source=Household&dataStream=Live%2BSD&feedPatternCode=None

ParameterName ParameterType

Description

broadcastDate(required) Date Broadcastdayofrequesteddatainthe

followingformat:YYYY-MM-DD(e.g.“2015-

12-10”)

reportStart string Reportstarttime(e.g.HH:MM;“12:20”24-

hourtime).Optionalfield–defaultstoafull

broadcastday,03:00AM–03:00AM.

reportEnd string Reportendtime(e.g.HH:MM;“13:20”24-

hourtime).Optionalfield–defaultstoafull

broadcastday,03:00AM–03:00AM.

gender(required) string Genderofthetargetdemographic.

• “Households”

• “Person”

• “Male”

• “Female”

startAge Int Youngestageofthetargetdemographic

(e.g.IftargetdemographicisPersons18-34,

startAgewillbe18).

• 2(defaultifnostartAgeisspecified,

Availableforpersonsonly)

• 6(Availableforpersonsonly)

• 12

• 15

• 18

• 21

• 25

• 35

• 50

• 55

• 65

Page 9: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

endAge Int Oldestageofthetargetdemographic(e.g.If

thetargetdemographicisPersons18-34,

endAgewillbe34).

• 5(PersonsOnly)

• 11(PersonsOnly)

• 14

• 17

• 20

• 24

• 34

• 49

• 54

• 64

• 999(defaultifnoendAgeis

specified)

dataStream Stream Time-shiftedviewingfromDVRPlaybackor

On-demandcontentwiththesame

commercialload.Ifnotespecified,Live+SD

willbethedefault.

• “Live”(Live-Includesviewingthat

occurredduringtheliveairing).

• “Live+SD”(Live+SameDay-Includes

allplaybackthatoccurredwithinthe

samedayoftheliveairing).

• “Live+3”(Live+3Days-Includesall

playbackthatoccurredwithinthree

daysoftheliveairing).

• “Live+7”(Live+7Days-Includesall

playbackthatoccurredwithinseven

daysoftheliveairing).

feedPatternCode(required) String Definesfeedpatternofcalculations.(e.g.

“Live”,“Broadcast”,“Dual”,or“None”).

Defaultis“None”

dataSource(required) String Thesourcepanelfromwhichtheratings

metricsareprojected.

• "Household"-TotalHousehold

sample

• "Cable"-Wiredcablesample.When

ahouseholdiswiredforcable,e.g.

receivescableviaawiretothee

homefromacablehead-endlocated

inthecommunity.Ifahomeis

‘wired’toreceivecablechannelson

Page 10: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

anyTVsetinthehomes,thenthe

homeisconsidereda‘wired’cable

home.

• "Hispanic"-NSIHHispanicsample.

AvailableforMiami,LosAngeles,

NewYork,andChicagomarkets.

deviceType string Tocontrolwhatdevicebreakoutsare

included.Ifnull,TVOnlyisreported.Device

typesinclude:

- TV:TVonly

- TV+Digital:AlldigitaldevicesplusTV

- TV+Mobile:Allmobiledevicesplus

TV

- TV+Computer:Computer(PCCensus)

plusTV

- Digital:Alldigitaldevices.Includes

tablets,smartphones,Personal

MediaPlayers(PMPs),and

computers(PCCensus)

- Mobile:Tablets,smartphones,and

PMPs

- Tablets:Tabletsonly

- Smartphones:Smartphonesonly

- PMPs:PortalMediaPlayersonly

- Computer:Computeronly(PC

Censusviewingonly)

metrics array[string] SpecifiesthemetricsprovidedintheAPI

response.

• aaPercentage-AverageAudience

Percentage=Thepercentageofthe

targetdemographicviewingthe

selectedstation,akaRating

• aaProjUnits–AverageAudience

expressedinunits

• aaProj000–AverageAudience

expressedinthousands

• sharePercentage-Thepercentof

HouseholdsorPersonsusing

televisiontunedtoaspecific

program/stationinthemarket

• hutPutPercentage-Thepercentage

ofalltelevisionshouseholdswithin

Page 11: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

themarketusingtheirtelevisionsets

duringthespecifiedquarter-hour

• hutPutProjUnits-Theprojected

estimatesofalltelevisionhouseholds

withinthemarketusingtheir

televisionsetsduringthequarter-

hour

• hutPutProj000-Theprojected

estimatesofalltelevisionhouseholds

withinthemarketusingtheir

televisionsetsduringtheaverage

minuteofaspecifictimeperiod,

expressedinthousands

• ue000-UniverseEstimate(UE)isthe

totalnumberofhouseholdsor

personswithinthetarget

demographicinthemarket

• intab-numberofhouseholdsor

personssupplyingusableinformation

withinthemarket

marketId(required) Int UniquenumericalidentifierfortheDMA

(e.g.“501”forNY).MarketIDscanbe

retrievedfromthe'dataavailability'or

'markets'referencecalls)

stationId(required) Int NumericalIDcodeofthestation–(e.g.

“5015”forWABC-TV7.1intheNYDMA).

StationIDcanberetrievedfromthe

'stations'referencecall.Maximumone

stationcanbepassedin.

programId Int Uniqueprogramidentifier(e.g.“12345”)

telecastId int UniquenumericIdentifierforeachTelecast

trackageId Int TrackageIDtoprovideawayofidentifying

whichairingofthespecifictelecast

trackageName String Clientprovidednametotrackeachtelecast

ResponseField DescriptionbroadcastDate Thedateonwhichtheprogramoriginallyaired(YYYY-MM-

DD).

broadcastDayOfWeekName Thebroadcastdayoftheweekduringwhichtheprogram

aired(e.g.“THURSDAY”).

Page 12: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

quarterHourStartTime Starttimeofthequarterhourrecord

quarterHourEndTime Endtimeofthequarterhourrecord

gender Genderoftheselecteddemographic.

startAge Startageofthedemographic(Persons,Males,Femalesonly)

endAge Endageofthedemographic(Persons,Males,Femalesonly)

dataStream Time-shiftedviewingfromDVRPlaybackorOn-demand

contentwiththesamecommercialload.

• “Live”(Live-Includesviewingthatoccurredduring

theliveairing).

• “Live+SD”(Live+SameDay-Includesallplayback

thatoccurredwithinthesamedayoftheliveairing).

• “Live+3”(Live+3Days-Includesallplaybackthat

occurredwithinthreedaysoftheliveairing).

“Live+7”(Live+7Days-Includesallplaybackthatoccurred

withinsevendaysoftheliveairing).

feedPatternCode Feedpattern(None,Live,Dual,Broadcast)

dataSource Thesourcepanelfromwhichtheratingsmetricsare

projected.

deviceType Tocontrolwhatdevicebreakoutsareincluded.Ifnull,TV

Onlyisreported.Devicetypesinclude:

- TV:TVonly

- TV+Digital:AlldigitaldevicesplusTV

- TV+Mobile:AllmobiledevicesplusTV

- TV+Computer:Computer(PCCensus)plusTV

- Digital:Alldigitaldevices.Includestablets,

smartphones,PersonalMediaPlayers(PMPs),and

computers(PCCensus)

- Mobile:Tablets,smartphones,andPMPs

- Tablets:Tabletsonly

- Smartphones:Smartphonesonly

- PMPs:PortalMediaPlayersonly

- Computer:Computeronly(PCCensusviewingonly)

marketId DMAID

marketName NameoftheDMA

stationId UniquenumericalstationIDcode.

stationName Callsign/nameofstation

programId Auniquenumericalidentifierforanindividualprogram

name.

Page 13: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

programName Fullprogramname.

telecastId UniquenumericIdentifierforeachTelecast

trackageId TrackageIDtoprovideawayofidentifyingwhichairingof

thespecifictelecast

trackageName Clientprovidednametotrackeachtelecast

aaPercentage AverageAudiencePercentage(e.g.,Rating)-Estimated

percentageoftheuniverseofTVhouseholds(orother

specifieddemographicgroup)tunedtoastationatthesame

time.

aaProjUnits AverageAudienceProjection(Units)-Theestimatednumber

ofviewersexpressedinunits(impressions).

aaProj000 AverageAudienceProjectioninthousands.

sharePercentage (Impressions/HUTorPUTImpression)*100ThepercentofHouseholdsorPersonsusingtelevisionwho

aretunedtoaspecificprogram,station,ornetworkina

specificareaataspecifictime.

hutPutPercentage HouseholdsUsingTelevision(HUT)Percent%isthe

percentageofalltelevisionhouseholdsinageographywith

oneormoresetsinuseduringaspecifictimeperiod.The

sumoftheaverageratingsforagiventimeperiodis

sometimeshigherthantheHUTnumberbecauseof

householdsviewingmultipleprogramsatthesametime.Ifa

householdiswatchingtwoprograms,itiscountedtoward

eachprogramratingbutonlyoncetowardaHUTnumber.

hutPutProjUnits HUT/PUTinunits.

hutPutProj000 HUT/PUTinthousands.

ue000 UniverseEstimate-thetotalnumberofhouseholdsand

persons2+withinthedesignatedcharacteristic,expressedin

thousands.

intab Thenumberofhouseholdsorpersonssupplyingusable

informationforthereport.

state Mandatoryexclusions=“@”

Belowminimumsamplesize=“*”(IfIntabisbelow45forHH

demographicor16forpersons)

Page 14: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

programRatingsDescription:Programratingmetricsforaspecifiedbroadcastdate,market,station,datastream,sample,

anddemographic.

RequestURL:https://api.developer.nielsen.com/watchapi/local/monthlies/api/v1/programRatings?

ExampleURL:

https://api.developer.nielsen.com/watchapi/local/monthlies/api/v1/programRatings?broadcastDate=20

15-11-

28&reportStart=03%3A00&reportEnd=03%3A00&gender=Person&marketId=501&stationId=5015&data

Source=Household&dataStream=Live%2BSD&feedPatternCode=None

ParameterName ParameterType

Description

broadcastDate(required) Date Broadcastdayofrequesteddatainthe

followingformat:YYYY-MM-DD(e.g.“2015-

12-10”)

reportStart string Reportstarttime(e.g.HH:MM;“12:20”24-

hourtime).Optionalfield–defaultstoafull

broadcastday,03:00AM–03:00AM.

reportEnd string Reportendtime(e.g.HH:MM;“13:20”24-

hourtime).Optionalfield–defaultstoafull

broadcastday,03:00AM–03:00AM.

gender(required) string Genderofthetargetdemographic.

• “Households”

• “Person”

• “Male”

• “Female”

startAge Int Youngestageofthetargetdemographic

(e.g.IftargetdemographicisPersons18-34,

startAgewillbe18).

• 2(defaultifnostartAgeisspecified,

Availableforpersonsonly)

• 6(Availableforpersonsonly)

• 12

• 15

• 18

• 21

• 25

• 35

• 50

• 55

• 65

Page 15: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

endAge Int Oldestageofthetargetdemographic(e.g.If

thetargetdemographicisPersons18-34,

endAgewillbe34).

• 5(PersonsOnly)

• 11(PersonsOnly)

• 14

• 17

• 20

• 24

• 34

• 49

• 54

• 64

• 999(defaultifnoendAgeis

specified)

dataStream Stream Time-shiftedviewingfromDVRPlaybackor

On-demandcontentwiththesame

commercialload.Ifnotespecified,Live+SD

willbethedefault.

• “Live”(Live-Includesviewingthat

occurredduringtheliveairing).

• “Live+SD”(Live+SameDay-Includes

allplaybackthatoccurredwithinthe

samedayoftheliveairing).

• “Live+3”(Live+3Days-Includesall

playbackthatoccurredwithinthree

daysoftheliveairing).

• “Live+7”(Live+7Days-Includesall

playbackthatoccurredwithinseven

daysoftheliveairing).

feedPatternCode(required) String Definesfeedpatternofcalculations.(e.g.

“Live”,“Broadcast”,“Dual”,or“None”).

Defaultis“None”

dataSource(required) String Thesourcepanelfromwhichtheratings

metricsareprojected.

• "Household"-TotalHousehold

sample

• "Cable"-Wiredcablesample.When

ahouseholdiswiredforcable,e.g.

receivescableviaawiretothee

homefromacablehead-endlocated

inthecommunity.Ifahomeis

‘wired’toreceivecablechannelson

Page 16: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

anyTVsetinthehomes,thenthe

homeisconsidereda‘wired’cable

home.

• "Hispanic"-NSIHHispanicsample.

AvailableforMiami,LosAngeles,

NewYork,andChicagomarkets.

deviceType string Tocontrolwhatdevicebreakoutsare

included.Ifnull,TVOnlyisreported.Device

typesinclude:

- TV:TVonly

- TV+Digital:AlldigitaldevicesplusTV

- TV+Mobile:Allmobiledevicesplus

TV

- TV+Computer:Computer(PCCensus)

plusTV

- Digital:Alldigitaldevices.Includes

tablets,smartphones,Personal

MediaPlayers(PMPs),and

computers(PCCensus)

- Mobile:Tablets,smartphones,and

PMPs

- Tablets:Tabletsonly

- Smartphones:Smartphonesonly

- PMPs:PortalMediaPlayersonly

- Computer:Computeronly(PC

Censusviewingonly)

metrics array[string] SpecifiesthemetricsprovidedintheAPI

response.

• aaPercentage-AverageAudience

Percentage=Thepercentageofthe

targetdemographicviewingthe

selectedstation,akaRating

• aaProjUnits–AverageAudience

expressedinunits

• aaProj000–AverageAudience

expressedinthousands

• sharePercentage-Thepercentof

HouseholdsorPersonsusing

televisiontunedtoaspecific

program/stationinthemarket

• hutPutPercentage-Thepercentage

ofalltelevisionshouseholdswithin

Page 17: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

themarketusingtheirtelevisionsets

duringthespecifiedquarter-hour

• hutPutProjUnits-Theprojected

estimatesofalltelevisionhouseholds

withinthemarketusingtheir

televisionsetsduringthequarter-

hour

• hutPutProj000-Theprojected

estimatesofalltelevisionhouseholds

withinthemarketusingtheir

televisionsetsduringtheaverage

minuteofaspecifictimeperiod,

expressedinthousands

• ue000-UniverseEstimate(UE)isthe

totalnumberofhouseholdsor

personswithinthetarget

demographicinthemarket

• intab-numberofhouseholdsor

personssupplyingusableinformation

withinthemarket

marketId(required) Int UniquenumericalidentifierfortheDMA

(e.g.“501”forNY).MarketIDscanbe

retrievedfromthe'dataavailability'or

'markets'referencecalls)

stationId(required) Int NumericalIDcodeofthestation–(e.g.5015

forWABC-TV7.1intheNYDMA).StationID

canberetrievedfromthe'stations'

referencecall.Maximumonestationcanbe

passedin.

programId Int Uniqueprogramidentifier(e.g.“12345”)

ResponseField DescriptionbroadcastDate Thedateonwhichtheprogramoriginallyaired(YYYY-MM-

DD).

broadcastDayOfWeekName Thebroadcastdayoftheweekduringwhichtheprogram

aired(e.g.“THURSDAY”).

gender Genderoftheselecteddemographic.

startAge Startageofthedemographic(Persons,Males,Femalesonly)

endAge Endageofthedemographic(Persons,Males,Femalesonly)

Page 18: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

dataStream Time-shiftedviewingfromDVRPlaybackorOn-demand

contentwiththesamecommercialload.

• “Live”(Live-Includesviewingthatoccurredduring

theliveairing).

• “Live+SD”(Live+SameDay-Includesallplayback

thatoccurredwithinthesamedayoftheliveairing).

• “Live+3”(Live+3Days-Includesallplaybackthat

occurredwithinthreedaysoftheliveairing).

“Live+7”(Live+7Days-Includesallplaybackthatoccurred

withinsevendaysoftheliveairing).

feedPatternCode Feedpattern(None,Live,Dual,Broadcast)

dataSource Thesourcepanelfromwhichtheratingsmetricsare

projected.

deviceType Tocontrolwhatdevicebreakoutsareincluded.Ifnull,TV

Onlyisreported.Devicetypesinclude:

- TV:TVonly

- TV+Digital:AlldigitaldevicesplusTV

- TV+Mobile:AllmobiledevicesplusTV

- TV+Computer:Computer(PCCensus)plusTV

- Digital:Alldigitaldevices.Includestablets,

smartphones,PersonalMediaPlayers(PMPs),and

computers(PCCensus)

- Mobile:Tablets,smartphones,andPMPs

- Tablets:Tabletsonly

- Smartphones:Smartphonesonly

- PMPs:PortalMediaPlayersonly

- Computer:Computeronly(PCCensusviewingonly)

marketId DMAID

marketName NameoftheDMA

stationId UniquenumericalstationIDcode.

stationName Callsign/nameofstation

programId Auniquenumericalidentifierforanindividualprogramname

programName Fullprogramname

telecastStartTime Exacttimewhenthetelecaststarted

telecastEndTime Exacttimewhenthetelecastended

totalDuration Totaldurationoftheprogram

episodeId UniqueIDnumberforanepisode

episodeTitle Nameoftheepisode

telecastId UniquenumericIdentifierforeachTelecast

trackageId TrackageIDtoprovideawayofidentifyingwhichairingof

thespecifictelecast

trackageName Clientprovidednametotrackeachtelecast

Page 19: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

aaPercentage AverageAudiencePercentage(e.g.,Rating)-Estimated

percentageoftheuniverseofTVhouseholds(orother

specifieddemographicgroup)tunedtoastationatthesame

time.

aaProjUnits AverageAudienceProjection(Units)-Theestimatednumber

ofviewersexpressedinunits(impressions).

aaProj000 AverageAudienceProjectioninthousands.

sharePercentage (Impressions/HUTorPUTImpression)*100ThepercentofHouseholdsorPersonsusingtelevisionwho

aretunedtoaspecificprogram,station,ornetworkina

specificareaataspecifictime.

hutPutPercentage HouseholdsUsingTelevision(HUT)Percent%isthe

percentageofalltelevisionhouseholdsinageographywith

oneormoresetsinuseduringaspecifictimeperiod.The

sumoftheaverageratingsforagiventimeperiodis

sometimeshigherthantheHUTnumberbecauseof

householdsviewingmultipleprogramsatthesametime.Ifa

householdiswatchingtwoprograms,itiscountedtoward

eachprogramratingbutonlyoncetowardaHUTnumber.

hutPutProjUnits HUT/PUTinunits.

hutPutProj000 HUT/PUTinthousands.

ue000 UniverseEstimate-thetotalnumberofhouseholdsand

persons2+withinthedesignatedcharacteristic,expressedin

thousands.

intab Thenumberofhouseholdsorpersonssupplyingusable

informationforthereport.

state Mandatoryexclusions=“@”

Belowminimumsamplesize=“*”(IfIntabisbelow45forHH

demographicor16forpersons)

Page 20: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

quarterHourBulkRatingsDescription:Quarter-hourratingsmetricsforall26buildingblockdemographicsforaspecified

broadcastdate,market,station,datastream,andsample.

RequestURL:

https://api.developer.nielsen.com/watchapi/local/monthlies/api/v1/quarterHourBulkRatings?

ExampleURL:

https://api.developer.nielsen.com/watchapi/local/monthlies/api/v1/quarterHourBulkRatings?broadcast

Date=2015-11-28&reportStart=03%3A00&reportEnd=03%3A00&marketId=501&stationId=5015&data

Source=Household&dataStream=Live%2BSD&feedPatternCode=None

ParameterName ParameterType

Description

broadcastDate(required) Date Broadcastdayofrequesteddatainthe

followingformat:YYYY-MM-DD(e.g.“2015-

12-10”)

reportStart string Reportstarttime(e.g.HH:MM;“12:20”24-

hourtime).Optionalfield–defaultstoafull

broadcastday,03:00AM–03:00AM.

reportEnd string Reportendtime(e.g.HH:MM;“13:20”24-

hourtime).Optionalfield–defaultstoafull

broadcastday,03:00AM–03:00AM.

dataStream Stream Time-shiftedviewingfromDVRPlaybackor

On-demandcontentwiththesame

commercialload.Ifnotespecified,Live+SD

willbethedefault.

• “Live”(Live-Includesviewingthat

occurredduringtheliveairing).

• “Live+SD”(Live+SameDay-Includes

allplaybackthatoccurredwithinthe

samedayoftheliveairing).

• “Live+3”(Live+3Days-Includesall

playbackthatoccurredwithinthree

daysoftheliveairing).

• “Live+7”(Live+7Days-Includesall

playbackthatoccurredwithinseven

daysoftheliveairing).

deviceType string Tocontrolwhatdevicebreakoutsare

included.Ifnull,TVOnlyisreported.Device

typesinclude:

- TV:TVonly

- TV+Digital:AlldigitaldevicesplusTV

- TV+Mobile:Allmobiledevicesplus

TV

- TV+Computer:Computer(PCCensus)

plusTV

Page 21: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

- Digital:Alldigitaldevices.Includes

tablets,smartphones,Personal

MediaPlayers(PMPs),and

computers(PCCensus)

- Mobile:Tablets,smartphones,and

PMPs

- Tablets:Tabletsonly

- Smartphones:Smartphonesonly

- PMPs:PortalMediaPlayersonly

- Computer:Computeronly(PC

Censusviewingonly)

feedPatternCode(required) String Definesfeedpatternofcalculations.(e.g.

“Live”,“Broadcast”,“Dual”,or“None”).

Defaultis“None”

dataSource(required) String Thesourcepanelfromwhichtheratings

metricsareprojected.

• "Household"-TotalHousehold

sample

• "Cable"-Wiredcablesample.When

ahouseholdiswiredforcable,e.g.

receivescableviaawiretothee

homefromacablehead-endlocated

inthecommunity.Ifahomeis

‘wired’toreceivecablechannelson

anyTVsetinthehomes,thenthe

homeisconsidereda‘wired’cable

home.

• "Hispanic"-NSIHHispanicsample.

AvailableforMiami,LosAngeles,

NewYork,andChicagomarkets.

metrics array[string] SpecifiesthemetricsprovidedintheAPI

response.

• aaPercentage-AverageAudience

Percentage=Thepercentageofthe

targetdemographicviewingthe

selectedstation,akaRating

• aaProjUnits–AverageAudience

expressedinunits

• aaProj000–AverageAudience

expressedinthousands

• sharePercentage-Thepercentof

HouseholdsorPersonsusing

Page 22: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

televisiontunedtoaspecific

program/stationinthemarket

• hutPutPercentage-Thepercentage

ofalltelevisionshouseholdswithin

themarketusingtheirtelevisionsets

duringthespecifiedquarter-hour

• hutPutProjUnits-Theprojected

estimatesofalltelevisionhouseholds

withinthemarketusingtheir

televisionsetsduringthequarter-

hour

• hutPutProj000-Theprojected

estimatesofalltelevisionhouseholds

withinthemarketusingtheir

televisionsetsduringtheaverage

minuteofaspecifictimeperiod,

expressedinthousands

• ue000-UniverseEstimate(UE)isthe

totalnumberofhouseholdsor

personswithinthetarget

demographicinthemarket

• intab-numberofhouseholdsor

personssupplyingusableinformation

withinthemarket

marketId(required) Int UniquenumericalidentifierfortheDMA

(e.g.“501”forNY).MarketIDscanbe

retrievedfromthe'dataavailability'or

'markets'referencecalls)

stationId(required) Int NumericalIDcodeofthestation–(e.g.5015

forWABC-TV7.1intheNYDMA).StationID

canberetrievedfromthe'stations'

referencecall.Maximumonestationcanbe

passedin.

programId Int Uniqueprogramidentifier(e.g.“12345”)

telecastId int UniquenumericIdentifierforeachTelecast

trackageId Int TrackageIDtoprovideawayofidentifying

whichairingofthespecifictelecast

trackageName String Clientprovidednametotrackeachtelecast

ResponseField DescriptionbroadcastDate Thedateonwhichtheprogramoriginallyaired(YYYY-MM-

DD).

Page 23: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

broadcastDayOfWeekName Thebroadcastdayoftheweekduringwhichtheprogram

aired(e.g.“THURSDAY”).

quarterHourStartTime Starttimeofthequarterhourrecord

quarterHourEndTime Endtimeofthequarterhourrecord

gender Genderoftheselecteddemographic.

startAge Startageofthedemographic(Persons,Males,Femalesonly)

endAge Endageofthedemographic(Persons,Males,Femalesonly)

dataStream Time-shiftedviewingfromDVRPlaybackorOn-demand

contentwiththesamecommercialload.

• “Live”(Live-Includesviewingthatoccurredduring

theliveairing).

• “Live+SD”(Live+SameDay-Includesallplayback

thatoccurredwithinthesamedayoftheliveairing).

• “Live+3”(Live+3Days-Includesallplaybackthat

occurredwithinthreedaysoftheliveairing).

“Live+7”(Live+7Days-Includesallplaybackthatoccurred

withinsevendaysoftheliveairing).

deviceType Tocontrolwhatdevicebreakoutsareincluded.Ifnull,TV

Onlyisreported.Devicetypesinclude:

- TV:TVonly

- TV+Digital:AlldigitaldevicesplusTV

- TV+Mobile:AllmobiledevicesplusTV

- TV+Computer:Computer(PCCensus)plusTV

- Digital:Alldigitaldevices.Includestablets,

smartphones,PersonalMediaPlayers(PMPs),and

computers(PCCensus)

- Mobile:Tablets,smartphones,andPMPs

- Tablets:Tabletsonly

- Smartphones:Smartphonesonly

- PMPs:PortalMediaPlayersonly

- Computer:Computeronly(PCCensusviewingonly)

feedPatternCode Feedpattern(None,Live,Dual,Broadcast)

dataSource Thesourcepanelfromwhichtheratingsmetricsare

projected.

marketId DMAID

marketName NameoftheDMA

stationId UniquenumericalstationIDcode.

Page 24: Nielsen Local Monthlies API Release 1.0 Documentation · stations Description: Station metadata for markets where there has been viewing of the station. Includes cume data for a specified

stationName Callsign/nameofstation

programId Auniquenumericalidentifierforanindividualprogram

name.

programName Fullprogramname.

telecastId UniquenumericIdentifierforeachTelecast

trackageId TrackageIDtoprovideawayofidentifyingwhichairingof

thespecifictelecast

trackageName Clientprovidednametotrackeachtelecast

aaPercentage AverageAudiencePercentage(e.g.,Rating)-Estimated

percentageoftheuniverseofTVhouseholds(orother

specifieddemographicgroup)tunedtoastationatthesame

time.

aaProjUnits AverageAudienceProjection(Units)-Theestimatednumber

ofviewersexpressedinunits(impressions).

aaProj000 AverageAudienceProjectioninthousands.

sharePercentage (Impressions/HUTorPUTImpression)*100ThepercentofHouseholdsorPersonsusingtelevisionwho

aretunedtoaspecificprogram,station,ornetworkina

specificareaataspecifictime.

hutPutPercentage HouseholdsUsingTelevision(HUT)Percent%isthe

percentageofalltelevisionhouseholdsinageographywith

oneormoresetsinuseduringaspecifictimeperiod.The

sumoftheaverageratingsforagiventimeperiodis

sometimeshigherthantheHUTnumberbecauseof

householdsviewingmultipleprogramsatthesametime.Ifa

householdiswatchingtwoprograms,itiscountedtoward

eachprogramratingbutonlyoncetowardaHUTnumber.

hutPutProjUnits HUT/PUTinunits.

hutPutProj000 HUT/PUTinthousands.

ue000 UniverseEstimate-thetotalnumberofhouseholdsand

persons2+withinthedesignatedcharacteristic,expressedin

thousands.

intab Thenumberofhouseholdsorpersonssupplyingusable

informationforthereport.

state Mandatoryexclusions=“@”

Belowminimumsamplesize=“*”(IfIntabisbelow45forHH

demographicor16forpersons)