Match against regexes
This endpoint allows for testing whether individual search queries would match against the keyword list. This is for testing purposes only and should not be used in a production environment.
Request
- Base URLhttp://api.kokocares.org
- URLhttp://api.kokocares.org/keywords/match
- AuthHTTP basic
Query parameters
The search query to be matched against the keywords
Filter the keyword based on the taxonomy using a colon delimited list of “dimension=value” filters. Omitting a dimension does not filter by that dimension e.g. category=eating,parenting:confidence=1,2
This returns a regex with keywords for eating and parenting, with a confidence of 1 and 2 and any intensity.
Ommitting the param entirely returns a regex for all keywords
The version to query against otherwise the query will be against the latest version.
Headers
When backwards incompatible changes are made to the API, the api version is changed. The latest api version will be pinned to your API key, so you only need to add this header if you want to use a more up to date version. You can also update the pinned version by contacting us at api@kokocares.org.
Response
search results matching criteria
Example response
{
"filter": "category=eating,parenting:confidence=1,2",
"query": "seeewerslllide",
"match": true,
"version": "20220206"
}Changes
No recorded changes to this operation across all 1 revision of this API.