API Documentation

Proprietary data via our REST API is available for third-party systems

NoCable has developed an API that provides some of our proprietary data for use inside third-party systems. If you are interested in utilizing this API for your own project, please get in touch with us.

Authorization

NoCable.org will provide you an authorization key that needs to be sent in the header of all your API requests. We also require that you pass the Accept header. All returned data is provided in JSON format. Here are the two required headers for the API to work:

Accept: application/json
Key: {your_api_key}

Over-the-Air Data:

This method returns the stations available to the provided zip code along with our recommended antenna type.

GET https://nocable.org/availability-report/zip/{zip}

Example JSON response:

{
  "antenna": {
    "antenna": "Amplified Indoor 50 Mile",
    "distance": 50,
    "bearing": {
      "abbr": "SSW",
      "direction": "South South West"
    },
    "avgdistance": 30,
    "url": "https://nocable.org/compare-amplified-indoor-50-mile-antenna-reviews",
    "channel_count": 16, 
    "networks": {
      "CBS": "CBS",
      "ABC": "ABC",
      "CW": "CW",
      "FOX": "FOX",
      "PBS": "PBS",
      "TELEMUNDO": "TELEMUNDO"
    }
  },
  "location": {
    "zip": "80201",
    "state_abbr": "CO",
    "city": "Denver",
    "formatted_address": "Denver, CO 80201",
    "lat": "39.7263",
    "lng": "-104.857",
    "country": "USA"
  },
  "url": "https://nocable.org/availability-report/zip/80201-denver-co"
}

Sports Data:

This method returns the sports teams within the provided zip code's area.

GET https://nocable.org/sports-report/zip/{zip}

Example JSON response:

{
  "sports": [
    {
      "team_id": "133",
      "sport": "MLS",
      "lat": "39.8056",
      "lon": "-104.892",
      "team_name": "Colorado Rapids",
      "channel": "FS1",
      "abbrev": "COL",
      "distance": 5.782
    },
    {
      "team_id": "65",
      "sport": "MLB",
      "lat": "39.7559",
      "lon": "-104.994",
      "team_name": "Colorado Rockies",
      "channel": "Root Sports Rocky Mountain",
      "abbrev": "COL",
      "distance": 7.555
    },
    {
      "team_id": "106",
      "sport": "NHL",
      "lat": "39.7486",
      "lon": "-105.007",
      "team_name": "Colorado Avalanche",
      "channel": "Altitude Sports and Entertainment",
      "abbrev": "COL",
      "distance": 8.112
    },
    {
      "team_id": "17",
      "sport": "NBA",
      "lat": "39.7486",
      "lon": "-105.008",
      "team_name": "Denver Nuggets",
      "channel": "Altitude Sports",
      "abbrev": "DEN",
      "distance": 8.164
    },
    {
      "team_id": "43",
      "sport": "NFL",
      "lat": "39.7439",
      "lon": "-105.02",
      "team_name": "Denver Broncos",
      "channel": "CBS",
      "abbrev": "DEN",
      "distance": 8.74
    }
  ],
  "location": {
    "zip": "80201",
    "state_abbr": "CO",
    "city": "Denver",
    "formatted_address": "Denver, CO 80201",
    "lat": "39.7263",
    "lng": "-104.857",
    "country": "USA"
  },
  "url": "https://nocable.org/sports-report/zip/80201-denver-co"
}

 Like NoCable.org on Facebook