Examples

The Planet Tasking API is a REST based API, which can be integrated into any service, regardless of the language used.

Authentication

The Planet API uses Basic HTTP Authentication and requires that you have a Planet API key. To obtain an API key for Planet's high resolution tasking, please contact a Planet sales representative.

Once you have an API key, it should be added into the headers of any request made to the Tasking API endpoints. If using curl then the following would be an example of this:

--header 'authorization: api-key <YOUR_API_KEY>'

Formatting

All requests and responses use the JSON format, and uses snake_case as the naming convention.

Headers

The only header, apart from the Authorization header as mentioned above, that is required is the content-type, which should look like this:

--header 'Content-Type: application/json'

GeoJSON

All of the geographical coordinate definitions in the Tasking API follow the GeoJson format

Version

The current version of the API can be found via the url https://api.planet.com/tasking/v2/version.txt