RapidAPI logo

Sign Up

Log In

OrbitalViews

FREE
By orbitalviews
Updated 3 months ago
3.6/10
Popularity Score
5927ms
Latency
50%
Success Rate

OrbitalViews API Documentation

Worldwide Streaming of Satellite Data (Sentinel), Water Needs & Solar Radiation

View API Details
Register Field
POSTRegister Field
DELETERegistered Field
Elevation
GETelevation
POSTelevation with WKT polygon
Images
GETList Images
GETServe Image
Weather
GETsolar radiation
GETEvapotranspiration
POSTRegister Field

Register a field / area of interest

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Content-TypeSTRING
OPTIONAL
Required Parameters
apikeySTRING
REQUIREDAPI Key ( key can be obtained from https://orbitalviews.eu/)
fieldnameSTRING
REQUIREDField name. Please, don't use special characters like ö,ü
maptypeSTRING
REQUIREDFormat 'all','rgb','ndvi','cir','leafmoisture','varmap','raw'
startdateSTRING
REQUIREDFormat '2017-01-01'
Optional Parameters
polygonSTRING
OPTIONALWKT polygon from geojson.io Example: Dachstein in the Alps
enddateSTRING
OPTIONALFormat '2018-01-01'
Request Snippet
unirest.post("https://orbitalviews-orbitalviews-v1.p.rapidapi.com/api/v1/register_field/")
.header("X-RapidAPI-Host", "orbitalviews-orbitalviews-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send("polygon=POLYGON ((11.688015460968018 48.40632897181431, 11.687607765197754 48.401257663314574, 11.696963310241697 48.40157107344185, 11.695611476898193 48.40658537285973, 11.688015460968018 48.40632897181431)) POLYGON ((-78.26231002807617 46.176740016433456, -78.26179504394531 46.16723003113897, -78.24377059936522 46.166992260437624, -78.24308395385742 46.176977744996904, -78.26231002807617 46.176740016433456)) POLYGON ((13.470611572265623 47.632081940263305, 13.456878662109373 47.39091206104779, 13.84552001953125 47.39277144427804, 13.85101318359375 47.628380027447136, 13.470611572265623 47.632081940263305))")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://orbitalviews-orbitalviews-v1.p.rapidapi.com/api/v1/register_field/")
.header("X-RapidAPI-Host", "orbitalviews-orbitalviews-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send("polygon=POLYGON ((11.688015460968018 48.40632897181431, 11.687607765197754 48.401257663314574, 11.696963310241697 48.40157107344185, 11.695611476898193 48.40658537285973, 11.688015460968018 48.40632897181431)) POLYGON ((-78.26231002807617 46.176740016433456, -78.26179504394531 46.16723003113897, -78.24377059936522 46.166992260437624, -78.24308395385742 46.176977744996904, -78.26231002807617 46.176740016433456)) POLYGON ((13.470611572265623 47.632081940263305, 13.456878662109373 47.39091206104779, 13.84552001953125 47.39277144427804, 13.85101318359375 47.628380027447136, 13.470611572265623 47.632081940263305))")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication