---
title: "Embeddable SVG price badge for one product."
method: GET
path: "/badge/{productId}.svg"
---

# Embeddable SVG price badge for one product.

`GET /badge/{productId}.svg`

## Request

- Base URL: `https://golfdata.co`
- URL: `https://golfdata.co/badge/{productId}.svg`
- 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.

## Path parameters

- `productId` string, required

## Response `200`

OK

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