clubs
A club in your bag.
- GET
/v1/clubsList clubs - GET
/v1/clubs/{id}Get a club
Your bag, in bag order, with your typical distances for each club.
The club object
| Field | Type | Description |
|---|---|---|
object | string | Always "club". |
id | string | Unique id of the club. |
club | string or null | Which club this is. Null when it does not match a known club. See the enum in openapi.json for every value. |
type | string or null | Kind of club. Null when not recognized. One of: driver, wood, hybrid, iron, wedge, putter. |
display_name | string | Name shown in the app. |
position | integer | Order in your bag, ascending. |
typical_total_yards | integer or null | Your usual total distance with this club, in yards. |
typical_carry_yards | integer or null | Your usual carry distance, in yards, when known. |
loft_degrees | number or null | Loft, in degrees, when known. |
dispersion | object or null | Shot pattern for this club. Null until there is enough data. |
dispersion.center_long_yards | number | How far the center of your shots lands past (+) or short of (-) the target, in yards. |
dispersion.center_lateral_yards | number | How far the center of your shots lands right (+) or left (-) of the target, in yards. |
dispersion.forward_yards | number | Spread past the center, in yards. |
dispersion.backward_yards | number | Spread short of the center, in yards. |
dispersion.left_yards | number | Spread left of the center, in yards. |
dispersion.right_yards | number | Spread right of the center, in yards. |
dispersion.rotation_degrees | number | Tilt of the pattern, in degrees, clockwise positive. |
created_at | string (timestamp) | When the club was added. |
updated_at | string (timestamp) | When the club was last changed. |
Example club:
{
"object": "club",
"id": "a7d4a4dc-e38a-4f98-859d-322795119428",
"club": "7_iron",
"type": "iron",
"display_name": "7 Iron",
"position": 7,
"typical_total_yards": 155,
"typical_carry_yards": 147,
"loft_degrees": 34,
"dispersion": {
"center_long_yards": -4,
"center_lateral_yards": 3,
"forward_yards": 9,
"backward_yards": 12,
"left_yards": 14,
"right_yards": 10,
"rotation_degrees": 8
},
"created_at": "2026-03-02T18:20:00.000Z",
"updated_at": "2026-06-14T20:10:12.000Z"
}Endpoints
Responses carry Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset, and a 429 adds Retry-After. See Headers.
List clubs
The clubs in your bag, in bag order: position ascending, then id. Needs a key with the clubs:read scope.
/v1/clubsA personal API key (nj_live_...), sent as a bearer token. Create one on the Developer page at https://newjune.co/golf/developer. The scopes listed on each operation are the key scopes it needs.
In: header
Scope: clubs:read
Query Parameters
How many items to return, 1 to 100. Defaults to 25.
251 <= value <= 100The next_cursor value from the previous page, passed back unchanged with the same filters.
Only clubs whose own updated_at is strictly after this time (ISO 8601, with Z or an offset). Use it to sync changes since your last run; the list order does not change.
date-timeResponse Body
curl "https://data.newjune.co/v1/clubs" \
-H "Authorization: Bearer $NEW_JUNE_API_KEY"{
"object": "list",
"data": [
{
"object": "club",
"id": "a7d4a4dc-e38a-4f98-859d-322795119428",
"club": "7_iron",
"type": "iron",
"display_name": "7 Iron",
"position": 7,
"typical_total_yards": 155,
"typical_carry_yards": 147,
"loft_degrees": 34,
"dispersion": {
"center_long_yards": -4,
"center_lateral_yards": 3,
"forward_yards": 9,
"backward_yards": 12,
"left_yards": 14,
"right_yards": 10,
"rotation_degrees": 8
},
"created_at": "2026-03-02T18:20:00.000Z",
"updated_at": "2026-06-14T20:10:12.000Z"
}
],
"has_more": true,
"next_cursor": "eyJ2IjoxLCJrIjpbIjciLCJhN2Q0YTRkYy1lMzhhLTRmOTgtODU5ZC0zMjI3OTUxMTk0MjgiXX0"
}{
"error": {
"type": "invalid_request_error",
"code": "invalid_cursor",
"message": "The cursor is not valid. Use the next_cursor value from a previous response.",
"param": "cursor",
"request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
"doc_url": "https://developers.newjune.co/errors#invalid_cursor"
}
}{
"error": {
"type": "authentication_error",
"code": "api_key_expired",
"message": "This API key has expired. Create a new key on the Developer page at newjune.co/golf/developer.",
"param": null,
"request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
"doc_url": "https://developers.newjune.co/errors#api_key_expired"
}
}{
"error": {
"type": "permission_error",
"code": "account_suspended",
"message": "API access is suspended for this account.",
"param": null,
"request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
"doc_url": "https://developers.newjune.co/errors#account_suspended"
}
}{
"error": {
"type": "rate_limit_error",
"code": "daily_limit_exceeded",
"message": "This account has reached its daily request limit. It resets at midnight UTC.",
"param": null,
"request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
"doc_url": "https://developers.newjune.co/errors#daily_limit_exceeded"
}
}{
"error": {
"type": "api_error",
"code": "internal_error",
"message": "Something went wrong on our side. Try again later.",
"param": null,
"request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
"doc_url": "https://developers.newjune.co/errors#internal_error"
}
}{
"error": {
"type": "api_error",
"code": "service_unavailable",
"message": "The API is temporarily unavailable. Try again later.",
"param": null,
"request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
"doc_url": "https://developers.newjune.co/errors#service_unavailable"
}
}Get a club
One club by id. Needs a key with the clubs:read scope.
/v1/clubs/{id}A personal API key (nj_live_...), sent as a bearer token. Create one on the Developer page at https://newjune.co/golf/developer. The scopes listed on each operation are the key scopes it needs.
In: header
Scope: clubs:read
Path Parameters
The club's id.
Response Body
curl "https://data.newjune.co/v1/clubs/a7d4a4dc-e38a-4f98-859d-322795119428" \
-H "Authorization: Bearer $NEW_JUNE_API_KEY"{
"object": "club",
"id": "a7d4a4dc-e38a-4f98-859d-322795119428",
"club": "7_iron",
"type": "iron",
"display_name": "7 Iron",
"position": 7,
"typical_total_yards": 155,
"typical_carry_yards": 147,
"loft_degrees": 34,
"dispersion": {
"center_long_yards": -4,
"center_lateral_yards": 3,
"forward_yards": 9,
"backward_yards": 12,
"left_yards": 14,
"right_yards": 10,
"rotation_degrees": 8
},
"created_at": "2026-03-02T18:20:00.000Z",
"updated_at": "2026-06-14T20:10:12.000Z"
}{
"error": {
"type": "authentication_error",
"code": "api_key_expired",
"message": "This API key has expired. Create a new key on the Developer page at newjune.co/golf/developer.",
"param": null,
"request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
"doc_url": "https://developers.newjune.co/errors#api_key_expired"
}
}{
"error": {
"type": "permission_error",
"code": "account_suspended",
"message": "API access is suspended for this account.",
"param": null,
"request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
"doc_url": "https://developers.newjune.co/errors#account_suspended"
}
}{
"error": {
"type": "not_found_error",
"code": "resource_not_found",
"message": "No such club.",
"param": null,
"request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
"doc_url": "https://developers.newjune.co/errors#resource_not_found"
}
}{
"error": {
"type": "rate_limit_error",
"code": "daily_limit_exceeded",
"message": "This account has reached its daily request limit. It resets at midnight UTC.",
"param": null,
"request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
"doc_url": "https://developers.newjune.co/errors#daily_limit_exceeded"
}
}{
"error": {
"type": "api_error",
"code": "internal_error",
"message": "Something went wrong on our side. Try again later.",
"param": null,
"request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
"doc_url": "https://developers.newjune.co/errors#internal_error"
}
}{
"error": {
"type": "api_error",
"code": "service_unavailable",
"message": "The API is temporarily unavailable. Try again later.",
"param": null,
"request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
"doc_url": "https://developers.newjune.co/errors#service_unavailable"
}
}