The api allow search into the main variant but does not provide solution to search into sub variants. You could use the same pattern as /content such as /search/v/:variantID?query=whatINeed