Filtering & discovery
The search endpoint accepts several filters. Some take free-form values; a couple take numeric IDs you look up first (see Discovering IDs).
Filters
Section titled “Filters”| Filter | Applies to | Notes |
|---|---|---|
search | all | Free-text query |
genre mood theme | tracks, intros | Taxonomy term ID(s), comma-separated (see below) |
energyLevel instrument type | tracks | Taxonomy term ID(s), comma-separated (see below) |
category | sfx | Sound-effect category ID(s), comma-separated |
tagId | sfx, intros | Tag term ID(s), comma-separated (see below) |
minBpm / maxBpm | tracks | Tempo range (BPM) |
minLength / maxLength | all | Duration range. Units depend on asset: seconds for intro, minutes for track/sfx |
exclude | all | Asset ID(s) to exclude, comma-separated |
similarTo | all | Asset ID to find similar assets for (the seed is returned in similarTo) |
page / pageSize | all | Pagination |
Example — slow, short cinematic tracks:
curl "https://www.hooksounds.com/api/business/v1/search?key=KEY&token=TOKEN&asset=track&search=cinematic&maxBpm=90&maxLength=2"Discovering filter IDs
Section titled “Discovering filter IDs”The taxonomy filters (genre, mood, energyLevel, instrument, theme, type, category, tagId) take numeric IDs. List the available taxonomies with these authenticated endpoints (same key + token), then use the id values you need. (tagId values come from the tags list, which only the sfx and intros endpoints return — the tracks taxonomy has no tags.)
Each entry is { id, slug, name } — use the id in the matching filter.
Tracks
GET /api/business/v1/search/tracks/categoriesReturns genres, moods, instruments, themes, energyLevels, and types.
Sound effects
GET /api/business/v1/search/sfx/categoriesReturns categories (a tree, with children) and tags.
Intros
GET /api/business/v1/search/intros/categoriesReturns moods, genres, themes, and tags.
# 1. List SFX categories to find an idcurl "https://www.hooksounds.com/api/business/v1/search/sfx/categories?key=KEY&token=TOKEN"
# 2. Search that categorycurl "https://www.hooksounds.com/api/business/v1/search?key=KEY&token=TOKEN&asset=sfx&category=41989"// 1. List SFX categories to find an idconst cats = await (await fetch('https://www.hooksounds.com/api/business/v1/search/sfx/categories?key=KEY&token=TOKEN')).json();const id = cats.categories[0].id;
// 2. Search that categoryconst params = new URLSearchParams({ key: 'KEY', token: 'TOKEN', asset: 'sfx', category: String(id) });const data = await (await fetch(`https://www.hooksounds.com/api/business/v1/search?${params}`)).json();import requests
# 1. List SFX categories to find an idcats = requests.get( "https://www.hooksounds.com/api/business/v1/search/sfx/categories", params={"key": "KEY", "token": "TOKEN"},).json()cat_id = cats["categories"][0]["id"]
# 2. Search that categorydata = requests.get( "https://www.hooksounds.com/api/business/v1/search", params={"key": "KEY", "token": "TOKEN", "asset": "sfx", "category": cat_id},).json()