Reddit Scraper

ENDPOINTS
GET/subreddits/flairs

Subreddit Flairs

Get the post flairs in use in a subreddit, ranked by how many recent posts carry each one.

QUERY PARAMS

Subreddit name, r/name, t5_ fullname or any reddit.com/r/ link.

Examples:

  • Name: technology
  • URL: https://www.reddit.com/r/technology/

Newest posts to count flairs over.

Default: 100

Allowed values: 1-100

{
  "subreddit": "technology",
  "sample_size": 100,
  "flair_count": 16,
  "flairs": [
    {
      "text": "Artificial Intelligence",
      "type": "text",
      "css_class": "general",
      "template_id": "4264611c-a816-11e9-ae36-0e68c8f218d4",
      "background_color": null,
      "text_color": "dark",
      "emojis": [],
      "post_count": 37
    },
    {
      "text": "Business",
      "type": "text",
      "css_class": "general",
      "template_id": "49cac61c-a816-11e9-be34-0ebbab5890a0",
      "background_color": null,
      "text_color": "dark",
      "emojis": [],
      "post_count": 20
    },
    {
      "text": "Society",
      "type": "text",
      "css_class": "general",
      "template_id": "80187d9a-a816-11e9-a79b-0ea66e3761e6",
      "background_color": null,
      "text_color": "dark",
      "emojis": [],
      "post_count": 6
    },
    {
      "text": "Security",
      "type": "text",
      "css_class": "general",
      "template_id": "7a3ae9e4-a816-11e9-bf45-0e99715a4836",
      "background_color": null,
      "text_color": "dark",
      "emojis": [],
      "post_count": 6
    },
    {
      "text": "Software",
      "type": "text",
      "css_class": "general",
      "template_id": "85c4d73e-a816-11e9-95d5-0ee6b96491cc",
      "background_color": null,
      "text_color": "dark",
      "emojis": [],
      "post_count": 6
    },
    {
      "text": "Hardware",
      "type": "text",
      "css_class": "general",
      "template_id": "51f3078c-a816-11e9-914b-0e1d353d3716",
      "background_color": null,
      "text_color": "dark",
      "emojis": [],
      "post_count": 5
    },
    {
      "text": "Networking/Telecom",
      "type": "text",
      "css_class": "general",
      "template_id": "69c9e74a-a816-11e9-b15f-0efdc827626c",
      "background_color": null,
      "text_color": "dark",
      "emojis": [],
      "post_count": 4
    },
    {
      "text": "Privacy",
      "type": "text",
      "css_class": "general",
      "template_id": "73e6711c-a816-11e9-a993-0e21b1dd13b2",
      "background_color": null,
      "text_color": "dark",
      "emojis": [],
      "post_count": 3
    },
    {
      "text": "Transportation",
      "type": "text",
      "css_class": "general",
      "template_id": "8bbeae4e-a816-11e9-bb93-0e20ab5bc1a0",
      "background_color": null,
      "text_color": "dark",
      "emojis": [],
      "post_count": 3
    },
    {
      "text": "Biotechnology",
      "type": "text",
      "css_class": "general",
      "template_id": "4586512a-a816-11e9-8a48-0ec3aebe875c",
      "background_color": null,
      "text_color": "dark",
      "emojis": [],
      "post_count": 2
    },
    {
      "text": "Social Media",
      "type": "text",
      "css_class": "general",
      "template_id": "7d4d8376-a816-11e9-a92d-0e6b9fa95170",
      "background_color": null,
      "text_color": "dark",
      "emojis": [],
      "post_count": 2
    },
    {
      "text": "Space",
      "type": "text",
      "css_class": "general",
      "template_id": "8824cd4a-a816-11e9-9cc9-0e36fc97d25c",
      "background_color": null,
      "text_color": "dark",
      "emojis": [],
      "post_count": 2
    },
    {
      "text": "Energy",
      "type": "text",
      "css_class": "general",
      "template_id": "4f78ed5a-a816-11e9-85c4-0e6d89cfa908",
      "background_color": null,
      "text_color": "dark",
      "emojis": [],
      "post_count": 1
    },
    {
      "text": "Politics",
      "type": "text",
      "css_class": "general",
      "template_id": "70f05306-a816-11e9-b261-0e41843d240e",
      "background_color": null,
      "text_color": "dark",
      "emojis": [],
      "post_count": 1
    },
    {
      "text": "AdBlock Warning",
      "type": "text",
      "css_class": "general",
      "template_id": "918153cc-a816-11e9-bf38-0e4a6e146fbe",
      "background_color": null,
      "text_color": "dark",
      "emojis": [],
      "post_count": 1
    },
    {
      "text": "Nanotech/Materials",
      "type": "text",
      "css_class": "general",
      "template_id": "65de0cb0-a816-11e9-b338-0ed62c4da54a",
      "background_color": null,
      "text_color": "dark",
      "emojis": [],
      "post_count": 1
    }
  ]
}