Search tracks suggestions
GEThttps://partner-content-api.epidemicsound.com/v0/tracks/search/suggestions
The search suggestions endpoint allows your users to get autocomplete suggestions for Epidemic Sound music
Request
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[]
{
"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 stringrequired
Human readable message
errors
object[]
{
"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 stringrequired
Human readable message
errors
object[]
{
"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 stringrequired
Human readable message
errors
object[]
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Forbidden"
}
Rate limit exceeded.
- application/json
- Schema
- Example (from schema)
- Example
Schema
message stringrequired
Human readable message
errors
object[]
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Rate limit exceeded"
}
Service unavailable
- application/json
- Schema
- Example (from schema)
- Example
Schema
message stringrequired
Human readable message
errors
object[]
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Service unavailable"
}
Authorization: http
name: UserAuthtype: httpdescription: User authentication is handled with short lived user access tokens. Use a partner token to request these tokens. The access token is of JWT format and should be passed in a header with your API requests: > **Example Header:** `Authorization: Bearer a-user-token`scheme: bearer
- curl
- python
- nodejs
- CURL
ResponseClear