Data API v1 preview

Your golf data, ready for your own tools.

A read-only REST API for the rounds, scores, shots, reports, and plans in your New June account. Create a key, send one request, get JSON back.

Request
curl "https://data.newjune.co/v1/me" \
  -H "Authorization: Bearer $NEW_JUNE_API_KEY"
200 OK
{
  "object": "api_key_context",
  "key": {
    "object": "api_key",
    "id": "53e13cb8-f578-4bf4-958c-3c3faea4c7d4",
    "name": "Spreadsheet sync",
    "prefix": "nj_live_3f9a",
    "scopes": [
      "plans:read",
      "rounds:read"
    ],
    "expires_at": "2027-06-01T00:00:00.000Z"
  },
  "limits": {
    "requests_per_minute": 60,
    "requests_per_day": 1000
  }
}

Quickstart

From key to first response in three steps

  1. 01

    Create a key

    Open the Developer page in your New June account, pick scopes, and copy the key. It is shown once.

    export NEW_JUNE_API_KEY="nj_live_..."
    Open the Developer page
  2. 02

    Check it

    Call /v1/me. A 200 confirms the key and shows its scopes and limits.

    curl https://data.newjune.co/v1/me \
      -H "Authorization: Bearer $NEW_JUNE_API_KEY"
    How keys work
  3. 03

    List your rounds

    Newest first, 25 per page. Pass next_cursor back to get the next page.

    curl "https://data.newjune.co/v1/rounds?limit=5" \
      -H "Authorization: Bearer $NEW_JUNE_API_KEY"
    Full quickstart

Resources

Everything in your account, one collection each

For coding agents

Every page also ships as markdown

Add .md to any docs URL, or point your agent at the files below.