Hole profile

Get hole profile — POST /holeProfile/getHoleProfile

This call returns hole profile data for a single hole or a list of holes for a course group. It does not return a rendered green image or a full course-group GPS payload.

POST /holeProfile/getHoleProfileconfirm in console

Credits

This route is not on the published credit table. Confirm credits in the console or email data@golfintelligence.com.

Required parameters

POST body is HoleProfileRequestDto:

  • publicId (string)
  • holeId (integer)

Authorization: Bearer YOUR_ACCESS_TOKEN. Swagger documents a single holeId field — there is no holeIds array on the request DTO.

Example

curl -X POST 'https://api.golfintelligence.com/holeProfile/getHoleProfile' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"publicId":"YOUR_PUBLIC_ID","holeId":YOUR_HOLE_ID}'

Placeholders only. Swap in YOUR_ACCESS_TOKEN, YOUR_PUBLIC_ID, YOUR_COURSE, YOUR_HOLE_ID, YOUR_ACTIVE_TOKEN, or YOUR_CLIENT_ID from the console. Do not treat placeholders as a live course record.

Questions developers ask

Get hole profile

What fields are on HoleProfileRequestDto?

publicId (string) and holeId (integer). Swagger describes a hole profile for a single hole or a list of holes for a course group. Do not send a holeIds array — that field is not on the DTO.

How many credits does getHoleProfile cost?

It is not on the published /docs/ credit table. Confirm in the console or email data@golfintelligence.com.

Is this the same as getGeoHashElevation?

No. getHoleProfile is a POST with publicId + holeId. getGeoHashElevation is a GET with holeId only and returns geohash cells with GPS altitude.

Start on the homepage

Use the golf course data API.

Test credits are $49 for 50 to download courses, green slope, and elevation. Buy now. After that, email data@golfintelligence.com if you need more. Console login is your email plus a verification code.

Buy now — $49 for 50 test credits. Credits are added in the console after payment. Starter is $399/month for 10,000 credits for apps.