The Planet API allows you to authenticate in two different ways:
with your user credentials or with your API key.
The two following example requests using cURL will both search for RapidEye scenes with cloud cover of less than 10%:
curl -u "c35373fccc102af1b225071a7bc35a90:" "https://api.planet.com/v0/scenes/rapideye/?cloud_cover.estimated.lt=10
curl -u "email@example.com:secretpassword" "https://api.planet.com/v0/scenes/rapideye/?cloud_cover.estimated.lt=10
In the first example, we used the API key (
c35373fccc102af1b225071a7bc35a90) followed by a semi-colon for authentication. In the second example, we used the email address (
firstname.lastname@example.org) and password (
secretpassword) separated by a semi-colon.