# ESPN fantasy player rankings API

Get ESPN Fantasy Rankings data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as league, limit, output, and retrieve structured data including fantasy league slug, target fantasy season year, overall fantasy rank, player full name, and fantasy eligibility position to build fantasy draft boards, monitor waiver wire trends, and filter positional tiers.

Documentation: https://openany.si/espn/espn-fantasy-player-rankings-api/50533761-5071-4a23-af9d-f4516b5ca5fd/
API ID: 50533761-5071-4a23-af9d-f4516b5ca5fd
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/espn/v1/fantasy-rankings
Page update time: 2026-12-03T02:43:04.511Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:41:05.653Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## ESPN Fantasy Rankings API

Query fantasy rankings without any required parameters (defaulting to NFL PPR for the current season), or customize league (nfl, nba, mlb, nhl), rank\_type (PPR, STANDARD, SUPERFLEX), position, season, week, limit (default 25, max 50) and offset. Returned players\[\] include ADP, auction values, ownership stats, injury status and season outlook.

## What You Can Build

- **Build fantasy draft boards**: Pull PPR or SUPERFLEX rankings sorted by rank and compare average\_draft\_position and auction\_value.
- **Monitor waiver wire trends**: Track percent\_owned, percent\_started and percent\_change alongside injury\_status each week.
- **Filter positional tiers**: Pass position (such as QB, RB, WR, TE in NFL or PG, C in NBA) to evaluate depth by slot.

## Returned Data

| Field | Meaning |
| --- | --- |
| `league` | Fantasy league slug |
| `rank_type` | Scoring format used for rankings |
| `season` | Target fantasy season year |
| `next_offset` | Offset value for the next page |
| `players[].rank` | Overall fantasy rank |
| `players[].name` | Player full name |
| `players[].position` | Fantasy eligibility position |
| `players[].average_draft_position` | Average draft position (ADP) |
| `players[].percent_owned` | Percentage of fantasy leagues rostering player |
| `players[].projected_points` | Projected fantasy point total |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ESPN fantasy player rankings API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "league": {
          "type": "string",
          "description": "nfl (default), nba, mlb or nhl.",
          "enum": [
            "nfl",
            "nba",
            "mlb",
            "nhl"
          ]
        },
        "rank_type": {
          "type": "string",
          "description": "nfl: PPR (default), STANDARD, SUPERFLEX; other leagues: STANDARD."
        },
        "position": {
          "type": "string",
          "description": "Only one position: nfl QB, RB, WR, TE, K, D/ST, FLEX; nba PG, SG, SF, PF, C, G, F; mlb C, 1B, 2B, 3B, SS, OF, SP, RP; nhl C, LW, RW, D, G."
        },
        "season": {
          "type": "string",
          "description": "Season year (default: the current one)."
        },
        "week": {
          "type": "integer",
          "description": "Scoring period for the weekly expert ranks."
        },
        "limit": {
          "type": "integer",
          "description": "Players per page (default 25, max 50)."
        },
        "offset": {
          "type": "integer",
          "description": "Players to skip (default 0)."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "applied_filters": {
      "type": "object",
      "properties": {
        "position": {
          "type": "null"
        },
        "week": {
          "type": "null"
        }
      }
    },
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "game": {
      "type": "string"
    },
    "league": {
      "type": "string"
    },
    "next_offset": {
      "type": "integer"
    },
    "offset": {
      "type": "integer"
    },
    "players": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "active": {
            "type": "boolean"
          },
          "auction_value": {
            "type": "integer"
          },
          "average_auction_value": {
            "type": "number"
          },
          "average_draft_position": {
            "type": "number"
          },
          "id": {
            "type": "integer"
          },
          "injured": {
            "type": "boolean"
          },
          "injury_status": {
            "type": "string"
          },
          "jersey": {
            "type": "string"
          },
          "last_season_points": {
            "type": "number"
          },
          "list_position": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "percent_change": {
            "type": "integer"
          },
          "percent_owned": {
            "type": "number"
          },
          "percent_started": {
            "type": "number"
          },
          "position": {
            "type": "string"
          },
          "position_id": {
            "type": "integer"
          },
          "positional_rank": {
            "type": "integer"
          },
          "pro_team": {
            "type": "object",
            "properties": {
              "abbreviation": {
                "type": "string"
              },
              "bye_week": {
                "type": "integer"
              },
              "id": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              }
            }
          },
          "projected_points": {
            "type": "number"
          },
          "rank": {
            "type": "integer"
          },
          "season_outlook": {
            "type": "string"
          },
          "season_points": {
            "type": "number"
          },
          "total_rating": {
            "type": "number"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "rank_type": {
      "type": "string"
    },
    "season": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/espn/v1/fantasy-rankings?league=nfl&limit=1&output=json&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "applied_filters": {
    "position": null,
    "week": null
  },
  "cached": false,
  "count": 1,
  "credits_used": 1,
  "fetched_at": "2026-11-19T12:21:13.144Z",
  "game": "ffl",
  "league": "nfl",
  "next_offset": 1,
  "offset": 0,
  "players": [
    {
      "active": true,
      "auction_value": 57,
      "average_auction_value": 71.41,
      "average_draft_position": 1.76,
      "id": 4429795,
      "injured": false,
      "injury_status": "ACTIVE",
      "jersey": "0",
      "last_season_points": 366.9,
      "list_position": 1,
      "name": "Jahmyr Gibbs",
      "percent_change": 0,
      "percent_owned": 99.94,
      "percent_started": 98.79,
      "position": "RB",
      "position_id": 2,
      "positional_rank": 1,
      "pro_team": {
        "abbreviation": "DET",
        "bye_week": 6,
        "id": 8,
        "name": "Detroit Lions"
      },
      "projected_points": 194.8,
      "rank": 1,
      "season_outlook": "Gibbs has finished in the top 10 among running backs in yards per carry, routes, targets, receptions, touchdowns and fantasy points in each of his first three campaigns. In fact, his 38 touchdowns over the past two seasons are four more than any other player. Though Gibbs has finished as a top-three fantasy back in each of the past two years, he has yet to finish a season higher than seventh in touches. That very well could change this season with David Montgomery no longer in the mix. The 24-year-old Gibbs is one of the NFL's top playmakers in one of its best offenses. He's a strong option with the first pick of fantasy drafts.",
      "season_points": 253.4,
      "total_rating": 253.4,
      "url": "https://www.espn.com/nfl/player/_/id/4429795"
    }
  ],
  "rank_type": "PPR",
  "season": 2026
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Are any query parameters required?
No. Calling the endpoint with defaults returns NFL PPR rankings for the current season (25 players per page).

### Which rank_type values are supported?
For NFL, rank_type accepts PPR (default), STANDARD or SUPERFLEX; for NBA, MLB and NHL, use STANDARD.

### How do I paginate through more than 50 players?
Use limit (up to 50) together with offset (default 0) and follow the returned next_offset value.

### Can I request weekly expert rankings instead of full-season rankings?
Yes. Supply the scoring period in the week query parameter alongside league and optional position.

### Does each player entry include pro team and bye week info?
Yes. Each players[] item contains pro_team with id, name, abbreviation and bye_week.

### How do I fetch the latest injury and ownership updates?
Pass fresh=1 to bypass the 24-hour cache and raw=0 to keep the JSON payload compact.

## Available implementations
- apish: https://openany.si/espn/espn-fantasy-player-rankings-api/50533761-5071-4a23-af9d-f4516b5ca5fd/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
