Copy Page💾 metadata detailget https://api.sharpsports.io/v1/marketSelections/{id}/metadataPath Paramsidstringrequiredthe marketSelectionIdQuery ParamslinenumberThe line hit rates are calculated on. Optional: when omitted, the consensus main line is used (the most common main line across books, at its best available odds). Returns 404 when omitted and the MarketSelection has no pricing.seasonTypestringenumLimit historic games to a season type: PRE (preseason), REG (regular season) or POST (postseason/playoffs). Defaults to all.PREREGPOSTAllowed:PREREGPOSTteamAggStatsbooleanInclude team aggregate statistics in the response. Adds detailed team stats to contestantHome and contestantAway objects.truefalsefilteredTeamAggStatsbooleanFilter team aggregate stats based on market relevancetruefalseplayerAggStatsbooleanInclude player aggregate statistics in the response. Adds detailed player stats to the player object (for player props).truefalsefilteredPlayerAggStatsbooleanFilter player aggregate stats based on market relevancetruefalsegamesBackint32Specify number of games to analyze for historical trendsteamAggStatsSeasonstringComma-separated 4-digit seasons (e.g. 2024,2025) for team aggregate stats. Requires teamAggStats=true or filteredTeamAggStats=true.playerAggStatsSeasonstringComma-separated 4-digit seasons (e.g. 2024,2025) for player aggregate stats (also used for opposing pitcher stats). Requires playerAggStats=true or filteredPlayerAggStats=true.opposingPitcherAggStatsbooleanMLB batter props only: include the opposing starting pitcher's aggregate stats on the startingPitcher object. Not applied to pitcher props.truefalsefilteredOpposingPitcherAggStatsbooleanLike opposingPitcherAggStats, but narrowed to the pitching stats relevant to the market and to the pitcher's home/away split and the split matching the batter's handedness (vs LHB/RHB).truefalseResponses 200200 400400Updated about 1 year ago 💾 metadata🗃️ historicDataDid this page help you?YesNo