curl --request POST \
--url https://api.aisa.one/apis/v1/sleeper-com/fantasy-football-leagues/players \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"player_ids": [
"9226",
"4984",
"4046",
"MIA",
"BUF"
]
}
'import requests
url = "https://api.aisa.one/apis/v1/sleeper-com/fantasy-football-leagues/players"
payload = { "player_ids": ["9226", "4984", "4046", "MIA", "BUF"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({player_ids: ['9226', '4984', '4046', 'MIA', 'BUF']})
};
fetch('https://api.aisa.one/apis/v1/sleeper-com/fantasy-football-leagues/players', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/sleeper-com/fantasy-football-leagues/players",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'player_ids' => [
'9226',
'4984',
'4046',
'MIA',
'BUF'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/sleeper-com/fantasy-football-leagues/players"
payload := strings.NewReader("{\n \"player_ids\": [\n \"9226\",\n \"4984\",\n \"4046\",\n \"MIA\",\n \"BUF\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/sleeper-com/fantasy-football-leagues/players")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"player_ids\": [\n \"9226\",\n \"4984\",\n \"4046\",\n \"MIA\",\n \"BUF\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/sleeper-com/fantasy-football-leagues/players")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"player_ids\": [\n \"9226\",\n \"4984\",\n \"4046\",\n \"MIA\",\n \"BUF\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"missing_ids": [],
"observed_at_ms": 1793022061157,
"players": [
{
"bye_week": 6,
"depth_chart_order": 5,
"depth_chart_position": "RB",
"fantasy_positions": [
"RB"
],
"flags": [
"injured",
"out",
"locked",
"inactive"
],
"game": {
"date": "2026-10-25",
"game_id": "202610724",
"home": false,
"opponent": "NYJ",
"status": "complete"
},
"injury_body_part": "Knee - ACL",
"injury_start_date": null,
"injury_status": "IR",
"locked": true,
"name": "De'Von Achane",
"on_bye": false,
"player_id": "9226",
"position": "RB",
"practice_participation": null,
"status": "Inactive",
"team": "MIA",
"week": 7,
"years_exp": 3
},
{
"bye_week": 7,
"depth_chart_order": 1,
"depth_chart_position": "QB",
"fantasy_positions": [
"QB"
],
"flags": [
"bye"
],
"game": null,
"injury_body_part": null,
"injury_start_date": null,
"injury_status": null,
"locked": false,
"name": "Josh Allen",
"on_bye": true,
"player_id": "4984",
"position": "QB",
"practice_participation": null,
"status": "Active",
"team": "BUF",
"week": 7,
"years_exp": 8
},
{
"bye_week": 5,
"depth_chart_order": 1,
"depth_chart_position": "QB",
"fantasy_positions": [
"QB"
],
"flags": [
"locked"
],
"game": {
"date": "2026-10-25",
"game_id": "202610730",
"home": false,
"opponent": "SEA",
"status": "complete"
},
"injury_body_part": null,
"injury_start_date": null,
"injury_status": null,
"locked": true,
"name": "Patrick Mahomes",
"on_bye": false,
"player_id": "4046",
"position": "QB",
"practice_participation": null,
"status": "Active",
"team": "KC",
"week": 7,
"years_exp": 9
},
{
"bye_week": 6,
"depth_chart_order": null,
"depth_chart_position": null,
"fantasy_positions": [
"DEF"
],
"flags": [
"locked"
],
"game": {
"date": "2026-10-25",
"game_id": "202610724",
"home": false,
"opponent": "NYJ",
"status": "complete"
},
"injury_body_part": null,
"injury_start_date": null,
"injury_status": null,
"locked": true,
"name": "Miami Dolphins",
"on_bye": false,
"player_id": "MIA",
"position": "DEF",
"practice_participation": null,
"status": null,
"team": "MIA",
"week": 7,
"years_exp": null
},
{
"bye_week": 7,
"depth_chart_order": null,
"depth_chart_position": null,
"fantasy_positions": [
"DEF"
],
"flags": [
"bye"
],
"game": null,
"injury_body_part": null,
"injury_start_date": null,
"injury_status": null,
"locked": false,
"name": "Buffalo Bills",
"on_bye": true,
"player_id": "BUF",
"position": "DEF",
"practice_participation": null,
"status": null,
"team": "BUF",
"week": 7,
"years_exp": null
}
],
"season": "2026",
"season_type": "regular",
"week": 7
}Players
Check specific players before recommending them.
curl --request POST \
--url https://api.aisa.one/apis/v1/sleeper-com/fantasy-football-leagues/players \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"player_ids": [
"9226",
"4984",
"4046",
"MIA",
"BUF"
]
}
'import requests
url = "https://api.aisa.one/apis/v1/sleeper-com/fantasy-football-leagues/players"
payload = { "player_ids": ["9226", "4984", "4046", "MIA", "BUF"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({player_ids: ['9226', '4984', '4046', 'MIA', 'BUF']})
};
fetch('https://api.aisa.one/apis/v1/sleeper-com/fantasy-football-leagues/players', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/sleeper-com/fantasy-football-leagues/players",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'player_ids' => [
'9226',
'4984',
'4046',
'MIA',
'BUF'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/sleeper-com/fantasy-football-leagues/players"
payload := strings.NewReader("{\n \"player_ids\": [\n \"9226\",\n \"4984\",\n \"4046\",\n \"MIA\",\n \"BUF\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/sleeper-com/fantasy-football-leagues/players")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"player_ids\": [\n \"9226\",\n \"4984\",\n \"4046\",\n \"MIA\",\n \"BUF\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/sleeper-com/fantasy-football-leagues/players")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"player_ids\": [\n \"9226\",\n \"4984\",\n \"4046\",\n \"MIA\",\n \"BUF\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"missing_ids": [],
"observed_at_ms": 1793022061157,
"players": [
{
"bye_week": 6,
"depth_chart_order": 5,
"depth_chart_position": "RB",
"fantasy_positions": [
"RB"
],
"flags": [
"injured",
"out",
"locked",
"inactive"
],
"game": {
"date": "2026-10-25",
"game_id": "202610724",
"home": false,
"opponent": "NYJ",
"status": "complete"
},
"injury_body_part": "Knee - ACL",
"injury_start_date": null,
"injury_status": "IR",
"locked": true,
"name": "De'Von Achane",
"on_bye": false,
"player_id": "9226",
"position": "RB",
"practice_participation": null,
"status": "Inactive",
"team": "MIA",
"week": 7,
"years_exp": 3
},
{
"bye_week": 7,
"depth_chart_order": 1,
"depth_chart_position": "QB",
"fantasy_positions": [
"QB"
],
"flags": [
"bye"
],
"game": null,
"injury_body_part": null,
"injury_start_date": null,
"injury_status": null,
"locked": false,
"name": "Josh Allen",
"on_bye": true,
"player_id": "4984",
"position": "QB",
"practice_participation": null,
"status": "Active",
"team": "BUF",
"week": 7,
"years_exp": 8
},
{
"bye_week": 5,
"depth_chart_order": 1,
"depth_chart_position": "QB",
"fantasy_positions": [
"QB"
],
"flags": [
"locked"
],
"game": {
"date": "2026-10-25",
"game_id": "202610730",
"home": false,
"opponent": "SEA",
"status": "complete"
},
"injury_body_part": null,
"injury_start_date": null,
"injury_status": null,
"locked": true,
"name": "Patrick Mahomes",
"on_bye": false,
"player_id": "4046",
"position": "QB",
"practice_participation": null,
"status": "Active",
"team": "KC",
"week": 7,
"years_exp": 9
},
{
"bye_week": 6,
"depth_chart_order": null,
"depth_chart_position": null,
"fantasy_positions": [
"DEF"
],
"flags": [
"locked"
],
"game": {
"date": "2026-10-25",
"game_id": "202610724",
"home": false,
"opponent": "NYJ",
"status": "complete"
},
"injury_body_part": null,
"injury_start_date": null,
"injury_status": null,
"locked": true,
"name": "Miami Dolphins",
"on_bye": false,
"player_id": "MIA",
"position": "DEF",
"practice_participation": null,
"status": null,
"team": "MIA",
"week": 7,
"years_exp": null
},
{
"bye_week": 7,
"depth_chart_order": null,
"depth_chart_position": null,
"fantasy_positions": [
"DEF"
],
"flags": [
"bye"
],
"game": null,
"injury_body_part": null,
"injury_start_date": null,
"injury_status": null,
"locked": false,
"name": "Buffalo Bills",
"on_bye": true,
"player_id": "BUF",
"position": "DEF",
"practice_participation": null,
"status": null,
"team": "BUF",
"week": 7,
"years_exp": null
}
],
"season": "2026",
"season_type": "regular",
"week": 7
}Request contract
- Method and path: POST /apis/v1/sleeper-com/fantasy-football-leagues/players
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/sleeper-com/fantasy-football-leagues/players
{
"operationId": "sleeper-com.fantasy-football-leagues.players",
"method": "POST",
"path": "/apis/v1/sleeper-com/fantasy-football-leagues/players",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"player_ids": [
"9226",
"4984",
"4046",
"MIA",
"BUF"
],
"season": "2026",
"week": 7
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"player_ids": {
"description": "Sleeper player ids (team abbreviation for a defense), as returned by league_rosters, matchups or transactions.",
"items": {
"type": "string"
},
"type": "array"
},
"season": {
"description": "Season year for the week, default the current one. Pattern: ^20[0-9]{2}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"week": {
"description": "Regular-season NFL week 1-18 to check. Defaults to Sleeper's current NFL week.\n\nProvider reference: minimum 1; maximum 18.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 18,
"min": 1
}
}
},
"required": [
"player_ids"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
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
Body
Response
NFL players by Sleeper id, trimmed from Sleeper's player map to what lineup decisions need: position, fantasy positions, team, status, injury_status and body part, depth chart, plus the week's bye, game, lock and flags. Before recommending a start, sit, add or drop, read flags: never start a player flagged out or bye, warn on injured, and never suggest adding, dropping, starting or benching a locked player (his game has started or finished). Ids Sleeper does not know are listed in missing_ids; if none are known the call is not_found. The full 15 MB player map is never returned.
The response contains the tool result directly.
The provider identifies players as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
bye_week | number | His team's regular-season bye week, from Sleeper's schedule. |
depth_chart_order | number | |
depth_chart_position | string | |
fantasy_positions | string[] | |
flags | string[] | What makes this player a bad start or an impossible drop this week. injured: any injury designation (see injury_status); out: Out, IR, PUP, Sus, NA, DNR or COV, so he will not play; bye: his team does not play this week; locked: his game has kicked off, so Sleeper will not let you move or drop him; no_team: not on an NFL team; inactive: status is not Active. |
game | object | His team's game this week; null on a bye, for a free agent or when Sleeper's schedule has no game. |
injury_body_part | string | |
injury_start_date | string | |
injury_status | string | Injury designation: Questionable, Doubtful, Out, IR, PUP, Sus, NA, DNR or COV; null when healthy. |
locked | boolean | True when his game this week has kicked off (Sleeper status in_game or complete). A locked player cannot be dropped, benched or started. |
name | string | |
on_bye | boolean | True when the checked week is his team's bye. |
player_id | string | Sleeper player id; a team abbreviation for a team defense. |
position | string | |
practice_participation | string | |
status | string | Roster status, e.g. Active, Inactive, Injured Reserve. |
team | string | NFL team abbreviation; null for a free agent. |
week | number | The week these flags were computed for. |
years_exp | number |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.