Stations details

/stations/:stationId

Returns information about a specific stationId, including call sign, broadcast language.

Request Parameters

Parameter

Mandatory?

Description

stationId

Yes

StationId, which can be retrieved by calling Lineup channel listing.

lineupId

No

LineupId, which can be retrieved by calling Lineups by postal code.  

imageSize No Small and medium channel logos are available. 
Valid values are: Sm, Md. See Image Sizing for details. 
If not specified, defaults to Md. 
If requested image size is not available, no preferredImage will be returned.

api_key

Yes

24-character key obtained during application registration

Response Body

Response

Description

stationId numeric id used to specify station, independent of service provider or lineup
name station name (e.g., ABC Family)
callSign station call sign (e.g., ABCF)
type type of programming service (e.g., Satellite, Full Power Broadcast)
bcastLangs comma-separated list of language codes, indicating broadcast languages provided by station
edLangs comma-separated list of language codes, indicating editorial/description languages provided by station
channel channel position in broadcast area, included only if lineupId specified
preferredImage station logo, if available; network affiliate logos included only if lineupId specified; see Image Metadata for details

Sample Request 1

Return information for stationId 10161.

http://data.tmsapi.com/v1.1/stations/10161?api_key=1234567890

Sample Request 2

Return information for stationId 11474, with lineupId.

http://data.tmsapi.com/v1.1/stations/11474?lineupId=USA-IL53277-X&api_key=1234567890

Sample Response 1

[
  {
    "stationId":"10161",
    "callSign":"CSPAN",
    "name":"CSPAN",
    "bcastLangs":["en"],
    "edLangs":["en"],
    "type":"Satellite",
    "preferredImage":{
      "width":"360", "height":"270",
      "uri":"h3/NowShowing/10161/s10161_h3_aa.png",
      "category":"Logo",
      "primary":"true"
    }
  }
]

Sample Response 2

[
  {
    "stationId":"11474",
    "callSign":"WGN",
    "affiliateCallSign":"CW",
    "affiliateId":"51306",
    "name":"WGN (CW Chicago)",
    "channel":"009",
    "bcastLangs":["en"],
    "edLangs":["en"],
    "type":"Full Power Broadcast",
    "preferredImage":{
      "width":"360", "height":"270",
      "uri":"h3/NowShowing/51306/s51306_h3_aa.png",
      "category":"Logo",
      "primary":"true"
    }
  }
]