Static reference

Search players

Use to find a player's id by name (partial names work). Costs 1 credit.

post/v1/search_players

Request

  • Base URL: https://mcp.fastballapi.com
  • URL: https://mcp.fastballapi.com/v1/search_players
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Request body

namestring required

Full or partial name.

limitinteger
league'mlb' | 'ncaabase'

League. Defaults to mlb. One of: mlb, ncaabase.

Response

The result, wrapped in data.

Changes

No recorded changes to this operation across all 1 revision of this API.