---
title: "Discussion on \"😱 Make a Random Meme API With Node.js and Puppeteer\" | Hashnode"
description: "Discussion on \"😱 Make a Random Meme API With Node.js and Puppeteer\". 👋 Hello there\nToday's article is all about how you can make a Random Meme API using Node.js and web scraping. We'll be using Fastify for our API and we'll be using Puppeteer to scrape the web and get the random meme.\nThis random meme API was inspire..."
url: "https://hashnode.com/posts/make-a-random-meme-api-with-nodejs-and-puppeteer/611be51e888ca15f5d39288c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [😱 Make a Random Meme API With Node.js and Puppeteer](https://blog.usmans.me/make-a-random-meme-api-with-nodejs-and-puppeteer?utm_source=hashnode&utm_medium=feed)

👋 Hello there Today's article is all about how you can make a Random Meme API using Node.js and web scraping. We'll be using Fastify for our API and we'll be using Puppeteer to scrape the web and get the random meme. This random meme API was inspire...

Aug 17, 2021 · 4 min read · blog.usmans.me  
Read the article

-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#web-scraping](https://hashnode.com/tag/web-scraping)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#hashnode](https://hashnode.com/tag/hashnode)

## Written by

[Usman Sabuwala](https://hashnode.com/@usmanwrites)

@usmanwrites · India

  
[View profile](https://hashnode.com/@usmanwrites)

Learning web development, running a YouTube channel

I am a full stack developer, YouTuber and blogger!

## Responses 1

Markdown supported · ⌘↵ to post

[Gourav Khunger](https://hashnode.com/@gouravkhunger)

[Aug 18, 2021](https://hashnode.com/posts/make-a-random-meme-api-with-nodejs-and-puppeteer/611be51e888ca15f5d39288c/comment/611ceeb7888ca15f5d394622)

Great insight on how to use puppeteer for web scraping!

I have a doubt, how would puppeteer work if this api is hosted on a web server as it uses chromium to get the IDs 🤔

An idea: make an article on how to host this API 😄

[Usman Sabuwala](https://hashnode.com/@usmanwrites)

[Aug 18, 2021](https://hashnode.com/posts/make-a-random-meme-api-with-nodejs-and-puppeteer/611be51e888ca15f5d39288c/comment/611ceeb7888ca15f5d394622#reply-611cf2ba8b9c0305464a0fd4)

Thank you 🙂.

Good question. Many web server hosting services like [Heroku](https://www.heroku.com/) provide a service that is able to use Puppeteer.

I'll for sure write an article on that! Thank you for suggesting 😉
