---
title: "Issue a free key to an email, once per email. Body {email}, JSON or form-encoded. 3 per minute per IP."
method: POST
path: "/v1/keys"
---

# Issue a free key to an email, once per email. Body {email}, JSON or form-encoded. 3 per minute per IP.

`POST /v1/keys`

## Request

- Base URL: `https://golfdata.co`
- URL: `https://golfdata.co/v1/keys`
- Auth: one of:
  - none
  - API key in header `x-api-key`

Costs 0 lookup(s) at $0.005 each. Works without a key, 10 per minute per IP.

## Request body

- object

## Response `200`

OK

- object

## Other responses

- `400`: Invalid input.
- `402`: Key required. Body carries pricing_url, free_key_url, docs_url and checkout_url when set.
- `409`: Idempotency key already used for this API key when atomic metering is enabled.
- `429`: Rate limit or quota reached. Body carries retry_after_seconds and the same URLs.
- `502`: Upstream data request failed.
- `503`: Backend or atomic usage reservation/finalization unavailable.

---

[API](https://skmtc.dev/golfdata/apis/golfdataapi.md) · [All operations](https://skmtc.dev/golfdata/apis/golfdataapi/llms.txt) · [OpenAPI document](https://skmtc.dev/golfdata/apis/golfdataapi/revisions/f65dc04ba24a?raw)
