Getting a cx ID for custom search, Google API - Python Getting a cx ID for custom search, Google API - Python python python

Getting a cx ID for custom search, Google API - Python


As of 2020

  1. Go to https://cse.google.com/all
  2. Select your search engine or Create one and go into that
  3. You can find the CX id titled as "Search engine ID"
  4. Public URL also has the cx id in the Query param as ?cx=**

2012 Answer outdated.

here you can find the cx id http://www.google.com/cse/manage/all. look for My search engines then choose from the list


As of 2017 (this may be outdated in the future), here are the steps:

1) After getting the API key (under Custom Search API) here

2) Head to CSE home

3) Click on Add below Edit Search Engine

4) You'll get a search box, type in www.google.com and then click on Create at the bottom

5) You'll get your cx code (called Search Engine ID) to use with your API key


Solved:Go to your

Custom Search Engine ->   Edit Search Engine ->     Basics ->       Sites to Search ->         select: Search the entire web 

but emphasize included sites.