Integrate AI-powered golf content search into your application.
Request an API key from the Get Started page or contact info@allgolfshots.com.
curl -X GET "https://api.allgolfshots.com/api/search?q=wind+adjustment" \
-H "X-API-Key: sk_your_api_key_here"Base URL
https://api.allgolfshots.comAuthentication
X-API-Key headerSearch across golf video content using natural language queries. Returns timestamped video segments ranked by relevance.
| Parameter | Type | Description |
|---|---|---|
| q | string | Search query in natural language *required |
| limit | number | Max results to return (default: 10) |
| threshold | number | Min relevance score 0-1 (default: 0.4) |
| kb_type | string | Filter by knowledge base (e.g. "decade") |
| max_per_video | number | Limit results per video for diversity |
GET /api/search?q=putting+techniqueGET /api/search?q=driver+distance&threshold=0.7&limit=5GET /api/search?q=bunker+shots&max_per_video=1&limit=10GET /api/search?q=course+management&kb_type=decadeconst response = await fetch(
'https://api.allgolfshots.com/api/search?q=putting+tips',
{ headers: { 'X-API-Key': 'sk_your_api_key_here' } }
);
const data = await response.json();
console.log(data.results);import requests
response = requests.get(
'https://api.allgolfshots.com/api/search',
params={'q': 'driver distance'},
headers={'X-API-Key': 'sk_your_api_key_here'}
)
results = response.json()Reach out to our team for integration support or custom requirements.
Contact Support