The JSON Custom Search API lets you develop websites and applications to retrieve and display search results from Google Custom Search programmatically. With this API, you can use RESTful requests to get either web search or image search results in JSON format.
JSON Custom Search API can return results in JSON data format.
The JSON Custom Search API uses the OpenSearch 1.1 Specification.
Search engine ID
Before using the JSON Custom Search API you will first need to create and configure your Custom Search Engine. If you have not already created a Custom Search Engine, you can start by visiting the Custom Search Engine control panel.
Follow the tutorial to learn more about different configuration options.
After you have created a Custom Search Engine, visit the help center to learn how to locate your Search engine ID.
JSON Custom Search API requires the use of an API key. Get a Key
JSON Custom Search API provides 100 search queries per day for free. If you need more, you may sign up for billing in the API Console. Additional requests cost $5 per 1000 queries, up to 10k queries per day.
If you need more than 10k queries per day and your Custom Search Engine searches 10 sites or fewer, you may be interested in the Custom Search Site Restricted JSON API, which does not have a daily query limit.