PBS Location API

Ability to find your local PBS station based on zip code or state

Base URI

http://services.pbs.org
Documentation
Overview

This section contains some data

Authentication

There is no authentication for this API

API Methods
Getting your local stations

These methods allow you to get the local PBS stations

GET /callsigns/zip/{zipcode}.json
GET /stations/state/{state_abbreviation}.json
by Zipcode
GET /callsigns/zip/{zipcode}.json

Path variables

zipcode
string required

Responses

200 OK

Examples

GET http://services.pbs.org/callsigns/zip/22202.json HTTP/1.1 

HTTP/1.1 200 OK 

Content-Type: application/json

Tons 'o JSON
by State
GET /stations/state/{state_abbreviation}.json

Given a US Postal State, get the list of stations

Path variables

state_abbreviation
string required

US State Postal code (2 letters)

Example:
VA

Responses

200 OK
Data Reference
Test object

Properties

test
string
Example:
test
Station list object

Properties

station
Array of string
Example:
WETA
CallSign object

Properties

confidence
number
Example:
100
$type
string
Example:
application/vnd.pbs-resource+json
$class
string
Example:
CallSign2ZipMapping
rank
unknown
$self
string
Example:
http://services.pbs.org/callsigns/zip/88011/KCOS.json
$links
Array
Object
$type
string
Example:
application/vnd.pbs-collection+json
$relationship
string
Example:
children
$self
string
Example:
http://services.pbs.org/callsigns/station/52.json
$elements
string
Example:
Callsign
$accepts
Array
Object
$type
string
Example:
application/vnd.pbs-resource+json
$class
string
Example:
Callsign
List of States object

List of valid states are:

  • AZ
  • AR
  • DE
  • FL
  • MA
  • ME
  • NH
  • NM
  • NY