Similar Sound Effects
POSThttps://api.audioscape.ai/developer/v1/sfx/similarEndpoint
Given an SFX asset ID, find other sound effects that sound similar. Useful for building "more like this" pickers, filling out a soundscape with related ambiences, or matching a placeholder clip to its closest neighbor in the catalog.
Headers
| Name | Type | Description |
|---|---|---|
| x-api-key | required | Your API key |
| Content-Type | required | Must be application/json |
Request Body
| Parameter | Type | Description |
|---|---|---|
| asset_id | string required | The Roblox asset ID of the SFX to find similar clips for |
| limit | number optional | Maximum results to return (default: 20, max: 100) |
| offset | number optional | Pagination offset (default: 0) |
| filters | object optional | Narrow your results: categories—Array of UCS-style category namessubcategories—Array of subcategoriesduration—Object with min and max in seconds (default: 0–400) |
Response
Returns SFX clips that are acoustically similar to the given asset.
{
"tracks": [
{
"asset_id": number,
"name": "string",
"description": "string",
"category": "string",
"subcategory": "string",
"tags": "string",
"duration": number,
"score": number,
"created_at": "string",
"updated_at": "string",
"creator_id": number | null,
"creator_name": "string"
}
],
"meta": {
"total": number,
"limit": number,
"offset": number
}
}Example Request
Take one hero sound — say, the footstep you already love — and fan it out into a variety pack of similar clips so repeated plays don't feel mechanical. Assumes a client from the Quickstart.
-- Build a footstep variety pack from one hero sound
local HERO_FOOTSTEP_ID = "9120386436"
local result, err = client:sfxSimilar({
asset_id = HERO_FOOTSTEP_ID,
limit = 5,
})
if not result then warn(err) return end
local footsteps = { HERO_FOOTSTEP_ID }
for _, sfx in result.tracks do
table.insert(footsteps, sfx.asset_id)
end
local function playFootstep(parent)
local sound = Instance.new("Sound")
sound.SoundId = "rbxassetid://" .. footsteps[math.random(#footsteps)]
sound.Parent = parent
sound:Play()
endError Responses
400Bad RequestMissing or invalid asset ID.
{
"error": "asset_id is required and must be a numeric string"
}401UnauthorizedInvalid or missing API key.
{
"error": "Invalid API key"
}404Not FoundThe given asset ID has no SFX embedding in our catalog.
{
"error": "asset_id not found"
}429Too Many RequestsYou've exceeded your rate limit. See your current tier on the API Keys page.
{
"message": "Too Many Requests"
}500Internal Server ErrorSomething went wrong on our end. Try again or contact support if the issue persists.