Skip to main content
POST
Stats

Request contract

  • Method and path: POST /apis/v1/cbssports-com/fantasy-sports-rankings/stats
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/cbssports-com/fantasy-sports-rankings/stats
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
position
string
required

Football: QB, RB, WR, TE, K or DST (team defense and special teams). Basketball: PG, SG, SF, PF, C, or G (guards) and F (forwards).

Provider reference: allowed values ["QB", "RB", "WR", "TE", "K", "DST", "PG", "SG", "SF", "PF", "C", "G", "F"].

limit
number

Return only the top N rows. Omit for the whole table.

Provider reference: minimum 1; maximum 200.

period
string

Basketball only, current season, without week: yesterday, the last 7/14/21/28 days, or the three-year averages (published before the season starts). Periods the site is not showing are not_found.

Provider reference: allowed values ["yesterday", "last_7_days", "last_14_days", "last_21_days", "last_28_days", "three_year_average"].

scoring
string

Football only: PPR (a point per reception, the default) or STD (non-PPR). The site publishes no half-PPR tables. Omit for basketball, whose tables use CBS points scoring.

Provider reference: allowed values ["PPR", "STD"].

season
number

Season year; an NBA season is labelled by the year it starts (2025 is 2025-26). Omit for the current season. The site publishes the current and the two previous seasons (three before an NBA season starts); others are not_found.

Provider reference: minimum 2000; maximum 2100.

sport
string
default:football

football (default, NFL) or basketball (NBA). Positions, scoring and periods differ by sport; an option of the other sport is invalid_input.

Provider reference: allowed values ["football", "basketball"]; default "football".

week
number

Current season only; omit for season totals. Football: a single NFL week 1-18; the site publishes only the last completed week. Basketball: a scoring period; the site publishes only the current one ("This Period"). Others are not_found.

Provider reference: minimum 1; maximum 30.

Response

CBS Sports fantasy stats for one position: fantasy points, points per game and the stat line for the top 100 players. Football (GET www.cbssports.com/fantasy/football/stats/{position}/{season}/{period}/stats/{ppr|nonppr}/): omit week for season totals (year to date for the current season); week gives the last completed week. Basketball (GET www.cbssports.com/fantasy/basketball/stats/{position}/{season}/{period}/stats/): seasons are labelled by the year they start; omit week and period for season totals, give week for the current scoring period or period for yesterday, the last 7-28 days or the three-year averages.

The response contains the tool result directly.

The provider identifies players as the primary payload key.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.