Skip to main content
POST
Search players

Request contract

  • Method and path: POST /apis/v1/basketball-fantasysports-yahoo-com/fantasy-basketball-players/search-players
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/basketball-fantasysports-yahoo-com/fantasy-basketball-players/search-players
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
league_id
string
required

Public league id, the number after /nba/ in a league URL (e.g. 10000). Pattern: ^[0-9]{1,9}$.

query
string
required

Player name or name prefix.

count
number
default:25

Maximum results returned (the API answers with every match; extra rows are dropped).

Provider reference: minimum 1; maximum 25; default 25.

league_url
string

A league page URL; the league id is taken from its /nba/{league_id} segment. Alternative to league_id. Pattern: ^https?://(www.)?basketball.fantasysports.yahoo.com/nba/[0-9]{1,9}(/.*)?$.

Response

Search NBA players by name through Yahoo's read-only Fantasy API inside a public league (the game-level search endpoint ignores its search filter, so a public league is required).

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.