The OpenCorporates RESTful API requires an api token that is embedded in either as a URL parameter as;
https://api.opencorporates.com/v0.4/...endpoint...?key=value&api_token=xxxxx
or in the header as;
curl --header "X-API-TOKEN:YOUR_API_KEY" "https://api.opencorporates.com/v0.4/companies/search?q=OpenCorporates"
You can obtain an API key by signing up to one of our self service api plans which allow varying degrees of queries per month.
If you require a monthly allowance beyond these online plans please get in touch with one of our specialists here.