---
title: "Search players"
method: POST
path: "/v1/search_players"
tags: ["Static reference"]
---

# Search players

`POST /v1/search_players`

## Request

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

Use to find a player's id by name (accents optional). Returns country, tournaments played, wins and the seasons played. Costs 1 credit.

## Request body

- object
  - `query` string, required: Part of the player's name, e.g. 'scheffler'.
  - `limit` integer: Max players (default 20).
  - `league` 'golf' | 'lpga' | 'liv' | 'dpwt' | 'kornferry': League. Defaults to golf. One of: golf, lpga, liv, dpwt, kornferry.

## Response `200`

The result, wrapped in data.

- object
  - `data` object, required
    - `players` object[], required
    - `count` number, required
    - `note` string

## Other responses

- `400`: Invalid arguments.
- `401`: Missing or invalid API key.
- `402`: Not enough credits.
- `429`: Rate limited.

---

[API](https://skmtc.dev/birdieapi/apis/birdieapi-api.md) · [All operations](https://skmtc.dev/birdieapi/apis/birdieapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/birdieapi/apis/birdieapi-api/revisions/b888eb604f57?raw)
