Custom Search Engine APIs - Custom Search on the fly
With Linked CSEs, you designate a CSE specification URL with each search request (as a hidden form field in your search box HTML code). Google retrieves the CSE specification from the URL when your user searches in the CSE.
http://googlecustomsearch.blogspot.com/2007/06/custom-search-engine-apis.html
