Greens

Get green slope image — GET /greens/getSlopeImage

This call returns rendered green slope image details, including a URL, at 900×1620. It does not return the course scorecard or GPS shapes, and it is not a live lie-elevation grid.

GET /greens/getSlopeImage1 credit

Credits

1 credit.

Required parameters

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

Authorization: Bearer YOUR_ACCESS_TOKEN. holeId comes from a hydrated course group, not from search alone. Elevation render is getElevationImage.

Example

curl 'https://api.golfintelligence.com/greens/getSlopeImage?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 slope image

What size is the slope image?

900×1620. The response is render details, including the image URL — not the scorecard and not GPS polygons.

How many credits does getSlopeImage cost?

1 credit. Query holeId (integer). imageSizeType is a string query parameter.

Can I call this with only a publicId?

No. This route takes holeId, not PublicId. Get holeId from a course-group hydrate (detail or scorecard), then call this per hole.

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.