From fbc0c97245465eb46377a642b57ae1f9fce770ae Mon Sep 17 00:00:00 2001
From: ABW <andrzejl@syncad.com>
Date: Tue, 3 Nov 2020 20:10:59 +0100
Subject: [PATCH] [ABW]: added tests for get_trending_tags

---
 .../get_trending_tags/bad_tag.orig.json       |    5 +
 .../get_trending_tags/bad_tag.pat.json        |    5 +
 .../get_trending_tags/bad_tag.tavern.yaml     |   30 +
 .../get_trending_tags/under_limit.orig.json   |    5 +
 .../get_trending_tags/under_limit.pat.json    |    5 +
 .../get_trending_tags/under_limit.tavern.yaml |   30 +
 .../get_trending_tags/_readme.txt             |    8 +-
 .../get_trending_tags/limit_250.pat.json      |   12 +-
 .../get_trending_tags/max_limit.orig.json     | 1502 +++++++++++++++++
 .../get_trending_tags/max_limit.pat.json      | 1502 +++++++++++++++++
 .../get_trending_tags/max_limit.tavern.yaml   |   28 +
 .../get_trending_tags/no_payout_1.orig.json   |   62 +
 .../get_trending_tags/no_payout_1.pat.json    |   62 +
 .../get_trending_tags/no_payout_1.tavern.yaml |   28 +
 .../get_trending_tags/no_payout_2.orig.json   |   62 +
 .../get_trending_tags/no_payout_2.pat.json    |   62 +
 .../get_trending_tags/no_payout_2.tavern.yaml |   28 +
 .../get_trending_tags/paginated.orig.json     |   20 +
 .../get_trending_tags/paginated.pat.json      |   20 +
 .../get_trending_tags/paginated.tavern.yaml   |   28 +
 .../get_trending_tags/pre_appbase.pat.json    |   12 +-
 .../get_trending_tags/same_payout_1.orig.json |   62 +
 .../get_trending_tags/same_payout_1.pat.json  |   62 +
 .../same_payout_1.tavern.yaml                 |   28 +
 .../get_trending_tags/same_payout_2.orig.json |   62 +
 .../get_trending_tags/same_payout_2.pat.json  |   62 +
 .../same_payout_2.tavern.yaml                 |   28 +
 .../get_trending_tags/steem.pat.json          |   12 +-
 28 files changed, 3810 insertions(+), 22 deletions(-)
 create mode 100644 hivemind/tavern/condenser_api_negative/get_trending_tags/bad_tag.orig.json
 create mode 100644 hivemind/tavern/condenser_api_negative/get_trending_tags/bad_tag.pat.json
 create mode 100644 hivemind/tavern/condenser_api_negative/get_trending_tags/bad_tag.tavern.yaml
 create mode 100644 hivemind/tavern/condenser_api_negative/get_trending_tags/under_limit.orig.json
 create mode 100644 hivemind/tavern/condenser_api_negative/get_trending_tags/under_limit.pat.json
 create mode 100644 hivemind/tavern/condenser_api_negative/get_trending_tags/under_limit.tavern.yaml
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_trending_tags/max_limit.orig.json
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_trending_tags/max_limit.pat.json
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_trending_tags/max_limit.tavern.yaml
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_1.orig.json
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_1.pat.json
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_1.tavern.yaml
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_2.orig.json
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_2.pat.json
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_2.tavern.yaml
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_trending_tags/paginated.orig.json
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_trending_tags/paginated.pat.json
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_trending_tags/paginated.tavern.yaml
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_1.orig.json
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_1.pat.json
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_1.tavern.yaml
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_2.orig.json
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_2.pat.json
 create mode 100644 hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_2.tavern.yaml

diff --git a/hivemind/tavern/condenser_api_negative/get_trending_tags/bad_tag.orig.json b/hivemind/tavern/condenser_api_negative/get_trending_tags/bad_tag.orig.json
new file mode 100644
index 00000000..de299c94
--- /dev/null
+++ b/hivemind/tavern/condenser_api_negative/get_trending_tags/bad_tag.orig.json
@@ -0,0 +1,5 @@
+{
+  "id": 1,
+  "jsonrpc": "2.0",
+  "result": []
+}
diff --git a/hivemind/tavern/condenser_api_negative/get_trending_tags/bad_tag.pat.json b/hivemind/tavern/condenser_api_negative/get_trending_tags/bad_tag.pat.json
new file mode 100644
index 00000000..33ff98c0
--- /dev/null
+++ b/hivemind/tavern/condenser_api_negative/get_trending_tags/bad_tag.pat.json
@@ -0,0 +1,5 @@
+{
+  "code": -32602,
+  "data": "Category nonexisting-category does not exist",
+  "message": "Invalid parameters"
+}
diff --git a/hivemind/tavern/condenser_api_negative/get_trending_tags/bad_tag.tavern.yaml b/hivemind/tavern/condenser_api_negative/get_trending_tags/bad_tag.tavern.yaml
new file mode 100644
index 00000000..ec7256ad
--- /dev/null
+++ b/hivemind/tavern/condenser_api_negative/get_trending_tags/bad_tag.tavern.yaml
@@ -0,0 +1,30 @@
+---
+  test_name: Hivemind condenser_api.get_trending_tags
+
+  marks:
+    - patterntest # original did not validate given page defining category
+    - negative
+
+  includes:
+    - !include ../../common.yaml
+
+  stages:
+    - name: get_trending_tags
+      request:
+        url: "{service.proto:s}://{service.server:s}:{service.port}/"
+        method: POST
+        headers:
+          content-type: application/json
+        json:
+          jsonrpc: "2.0"
+          id: 1
+          method: "condenser_api.get_trending_tags"
+          params: {"start_tag":"nonexisting-category"}
+      response:
+        status_code: 200
+        verify_response_with:
+          function: validate_response:compare_response_with_pattern
+          extra_kwargs:
+            method: "bad_tag"
+            directory: "condenser_api_negative/get_trending_tags"
+            error_response: true
\ No newline at end of file
diff --git a/hivemind/tavern/condenser_api_negative/get_trending_tags/under_limit.orig.json b/hivemind/tavern/condenser_api_negative/get_trending_tags/under_limit.orig.json
new file mode 100644
index 00000000..9f9bad6e
--- /dev/null
+++ b/hivemind/tavern/condenser_api_negative/get_trending_tags/under_limit.orig.json
@@ -0,0 +1,5 @@
+{
+  "code": -32602,
+  "data": "limit must be positive",
+  "message": "Invalid parameters"
+}
diff --git a/hivemind/tavern/condenser_api_negative/get_trending_tags/under_limit.pat.json b/hivemind/tavern/condenser_api_negative/get_trending_tags/under_limit.pat.json
new file mode 100644
index 00000000..25630e9d
--- /dev/null
+++ b/hivemind/tavern/condenser_api_negative/get_trending_tags/under_limit.pat.json
@@ -0,0 +1,5 @@
+{
+  "code": -32602,
+  "data": "limit = 251 outside valid range [1:250]",
+  "message": "Invalid parameters"
+}
diff --git a/hivemind/tavern/condenser_api_negative/get_trending_tags/under_limit.tavern.yaml b/hivemind/tavern/condenser_api_negative/get_trending_tags/under_limit.tavern.yaml
new file mode 100644
index 00000000..52bd4f7e
--- /dev/null
+++ b/hivemind/tavern/condenser_api_negative/get_trending_tags/under_limit.tavern.yaml
@@ -0,0 +1,30 @@
+---
+  test_name: Hivemind condenser_api.get_trending_tags under limit patterns test
+
+  marks:
+    - patterntest
+    - negative
+
+  includes:
+    - !include ../../common.yaml
+
+  stages:
+    - name: get_trending_tags
+      request:
+        url: "{service.proto:s}://{service.server:s}:{service.port}/"
+        method: POST
+        headers:
+          content-type: application/json
+        json:
+          jsonrpc: "2.0"
+          id: 1
+          method: "condenser_api.get_trending_tags"
+          params: {"limit":0}
+      response:
+        status_code: 200
+        verify_response_with:
+          function: validate_response:compare_response_with_pattern
+          extra_kwargs:
+            method: "under_limit"
+            directory: "condenser_api_negative/get_trending_tags"
+            error_response: true
\ No newline at end of file
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/_readme.txt b/hivemind/tavern/condenser_api_patterns/get_trending_tags/_readme.txt
index af8ad4cb..e7ef450c 100644
--- a/hivemind/tavern/condenser_api_patterns/get_trending_tags/_readme.txt
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/_readme.txt
@@ -1,13 +1,13 @@
-Lists tags sort by all payout, with stats summary of comments and top_posts.
+Lists categories ordered by sum of pending payouts, with stats summary about comments and top posts.
 
 method: "condenser_api.get_trending_tags"
 params:
 {
   "start_tag":"{tag}",
 
-     optional, point to tag; paging mechanism
+     optional, when given has to point to valid tag; paging mechanism (cuts out this and more paying categories)
 
-  "limit":{number},
+  "limit":{number}
 
-     optional range 1...250; default = 250
+     optional, 1..250, default = 250
 }
