Docs

Compare drivers

Match published driver configurations before comparing specifications.

Filter models

Shell
curl 'https://api.golfapi.dev/drivers?hand=lh&loft=10.5&limit=10' \
  -H "Authorization: Bearer $GOLFDEV_API_KEY"

Run export GOLFDEV_API_KEY='sk_test_…' with your key in the same terminal first. Leave $GOLFDEV_API_KEY as written; the shell replaces it with your key. How to set your key

The filters select models offering each property. Their intersection does not prove that the same variant offers both in your market.

Match a configuration

Read variants and match hand, loft_deg and market together. Preserve the variant's id. The model's hands and lofts_deg summarize all its variants; do not use those unions to infer a configuration.

Compare values from the matched variant. Do not copy another hand, loft, model or market.

Display specifications

For a requested field in the selected, unprojected document, display an omitted value as “Not published”. Use value ?? 'Not published' to preserve real 0 and false values. A field excluded by a view or projection is not a catalog gap.

Present the model, configuration and published specifications. Read views and access before requesting Club-builder detail, and Catalog for data limits.