Brand Search
Changed onSearch indexed brands by name or domain
Request
- Base URLhttps://api.context.dev/v1
- URLhttps://api.context.dev/v1/brand/search
- AuthHTTP bearer
Query parameters
Search term, matched against the fields selected by queryBy (e.g. 'nike', 'nike.com', 'nik').
Whether the search term matches by prefix, so partial words match as they are typed (e.g. 'nik' matches Nike). Set to false to match whole words only.
Fields to match the search term against, as a comma-separated list or repeated parameter: 'name', 'domain', or both. Defaults to both.
Maximum number of typos tolerated when matching, from 0 to 2. Defaults to 0 (no typo tolerance).
Optional tags for tracking usage. Up to 20 tags, each 1 to 50 characters.
Optional comma-separated caller-defined tags for tracking this request. Tags are recorded on the request's usage log and can be used to filter usage on the dashboard usage page. Up to 20 tags, each 1-50 characters.
[ "production", "team-alpha" ]
Response
Successful response
Example response
{
"results": [
{
"domain": "nike.com",
"name": "Nike",
"logo": "https://logos.context.dev/?publicClientId=pub_1a2b3c&domain=nike.com"
}
]
}Changes
- info
added the new optional
queryrequest parameterautocomplete - info
added the new optional
queryrequest parameterqueryBy - info
added the new optional
queryrequest parametertypoTolerance
- info
- info
endpoint added
- info