Skip to content

icon picker
Search Engine ID and Google API Key

Why do I have to add a Search Engine ID and Google API Key?

An
is a set of rules and protocols for building and interacting with software applications. It acts as an intermediary that allows two applications to communicate with each other.
Google does not offer a direct API for its image search. As a workaround, users can create Programmable Search Engines (formerly known as Custom Search Engines).
After creating a PSE, you will receive a unique Search Engine ID. This ID is used to specify which search engine to query.
To access and integrate your Programmable Search Engine with applications, you need a Google API Key. This key is obtained from the Google Cloud Console and is used to authenticate your requests to the Google Custom Search JSON API.
⏰ This process takes less than 5 minutes

Enter Here

Search Engine ID:
Google API Key:

How to Create a Programmable Search Engine

Go to (Be sure you’re logged into Google)
Name your search engine (e.g. ‘Google Image Search’)
Choose Search the entire web
Turn ON Image search
Choose whether to turn SafeSearch ON or OFF
Click I’m not a robot
Click Create
Screenshot 2024-01-15 at 12.21.07 PM.png
Click Customize
Click Copy to copy your Search engine ID
Paste your Search engine ID above

How to Create a Google API Key

Scroll down. Beside Custom Search JSON API click Get Started
Screenshot 2024-01-15 at 12.30.53 PM.png
Click Get a Key ​
Screenshot 2024-01-15 at 12.31.58 PM.png
Click Create a new project, then click Next
Screenshot 2024-01-15 at 12.54.54 PM.png
Give your project a name like “Image Search,” then click Next
Screenshot 2024-01-15 at 12.55.23 PM.png
Click Show Key
Paste your Google API Key above

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.