---
title: "Ratings"
method: POST
path: "/v1/get_ratings"
tags: ["Basic lookup"]
---

# Ratings

`POST /v1/get_ratings`

## Request

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

Use for who is playing best: our strokes-versus-field rating for every player active in the past year, best first. A rating of 2.0 means two strokes a round better than an average player in the same fields, adjusted for field strength and weighted toward recent rounds. Pass as_of for the ratings on a past date. Costs 2 credits.

## Request body

- object
  - `limit` integer: Max players (default 50).
  - `as_of` string: A date (YYYY-MM-DD): the ratings as they stood then. Default the latest.
  - `min_rounds` integer: Minimum decay-weighted rounds behind a rating (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
    - `as_of` string, nullable, required
    - `min_rounds` number
    - `ratings` object[], required
    - `count` number, required
    - `method` string, required

## 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)
