Skip to main content
The Google Custom Search JSON API lets you embed Google-quality search results directly into your application. In this guide, you’ll create a Programmable Search Engine, generate an API key, and make your first live search request — all in under five minutes.

What to do next

Authentication

Restrict your API key, rotate credentials, and handle auth errors gracefully.

Search Parameters

Filter by language, country, date, file type, image size, and more.

Image Search

Set searchType=image to search for images with rich filtering options.

Pagination

Page through results using start (1–91) and num (1–10).

Common errors