Greens

Get green elevation image — GET /greens/getElevationImage

This call returns rendered green elevation image details, including a URL, at 900×1620. It does not return GPS shapes, a scorecard, or the geohash lie-elevation cells.

GET /greens/getElevationImage1 credit

Credits

1 credit.

Required parameters

  • holeId (query, integer)
  • imageSizeType (query, string)

Authorization: Bearer YOUR_ACCESS_TOKEN. Live lie elevation (not a render) is getGeoHashElevation.

Example

curl 'https://api.golfintelligence.com/greens/getElevationImage?holeId=YOUR_HOLE_ID' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'

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 green elevation image

Is this the same as geohash lie elevation?

No. This is a rendered elevation image (details + URL, 900×1620). Live lie elevation is GET /holeProfile/getGeoHashElevation — geohash cells with GPS altitude.

How many credits does getElevationImage cost?

1 credit. Query holeId (integer) and optional imageSizeType (string).

What identifier does it take?

holeId, not PublicId. Pull holeId from a hydrated course group. Placeholder: YOUR_HOLE_ID.

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.