For Developers & Platforms
Semantic Video Search API
by AllGolfHoles
Add golf video knowledge to your app with one request. Semantic RAG search, timestamped segments, full transcripts (JSON / SRT / VTT).
GET https://api.allgolfshots.com/api/search?q=wind+adjustmentTrusted in production by DECADE Golf & AllGolfHoles.
API Documentation
Search Endpoint Reference
GET
https://api.allgolfshots.com/api/searchExecutes vector RAG semantic search over thousands of hours of indexed golf video transcripts.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| q | string | Yes | Natural language search query (e.g. “wind adjustment on approach”). |
| limit | number | No | Max results to return (default: 10, max: 50). |
Response Format (200 OK)
{
"results": [
{
"id": "segment_8492",
"youtube_id": "WdG1J4r_L4Y",
"video_title": "Wind Play & Club Selection Masterclass",
"channel_name": "Rick Shiels Golf",
"start_seconds": 142,
"end_seconds": 185,
"transcript_text": "When playing into a 15mph wind, take two extra clubs and swing smooth at 75%...",
"score": 0.892
}
]
}Integration Code Snippets
cURL
curl -X GET "https://api.allgolfshots.com/api/search?q=wind+adjustment&limit=5"
JavaScript (Fetch)
const res = await fetch("https://api.allgolfshots.com/api/search?q=wind+adjustment");
const { results } = await res.json();
console.log(results[0].youtube_id, results[0].start_seconds);Try the Search Engine Live
Test queries and preview timestamped video moments on AllGolfHoles.
Launch Interactive Video Search →