MLB Weather

Query Parameters

ParameterTypeRequiredDescription
datestringNoDate to retrieve weather for. Format YYYY-MM-DD. Defaults to current date.

Attributes

Top-Level Fields

FieldTypeDescription
Datestring
Gamesarray

Games Object

FieldTypeDescription
Idinteger
DateTimestring
Weatherobject
Teamsarray

Example Response

{
  "Date": "2017-08-10",
  "Games": [
    {
      "Id": 45302,
      "DateTime": "2017-08-10T12:35:00-04:00",
      "Weather": {
        "Impact": "DOUBTFUL",
        "Summary": "Partly cloudy skies with light winds blowing out to left field.",
        "Forecast": {
          "Type": "CLEAR-DAY",
          "Temperature": {
            "Units": "F",
            "Value": 80.39
          },
          "Precipitation": {
            "Type": "NONE",
            "Probability": 0
          },
          "Wind": {
            "Units": "MPH",
            "Speed": 0.84,
            "Bearing": 298
          }
        }
      },
      "Teams": [
        {
          "Id": 7,
          "Code": "CIN",
          "IsHome": 1
        }
      ]
    }
  ]
}
Query Params
date

Date to retrieve weather for. Format YYYY-MM-DD. Defaults to current date.

string
enum
required
Defaults to json

Response format. Always json.

Allowed:
Response

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json