Search autosuggest
GET/v0/tracks/search/suggestions
The search suggestions endpoint allows your users to get autocomplete suggestions for Epidemic Sound music or external provider music search.
Returns:
- value: The exact search term to pass to the /tracks/search endpoint.
 - title: Display text to show users in the autocomplete UI.
 - type - Indicates whether this is a search term of type text or external reference URI (e.g., Spotify track).
 
Usage: When a user selects a suggestion, use the 'value' field as the 'term' parameter when calling /tracks/search to get matching tracks.
Request
Query Parameters
Term for search
Responses
- 200
 - 400
 - 401
 - 403
 - 429
 - 503
 
Tracks Search Suggestions response
- application/json
 
- Schema
 - Example (from schema)
 - Example
 
Schema
Array [
]
suggestions
object[]
Possible values: [TEXT, EXTERNAL_SPOTIFY]
{
  "suggestions": [
    {
      "type": "TEXT"
    }
  ]
}
{
  "suggestions": [
    {
      "value": "rock",
      "title": "rock",
      "type": "TEXT"
    },
    {
      "value": "rocker",
      "title": "rocker",
      "type": "TEXT"
    },
    {
      "value": "https://open.spotify.com/track/12345",
      "title": "rocker",
      "type": "EXTERNAL_SPOTIFY"
    }
  ]
}
Bad request.
- application/json
 
- Schema
 - Example (from schema)
 - Example
 
Schema
Array [
]
Human readable message
errors
object[]
Error key
Error messages
{
  "message": "string",
  "errors": [
    {
      "key": "string",
      "messages": [
        "string"
      ]
    }
  ]
}
{
  "message": "Bad request"
}
Unauthorized. Most likely your access token has expired.
- application/json
 
- Schema
 - Example (from schema)
 - Example
 
Schema
Array [
]
Human readable message
errors
object[]
Error key
Error messages
{
  "message": "string",
  "errors": [
    {
      "key": "string",
      "messages": [
        "string"
      ]
    }
  ]
}
{
  "message": "Invalid credentials"
}
Forbidden. Only available for ES Connect tokens or User tokens when the app allows to preview tracks.
- application/json
 
- Schema
 - Example (from schema)
 - Example
 
Schema
Array [
]
Human readable message
errors
object[]
Error key
Error messages
{
  "message": "string",
  "errors": [
    {
      "key": "string",
      "messages": [
        "string"
      ]
    }
  ]
}
{
  "message": "Forbidden"
}
Rate limit exceeded.
- application/json
 
- Schema
 - Example (from schema)
 - Example
 
Schema
Array [
]
Human readable message
errors
object[]
Error key
Error messages
{
  "message": "string",
  "errors": [
    {
      "key": "string",
      "messages": [
        "string"
      ]
    }
  ]
}
{
  "message": "Rate limit exceeded"
}
Service unavailable
- application/json
 
- Schema
 - Example (from schema)
 - Example
 
Schema
Array [
]
Human readable message
errors
object[]
Error key
Error messages
{
  "message": "string",
  "errors": [
    {
      "key": "string",
      "messages": [
        "string"
      ]
    }
  ]
}
{
  "message": "Service unavailable"
}