Getting a cx ID for custom search, Google API - Python
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
As of 2020
- Go to https://cse.google.com/all
- Select your search engine or Create one and go into that
- You can find the CX id titled as "Search engine ID"
- 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