Quick Start
Get your first satellite image in few steps.
Last updated
Get your first satellite image in few steps.
Last updated
Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.
To begin using the Graniot API, you need to create an account on the . Once you have signed up, go to your profile settings and claim you API key.
You will get a secure key like this:
This API key have to be used on the server side and must be secret and stored securely in your web or mobile app’s server-side code (such as in an environment variable or credential management system). Don’t expose this key on a website or embed it in a mobile application.
All the call have to be performed over HTTPS to the base URL:
Authentication to the API is performed with X-API-KEY
header, use -H "X-API-KEY: JqUhiQYb.fg6UFvPifAbZkuiKrpQ5VluWhSIXwlvcyUE06d4P7AWZEMqJp9AWQk2TXVsxDXWxqCt
.
Every API key is associated with your organisation. You can create multiple accounts for your organisation, ideally one for every of your organisation customer. In this way all the data can be associated to a specific account.
In order to add an account for your organisation you only need to provide an email, this email will only be used as identifier.
Take a look at how you might call this method:
Just pick the wms_url
parameter in the properties of the parcel and add at the end the name of the satellite layer you want to see, for example NDVI, PCD, OSAVI.
Explore the Satellite Data page in API Reference to see the other layers and data you can get.