Strains
Filter all mobile strains including placeholder-aware results
POST
/
api
/
v1
/
strains
/
mobile
/
filter
Filter all mobile strains including placeholder-aware results
curl --request POST \
--url https://api.thisiswhyimhigh.com/api/v1/strains/mobile/filter \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>",
"types": [],
"thc_min": 50,
"thc_max": 50,
"cbd_min": 50,
"cbd_max": 50,
"effects": [
"<string>"
],
"terpenes": [
"<string>"
],
"aromas": [
"<string>"
],
"activities": [
"<string>"
],
"time_of_day": [
"<string>"
],
"logic": "AND",
"includeRichData": false,
"limit": 20,
"offset": 0,
"sortBy": "popularity",
"includeUnknown": true
}
'import requests
url = "https://api.thisiswhyimhigh.com/api/v1/strains/mobile/filter"
payload = {
"query": "<string>",
"types": [],
"thc_min": 50,
"thc_max": 50,
"cbd_min": 50,
"cbd_max": 50,
"effects": ["<string>"],
"terpenes": ["<string>"],
"aromas": ["<string>"],
"activities": ["<string>"],
"time_of_day": ["<string>"],
"logic": "AND",
"includeRichData": False,
"limit": 20,
"offset": 0,
"sortBy": "popularity",
"includeUnknown": True
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
query: '<string>',
types: [],
thc_min: 50,
thc_max: 50,
cbd_min: 50,
cbd_max: 50,
effects: ['<string>'],
terpenes: ['<string>'],
aromas: ['<string>'],
activities: ['<string>'],
time_of_day: ['<string>'],
logic: 'AND',
includeRichData: false,
limit: 20,
offset: 0,
sortBy: 'popularity',
includeUnknown: true
})
};
fetch('https://api.thisiswhyimhigh.com/api/v1/strains/mobile/filter', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.thisiswhyimhigh.com/api/v1/strains/mobile/filter",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => '<string>',
'types' => [
],
'thc_min' => 50,
'thc_max' => 50,
'cbd_min' => 50,
'cbd_max' => 50,
'effects' => [
'<string>'
],
'terpenes' => [
'<string>'
],
'aromas' => [
'<string>'
],
'activities' => [
'<string>'
],
'time_of_day' => [
'<string>'
],
'logic' => 'AND',
'includeRichData' => false,
'limit' => 20,
'offset' => 0,
'sortBy' => 'popularity',
'includeUnknown' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.thisiswhyimhigh.com/api/v1/strains/mobile/filter"
payload := strings.NewReader("{\n \"query\": \"<string>\",\n \"types\": [],\n \"thc_min\": 50,\n \"thc_max\": 50,\n \"cbd_min\": 50,\n \"cbd_max\": 50,\n \"effects\": [\n \"<string>\"\n ],\n \"terpenes\": [\n \"<string>\"\n ],\n \"aromas\": [\n \"<string>\"\n ],\n \"activities\": [\n \"<string>\"\n ],\n \"time_of_day\": [\n \"<string>\"\n ],\n \"logic\": \"AND\",\n \"includeRichData\": false,\n \"limit\": 20,\n \"offset\": 0,\n \"sortBy\": \"popularity\",\n \"includeUnknown\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.thisiswhyimhigh.com/api/v1/strains/mobile/filter")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"<string>\",\n \"types\": [],\n \"thc_min\": 50,\n \"thc_max\": 50,\n \"cbd_min\": 50,\n \"cbd_max\": 50,\n \"effects\": [\n \"<string>\"\n ],\n \"terpenes\": [\n \"<string>\"\n ],\n \"aromas\": [\n \"<string>\"\n ],\n \"activities\": [\n \"<string>\"\n ],\n \"time_of_day\": [\n \"<string>\"\n ],\n \"logic\": \"AND\",\n \"includeRichData\": false,\n \"limit\": 20,\n \"offset\": 0,\n \"sortBy\": \"popularity\",\n \"includeUnknown\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.thisiswhyimhigh.com/api/v1/strains/mobile/filter")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"<string>\",\n \"types\": [],\n \"thc_min\": 50,\n \"thc_max\": 50,\n \"cbd_min\": 50,\n \"cbd_max\": 50,\n \"effects\": [\n \"<string>\"\n ],\n \"terpenes\": [\n \"<string>\"\n ],\n \"aromas\": [\n \"<string>\"\n ],\n \"activities\": [\n \"<string>\"\n ],\n \"time_of_day\": [\n \"<string>\"\n ],\n \"logic\": \"AND\",\n \"includeRichData\": false,\n \"limit\": 20,\n \"offset\": 0,\n \"sortBy\": \"popularity\",\n \"includeUnknown\": true\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": "<unknown>",
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total": 0,
"hasMore": true
},
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"stack": "<string>"
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>",
"path": "<string>",
"method": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"stack": "<string>"
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>",
"path": "<string>",
"method": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"stack": "<string>"
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>",
"path": "<string>",
"method": "<string>"
}
}Body
application/json
Available options:
sativa, indica, hybrid Required range:
0 <= x <= 100Required range:
0 <= x <= 100Required range:
0 <= x <= 100Required range:
0 <= x <= 100Available options:
AND, OR Required range:
1 <= x <= 500Required range:
x >= 0Available options:
popularity, name, name_desc, updated ⌘I
Filter all mobile strains including placeholder-aware results
curl --request POST \
--url https://api.thisiswhyimhigh.com/api/v1/strains/mobile/filter \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>",
"types": [],
"thc_min": 50,
"thc_max": 50,
"cbd_min": 50,
"cbd_max": 50,
"effects": [
"<string>"
],
"terpenes": [
"<string>"
],
"aromas": [
"<string>"
],
"activities": [
"<string>"
],
"time_of_day": [
"<string>"
],
"logic": "AND",
"includeRichData": false,
"limit": 20,
"offset": 0,
"sortBy": "popularity",
"includeUnknown": true
}
'import requests
url = "https://api.thisiswhyimhigh.com/api/v1/strains/mobile/filter"
payload = {
"query": "<string>",
"types": [],
"thc_min": 50,
"thc_max": 50,
"cbd_min": 50,
"cbd_max": 50,
"effects": ["<string>"],
"terpenes": ["<string>"],
"aromas": ["<string>"],
"activities": ["<string>"],
"time_of_day": ["<string>"],
"logic": "AND",
"includeRichData": False,
"limit": 20,
"offset": 0,
"sortBy": "popularity",
"includeUnknown": True
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
query: '<string>',
types: [],
thc_min: 50,
thc_max: 50,
cbd_min: 50,
cbd_max: 50,
effects: ['<string>'],
terpenes: ['<string>'],
aromas: ['<string>'],
activities: ['<string>'],
time_of_day: ['<string>'],
logic: 'AND',
includeRichData: false,
limit: 20,
offset: 0,
sortBy: 'popularity',
includeUnknown: true
})
};
fetch('https://api.thisiswhyimhigh.com/api/v1/strains/mobile/filter', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.thisiswhyimhigh.com/api/v1/strains/mobile/filter",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => '<string>',
'types' => [
],
'thc_min' => 50,
'thc_max' => 50,
'cbd_min' => 50,
'cbd_max' => 50,
'effects' => [
'<string>'
],
'terpenes' => [
'<string>'
],
'aromas' => [
'<string>'
],
'activities' => [
'<string>'
],
'time_of_day' => [
'<string>'
],
'logic' => 'AND',
'includeRichData' => false,
'limit' => 20,
'offset' => 0,
'sortBy' => 'popularity',
'includeUnknown' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.thisiswhyimhigh.com/api/v1/strains/mobile/filter"
payload := strings.NewReader("{\n \"query\": \"<string>\",\n \"types\": [],\n \"thc_min\": 50,\n \"thc_max\": 50,\n \"cbd_min\": 50,\n \"cbd_max\": 50,\n \"effects\": [\n \"<string>\"\n ],\n \"terpenes\": [\n \"<string>\"\n ],\n \"aromas\": [\n \"<string>\"\n ],\n \"activities\": [\n \"<string>\"\n ],\n \"time_of_day\": [\n \"<string>\"\n ],\n \"logic\": \"AND\",\n \"includeRichData\": false,\n \"limit\": 20,\n \"offset\": 0,\n \"sortBy\": \"popularity\",\n \"includeUnknown\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.thisiswhyimhigh.com/api/v1/strains/mobile/filter")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"<string>\",\n \"types\": [],\n \"thc_min\": 50,\n \"thc_max\": 50,\n \"cbd_min\": 50,\n \"cbd_max\": 50,\n \"effects\": [\n \"<string>\"\n ],\n \"terpenes\": [\n \"<string>\"\n ],\n \"aromas\": [\n \"<string>\"\n ],\n \"activities\": [\n \"<string>\"\n ],\n \"time_of_day\": [\n \"<string>\"\n ],\n \"logic\": \"AND\",\n \"includeRichData\": false,\n \"limit\": 20,\n \"offset\": 0,\n \"sortBy\": \"popularity\",\n \"includeUnknown\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.thisiswhyimhigh.com/api/v1/strains/mobile/filter")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"<string>\",\n \"types\": [],\n \"thc_min\": 50,\n \"thc_max\": 50,\n \"cbd_min\": 50,\n \"cbd_max\": 50,\n \"effects\": [\n \"<string>\"\n ],\n \"terpenes\": [\n \"<string>\"\n ],\n \"aromas\": [\n \"<string>\"\n ],\n \"activities\": [\n \"<string>\"\n ],\n \"time_of_day\": [\n \"<string>\"\n ],\n \"logic\": \"AND\",\n \"includeRichData\": false,\n \"limit\": 20,\n \"offset\": 0,\n \"sortBy\": \"popularity\",\n \"includeUnknown\": true\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": "<unknown>",
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total": 0,
"hasMore": true
},
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"stack": "<string>"
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>",
"path": "<string>",
"method": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"stack": "<string>"
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>",
"path": "<string>",
"method": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"stack": "<string>"
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>",
"path": "<string>",
"method": "<string>"
}
}