AllGolfShots

Golf Knowledge Search Engine API

SearchGet API Key

AllGolfShots

AI-powered search and knowledge tools for golf video content.

Product

  • Search
  • API Documentation
  • Pricing
  • Get API Key

Contact

info@allgolfshots.com

© 2026 Golfstream West Inc. All rights reserved.

API Documentation

Integrate AI-powered golf content search into your application.

Quick Start

1. Get an API Key

Request an API key from the Get Started page or contact info@allgolfshots.com.

2. Make Your First Request

cURL
curl -X GET "https://api.allgolfshots.com/api/search?q=wind+adjustment" \
     -H "X-API-Key: sk_your_api_key_here"

3. Base URL & Authentication

Base URL

https://api.allgolfshots.com

Authentication

X-API-Key header

Search Endpoint

GET /api/search

Search across golf video content using natural language queries. Returns timestamped video segments ranked by relevance.

Query Parameters

ParameterTypeDescription
qstringSearch query in natural language *required
limitnumberMax results to return (default: 10)
thresholdnumberMin relevance score 0-1 (default: 0.4)
kb_typestringFilter by knowledge base (e.g. "decade")
max_per_videonumberLimit results per video for diversity

Example Queries

Basic search
GET /api/search?q=putting+technique
High-quality results only
GET /api/search?q=driver+distance&threshold=0.7&limit=5
Diverse results (one per video)
GET /api/search?q=bunker+shots&max_per_video=1&limit=10
Search specific knowledge base
GET /api/search?q=course+management&kb_type=decade

Understanding Results

Relevance Scores

0.8 - 1.0Highly relevant — exact topic match
0.6 - 0.8Good relevance — related concepts
0.4 - 0.6Loosely related — may contain useful info
< 0.4Filtered out by default

Search Tips

  • Be specific: "7 iron trajectory" works better than "iron"
  • Combine concepts: "bunker shot technique wet sand"
  • Use thresholds: Higher (0.7+) for precision, lower (0.4) for discovery

Integration Examples

JavaScript / TypeScript
const 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);
Python
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()

Need Help?

Reach out to our team for integration support or custom requirements.

Contact Support