\ No newline at end of file
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/limit_250.pat.json b/hivemind/tavern/condenser_api_patterns/get_trending_tags/limit_250.pat.json
index a38b9f86..fa3dc35b 100644
--- a/hivemind/tavern/condenser_api_patterns/get_trending_tags/limit_250.pat.json
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/limit_250.pat.json
@@ -1,10 +1,4 @@
 [
-  {
-    "comments": 16,
-    "name": "dream",
-    "top_posts": 11,
-    "total_payouts": "31.138 HBD"
-  },
   {
     "comments": 14,
     "name": "governmentinsanity",
@@ -1498,5 +1492,11 @@
     "name": "spirit",
     "top_posts": 4,
     "total_payouts": "7.461 HBD"
+  },
+  {
+    "comments": 1,
+    "name": "vpn",
+    "top_posts": 3,
+    "total_payouts": "7.308 HBD"
   }
 ]
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/max_limit.orig.json b/hivemind/tavern/condenser_api_patterns/get_trending_tags/max_limit.orig.json
new file mode 100644
index 00000000..aae1f841
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/max_limit.orig.json
@@ -0,0 +1,1502 @@
+[
+  {
+    "comments": 22453,
+    "name": "life",
+    "top_posts": 3950,
+    "total_payouts": "214128.274 HBD"
+  },
+  {
+    "comments": 38732,
+    "name": "steemit",
+    "top_posts": 5170,
+    "total_payouts": "165877.665 HBD"
+  },
+  {
+    "comments": 4907,
+    "name": "story",
+    "top_posts": 1085,
+    "total_payouts": "112460.193 HBD"
+  },
+  {
+    "comments": 13153,
+    "name": "art",
+    "top_posts": 2745,
+    "total_payouts": "106416.111 HBD"
+  },
+  {
+    "comments": 10141,
+    "name": "steem",
+    "top_posts": 1158,
+    "total_payouts": "82438.187 HBD"
+  },
+  {
+    "comments": 5633,
+    "name": "travel",
+    "top_posts": 1159,
+    "total_payouts": "66237.472 HBD"
+  },
+  {
+    "comments": 7565,
+    "name": "food",
+    "top_posts": 1373,
+    "total_payouts": "59957.608 HBD"
+  },
+  {
+    "comments": 11430,
+    "name": "introduceyourself",
+    "top_posts": 1214,
+    "total_payouts": "58893.319 HBD"
+  },
+  {
+    "comments": 16286,
+    "name": "photography",
+    "top_posts": 4360,
+    "total_payouts": "53604.656 HBD"
+  },
+  {
+    "comments": 4975,
+    "name": "money",
+    "top_posts": 998,
+    "total_payouts": "42462.388 HBD"
+  },
+  {
+    "comments": 4028,
+    "name": "writing",
+    "top_posts": 807,
+    "total_payouts": "36257.390 HBD"
+  },
+  {
+    "comments": 2890,
+    "name": "bitcoin",
+    "top_posts": 1220,
+    "total_payouts": "31111.750 HBD"
+  },
+  {
+    "comments": 3209,
+    "name": "science",
+    "top_posts": 680,
+    "total_payouts": "25141.041 HBD"
+  },
+  {
+    "comments": 2775,
+    "name": "philosophy",
+    "top_posts": 367,
+    "total_payouts": "24362.939 HBD"
+  },
+  {
+    "comments": 2462,
+    "name": "stats",
+    "top_posts": 91,
+    "total_payouts": "18372.775 HBD"
+  },
+  {
+    "comments": 2456,
+    "name": "health",
+    "top_posts": 674,
+    "total_payouts": "17064.083 HBD"
+  },
+  {
+    "comments": 2572,
+    "name": "anarchy",
+    "top_posts": 495,
+    "total_payouts": "15924.884 HBD"
+  },
+  {
+    "comments": 1674,
+    "name": "poetry",
+    "top_posts": 730,
+    "total_payouts": "15759.524 HBD"
+  },
+  {
+    "comments": 1814,
+    "name": "psychology",
+    "top_posts": 331,
+    "total_payouts": "14600.055 HBD"
+  },
+  {
+    "comments": 259,
+    "name": "steempay",
+    "top_posts": 9,
+    "total_payouts": "14129.178 HBD"
+  },
+  {
+    "comments": 194,
+    "name": "steemmag",
+    "top_posts": 10,
+    "total_payouts": "13869.757 HBD"
+  },
+  {
+    "comments": 3120,
+    "name": "politics",
+    "top_posts": 865,
+    "total_payouts": "13710.443 HBD"
+  },
+  {
+    "comments": 219,
+    "name": "steemfest",
+    "top_posts": 9,
+    "total_payouts": "13168.866 HBD"
+  },
+  {
+    "comments": 772,
+    "name": "bitshares",
+    "top_posts": 93,
+    "total_payouts": "12951.147 HBD"
+  },
+  {
+    "comments": 2183,
+    "name": "music",
+    "top_posts": 1252,
+    "total_payouts": "12512.410 HBD"
+  },
+  {
+    "comments": 493,
+    "name": "beyondbitcoin",
+    "top_posts": 81,
+    "total_payouts": "12040.701 HBD"
+  },
+  {
+    "comments": 2816,
+    "name": "news",
+    "top_posts": 1331,
+    "total_payouts": "11633.625 HBD"
+  },
+  {
+    "comments": 1595,
+    "name": "anarchism",
+    "top_posts": 305,
+    "total_payouts": "9884.861 HBD"
+  },
+  {
+    "comments": 2474,
+    "name": "cn",
+    "top_posts": 775,
+    "total_payouts": "9874.775 HBD"
+  },
+  {
+    "comments": 528,
+    "name": "relationship",
+    "top_posts": 54,
+    "total_payouts": "8794.347 HBD"
+  },
+  {
+    "comments": 103,
+    "name": "typography",
+    "top_posts": 6,
+    "total_payouts": "8422.924 HBD"
+  },
+  {
+    "comments": 384,
+    "name": "ethereum",
+    "top_posts": 161,
+    "total_payouts": "7979.478 HBD"
+  },
+  {
+    "comments": 489,
+    "name": "relationships",
+    "top_posts": 59,
+    "total_payouts": "7776.967 HBD"
+  },
+  {
+    "comments": 825,
+    "name": "technology",
+    "top_posts": 222,
+    "total_payouts": "7513.500 HBD"
+  },
+  {
+    "comments": 1070,
+    "name": "gardening",
+    "top_posts": 177,
+    "total_payouts": "7331.801 HBD"
+  },
+  {
+    "comments": 427,
+    "name": "love",
+    "top_posts": 150,
+    "total_payouts": "7294.338 HBD"
+  },
+  {
+    "comments": 292,
+    "name": "liberty",
+    "top_posts": 55,
+    "total_payouts": "7151.162 HBD"
+  },
+  {
+    "comments": 248,
+    "name": "popularscience",
+    "top_posts": 28,
+    "total_payouts": "6990.931 HBD"
+  },
+  {
+    "comments": 184,
+    "name": "steemcleaners",
+    "top_posts": 12,
+    "total_payouts": "6602.347 HBD"
+  },
+  {
+    "comments": 2107,
+    "name": "deutsch",
+    "top_posts": 406,
+    "total_payouts": "6530.546 HBD"
+  },
+  {
+    "comments": 806,
+    "name": "freedom",
+    "top_posts": 143,
+    "total_payouts": "6285.329 HBD"
+  },
+  {
+    "comments": 436,
+    "name": "witness-category",
+    "top_posts": 28,
+    "total_payouts": "6226.878 HBD"
+  },
+  {
+    "comments": 577,
+    "name": "barrycooper",
+    "top_posts": 17,
+    "total_payouts": "6092.268 HBD"
+  },
+  {
+    "comments": 337,
+    "name": "smoothie",
+    "top_posts": 60,
+    "total_payouts": "5823.376 HBD"
+  },
+  {
+    "comments": 852,
+    "name": "marijuana",
+    "top_posts": 289,
+    "total_payouts": "5811.355 HBD"
+  },
+  {
+    "comments": 387,
+    "name": "fiction",
+    "top_posts": 164,
+    "total_payouts": "5705.237 HBD"
+  },
+  {
+    "comments": 71,
+    "name": "steemdb",
+    "top_posts": 2,
+    "total_payouts": "5626.289 HBD"
+  },
+  {
+    "comments": 1023,
+    "name": "funny",
+    "top_posts": 424,
+    "total_payouts": "5469.398 HBD"
+  },
+  {
+    "comments": 313,
+    "name": "family",
+    "top_posts": 58,
+    "total_payouts": "5421.926 HBD"
+  },
+  {
+    "comments": 1575,
+    "name": "blog",
+    "top_posts": 382,
+    "total_payouts": "5307.805 HBD"
+  },
+  {
+    "comments": 1546,
+    "name": "steemitphotochallenge",
+    "top_posts": 354,
+    "total_payouts": "5270.056 HBD"
+  },
+  {
+    "comments": 629,
+    "name": "recipes",
+    "top_posts": 156,
+    "total_payouts": "5198.084 HBD"
+  },
+  {
+    "comments": 452,
+    "name": "security",
+    "top_posts": 151,
+    "total_payouts": "5174.491 HBD"
+  },
+  {
+    "comments": 222,
+    "name": "curie",
+    "top_posts": 15,
+    "total_payouts": "5080.545 HBD"
+  },
+  {
+    "comments": 203,
+    "name": "steemstats",
+    "top_posts": 6,
+    "total_payouts": "5065.511 HBD"
+  },
+  {
+    "comments": 1045,
+    "name": "steem-help",
+    "top_posts": 100,
+    "total_payouts": "4993.119 HBD"
+  },
+  {
+    "comments": 88,
+    "name": "radiosteem",
+    "top_posts": 2,
+    "total_payouts": "4976.632 HBD"
+  },
+  {
+    "comments": 246,
+    "name": "design",
+    "top_posts": 57,
+    "total_payouts": "4771.680 HBD"
+  },
+  {
+    "comments": 558,
+    "name": "hidden-gems",
+    "top_posts": 35,
+    "total_payouts": "4650.946 HBD"
+  },
+  {
+    "comments": 878,
+    "name": "crypto-news",
+    "top_posts": 253,
+    "total_payouts": "4622.640 HBD"
+  },
+  {
+    "comments": 279,
+    "name": "steemtools",
+    "top_posts": 42,
+    "total_payouts": "4590.787 HBD"
+  },
+  {
+    "comments": 235,
+    "name": "timeforachange",
+    "top_posts": 7,
+    "total_payouts": "4468.859 HBD"
+  },
+  {
+    "comments": 61,
+    "name": "horror",
+    "top_posts": 36,
+    "total_payouts": "4227.490 HBD"
+  },
+  {
+    "comments": 367,
+    "name": "programming",
+    "top_posts": 39,
+    "total_payouts": "3950.916 HBD"
+  },
+  {
+    "comments": 387,
+    "name": "mathematics",
+    "top_posts": 73,
+    "total_payouts": "3888.496 HBD"
+  },
+  {
+    "comments": 350,
+    "name": "secret-writer",
+    "top_posts": 26,
+    "total_payouts": "3457.916 HBD"
+  },
+  {
+    "comments": 2374,
+    "name": "ru",
+    "top_posts": 621,
+    "total_payouts": "3449.635 HBD"
+  },
+  {
+    "comments": 238,
+    "name": "education",
+    "top_posts": 55,
+    "total_payouts": "3409.264 HBD"
+  },
+  {
+    "comments": 923,
+    "name": "halo",
+    "top_posts": 80,
+    "total_payouts": "3268.063 HBD"
+  },
+  {
+    "comments": 732,
+    "name": "synereo",
+    "top_posts": 35,
+    "total_payouts": "3243.397 HBD"
+  },
+  {
+    "comments": 192,
+    "name": "esteem",
+    "top_posts": 14,
+    "total_payouts": "3080.537 HBD"
+  },
+  {
+    "comments": 322,
+    "name": "sex",
+    "top_posts": 86,
+    "total_payouts": "3062.421 HBD"
+  },
+  {
+    "comments": 742,
+    "name": "contest",
+    "top_posts": 26,
+    "total_payouts": "3040.468 HBD"
+  },
+  {
+    "comments": 430,
+    "name": "robinhoodwhale",
+    "top_posts": 35,
+    "total_payouts": "2937.890 HBD"
+  },
+  {
+    "comments": 486,
+    "name": "history",
+    "top_posts": 146,
+    "total_payouts": "2906.318 HBD"
+  },
+  {
+    "comments": 208,
+    "name": "books",
+    "top_posts": 27,
+    "total_payouts": "2795.404 HBD"
+  },
+  {
+    "comments": 104,
+    "name": "free-society",
+    "top_posts": 1,
+    "total_payouts": "2736.133 HBD"
+  },
+  {
+    "comments": 341,
+    "name": "business",
+    "top_posts": 127,
+    "total_payouts": "2623.267 HBD"
+  },
+  {
+    "comments": 136,
+    "name": "astronomy",
+    "top_posts": 21,
+    "total_payouts": "2622.019 HBD"
+  },
+  {
+    "comments": 308,
+    "name": "steemitcryptochallenge",
+    "top_posts": 9,
+    "total_payouts": "2599.908 HBD"
+  },
+  {
+    "comments": 81,
+    "name": "inspiration",
+    "top_posts": 29,
+    "total_payouts": "2579.695 HBD"
+  },
+  {
+    "comments": 224,
+    "name": "coffee",
+    "top_posts": 46,
+    "total_payouts": "2544.160 HBD"
+  },
+  {
+    "comments": 63,
+    "name": "spotlight",
+    "top_posts": 3,
+    "total_payouts": "2540.410 HBD"
+  },
+  {
+    "comments": 157,
+    "name": "bounties",
+    "top_posts": 10,
+    "total_payouts": "2528.557 HBD"
+  },
+  {
+    "comments": 255,
+    "name": "government",
+    "top_posts": 35,
+    "total_payouts": "2524.973 HBD"
+  },
+  {
+    "comments": 212,
+    "name": "beauty",
+    "top_posts": 44,
+    "total_payouts": "2496.898 HBD"
+  },
+  {
+    "comments": 62,
+    "name": "future-food",
+    "top_posts": 3,
+    "total_payouts": "2486.951 HBD"
+  },
+  {
+    "comments": 75,
+    "name": "netocracy",
+    "top_posts": 1,
+    "total_payouts": "2471.783 HBD"
+  },
+  {
+    "comments": 52,
+    "name": "smartcontracts",
+    "top_posts": 2,
+    "total_payouts": "2413.689 HBD"
+  },
+  {
+    "comments": 95,
+    "name": "steemit-future",
+    "top_posts": 2,
+    "total_payouts": "2413.400 HBD"
+  },
+  {
+    "comments": 639,
+    "name": "sports",
+    "top_posts": 361,
+    "total_payouts": "2413.131 HBD"
+  },
+  {
+    "comments": 204,
+    "name": "yoga",
+    "top_posts": 28,
+    "total_payouts": "2398.416 HBD"
+  },
+  {
+    "comments": 86,
+    "name": "aircraft",
+    "top_posts": 10,
+    "total_payouts": "2363.574 HBD"
+  },
+  {
+    "comments": 171,
+    "name": "capitalism",
+    "top_posts": 24,
+    "total_payouts": "2351.679 HBD"
+  },
+  {
+    "comments": 121,
+    "name": "motocross",
+    "top_posts": 7,
+    "total_payouts": "2336.718 HBD"
+  },
+  {
+    "comments": 177,
+    "name": "steemmobile",
+    "top_posts": 5,
+    "total_payouts": "2272.704 HBD"
+  },
+  {
+    "comments": 28,
+    "name": "chess",
+    "top_posts": 5,
+    "total_payouts": "2250.335 HBD"
+  },
+  {
+    "comments": 539,
+    "name": "cryptocurrency",
+    "top_posts": 202,
+    "total_payouts": "2247.862 HBD"
+  },
+  {
+    "comments": 458,
+    "name": "gaming",
+    "top_posts": 150,
+    "total_payouts": "2231.979 HBD"
+  },
+  {
+    "comments": 93,
+    "name": "women",
+    "top_posts": 23,
+    "total_payouts": "2222.873 HBD"
+  },
+  {
+    "comments": 236,
+    "name": "space",
+    "top_posts": 90,
+    "total_payouts": "2180.277 HBD"
+  },
+  {
+    "comments": 532,
+    "name": "foodchallenge",
+    "top_posts": 55,
+    "total_payouts": "2165.606 HBD"
+  },
+  {
+    "comments": 268,
+    "name": "steemitabuse",
+    "top_posts": 16,
+    "total_payouts": "2141.105 HBD"
+  },
+  {
+    "comments": 208,
+    "name": "bees",
+    "top_posts": 20,
+    "total_payouts": "2123.400 HBD"
+  },
+  {
+    "comments": 356,
+    "name": "introduction",
+    "top_posts": 100,
+    "total_payouts": "2116.358 HBD"
+  },
+  {
+    "comments": 148,
+    "name": "meetup",
+    "top_posts": 11,
+    "total_payouts": "2074.725 HBD"
+  },
+  {
+    "comments": 921,
+    "name": "religion",
+    "top_posts": 183,
+    "total_payouts": "2063.230 HBD"
+  },
+  {
+    "comments": 16,
+    "name": "croatia",
+    "top_posts": 1,
+    "total_payouts": "2061.013 HBD"
+  },
+  {
+    "comments": 54,
+    "name": "parenthood",
+    "top_posts": 3,
+    "total_payouts": "2047.045 HBD"
+  },
+  {
+    "comments": 43,
+    "name": "peerplays",
+    "top_posts": 6,
+    "total_payouts": "2021.585 HBD"
+  },
+  {
+    "comments": 105,
+    "name": "libertarianism",
+    "top_posts": 10,
+    "total_payouts": "1846.648 HBD"
+  },
+  {
+    "comments": 62,
+    "name": "piston",
+    "top_posts": 7,
+    "total_payouts": "1843.175 HBD"
+  },
+  {
+    "comments": 135,
+    "name": "bounty",
+    "top_posts": 10,
+    "total_payouts": "1833.545 HBD"
+  },
+  {
+    "comments": 630,
+    "name": "feminism",
+    "top_posts": 37,
+    "total_payouts": "1818.315 HBD"
+  },
+  {
+    "comments": 1132,
+    "name": "kr",
+    "top_posts": 349,
+    "total_payouts": "1813.841 HBD"
+  },
+  {
+    "comments": 142,
+    "name": "success",
+    "top_posts": 40,
+    "total_payouts": "1792.986 HBD"
+  },
+  {
+    "comments": 123,
+    "name": "law",
+    "top_posts": 31,
+    "total_payouts": "1768.877 HBD"
+  },
+  {
+    "comments": 47,
+    "name": "military",
+    "top_posts": 15,
+    "total_payouts": "1758.522 HBD"
+  },
+  {
+    "comments": 30,
+    "name": "cannabisoil",
+    "top_posts": 1,
+    "total_payouts": "1746.955 HBD"
+  },
+  {
+    "comments": 120,
+    "name": "entrepreneurship",
+    "top_posts": 16,
+    "total_payouts": "1726.302 HBD"
+  },
+  {
+    "comments": 138,
+    "name": "scifi",
+    "top_posts": 47,
+    "total_payouts": "1693.635 HBD"
+  },
+  {
+    "comments": 624,
+    "name": "censorship",
+    "top_posts": 28,
+    "total_payouts": "1689.398 HBD"
+  },
+  {
+    "comments": 68,
+    "name": "cryptocapitalism",
+    "top_posts": 1,
+    "total_payouts": "1686.949 HBD"
+  },
+  {
+    "comments": 160,
+    "name": "abortion",
+    "top_posts": 7,
+    "total_payouts": "1686.180 HBD"
+  },
+  {
+    "comments": 28,
+    "name": "archaeology",
+    "top_posts": 2,
+    "total_payouts": "1678.498 HBD"
+  },
+  {
+    "comments": 72,
+    "name": "wallpaper",
+    "top_posts": 27,
+    "total_payouts": "1663.943 HBD"
+  },
+  {
+    "comments": 102,
+    "name": "cocktails",
+    "top_posts": 7,
+    "total_payouts": "1569.236 HBD"
+  },
+  {
+    "comments": 34,
+    "name": "steemapp",
+    "top_posts": 3,
+    "total_payouts": "1546.429 HBD"
+  },
+  {
+    "comments": 36,
+    "name": "corporate-identity",
+    "top_posts": 2,
+    "total_payouts": "1541.593 HBD"
+  },
+  {
+    "comments": 316,
+    "name": "comedy",
+    "top_posts": 91,
+    "total_payouts": "1528.309 HBD"
+  },
+  {
+    "comments": 185,
+    "name": "statism",
+    "top_posts": 10,
+    "total_payouts": "1519.178 HBD"
+  },
+  {
+    "comments": 78,
+    "name": "fire",
+    "top_posts": 9,
+    "total_payouts": "1518.740 HBD"
+  },
+  {
+    "comments": 142,
+    "name": "dance",
+    "top_posts": 21,
+    "total_payouts": "1492.334 HBD"
+  },
+  {
+    "comments": 21,
+    "name": "steemit-promo",
+    "top_posts": 3,
+    "total_payouts": "1419.522 HBD"
+  },
+  {
+    "comments": 128,
+    "name": "privacy",
+    "top_posts": 23,
+    "total_payouts": "1412.728 HBD"
+  },
+  {
+    "comments": 550,
+    "name": "blockchain",
+    "top_posts": 251,
+    "total_payouts": "1411.995 HBD"
+  },
+  {
+    "comments": 631,
+    "name": "cartoon",
+    "top_posts": 78,
+    "total_payouts": "1390.428 HBD"
+  },
+  {
+    "comments": 76,
+    "name": "china",
+    "top_posts": 21,
+    "total_payouts": "1385.042 HBD"
+  },
+  {
+    "comments": 65,
+    "name": "barrycooperlifeseries",
+    "top_posts": 3,
+    "total_payouts": "1384.523 HBD"
+  },
+  {
+    "comments": 145,
+    "name": "cars",
+    "top_posts": 50,
+    "total_payouts": "1362.283 HBD"
+  },
+  {
+    "comments": 124,
+    "name": "depression",
+    "top_posts": 19,
+    "total_payouts": "1357.808 HBD"
+  },
+  {
+    "comments": 554,
+    "name": "spanish",
+    "top_posts": 215,
+    "total_payouts": "1355.278 HBD"
+  },
+  {
+    "comments": 78,
+    "name": "languages",
+    "top_posts": 18,
+    "total_payouts": "1343.656 HBD"
+  },
+  {
+    "comments": 250,
+    "name": "steem-stats",
+    "top_posts": 22,
+    "total_payouts": "1340.069 HBD"
+  },
+  {
+    "comments": 45,
+    "name": "artificial-intelligence",
+    "top_posts": 1,
+    "total_payouts": "1327.283 HBD"
+  },
+  {
+    "comments": 444,
+    "name": "nature",
+    "top_posts": 162,
+    "total_payouts": "1323.404 HBD"
+  },
+  {
+    "comments": 310,
+    "name": "economics",
+    "top_posts": 95,
+    "total_payouts": "1297.199 HBD"
+  },
+  {
+    "comments": 71,
+    "name": "startups",
+    "top_posts": 17,
+    "total_payouts": "1285.772 HBD"
+  },
+  {
+    "comments": 33,
+    "name": "quinneaker",
+    "top_posts": 1,
+    "total_payouts": "1283.648 HBD"
+  },
+  {
+    "comments": 15,
+    "name": "steemaway",
+    "top_posts": 4,
+    "total_payouts": "1283.254 HBD"
+  },
+  {
+    "comments": 86,
+    "name": "nevergetbusted",
+    "top_posts": 4,
+    "total_payouts": "1282.762 HBD"
+  },
+  {
+    "comments": 87,
+    "name": "drugs",
+    "top_posts": 35,
+    "total_payouts": "1276.025 HBD"
+  },
+  {
+    "comments": 173,
+    "name": "recipe",
+    "top_posts": 45,
+    "total_payouts": "1259.546 HBD"
+  },
+  {
+    "comments": 38,
+    "name": "step",
+    "top_posts": 1,
+    "total_payouts": "1241.064 HBD"
+  },
+  {
+    "comments": 73,
+    "name": "steemit-bots",
+    "top_posts": 3,
+    "total_payouts": "1240.715 HBD"
+  },
+  {
+    "comments": 136,
+    "name": "poker",
+    "top_posts": 22,
+    "total_payouts": "1230.230 HBD"
+  },
+  {
+    "comments": 19,
+    "name": "orphanage",
+    "top_posts": 2,
+    "total_payouts": "1230.150 HBD"
+  },
+  {
+    "comments": 60,
+    "name": "sciencefiction",
+    "top_posts": 16,
+    "total_payouts": "1216.597 HBD"
+  },
+  {
+    "comments": 60,
+    "name": "planes",
+    "top_posts": 2,
+    "total_payouts": "1193.122 HBD"
+  },
+  {
+    "comments": 58,
+    "name": "mondaymotivation",
+    "top_posts": 1,
+    "total_payouts": "1189.807 HBD"
+  },
+  {
+    "comments": 210,
+    "name": "steemitartchallenge",
+    "top_posts": 22,
+    "total_payouts": "1184.856 HBD"
+  },
+  {
+    "comments": 23,
+    "name": "branding",
+    "top_posts": 3,
+    "total_payouts": "1163.726 HBD"
+  },
+  {
+    "comments": 14,
+    "name": "namecoin",
+    "top_posts": 1,
+    "total_payouts": "1162.784 HBD"
+  },
+  {
+    "comments": 14,
+    "name": "greensmoothie",
+    "top_posts": 1,
+    "total_payouts": "1159.382 HBD"
+  },
+  {
+    "comments": 53,
+    "name": "masterclass",
+    "top_posts": 1,
+    "total_payouts": "1155.452 HBD"
+  },
+  {
+    "comments": 339,
+    "name": "crazychallenge",
+    "top_posts": 16,
+    "total_payouts": "1148.360 HBD"
+  },
+  {
+    "comments": 130,
+    "name": "patriotism",
+    "top_posts": 4,
+    "total_payouts": "1144.155 HBD"
+  },
+  {
+    "comments": 9,
+    "name": "experiences",
+    "top_posts": 1,
+    "total_payouts": "1141.359 HBD"
+  },
+  {
+    "comments": 209,
+    "name": "parenting",
+    "top_posts": 52,
+    "total_payouts": "1137.434 HBD"
+  },
+  {
+    "comments": 22,
+    "name": "maps",
+    "top_posts": 2,
+    "total_payouts": "1086.955 HBD"
+  },
+  {
+    "comments": 54,
+    "name": "interview",
+    "top_posts": 9,
+    "total_payouts": "1061.108 HBD"
+  },
+  {
+    "comments": 205,
+    "name": "lgbt",
+    "top_posts": 10,
+    "total_payouts": "1051.553 HBD"
+  },
+  {
+    "comments": 397,
+    "name": "steememe",
+    "top_posts": 17,
+    "total_payouts": "1047.010 HBD"
+  },
+  {
+    "comments": 183,
+    "name": "games",
+    "top_posts": 92,
+    "total_payouts": "1045.245 HBD"
+  },
+  {
+    "comments": 199,
+    "name": "whales",
+    "top_posts": 11,
+    "total_payouts": "1027.082 HBD"
+  },
+  {
+    "comments": 82,
+    "name": "steemloto",
+    "top_posts": 19,
+    "total_payouts": "1001.670 HBD"
+  },
+  {
+    "comments": 86,
+    "name": "movies",
+    "top_posts": 97,
+    "total_payouts": "991.152 HBD"
+  },
+  {
+    "comments": 318,
+    "name": "cannabis",
+    "top_posts": 75,
+    "total_payouts": "989.179 HBD"
+  },
+  {
+    "comments": 7,
+    "name": "roadtrip",
+    "top_posts": 3,
+    "total_payouts": "984.613 HBD"
+  },
+  {
+    "comments": 51,
+    "name": "olympics",
+    "top_posts": 32,
+    "total_payouts": "975.185 HBD"
+  },
+  {
+    "comments": 41,
+    "name": "rejuvenation",
+    "top_posts": 1,
+    "total_payouts": "972.164 HBD"
+  },
+  {
+    "comments": 32,
+    "name": "book",
+    "top_posts": 13,
+    "total_payouts": "950.319 HBD"
+  },
+  {
+    "comments": 125,
+    "name": "lifehack",
+    "top_posts": 17,
+    "total_payouts": "938.461 HBD"
+  },
+  {
+    "comments": 35,
+    "name": "onecoin",
+    "top_posts": 5,
+    "total_payouts": "933.072 HBD"
+  },
+  {
+    "comments": 213,
+    "name": "steemimg",
+    "top_posts": 9,
+    "total_payouts": "923.278 HBD"
+  },
+  {
+    "comments": 37,
+    "name": "solar",
+    "top_posts": 11,
+    "total_payouts": "921.080 HBD"
+  },
+  {
+    "comments": 119,
+    "name": "war",
+    "top_posts": 36,
+    "total_payouts": "894.761 HBD"
+  },
+  {
+    "comments": 96,
+    "name": "film",
+    "top_posts": 30,
+    "total_payouts": "893.324 HBD"
+  },
+  {
+    "comments": 77,
+    "name": "reputation",
+    "top_posts": 11,
+    "total_payouts": "890.502 HBD"
+  },
+  {
+    "comments": 55,
+    "name": "veterans",
+    "top_posts": 21,
+    "total_payouts": "880.787 HBD"
+  },
+  {
+    "comments": 39,
+    "name": "hyperinflation",
+    "top_posts": 2,
+    "total_payouts": "869.633 HBD"
+  },
+  {
+    "comments": 35,
+    "name": "engineering",
+    "top_posts": 14,
+    "total_payouts": "850.600 HBD"
+  },
+  {
+    "comments": 57,
+    "name": "hypnosis",
+    "top_posts": 6,
+    "total_payouts": "842.688 HBD"
+  },
+  {
+    "comments": 79,
+    "name": "lifestyle",
+    "top_posts": 25,
+    "total_payouts": "838.685 HBD"
+  },
+  {
+    "comments": 112,
+    "name": "steem-price",
+    "top_posts": 3,
+    "total_payouts": "822.595 HBD"
+  },
+  {
+    "comments": 209,
+    "name": "howto",
+    "top_posts": 16,
+    "total_payouts": "814.379 HBD"
+  },
+  {
+    "comments": 29,
+    "name": "utopia",
+    "top_posts": 2,
+    "total_payouts": "812.018 HBD"
+  },
+  {
+    "comments": 97,
+    "name": "cooking",
+    "top_posts": 14,
+    "total_payouts": "805.422 HBD"
+  },
+  {
+    "comments": 164,
+    "name": "plagiarism",
+    "top_posts": 14,
+    "total_payouts": "794.189 HBD"
+  },
+  {
+    "comments": 26,
+    "name": "thankyou",
+    "top_posts": 4,
+    "total_payouts": "782.076 HBD"
+  },
+  {
+    "comments": 17,
+    "name": "underground",
+    "top_posts": 1,
+    "total_payouts": "768.880 HBD"
+  },
+  {
+    "comments": 55,
+    "name": "guide",
+    "top_posts": 3,
+    "total_payouts": "756.579 HBD"
+  },
+  {
+    "comments": 21,
+    "name": "agriculture",
+    "top_posts": 6,
+    "total_payouts": "755.119 HBD"
+  },
+  {
+    "comments": 29,
+    "name": "moviereview",
+    "top_posts": 32,
+    "total_payouts": "752.046 HBD"
+  },
+  {
+    "comments": 32,
+    "name": "hiking",
+    "top_posts": 3,
+    "total_payouts": "745.729 HBD"
+  },
+  {
+    "comments": 71,
+    "name": "barry",
+    "top_posts": 2,
+    "total_payouts": "741.548 HBD"
+  },
+  {
+    "comments": 231,
+    "name": "curation",
+    "top_posts": 18,
+    "total_payouts": "739.822 HBD"
+  },
+  {
+    "comments": 224,
+    "name": "voluntaryism",
+    "top_posts": 50,
+    "total_payouts": "739.347 HBD"
+  },
+  {
+    "comments": 26,
+    "name": "healthebern",
+    "top_posts": 1,
+    "total_payouts": "730.370 HBD"
+  },
+  {
+    "comments": 89,
+    "name": "diy",
+    "top_posts": 26,
+    "total_payouts": "727.586 HBD"
+  },
+  {
+    "comments": 53,
+    "name": "voluntarism",
+    "top_posts": 5,
+    "total_payouts": "727.482 HBD"
+  },
+  {
+    "comments": 32,
+    "name": "logic",
+    "top_posts": 6,
+    "total_payouts": "727.146 HBD"
+  },
+  {
+    "comments": 21,
+    "name": "media",
+    "top_posts": 18,
+    "total_payouts": "724.421 HBD"
+  },
+  {
+    "comments": 112,
+    "name": "animalrescue",
+    "top_posts": 5,
+    "total_payouts": "709.469 HBD"
+  },
+  {
+    "comments": 129,
+    "name": "academia",
+    "top_posts": 9,
+    "total_payouts": "703.964 HBD"
+  },
+  {
+    "comments": 30,
+    "name": "steemit-marketing",
+    "top_posts": 1,
+    "total_payouts": "702.994 HBD"
+  },
+  {
+    "comments": 56,
+    "name": "steemithelp",
+    "top_posts": 6,
+    "total_payouts": "698.859 HBD"
+  },
+  {
+    "comments": 36,
+    "name": "geoengineering",
+    "top_posts": 8,
+    "total_payouts": "686.560 HBD"
+  },
+  {
+    "comments": 30,
+    "name": "biology",
+    "top_posts": 5,
+    "total_payouts": "682.850 HBD"
+  },
+  {
+    "comments": 60,
+    "name": "culture",
+    "top_posts": 11,
+    "total_payouts": "677.724 HBD"
+  },
+  {
+    "comments": 22,
+    "name": "psych",
+    "top_posts": 9,
+    "total_payouts": "669.179 HBD"
+  },
+  {
+    "comments": 565,
+    "name": "introducemyself",
+    "top_posts": 90,
+    "total_payouts": "641.593 HBD"
+  },
+  {
+    "comments": 161,
+    "name": "nameinlights",
+    "top_posts": 16,
+    "total_payouts": "639.539 HBD"
+  },
+  {
+    "comments": 101,
+    "name": "fishing",
+    "top_posts": 26,
+    "total_payouts": "638.739 HBD"
+  },
+  {
+    "comments": 491,
+    "name": "steemocracy",
+    "top_posts": 13,
+    "total_payouts": "637.868 HBD"
+  },
+  {
+    "comments": 56,
+    "name": "architecture",
+    "top_posts": 17,
+    "total_payouts": "631.268 HBD"
+  },
+  {
+    "comments": 39,
+    "name": "vaccines",
+    "top_posts": 16,
+    "total_payouts": "623.039 HBD"
+  },
+  {
+    "comments": 15,
+    "name": "dogecoin",
+    "top_posts": 8,
+    "total_payouts": "623.001 HBD"
+  },
+  {
+    "comments": 123,
+    "name": "crypto",
+    "top_posts": 66,
+    "total_payouts": "622.609 HBD"
+  },
+  {
+    "comments": 32,
+    "name": "terrorism",
+    "top_posts": 9,
+    "total_payouts": "615.589 HBD"
+  },
+  {
+    "comments": 50,
+    "name": "movie",
+    "top_posts": 38,
+    "total_payouts": "612.421 HBD"
+  },
+  {
+    "comments": 36,
+    "name": "riots",
+    "top_posts": 1,
+    "total_payouts": "611.266 HBD"
+  },
+  {
+    "comments": 50,
+    "name": "barrycooperstory",
+    "top_posts": 1,
+    "total_payouts": "604.714 HBD"
+  },
+  {
+    "comments": 31,
+    "name": "mmog",
+    "top_posts": 2,
+    "total_payouts": "603.249 HBD"
+  },
+  {
+    "comments": 22,
+    "name": "mental",
+    "top_posts": 6,
+    "total_payouts": "596.054 HBD"
+  },
+  {
+    "comments": 16,
+    "name": "apology",
+    "top_posts": 2,
+    "total_payouts": "593.967 HBD"
+  },
+  {
+    "comments": 138,
+    "name": "homeless",
+    "top_posts": 18,
+    "total_payouts": "592.492 HBD"
+  },
+  {
+    "comments": 13,
+    "name": "ripple",
+    "top_posts": 3,
+    "total_payouts": "589.809 HBD"
+  },
+  {
+    "comments": 37,
+    "name": "running",
+    "top_posts": 10,
+    "total_payouts": "586.739 HBD"
+  },
+  {
+    "comments": 38,
+    "name": "magic",
+    "top_posts": 5,
+    "total_payouts": "585.657 HBD"
+  },
+  {
+    "comments": 55,
+    "name": "animal",
+    "top_posts": 37,
+    "total_payouts": "582.829 HBD"
+  },
+  {
+    "comments": 15,
+    "name": "psychotherapy",
+    "top_posts": 2,
+    "total_payouts": "575.494 HBD"
+  },
+  {
+    "comments": 215,
+    "name": "gold",
+    "top_posts": 96,
+    "total_payouts": "572.066 HBD"
+  },
+  {
+    "comments": 116,
+    "name": "analytics",
+    "top_posts": 14,
+    "total_payouts": "569.108 HBD"
+  },
+  {
+    "comments": 15,
+    "name": "dancing",
+    "top_posts": 2,
+    "total_payouts": "567.140 HBD"
+  },
+  {
+    "comments": 41,
+    "name": "consciousness",
+    "top_posts": 13,
+    "total_payouts": "564.531 HBD"
+  },
+  {
+    "comments": 27,
+    "name": "banking",
+    "top_posts": 14,
+    "total_payouts": "559.777 HBD"
+  },
+  {
+    "comments": 262,
+    "name": "video",
+    "top_posts": 252,
+    "total_payouts": "558.854 HBD"
+  },
+  {
+    "comments": 68,
+    "name": "steemfit",
+    "top_posts": 5,
+    "total_payouts": "554.351 HBD"
+  },
+  {
+    "comments": 26,
+    "name": "steemtattoo",
+    "top_posts": 1,
+    "total_payouts": "546.379 HBD"
+  }
+]
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/max_limit.pat.json b/hivemind/tavern/condenser_api_patterns/get_trending_tags/max_limit.pat.json
new file mode 100644
index 00000000..a273fc43
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/max_limit.pat.json
@@ -0,0 +1,1502 @@
+[
+  {
+    "comments": 22453,
+    "name": "life",
+    "top_posts": 3950,
+    "total_payouts": "214320.565 HBD"
+  },
+  {
+    "comments": 38732,
+    "name": "steemit",
+    "top_posts": 5170,
+    "total_payouts": "166296.318 HBD"
+  },
+  {
+    "comments": 4907,
+    "name": "story",
+    "top_posts": 1085,
+    "total_payouts": "112495.599 HBD"
+  },
+  {
+    "comments": 13153,
+    "name": "art",
+    "top_posts": 2745,
+    "total_payouts": "106519.079 HBD"
+  },
+  {
+    "comments": 10141,
+    "name": "steem",
+    "top_posts": 1158,
+    "total_payouts": "82690.698 HBD"
+  },
+  {
+    "comments": 5633,
+    "name": "travel",
+    "top_posts": 1159,
+    "total_payouts": "66264.303 HBD"
+  },
+  {
+    "comments": 7565,
+    "name": "food",
+    "top_posts": 1373,
+    "total_payouts": "60027.406 HBD"
+  },
+  {
+    "comments": 11430,
+    "name": "introduceyourself",
+    "top_posts": 1214,
+    "total_payouts": "59086.068 HBD"
+  },
+  {
+    "comments": 16286,
+    "name": "photography",
+    "top_posts": 4360,
+    "total_payouts": "53799.666 HBD"
+  },
+  {
+    "comments": 4975,
+    "name": "money",
+    "top_posts": 998,
+    "total_payouts": "42587.156 HBD"
+  },
+  {
+    "comments": 4028,
+    "name": "writing",
+    "top_posts": 807,
+    "total_payouts": "36298.568 HBD"
+  },
+  {
+    "comments": 2890,
+    "name": "bitcoin",
+    "top_posts": 1220,
+    "total_payouts": "31135.659 HBD"
+  },
+  {
+    "comments": 3209,
+    "name": "science",
+    "top_posts": 680,
+    "total_payouts": "25165.249 HBD"
+  },
+  {
+    "comments": 2775,
+    "name": "philosophy",
+    "top_posts": 367,
+    "total_payouts": "24387.618 HBD"
+  },
+  {
+    "comments": 2462,
+    "name": "stats",
+    "top_posts": 91,
+    "total_payouts": "18385.027 HBD"
+  },
+  {
+    "comments": 2456,
+    "name": "health",
+    "top_posts": 674,
+    "total_payouts": "17264.738 HBD"
+  },
+  {
+    "comments": 2572,
+    "name": "anarchy",
+    "top_posts": 495,
+    "total_payouts": "16002.289 HBD"
+  },
+  {
+    "comments": 1674,
+    "name": "poetry",
+    "top_posts": 730,
+    "total_payouts": "15772.566 HBD"
+  },
+  {
+    "comments": 1814,
+    "name": "psychology",
+    "top_posts": 331,
+    "total_payouts": "14676.858 HBD"
+  },
+  {
+    "comments": 259,
+    "name": "steempay",
+    "top_posts": 9,
+    "total_payouts": "14131.853 HBD"
+  },
+  {
+    "comments": 194,
+    "name": "steemmag",
+    "top_posts": 10,
+    "total_payouts": "13871.004 HBD"
+  },
+  {
+    "comments": 3120,
+    "name": "politics",
+    "top_posts": 865,
+    "total_payouts": "13736.530 HBD"
+  },
+  {
+    "comments": 219,
+    "name": "steemfest",
+    "top_posts": 9,
+    "total_payouts": "13168.912 HBD"
+  },
+  {
+    "comments": 772,
+    "name": "bitshares",
+    "top_posts": 93,
+    "total_payouts": "12998.738 HBD"
+  },
+  {
+    "comments": 2183,
+    "name": "music",
+    "top_posts": 1252,
+    "total_payouts": "12551.456 HBD"
+  },
+  {
+    "comments": 493,
+    "name": "beyondbitcoin",
+    "top_posts": 81,
+    "total_payouts": "12188.358 HBD"
+  },
+  {
+    "comments": 2816,
+    "name": "news",
+    "top_posts": 1331,
+    "total_payouts": "11689.367 HBD"
+  },
+  {
+    "comments": 1595,
+    "name": "anarchism",
+    "top_posts": 305,
+    "total_payouts": "9900.405 HBD"
+  },
+  {
+    "comments": 2474,
+    "name": "cn",
+    "top_posts": 775,
+    "total_payouts": "9891.284 HBD"
+  },
+  {
+    "comments": 528,
+    "name": "relationship",
+    "top_posts": 54,
+    "total_payouts": "8826.590 HBD"
+  },
+  {
+    "comments": 103,
+    "name": "typography",
+    "top_posts": 6,
+    "total_payouts": "8423.125 HBD"
+  },
+  {
+    "comments": 384,
+    "name": "ethereum",
+    "top_posts": 161,
+    "total_payouts": "7980.851 HBD"
+  },
+  {
+    "comments": 489,
+    "name": "relationships",
+    "top_posts": 59,
+    "total_payouts": "7777.652 HBD"
+  },
+  {
+    "comments": 825,
+    "name": "technology",
+    "top_posts": 222,
+    "total_payouts": "7516.701 HBD"
+  },
+  {
+    "comments": 1070,
+    "name": "gardening",
+    "top_posts": 177,
+    "total_payouts": "7341.496 HBD"
+  },
+  {
+    "comments": 427,
+    "name": "love",
+    "top_posts": 150,
+    "total_payouts": "7304.184 HBD"
+  },
+  {
+    "comments": 292,
+    "name": "liberty",
+    "top_posts": 55,
+    "total_payouts": "7151.662 HBD"
+  },
+  {
+    "comments": 248,
+    "name": "popularscience",
+    "top_posts": 28,
+    "total_payouts": "6994.397 HBD"
+  },
+  {
+    "comments": 184,
+    "name": "steemcleaners",
+    "top_posts": 12,
+    "total_payouts": "6609.242 HBD"
+  },
+  {
+    "comments": 2107,
+    "name": "deutsch",
+    "top_posts": 406,
+    "total_payouts": "6566.898 HBD"
+  },
+  {
+    "comments": 806,
+    "name": "freedom",
+    "top_posts": 143,
+    "total_payouts": "6306.624 HBD"
+  },
+  {
+    "comments": 436,
+    "name": "witness-category",
+    "top_posts": 28,
+    "total_payouts": "6262.071 HBD"
+  },
+  {
+    "comments": 577,
+    "name": "barrycooper",
+    "top_posts": 17,
+    "total_payouts": "6093.375 HBD"
+  },
+  {
+    "comments": 337,
+    "name": "smoothie",
+    "top_posts": 60,
+    "total_payouts": "6019.430 HBD"
+  },
+  {
+    "comments": 852,
+    "name": "marijuana",
+    "top_posts": 289,
+    "total_payouts": "5973.331 HBD"
+  },
+  {
+    "comments": 387,
+    "name": "fiction",
+    "top_posts": 164,
+    "total_payouts": "5706.195 HBD"
+  },
+  {
+    "comments": 71,
+    "name": "steemdb",
+    "top_posts": 2,
+    "total_payouts": "5623.121 HBD"
+  },
+  {
+    "comments": 1023,
+    "name": "funny",
+    "top_posts": 424,
+    "total_payouts": "5477.142 HBD"
+  },
+  {
+    "comments": 1546,
+    "name": "steemitphotochallenge",
+    "top_posts": 354,
+    "total_payouts": "5431.249 HBD"
+  },
+  {
+    "comments": 313,
+    "name": "family",
+    "top_posts": 58,
+    "total_payouts": "5422.867 HBD"
+  },
+  {
+    "comments": 1575,
+    "name": "blog",
+    "top_posts": 382,
+    "total_payouts": "5314.224 HBD"
+  },
+  {
+    "comments": 629,
+    "name": "recipes",
+    "top_posts": 156,
+    "total_payouts": "5199.274 HBD"
+  },
+  {
+    "comments": 452,
+    "name": "security",
+    "top_posts": 151,
+    "total_payouts": "5179.020 HBD"
+  },
+  {
+    "comments": 222,
+    "name": "curie",
+    "top_posts": 15,
+    "total_payouts": "5069.949 HBD"
+  },
+  {
+    "comments": 203,
+    "name": "steemstats",
+    "top_posts": 6,
+    "total_payouts": "5063.413 HBD"
+  },
+  {
+    "comments": 1045,
+    "name": "steem-help",
+    "top_posts": 100,
+    "total_payouts": "5005.504 HBD"
+  },
+  {
+    "comments": 88,
+    "name": "radiosteem",
+    "top_posts": 2,
+    "total_payouts": "4980.086 HBD"
+  },
+  {
+    "comments": 246,
+    "name": "design",
+    "top_posts": 57,
+    "total_payouts": "4772.055 HBD"
+  },
+  {
+    "comments": 558,
+    "name": "hidden-gems",
+    "top_posts": 35,
+    "total_payouts": "4653.318 HBD"
+  },
+  {
+    "comments": 878,
+    "name": "crypto-news",
+    "top_posts": 253,
+    "total_payouts": "4647.280 HBD"
+  },
+  {
+    "comments": 279,
+    "name": "steemtools",
+    "top_posts": 42,
+    "total_payouts": "4591.370 HBD"
+  },
+  {
+    "comments": 235,
+    "name": "timeforachange",
+    "top_posts": 7,
+    "total_payouts": "4474.497 HBD"
+  },
+  {
+    "comments": 61,
+    "name": "horror",
+    "top_posts": 36,
+    "total_payouts": "4228.728 HBD"
+  },
+  {
+    "comments": 367,
+    "name": "programming",
+    "top_posts": 39,
+    "total_payouts": "3956.963 HBD"
+  },
+  {
+    "comments": 387,
+    "name": "mathematics",
+    "top_posts": 73,
+    "total_payouts": "3889.877 HBD"
+  },
+  {
+    "comments": 350,
+    "name": "secret-writer",
+    "top_posts": 26,
+    "total_payouts": "3474.103 HBD"
+  },
+  {
+    "comments": 2374,
+    "name": "ru",
+    "top_posts": 621,
+    "total_payouts": "3456.645 HBD"
+  },
+  {
+    "comments": 238,
+    "name": "education",
+    "top_posts": 55,
+    "total_payouts": "3409.780 HBD"
+  },
+  {
+    "comments": 923,
+    "name": "halo",
+    "top_posts": 80,
+    "total_payouts": "3270.718 HBD"
+  },
+  {
+    "comments": 732,
+    "name": "synereo",
+    "top_posts": 35,
+    "total_payouts": "3249.442 HBD"
+  },
+  {
+    "comments": 192,
+    "name": "esteem",
+    "top_posts": 14,
+    "total_payouts": "3084.238 HBD"
+  },
+  {
+    "comments": 322,
+    "name": "sex",
+    "top_posts": 86,
+    "total_payouts": "3065.355 HBD"
+  },
+  {
+    "comments": 742,
+    "name": "contest",
+    "top_posts": 26,
+    "total_payouts": "3043.365 HBD"
+  },
+  {
+    "comments": 430,
+    "name": "robinhoodwhale",
+    "top_posts": 35,
+    "total_payouts": "2939.391 HBD"
+  },
+  {
+    "comments": 486,
+    "name": "history",
+    "top_posts": 146,
+    "total_payouts": "2907.360 HBD"
+  },
+  {
+    "comments": 208,
+    "name": "books",
+    "top_posts": 27,
+    "total_payouts": "2795.493 HBD"
+  },
+  {
+    "comments": 104,
+    "name": "free-society",
+    "top_posts": 1,
+    "total_payouts": "2737.083 HBD"
+  },
+  {
+    "comments": 341,
+    "name": "business",
+    "top_posts": 127,
+    "total_payouts": "2636.934 HBD"
+  },
+  {
+    "comments": 136,
+    "name": "astronomy",
+    "top_posts": 21,
+    "total_payouts": "2622.095 HBD"
+  },
+  {
+    "comments": 308,
+    "name": "steemitcryptochallenge",
+    "top_posts": 9,
+    "total_payouts": "2600.396 HBD"
+  },
+  {
+    "comments": 81,
+    "name": "inspiration",
+    "top_posts": 29,
+    "total_payouts": "2579.767 HBD"
+  },
+  {
+    "comments": 224,
+    "name": "coffee",
+    "top_posts": 46,
+    "total_payouts": "2546.180 HBD"
+  },
+  {
+    "comments": 63,
+    "name": "spotlight",
+    "top_posts": 3,
+    "total_payouts": "2542.406 HBD"
+  },
+  {
+    "comments": 62,
+    "name": "future-food",
+    "top_posts": 3,
+    "total_payouts": "2537.596 HBD"
+  },
+  {
+    "comments": 157,
+    "name": "bounties",
+    "top_posts": 10,
+    "total_payouts": "2530.855 HBD"
+  },
+  {
+    "comments": 255,
+    "name": "government",
+    "top_posts": 35,
+    "total_payouts": "2525.234 HBD"
+  },
+  {
+    "comments": 212,
+    "name": "beauty",
+    "top_posts": 44,
+    "total_payouts": "2498.987 HBD"
+  },
+  {
+    "comments": 75,
+    "name": "netocracy",
+    "top_posts": 1,
+    "total_payouts": "2471.938 HBD"
+  },
+  {
+    "comments": 639,
+    "name": "sports",
+    "top_posts": 361,
+    "total_payouts": "2417.014 HBD"
+  },
+  {
+    "comments": 95,
+    "name": "steemit-future",
+    "top_posts": 2,
+    "total_payouts": "2413.775 HBD"
+  },
+  {
+    "comments": 52,
+    "name": "smartcontracts",
+    "top_posts": 2,
+    "total_payouts": "2413.721 HBD"
+  },
+  {
+    "comments": 204,
+    "name": "yoga",
+    "top_posts": 28,
+    "total_payouts": "2394.952 HBD"
+  },
+  {
+    "comments": 86,
+    "name": "aircraft",
+    "top_posts": 10,
+    "total_payouts": "2363.775 HBD"
+  },
+  {
+    "comments": 171,
+    "name": "capitalism",
+    "top_posts": 24,
+    "total_payouts": "2353.619 HBD"
+  },
+  {
+    "comments": 121,
+    "name": "motocross",
+    "top_posts": 7,
+    "total_payouts": "2336.854 HBD"
+  },
+  {
+    "comments": 177,
+    "name": "steemmobile",
+    "top_posts": 5,
+    "total_payouts": "2280.031 HBD"
+  },
+  {
+    "comments": 539,
+    "name": "cryptocurrency",
+    "top_posts": 202,
+    "total_payouts": "2259.939 HBD"
+  },
+  {
+    "comments": 28,
+    "name": "chess",
+    "top_posts": 5,
+    "total_payouts": "2250.362 HBD"
+  },
+  {
+    "comments": 458,
+    "name": "gaming",
+    "top_posts": 150,
+    "total_payouts": "2243.878 HBD"
+  },
+  {
+    "comments": 93,
+    "name": "women",
+    "top_posts": 23,
+    "total_payouts": "2222.915 HBD"
+  },
+  {
+    "comments": 236,
+    "name": "space",
+    "top_posts": 90,
+    "total_payouts": "2181.765 HBD"
+  },
+  {
+    "comments": 532,
+    "name": "foodchallenge",
+    "top_posts": 55,
+    "total_payouts": "2166.935 HBD"
+  },
+  {
+    "comments": 268,
+    "name": "steemitabuse",
+    "top_posts": 16,
+    "total_payouts": "2146.016 HBD"
+  },
+  {
+    "comments": 208,
+    "name": "bees",
+    "top_posts": 20,
+    "total_payouts": "2124.044 HBD"
+  },
+  {
+    "comments": 921,
+    "name": "religion",
+    "top_posts": 183,
+    "total_payouts": "2116.832 HBD"
+  },
+  {
+    "comments": 356,
+    "name": "introduction",
+    "top_posts": 100,
+    "total_payouts": "2116.795 HBD"
+  },
+  {
+    "comments": 148,
+    "name": "meetup",
+    "top_posts": 11,
+    "total_payouts": "2074.901 HBD"
+  },
+  {
+    "comments": 16,
+    "name": "croatia",
+    "top_posts": 1,
+    "total_payouts": "2061.019 HBD"
+  },
+  {
+    "comments": 54,
+    "name": "parenthood",
+    "top_posts": 3,
+    "total_payouts": "2047.173 HBD"
+  },
+  {
+    "comments": 43,
+    "name": "peerplays",
+    "top_posts": 6,
+    "total_payouts": "2022.684 HBD"
+  },
+  {
+    "comments": 62,
+    "name": "piston",
+    "top_posts": 7,
+    "total_payouts": "1849.588 HBD"
+  },
+  {
+    "comments": 105,
+    "name": "libertarianism",
+    "top_posts": 10,
+    "total_payouts": "1846.860 HBD"
+  },
+  {
+    "comments": 135,
+    "name": "bounty",
+    "top_posts": 10,
+    "total_payouts": "1840.072 HBD"
+  },
+  {
+    "comments": 630,
+    "name": "feminism",
+    "top_posts": 37,
+    "total_payouts": "1835.167 HBD"
+  },
+  {
+    "comments": 1132,
+    "name": "kr",
+    "top_posts": 349,
+    "total_payouts": "1824.382 HBD"
+  },
+  {
+    "comments": 142,
+    "name": "success",
+    "top_posts": 40,
+    "total_payouts": "1793.089 HBD"
+  },
+  {
+    "comments": 123,
+    "name": "law",
+    "top_posts": 31,
+    "total_payouts": "1776.412 HBD"
+  },
+  {
+    "comments": 47,
+    "name": "military",
+    "top_posts": 15,
+    "total_payouts": "1758.565 HBD"
+  },
+  {
+    "comments": 30,
+    "name": "cannabisoil",
+    "top_posts": 1,
+    "total_payouts": "1747.004 HBD"
+  },
+  {
+    "comments": 120,
+    "name": "entrepreneurship",
+    "top_posts": 16,
+    "total_payouts": "1726.466 HBD"
+  },
+  {
+    "comments": 624,
+    "name": "censorship",
+    "top_posts": 28,
+    "total_payouts": "1695.386 HBD"
+  },
+  {
+    "comments": 138,
+    "name": "scifi",
+    "top_posts": 47,
+    "total_payouts": "1694.532 HBD"
+  },
+  {
+    "comments": 68,
+    "name": "cryptocapitalism",
+    "top_posts": 1,
+    "total_payouts": "1686.973 HBD"
+  },
+  {
+    "comments": 160,
+    "name": "abortion",
+    "top_posts": 7,
+    "total_payouts": "1686.390 HBD"
+  },
+  {
+    "comments": 28,
+    "name": "archaeology",
+    "top_posts": 2,
+    "total_payouts": "1678.508 HBD"
+  },
+  {
+    "comments": 72,
+    "name": "wallpaper",
+    "top_posts": 27,
+    "total_payouts": "1670.150 HBD"
+  },
+  {
+    "comments": 102,
+    "name": "cocktails",
+    "top_posts": 7,
+    "total_payouts": "1569.381 HBD"
+  },
+  {
+    "comments": 34,
+    "name": "steemapp",
+    "top_posts": 3,
+    "total_payouts": "1546.452 HBD"
+  },
+  {
+    "comments": 36,
+    "name": "corporate-identity",
+    "top_posts": 2,
+    "total_payouts": "1541.611 HBD"
+  },
+  {
+    "comments": 316,
+    "name": "comedy",
+    "top_posts": 91,
+    "total_payouts": "1528.922 HBD"
+  },
+  {
+    "comments": 185,
+    "name": "statism",
+    "top_posts": 10,
+    "total_payouts": "1519.550 HBD"
+  },
+  {
+    "comments": 78,
+    "name": "fire",
+    "top_posts": 9,
+    "total_payouts": "1518.747 HBD"
+  },
+  {
+    "comments": 142,
+    "name": "dance",
+    "top_posts": 21,
+    "total_payouts": "1492.730 HBD"
+  },
+  {
+    "comments": 21,
+    "name": "steemit-promo",
+    "top_posts": 3,
+    "total_payouts": "1419.522 HBD"
+  },
+  {
+    "comments": 550,
+    "name": "blockchain",
+    "top_posts": 251,
+    "total_payouts": "1419.089 HBD"
+  },
+  {
+    "comments": 128,
+    "name": "privacy",
+    "top_posts": 23,
+    "total_payouts": "1412.924 HBD"
+  },
+  {
+    "comments": 631,
+    "name": "cartoon",
+    "top_posts": 78,
+    "total_payouts": "1412.874 HBD"
+  },
+  {
+    "comments": 145,
+    "name": "cars",
+    "top_posts": 50,
+    "total_payouts": "1395.637 HBD"
+  },
+  {
+    "comments": 76,
+    "name": "china",
+    "top_posts": 21,
+    "total_payouts": "1385.019 HBD"
+  },
+  {
+    "comments": 65,
+    "name": "barrycooperlifeseries",
+    "top_posts": 3,
+    "total_payouts": "1384.562 HBD"
+  },
+  {
+    "comments": 124,
+    "name": "depression",
+    "top_posts": 19,
+    "total_payouts": "1357.949 HBD"
+  },
+  {
+    "comments": 554,
+    "name": "spanish",
+    "top_posts": 215,
+    "total_payouts": "1357.833 HBD"
+  },
+  {
+    "comments": 250,
+    "name": "steem-stats",
+    "top_posts": 22,
+    "total_payouts": "1343.869 HBD"
+  },
+  {
+    "comments": 78,
+    "name": "languages",
+    "top_posts": 18,
+    "total_payouts": "1343.766 HBD"
+  },
+  {
+    "comments": 45,
+    "name": "artificial-intelligence",
+    "top_posts": 1,
+    "total_payouts": "1327.424 HBD"
+  },
+  {
+    "comments": 444,
+    "name": "nature",
+    "top_posts": 162,
+    "total_payouts": "1325.425 HBD"
+  },
+  {
+    "comments": 310,
+    "name": "economics",
+    "top_posts": 95,
+    "total_payouts": "1304.003 HBD"
+  },
+  {
+    "comments": 71,
+    "name": "startups",
+    "top_posts": 17,
+    "total_payouts": "1286.196 HBD"
+  },
+  {
+    "comments": 33,
+    "name": "quinneaker",
+    "top_posts": 1,
+    "total_payouts": "1284.182 HBD"
+  },
+  {
+    "comments": 15,
+    "name": "steemaway",
+    "top_posts": 4,
+    "total_payouts": "1283.415 HBD"
+  },
+  {
+    "comments": 86,
+    "name": "nevergetbusted",
+    "top_posts": 4,
+    "total_payouts": "1282.912 HBD"
+  },
+  {
+    "comments": 87,
+    "name": "drugs",
+    "top_posts": 35,
+    "total_payouts": "1276.197 HBD"
+  },
+  {
+    "comments": 173,
+    "name": "recipe",
+    "top_posts": 45,
+    "total_payouts": "1259.776 HBD"
+  },
+  {
+    "comments": 38,
+    "name": "step",
+    "top_posts": 1,
+    "total_payouts": "1242.537 HBD"
+  },
+  {
+    "comments": 73,
+    "name": "steemit-bots",
+    "top_posts": 3,
+    "total_payouts": "1240.808 HBD"
+  },
+  {
+    "comments": 19,
+    "name": "orphanage",
+    "top_posts": 2,
+    "total_payouts": "1230.159 HBD"
+  },
+  {
+    "comments": 136,
+    "name": "poker",
+    "top_posts": 22,
+    "total_payouts": "1228.664 HBD"
+  },
+  {
+    "comments": 60,
+    "name": "sciencefiction",
+    "top_posts": 16,
+    "total_payouts": "1216.701 HBD"
+  },
+  {
+    "comments": 60,
+    "name": "planes",
+    "top_posts": 2,
+    "total_payouts": "1193.141 HBD"
+  },
+  {
+    "comments": 58,
+    "name": "mondaymotivation",
+    "top_posts": 1,
+    "total_payouts": "1190.087 HBD"
+  },
+  {
+    "comments": 210,
+    "name": "steemitartchallenge",
+    "top_posts": 22,
+    "total_payouts": "1185.899 HBD"
+  },
+  {
+    "comments": 23,
+    "name": "branding",
+    "top_posts": 3,
+    "total_payouts": "1163.727 HBD"
+  },
+  {
+    "comments": 14,
+    "name": "namecoin",
+    "top_posts": 1,
+    "total_payouts": "1162.868 HBD"
+  },
+  {
+    "comments": 14,
+    "name": "greensmoothie",
+    "top_posts": 1,
+    "total_payouts": "1159.386 HBD"
+  },
+  {
+    "comments": 53,
+    "name": "masterclass",
+    "top_posts": 1,
+    "total_payouts": "1155.563 HBD"
+  },
+  {
+    "comments": 339,
+    "name": "crazychallenge",
+    "top_posts": 16,
+    "total_payouts": "1149.273 HBD"
+  },
+  {
+    "comments": 209,
+    "name": "parenting",
+    "top_posts": 52,
+    "total_payouts": "1142.835 HBD"
+  },
+  {
+    "comments": 130,
+    "name": "patriotism",
+    "top_posts": 4,
+    "total_payouts": "1141.809 HBD"
+  },
+  {
+    "comments": 9,
+    "name": "experiences",
+    "top_posts": 1,
+    "total_payouts": "1141.763 HBD"
+  },
+  {
+    "comments": 22,
+    "name": "maps",
+    "top_posts": 2,
+    "total_payouts": "1087.763 HBD"
+  },
+  {
+    "comments": 54,
+    "name": "interview",
+    "top_posts": 9,
+    "total_payouts": "1068.723 HBD"
+  },
+  {
+    "comments": 205,
+    "name": "lgbt",
+    "top_posts": 10,
+    "total_payouts": "1051.869 HBD"
+  },
+  {
+    "comments": 397,
+    "name": "steememe",
+    "top_posts": 17,
+    "total_payouts": "1048.965 HBD"
+  },
+  {
+    "comments": 183,
+    "name": "games",
+    "top_posts": 92,
+    "total_payouts": "1045.590 HBD"
+  },
+  {
+    "comments": 199,
+    "name": "whales",
+    "top_posts": 11,
+    "total_payouts": "1030.414 HBD"
+  },
+  {
+    "comments": 82,
+    "name": "steemloto",
+    "top_posts": 19,
+    "total_payouts": "1002.052 HBD"
+  },
+  {
+    "comments": 86,
+    "name": "movies",
+    "top_posts": 97,
+    "total_payouts": "991.891 HBD"
+  },
+  {
+    "comments": 318,
+    "name": "cannabis",
+    "top_posts": 75,
+    "total_payouts": "989.707 HBD"
+  },
+  {
+    "comments": 7,
+    "name": "roadtrip",
+    "top_posts": 3,
+    "total_payouts": "984.631 HBD"
+  },
+  {
+    "comments": 51,
+    "name": "olympics",
+    "top_posts": 32,
+    "total_payouts": "975.477 HBD"
+  },
+  {
+    "comments": 41,
+    "name": "rejuvenation",
+    "top_posts": 1,
+    "total_payouts": "972.242 HBD"
+  },
+  {
+    "comments": 32,
+    "name": "book",
+    "top_posts": 13,
+    "total_payouts": "951.086 HBD"
+  },
+  {
+    "comments": 125,
+    "name": "lifehack",
+    "top_posts": 17,
+    "total_payouts": "938.534 HBD"
+  },
+  {
+    "comments": 35,
+    "name": "onecoin",
+    "top_posts": 5,
+    "total_payouts": "933.168 HBD"
+  },
+  {
+    "comments": 213,
+    "name": "steemimg",
+    "top_posts": 9,
+    "total_payouts": "924.627 HBD"
+  },
+  {
+    "comments": 37,
+    "name": "solar",
+    "top_posts": 11,
+    "total_payouts": "921.140 HBD"
+  },
+  {
+    "comments": 119,
+    "name": "war",
+    "top_posts": 36,
+    "total_payouts": "894.839 HBD"
+  },
+  {
+    "comments": 96,
+    "name": "film",
+    "top_posts": 30,
+    "total_payouts": "890.700 HBD"
+  },
+  {
+    "comments": 77,
+    "name": "reputation",
+    "top_posts": 11,
+    "total_payouts": "890.547 HBD"
+  },
+  {
+    "comments": 55,
+    "name": "veterans",
+    "top_posts": 21,
+    "total_payouts": "880.939 HBD"
+  },
+  {
+    "comments": 39,
+    "name": "hyperinflation",
+    "top_posts": 2,
+    "total_payouts": "869.721 HBD"
+  },
+  {
+    "comments": 35,
+    "name": "engineering",
+    "top_posts": 14,
+    "total_payouts": "850.762 HBD"
+  },
+  {
+    "comments": 57,
+    "name": "hypnosis",
+    "top_posts": 6,
+    "total_payouts": "842.699 HBD"
+  },
+  {
+    "comments": 79,
+    "name": "lifestyle",
+    "top_posts": 25,
+    "total_payouts": "841.529 HBD"
+  },
+  {
+    "comments": 209,
+    "name": "howto",
+    "top_posts": 16,
+    "total_payouts": "823.490 HBD"
+  },
+  {
+    "comments": 112,
+    "name": "steem-price",
+    "top_posts": 3,
+    "total_payouts": "823.273 HBD"
+  },
+  {
+    "comments": 29,
+    "name": "utopia",
+    "top_posts": 2,
+    "total_payouts": "812.190 HBD"
+  },
+  {
+    "comments": 97,
+    "name": "cooking",
+    "top_posts": 14,
+    "total_payouts": "805.588 HBD"
+  },
+  {
+    "comments": 164,
+    "name": "plagiarism",
+    "top_posts": 14,
+    "total_payouts": "794.569 HBD"
+  },
+  {
+    "comments": 26,
+    "name": "thankyou",
+    "top_posts": 4,
+    "total_payouts": "782.144 HBD"
+  },
+  {
+    "comments": 17,
+    "name": "underground",
+    "top_posts": 1,
+    "total_payouts": "768.904 HBD"
+  },
+  {
+    "comments": 55,
+    "name": "guide",
+    "top_posts": 3,
+    "total_payouts": "755.182 HBD"
+  },
+  {
+    "comments": 21,
+    "name": "agriculture",
+    "top_posts": 6,
+    "total_payouts": "755.144 HBD"
+  },
+  {
+    "comments": 29,
+    "name": "moviereview",
+    "top_posts": 32,
+    "total_payouts": "752.180 HBD"
+  },
+  {
+    "comments": 32,
+    "name": "hiking",
+    "top_posts": 3,
+    "total_payouts": "745.855 HBD"
+  },
+  {
+    "comments": 71,
+    "name": "barry",
+    "top_posts": 2,
+    "total_payouts": "741.785 HBD"
+  },
+  {
+    "comments": 231,
+    "name": "curation",
+    "top_posts": 18,
+    "total_payouts": "740.488 HBD"
+  },
+  {
+    "comments": 224,
+    "name": "voluntaryism",
+    "top_posts": 50,
+    "total_payouts": "739.759 HBD"
+  },
+  {
+    "comments": 36,
+    "name": "geoengineering",
+    "top_posts": 8,
+    "total_payouts": "732.918 HBD"
+  },
+  {
+    "comments": 26,
+    "name": "healthebern",
+    "top_posts": 1,
+    "total_payouts": "730.428 HBD"
+  },
+  {
+    "comments": 89,
+    "name": "diy",
+    "top_posts": 26,
+    "total_payouts": "727.832 HBD"
+  },
+  {
+    "comments": 53,
+    "name": "voluntarism",
+    "top_posts": 5,
+    "total_payouts": "727.522 HBD"
+  },
+  {
+    "comments": 32,
+    "name": "logic",
+    "top_posts": 6,
+    "total_payouts": "727.210 HBD"
+  },
+  {
+    "comments": 21,
+    "name": "media",
+    "top_posts": 18,
+    "total_payouts": "724.851 HBD"
+  },
+  {
+    "comments": 112,
+    "name": "animalrescue",
+    "top_posts": 5,
+    "total_payouts": "717.067 HBD"
+  },
+  {
+    "comments": 129,
+    "name": "academia",
+    "top_posts": 9,
+    "total_payouts": "704.390 HBD"
+  },
+  {
+    "comments": 30,
+    "name": "steemit-marketing",
+    "top_posts": 1,
+    "total_payouts": "703.019 HBD"
+  },
+  {
+    "comments": 56,
+    "name": "steemithelp",
+    "top_posts": 6,
+    "total_payouts": "698.999 HBD"
+  },
+  {
+    "comments": 39,
+    "name": "vaccines",
+    "top_posts": 16,
+    "total_payouts": "698.256 HBD"
+  },
+  {
+    "comments": 565,
+    "name": "introducemyself",
+    "top_posts": 90,
+    "total_payouts": "688.275 HBD"
+  },
+  {
+    "comments": 30,
+    "name": "biology",
+    "top_posts": 5,
+    "total_payouts": "683.089 HBD"
+  },
+  {
+    "comments": 60,
+    "name": "culture",
+    "top_posts": 11,
+    "total_payouts": "677.628 HBD"
+  },
+  {
+    "comments": 22,
+    "name": "psych",
+    "top_posts": 9,
+    "total_payouts": "669.210 HBD"
+  },
+  {
+    "comments": 491,
+    "name": "steemocracy",
+    "top_posts": 13,
+    "total_payouts": "644.687 HBD"
+  },
+  {
+    "comments": 161,
+    "name": "nameinlights",
+    "top_posts": 16,
+    "total_payouts": "640.099 HBD"
+  },
+  {
+    "comments": 101,
+    "name": "fishing",
+    "top_posts": 26,
+    "total_payouts": "639.189 HBD"
+  },
+  {
+    "comments": 56,
+    "name": "architecture",
+    "top_posts": 17,
+    "total_payouts": "631.336 HBD"
+  },
+  {
+    "comments": 123,
+    "name": "crypto",
+    "top_posts": 66,
+    "total_payouts": "625.406 HBD"
+  },
+  {
+    "comments": 15,
+    "name": "dogecoin",
+    "top_posts": 8,
+    "total_payouts": "623.036 HBD"
+  },
+  {
+    "comments": 32,
+    "name": "terrorism",
+    "top_posts": 9,
+    "total_payouts": "615.639 HBD"
+  },
+  {
+    "comments": 50,
+    "name": "movie",
+    "top_posts": 38,
+    "total_payouts": "612.622 HBD"
+  },
+  {
+    "comments": 36,
+    "name": "riots",
+    "top_posts": 1,
+    "total_payouts": "611.487 HBD"
+  },
+  {
+    "comments": 50,
+    "name": "barrycooperstory",
+    "top_posts": 1,
+    "total_payouts": "604.946 HBD"
+  },
+  {
+    "comments": 31,
+    "name": "mmog",
+    "top_posts": 2,
+    "total_payouts": "603.770 HBD"
+  },
+  {
+    "comments": 22,
+    "name": "mental",
+    "top_posts": 6,
+    "total_payouts": "596.084 HBD"
+  },
+  {
+    "comments": 16,
+    "name": "apology",
+    "top_posts": 2,
+    "total_payouts": "593.968 HBD"
+  },
+  {
+    "comments": 138,
+    "name": "homeless",
+    "top_posts": 18,
+    "total_payouts": "592.959 HBD"
+  },
+  {
+    "comments": 38,
+    "name": "magic",
+    "top_posts": 5,
+    "total_payouts": "591.861 HBD"
+  },
+  {
+    "comments": 13,
+    "name": "ripple",
+    "top_posts": 3,
+    "total_payouts": "589.216 HBD"
+  },
+  {
+    "comments": 37,
+    "name": "running",
+    "top_posts": 10,
+    "total_payouts": "586.796 HBD"
+  },
+  {
+    "comments": 55,
+    "name": "animal",
+    "top_posts": 37,
+    "total_payouts": "582.892 HBD"
+  },
+  {
+    "comments": 15,
+    "name": "psychotherapy",
+    "top_posts": 2,
+    "total_payouts": "575.546 HBD"
+  },
+  {
+    "comments": 215,
+    "name": "gold",
+    "top_posts": 96,
+    "total_payouts": "572.309 HBD"
+  },
+  {
+    "comments": 116,
+    "name": "analytics",
+    "top_posts": 14,
+    "total_payouts": "569.346 HBD"
+  },
+  {
+    "comments": 15,
+    "name": "dancing",
+    "top_posts": 2,
+    "total_payouts": "567.247 HBD"
+  },
+  {
+    "comments": 41,
+    "name": "consciousness",
+    "top_posts": 13,
+    "total_payouts": "564.587 HBD"
+  },
+  {
+    "comments": 27,
+    "name": "banking",
+    "top_posts": 14,
+    "total_payouts": "559.869 HBD"
+  },
+  {
+    "comments": 262,
+    "name": "video",
+    "top_posts": 252,
+    "total_payouts": "559.789 HBD"
+  },
+  {
+    "comments": 68,
+    "name": "steemfit",
+    "top_posts": 5,
+    "total_payouts": "554.429 HBD"
+  },
+  {
+    "comments": 26,
+    "name": "steemtattoo",
+    "top_posts": 1,
+    "total_payouts": "546.399 HBD"
+  }
+]
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/max_limit.tavern.yaml b/hivemind/tavern/condenser_api_patterns/get_trending_tags/max_limit.tavern.yaml
new file mode 100644
index 00000000..9018da35
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/max_limit.tavern.yaml
@@ -0,0 +1,28 @@
+---
+  test_name: Hivemind condenser_api.get_trending_tags limit 250 patterns test
+
+  marks:
+    - patterntest # not comparable to original due to ordering influenced by different pending payouts (also order of tags with the same payout was basically random) 
+
+  includes:
+    - !include ../../common.yaml
+
+  stages:
+    - name: get_trending_tags limit 250
+      request:
+        url: "{service.proto:s}://{service.server:s}:{service.port}/"
+        method: POST
+        headers:
+          content-type: application/json
+        json:
+          jsonrpc: "2.0"
+          id: 1
+          method: "condenser_api.get_trending_tags"
+          params: {"limit":250}
+      response:
+        status_code: 200
+        verify_response_with:
+          function: validate_response:compare_response_with_pattern
+          extra_kwargs:
+            method: "max_limit"
+            directory: "condenser_api_patterns/get_trending_tags"
\ No newline at end of file
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_1.orig.json b/hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_1.orig.json
new file mode 100644
index 00000000..b8b32445
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_1.orig.json
@@ -0,0 +1,62 @@
+[
+  {
+    "comments": 1,
+    "name": "elliotsmith",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "test-post-on-1473745309905",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "dansk",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "sun",
+    "top_posts": 3,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "esoteric",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "landalar",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "fiesta",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "sync",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 2,
+    "name": "taugul",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 1,
+    "name": "sandiegochargersvskansascitychiefsgameonline",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  }
+]
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_1.pat.json b/hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_1.pat.json
new file mode 100644
index 00000000..806fb86f
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_1.pat.json
@@ -0,0 +1,62 @@
+[
+  {
+    "comments": 0,
+    "name": "acab",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "acapulco",
+    "top_posts": 2,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 3,
+    "name": "acid",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "acmilan",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "acrylic",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "action",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "actual",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "actual-facts",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "acupuncture",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "adam",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  }
+]
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_1.tavern.yaml b/hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_1.tavern.yaml
new file mode 100644
index 00000000..f4b64bdd
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_1.tavern.yaml
@@ -0,0 +1,28 @@
+---
+  test_name: Hivemind condenser_api.get_trending_tags patterns test
+
+  marks:
+    - patterntest # previously paging didn't really worked when there was many categories with the same amount of payout (compare .orig here and in no_payout_2)
+
+  includes:
+    - !include ../../common.yaml
+
+  stages:
+    - name: get_trending_tags
+      request:
+        url: "{service.proto:s}://{service.server:s}:{service.port}/"
+        method: POST
+        headers:
+          content-type: application/json
+        json:
+          jsonrpc: "2.0"
+          id: 1
+          method: "condenser_api.get_trending_tags"
+          params: {"start_tag":"aboutmyself","limit":10}
+      response:
+        status_code: 200
+        verify_response_with:
+          function: validate_response:compare_response_with_pattern
+          extra_kwargs:
+            method: "no_payout_1"
+            directory: "condenser_api_patterns/get_trending_tags"
\ No newline at end of file
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_2.orig.json b/hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_2.orig.json
new file mode 100644
index 00000000..b8b32445
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_2.orig.json
@@ -0,0 +1,62 @@
+[
+  {
+    "comments": 1,
+    "name": "elliotsmith",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "test-post-on-1473745309905",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "dansk",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "sun",
+    "top_posts": 3,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "esoteric",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "landalar",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "fiesta",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "sync",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 2,
+    "name": "taugul",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 1,
+    "name": "sandiegochargersvskansascitychiefsgameonline",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  }
+]
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_2.pat.json b/hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_2.pat.json
new file mode 100644
index 00000000..ef6bd9e3
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_2.pat.json
@@ -0,0 +1,62 @@
+[
+  {
+    "comments": 0,
+    "name": "adb",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 3,
+    "name": "add",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "administracion",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 1,
+    "name": "adobe",
+    "top_posts": 2,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "adrienis",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "adulthumor",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "aeroplane",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "aesthetic",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "african",
+    "top_posts": 4,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "after",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  }
+]
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_2.tavern.yaml b/hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_2.tavern.yaml
new file mode 100644
index 00000000..249118f1
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/no_payout_2.tavern.yaml
@@ -0,0 +1,28 @@
+---
+  test_name: Hivemind condenser_api.get_trending_tags patterns test
+
+  marks:
+    - patterntest # see no_payout_1
+
+  includes:
+    - !include ../../common.yaml
+
+  stages:
+    - name: get_trending_tags
+      request:
+        url: "{service.proto:s}://{service.server:s}:{service.port}/"
+        method: POST
+        headers:
+          content-type: application/json
+        json:
+          jsonrpc: "2.0"
+          id: 1
+          method: "condenser_api.get_trending_tags"
+          params: {"start_tag":"adam","limit":10}
+      response:
+        status_code: 200
+        verify_response_with:
+          function: validate_response:compare_response_with_pattern
+          extra_kwargs:
+            method: "no_payout_2"
+            directory: "condenser_api_patterns/get_trending_tags"
\ No newline at end of file
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/paginated.orig.json b/hivemind/tavern/condenser_api_patterns/get_trending_tags/paginated.orig.json
new file mode 100644
index 00000000..0b3efb7f
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/paginated.orig.json
@@ -0,0 +1,20 @@
+[
+  {
+    "comments": 72,
+    "name": "wallpaper",
+    "top_posts": 27,
+    "total_payouts": "1663.943 HBD"
+  },
+  {
+    "comments": 102,
+    "name": "cocktails",
+    "top_posts": 7,
+    "total_payouts": "1569.236 HBD"
+  },
+  {
+    "comments": 34,
+    "name": "steemapp",
+    "top_posts": 3,
+    "total_payouts": "1546.429 HBD"
+  }
+]
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/paginated.pat.json b/hivemind/tavern/condenser_api_patterns/get_trending_tags/paginated.pat.json
new file mode 100644
index 00000000..f60155d8
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/paginated.pat.json
@@ -0,0 +1,20 @@
+[
+  {
+    "comments": 102,
+    "name": "cocktails",
+    "top_posts": 7,
+    "total_payouts": "1569.381 HBD"
+  },
+  {
+    "comments": 34,
+    "name": "steemapp",
+    "top_posts": 3,
+    "total_payouts": "1546.452 HBD"
+  },
+  {
+    "comments": 36,
+    "name": "corporate-identity",
+    "top_posts": 2,
+    "total_payouts": "1541.611 HBD"
+  }
+]
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/paginated.tavern.yaml b/hivemind/tavern/condenser_api_patterns/get_trending_tags/paginated.tavern.yaml
new file mode 100644
index 00000000..8907a7e1
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/paginated.tavern.yaml
@@ -0,0 +1,28 @@
+---
+  test_name: Hivemind condenser_api.get_trending_tags
+
+  marks:
+    - patterntest # original did not cut out record with given tag (see also no_payout_1)
+
+  includes:
+    - !include ../../common.yaml
+
+  stages:
+    - name: get_trending_tags
+      request:
+        url: "{service.proto:s}://{service.server:s}:{service.port}/"
+        method: POST
+        headers:
+          content-type: application/json
+        json:
+          jsonrpc: "2.0"
+          id: 1
+          method: "condenser_api.get_trending_tags"
+          params: {"start_tag":"wallpaper","limit":3}
+      response:
+        status_code: 200
+        verify_response_with:
+          function: validate_response:compare_response_with_pattern
+          extra_kwargs:
+            method: "paginated"
+            directory: "condenser_api_patterns/get_trending_tags"
\ No newline at end of file
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/pre_appbase.pat.json b/hivemind/tavern/condenser_api_patterns/get_trending_tags/pre_appbase.pat.json
index 49073122..660caf4a 100644
--- a/hivemind/tavern/condenser_api_patterns/get_trending_tags/pre_appbase.pat.json
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/pre_appbase.pat.json
@@ -1,10 +1,4 @@
 [
-  {
-    "comments": 10141,
-    "name": "steem",
-    "top_posts": 1158,
-    "total_payouts": "82690.698 HBD"
-  },
   {
     "comments": 5633,
     "name": "travel",
@@ -58,5 +52,11 @@
     "name": "philosophy",
     "top_posts": 367,
     "total_payouts": "24387.618 HBD"
+  },
+  {
+    "comments": 2462,
+    "name": "stats",
+    "top_posts": 91,
+    "total_payouts": "18385.027 HBD"
   }
 ]
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_1.orig.json b/hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_1.orig.json
new file mode 100644
index 00000000..b8b32445
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_1.orig.json
@@ -0,0 +1,62 @@
+[
+  {
+    "comments": 1,
+    "name": "elliotsmith",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "test-post-on-1473745309905",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "dansk",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "sun",
+    "top_posts": 3,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "esoteric",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "landalar",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "fiesta",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "sync",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 2,
+    "name": "taugul",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 1,
+    "name": "sandiegochargersvskansascitychiefsgameonline",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  }
+]
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_1.pat.json b/hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_1.pat.json
new file mode 100644
index 00000000..c5ccb979
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_1.pat.json
@@ -0,0 +1,62 @@
+[
+  {
+    "comments": 2,
+    "name": "allaboutme",
+    "top_posts": 1,
+    "total_payouts": "0.010 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "artt",
+    "top_posts": 1,
+    "total_payouts": "0.010 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "awakening",
+    "top_posts": 3,
+    "total_payouts": "0.010 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "buildapc",
+    "top_posts": 1,
+    "total_payouts": "0.010 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "bullet",
+    "top_posts": 1,
+    "total_payouts": "0.010 HBD"
+  },
+  {
+    "comments": 2,
+    "name": "cards",
+    "top_posts": 1,
+    "total_payouts": "0.010 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "christ",
+    "top_posts": 3,
+    "total_payouts": "0.010 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "collaborative-story",
+    "top_posts": 1,
+    "total_payouts": "0.010 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "coltan",
+    "top_posts": 1,
+    "total_payouts": "0.010 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "companies",
+    "top_posts": 6,
+    "total_payouts": "0.010 HBD"
+  }
+]
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_1.tavern.yaml b/hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_1.tavern.yaml
new file mode 100644
index 00000000..27bfa313
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_1.tavern.yaml
@@ -0,0 +1,28 @@
+---
+  test_name: Hivemind condenser_api.get_trending_tags patterns test
+
+  marks:
+    - patterntest # not comparable due to differences in pending payouts
+
+  includes:
+    - !include ../../common.yaml
+
+  stages:
+    - name: get_trending_tags
+      request:
+        url: "{service.proto:s}://{service.server:s}:{service.port}/"
+        method: POST
+        headers:
+          content-type: application/json
+        json:
+          jsonrpc: "2.0"
+          id: 1
+          method: "condenser_api.get_trending_tags"
+          params: {"start_tag":"agenda","limit":10}
+      response:
+        status_code: 200
+        verify_response_with:
+          function: validate_response:compare_response_with_pattern
+          extra_kwargs:
+            method: "same_payout_1"
+            directory: "condenser_api_patterns/get_trending_tags"
\ No newline at end of file
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_2.orig.json b/hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_2.orig.json
new file mode 100644
index 00000000..b8b32445
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_2.orig.json
@@ -0,0 +1,62 @@
+[
+  {
+    "comments": 1,
+    "name": "elliotsmith",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "test-post-on-1473745309905",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "dansk",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "sun",
+    "top_posts": 3,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "esoteric",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "landalar",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "fiesta",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "sync",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 2,
+    "name": "taugul",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  },
+  {
+    "comments": 1,
+    "name": "sandiegochargersvskansascitychiefsgameonline",
+    "top_posts": 1,
+    "total_payouts": "0.000 HBD"
+  }
+]
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_2.pat.json b/hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_2.pat.json
new file mode 100644
index 00000000..8f15f851
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_2.pat.json
@@ -0,0 +1,62 @@
+[
+  {
+    "comments": 0,
+    "name": "crafts",
+    "top_posts": 1,
+    "total_payouts": "0.010 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "definiteness",
+    "top_posts": 1,
+    "total_payouts": "0.010 HBD"
+  },
+  {
+    "comments": 1,
+    "name": "digitalart",
+    "top_posts": 1,
+    "total_payouts": "0.010 HBD"
+  },
+  {
+    "comments": 1,
+    "name": "donate",
+    "top_posts": 3,
+    "total_payouts": "0.010 HBD"
+  },
+  {
+    "comments": 4,
+    "name": "etherume",
+    "top_posts": 1,
+    "total_payouts": "0.010 HBD"
+  },
+  {
+    "comments": 0,
+    "name": "falling-shadows",
+    "top_posts": 2,
+    "total_payouts": "0.010 HBD"
+  },
+  {
+    "comments": 1,
+    "name": "fingerprint",
+    "top_posts": 1,
+    "total_payouts": "0.010 HBD"
+  },
+  {
+    "comments": 7,
+    "name": "frustrations",
+    "top_posts": 1,
+    "total_payouts": "0.010 HBD"
+  },
+  {
+    "comments": 1,
+    "name": "giveaways",
+    "top_posts": 1,
+    "total_payouts": "0.010 HBD"
+  },
+  {
+    "comments": 1,
+    "name": "hardtimes",
+    "top_posts": 2,
+    "total_payouts": "0.010 HBD"
+  }
+]
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_2.tavern.yaml b/hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_2.tavern.yaml
new file mode 100644
index 00000000..6e4a9599
--- /dev/null
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/same_payout_2.tavern.yaml
@@ -0,0 +1,28 @@
+---
+  test_name: Hivemind condenser_api.get_trending_tags patterns test
+
+  marks:
+    - patterntest # see same_payout_1
+
+  includes:
+    - !include ../../common.yaml
+
+  stages:
+    - name: get_trending_tags
+      request:
+        url: "{service.proto:s}://{service.server:s}:{service.port}/"
+        method: POST
+        headers:
+          content-type: application/json
+        json:
+          jsonrpc: "2.0"
+          id: 1
+          method: "condenser_api.get_trending_tags"
+          params: {"start_tag":"companies","limit":10}
+      response:
+        status_code: 200
+        verify_response_with:
+          function: validate_response:compare_response_with_pattern
+          extra_kwargs:
+            method: "same_payout_2"
+            directory: "condenser_api_patterns/get_trending_tags"
\ No newline at end of file
diff --git a/hivemind/tavern/condenser_api_patterns/get_trending_tags/steem.pat.json b/hivemind/tavern/condenser_api_patterns/get_trending_tags/steem.pat.json
index 49073122..660caf4a 100644
--- a/hivemind/tavern/condenser_api_patterns/get_trending_tags/steem.pat.json
+++ b/hivemind/tavern/condenser_api_patterns/get_trending_tags/steem.pat.json
@@ -1,10 +1,4 @@
 [
-  {
-    "comments": 10141,
-    "name": "steem",
-    "top_posts": 1158,
-    "total_payouts": "82690.698 HBD"
-  },
   {
     "comments": 5633,
     "name": "travel",
@@ -58,5 +52,11 @@
     "name": "philosophy",
     "top_posts": 367,
     "total_payouts": "24387.618 HBD"
+  },
+  {
+    "comments": 2462,
+    "name": "stats",
+    "top_posts": 91,
+    "total_payouts": "18385.027 HBD"
   }
 ]
-- 
GitLab