Google Search API
Input (required)
- API Key You must acquire the API Key first from Google. Please see below for the instruction
- Search Engine ID This is part of the API activation process. See below for details
- Search Keyword Enter word or words just like you enter them on your web-browser
- Search Type Choose between general Web search and the Image search
- Number of Results You can specify the number of results to show up in output (up to 100)
Input (optional – Get Process only)
- Exact Terms Limit the results to those that include word(s) or phrase(s) specified here.
- Date Restrict You can set the limitation to update dates – see below for formats
- File Type This is only for the Image search – see below.
- Exclude Terms Limit the results to those that does not contain word(s) or phrase(s) specified here.
- Site Search Search will be performed only in the domain you specify here
Output
- Return Value (CSV)
Headers are shown below
title | link | snippet |
How to obtain Google Search API key and the Search Engine ID
[1] API Key
Step 1
- visit https://console.cloud.google.com
- Login to google account which first time to use this console
- Click “CREATE” button to create new project
Step 2
- New project
- Project name
- Click “CREATE” button
Step 3
- Search with “custom search”
- Select “Custom Search API”
Step 4
- Click “TRY THIS API” button