shots
One shot from one of your rounds.
- GET
/v1/shotsList shots - GET
/v1/shots/{id}Get a shot
Each shot belongs to one round and one hole. List them across every round or for a single round in playing order.
The shot object
| Field | Type | Description |
|---|---|---|
object | string | Always "shot". |
id | string | Unique id of the shot. |
round_id | string | The round the shot was played in. |
hole_number | integer | Hole number, from 1. |
sequence_number | integer | Order of the shot on the hole, from 1. |
played_at | string (timestamp) | When the shot was played. |
club | string or null | Club used. Null when not known. See the enum in openapi.json for every value. |
is_provisional | boolean or null | Whether this was a provisional ball. |
penalty_strokes | integer or null | Penalty strokes from this shot, when any. |
penalty_type | string or null | Kind of penalty, for example water or out of bounds. Null when there was none. Free text, not a fixed list. |
start | object | Where the shot was played from: latitude, longitude, and altitude. |
start.latitude | number or null | Latitude where the shot was played from, in degrees. |
start.longitude | number or null | Longitude where the shot was played from, in degrees. |
start.altitude_meters | number or null | Altitude where the shot was played from, in meters. |
end | object | Where the ball finished: latitude, longitude, and altitude. |
end.latitude | number or null | Latitude where the ball finished, in degrees. |
end.longitude | number or null | Longitude where the ball finished, in degrees. |
end.altitude_meters | number or null | Altitude where the ball finished, in meters. |
lie | object | The lie the shot was played from. |
lie.type | string or null | Where the ball lay. Free text, not a fixed list. |
lie.quality | string or null | How good the lie was. Free text, not a fixed list. |
lie.description | string or null | More detail about the lie. |
planned | object | What the shot was meant to do: distance, shape, and target. |
planned.distance_yards | number or null | Intended distance, in yards. |
planned.curve | string or null | Intended curve. Free text, not a fixed list. |
planned.trajectory | string or null | Intended trajectory. Free text, not a fixed list. |
planned.shot_type | string or null | Kind of shot. Free text, not a fixed list. |
planned.target_latitude | number or null | Latitude of the target, in degrees. |
planned.target_longitude | number or null | Longitude of the target, in degrees. |
planned.notes | string or null | Notes about the plan. |
result | object | What the shot did: distance, shape, contact, and outcome. |
result.distance_yards | number or null | Distance the ball traveled, in yards. |
result.curve | string or null | Actual curve. Free text, not a fixed list. |
result.trajectory | string or null | Actual trajectory. Free text, not a fixed list. |
result.contact | string or null | Quality of contact. Free text, not a fixed list. |
result.quality | string or null | Overall outcome. Free text, not a fixed list. |
notes | string or null | Notes about the shot. |
confidence | number or null | Confidence in the shot details, from 0 to 1. |
created_at | string (timestamp) | When the shot was recorded. |
updated_at | string (timestamp) | When the shot was last changed. |
Example shot:
{
"object": "shot",
"id": "02cd3b84-a264-40b0-9af7-466c3874c512",
"round_id": "498fe851-9796-4fcb-abbe-95e3a176e444",
"hole_number": 7,
"sequence_number": 2,
"played_at": "2026-06-14T16:35:48.000Z",
"club": "7_iron",
"is_provisional": false,
"penalty_strokes": 0,
"penalty_type": null,
"start": {
"latitude": 44.04712,
"longitude": -121.35218,
"altitude_meters": 1102.4
},
"end": {
"latitude": 44.04825,
"longitude": -121.35161,
"altitude_meters": 1104.1
},
"lie": {
"type": "fairway",
"quality": "good",
"description": "Ball sitting cleanly in the fairway."
},
"planned": {
"distance_yards": 150,
"curve": "draw",
"trajectory": "mid",
"shot_type": "approach",
"target_latitude": 44.04829,
"target_longitude": -121.35166,
"notes": "Aim at the center of the green."
},
"result": {
"distance_yards": 146,
"curve": "straight",
"trajectory": "low",
"contact": "thin",
"quality": "missed green"
},
"notes": "Wind into the face.",
"confidence": 0.82,
"created_at": "2026-06-14T19:34:56.000Z",
"updated_at": "2026-06-14T19:34:56.000Z"
}Endpoints
Responses carry Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset, and a 429 adds Retry-After. See Headers.
List shots
Your shots. Without round_id: newest first, ordered by played_at descending, then id descending. With round_id: in playing order, by hole_number, sequence_number, then id, all ascending. Shots from test rounds are not included. Needs a key with the rounds:read scope.
/v1/shotsA 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: rounds: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 shots from this round.
uuidOnly shots on this hole. Requires round_id.
1 <= value <= 36Only shots played with this club.
"driver" | "3_wood" | "4_wood" | "5_wood" | "7_wood" | "9_wood" | "2_hybrid" | "3_hybrid" | "4_hybrid" | "5_hybrid" | "6_hybrid" | "7_hybrid" | "9_hybrid" | "1_iron" | "2_iron" | "3_iron" | "4_iron" | "5_iron" | "6_iron" | "7_iron" | "8_iron" | "9_iron" | "pitching_wedge" | "gap_wedge" | "sand_wedge" | "lob_wedge" | "46_wedge" | "48_wedge" | "50_wedge" | "52_wedge" | "54_wedge" | "56_wedge" | "58_wedge" | "60_wedge" | "62_wedge" | "64_wedge" | "putter"Only shots played at or after this time (ISO 8601, with Z or an offset).
date-timeOnly shots played before this time (ISO 8601, with Z or an offset).
date-timeOnly shots 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/shots" \
-H "Authorization: Bearer $NEW_JUNE_API_KEY"{
"object": "list",
"data": [
{
"object": "shot",
"id": "02cd3b84-a264-40b0-9af7-466c3874c512",
"round_id": "498fe851-9796-4fcb-abbe-95e3a176e444",
"hole_number": 7,
"sequence_number": 2,
"played_at": "2026-06-14T16:35:48.000Z",
"club": "7_iron",
"is_provisional": false,
"penalty_strokes": 0,
"penalty_type": null,
"start": {
"latitude": 44.04712,
"longitude": -121.35218,
"altitude_meters": 1102.4
},
"end": {
"latitude": 44.04825,
"longitude": -121.35161,
"altitude_meters": 1104.1
},
"lie": {
"type": "fairway",
"quality": "good",
"description": "Ball sitting cleanly in the fairway."
},
"planned": {
"distance_yards": 150,
"curve": "draw",
"trajectory": "mid",
"shot_type": "approach",
"target_latitude": 44.04829,
"target_longitude": -121.35166,
"notes": "Aim at the center of the green."
},
"result": {
"distance_yards": 146,
"curve": "straight",
"trajectory": "low",
"contact": "thin",
"quality": "missed green"
},
"notes": "Wind into the face.",
"confidence": 0.82,
"created_at": "2026-06-14T19:34:56.000Z",
"updated_at": "2026-06-14T19:34:56.000Z"
}
],
"has_more": true,
"next_cursor": "eyJ2IjoxLCJrIjpbIjIwMjYtMDYtMTRUMTY6MzU6NDguMDAwMDAwWiIsIjAyY2QzYjg0LWEyNjQtNDBiMC05YWY3LTQ2NmMzODc0YzUxMiJdfQ"
}{
"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 shot
One shot by id. Needs a key with the rounds:read scope.
/v1/shots/{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: rounds:read
Path Parameters
The shot's id.
Response Body
curl "https://data.newjune.co/v1/shots/02cd3b84-a264-40b0-9af7-466c3874c512" \
-H "Authorization: Bearer $NEW_JUNE_API_KEY"{
"object": "shot",
"id": "02cd3b84-a264-40b0-9af7-466c3874c512",
"round_id": "498fe851-9796-4fcb-abbe-95e3a176e444",
"hole_number": 7,
"sequence_number": 2,
"played_at": "2026-06-14T16:35:48.000Z",
"club": "7_iron",
"is_provisional": false,
"penalty_strokes": 0,
"penalty_type": null,
"start": {
"latitude": 44.04712,
"longitude": -121.35218,
"altitude_meters": 1102.4
},
"end": {
"latitude": 44.04825,
"longitude": -121.35161,
"altitude_meters": 1104.1
},
"lie": {
"type": "fairway",
"quality": "good",
"description": "Ball sitting cleanly in the fairway."
},
"planned": {
"distance_yards": 150,
"curve": "draw",
"trajectory": "mid",
"shot_type": "approach",
"target_latitude": 44.04829,
"target_longitude": -121.35166,
"notes": "Aim at the center of the green."
},
"result": {
"distance_yards": 146,
"curve": "straight",
"trajectory": "low",
"contact": "thin",
"quality": "missed green"
},
"notes": "Wind into the face.",
"confidence": 0.82,
"created_at": "2026-06-14T19:34:56.000Z",
"updated_at": "2026-06-14T19:34:56.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 shot.",
"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"
}
}