Search tracks suggestions
GET /v0/tracks/search/suggestions
The search suggestions endpoint allows your users to get autocomplete suggestions for Epidemic Sound music
Query Parameters
- term string
Term for search
Responses
- 200
- 400
- 401
- 403
- 429
- 503
Tracks Search Suggestions response
- application/json
- Schema
- Example (from schema)
- Example
Schema
suggestions object[]
Array [type stringPossible values: [
TEXT
]]
{
"suggestions": [
{
"type": "TEXT"
}
]
}
{
"suggestions": [
{
"value": "rock",
"type": "TEXT"
},
{
"value": "rocker",
"type": "TEXT"
},
{
"value": "rock n roll",
"type": "TEXT"
}
]
}
Bad request.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- message string required
Human readable message
errors object[]
Array [key string requiredError key
messages string[] requiredError 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
- message string required
Human readable message
errors object[]
Array [key string requiredError key
messages string[] requiredError 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
- message string required
Human readable message
errors object[]
Array [key string requiredError key
messages string[] requiredError messages
]
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Forbidden"
}
Rate limit exceeded.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- message string required
Human readable message
errors object[]
Array [key string requiredError key
messages string[] requiredError messages
]
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Rate limit exceeded"
}
Service unavailable
- application/json
- Schema
- Example (from schema)
- Example
Schema
- message string required
Human readable message
errors object[]
Array [key string requiredError key
messages string[] requiredError messages
]
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Service unavailable"
}
Loading...