Farmonaut Satellite & Weather API
Developer Docs

Developing your own custom agricultural remote sensing solutions is super easy with Farmonaut® API. Simply make a few API requests and our systems will automatically generate all the satellite data (NDVI, NDWI, EVI, VARI, SOC, TCI, ETCI, NDMI, Evapotranspiration, DEM, RADAR and HYBRID) as well as the weather data for all the fields submitted by your organization.

For partnerships/ large scale/ custom requirements contact us at : support@farmonaut.com

Get Your Unique ID and Start Using Farmonaut API

Once a payment is made, you will receive a unique user id (UID) on your provided email address within 48 hours. With this unique user id (UID), you can start using Farmonaut’s API.

1 hectare unit will be utilized per 10 weather request.

DO NOT SHARE THIS UID WITH ANYONE. KEEP IT SECURE AND CONFIDENTIAL.

What is a Hectare Unit?

A hectare unit is defined as a single satellite observation of 1 hectare of land. Example: if total 6 successful satellite observations are captured for an area of 1 hectare, the hectare units consumed from the subscription will be 1*6 = 6 hectare units.

Use The Tutorial:

https://farmonaut.com/farmonaut-satellite-weather-api-developer-docs/#submitnewfarmplot

 

Once a farm is submitted, our servers will generate the satellite data for the same in an hour. Once the data is generated it can be accessed in real-time at any point of time.

 

Note: If PaymentType = 1, then it will grant you access to 6 satellite observations (including present, future, and historical observations).

This API end point provides you the days for which the satellite data is available for. To request satellite data of a date not listed in the provided list, you can request for the same through “Request Previous Satellite Data

endpoint.

Link to Tutorial:

https://farmonaut.com/farmonaut-satellite-weather-api-developer-docs/#getsenseddays

Introduction

What Data You Will Get?

Image Types

Colormaps

A colormap is a visual representation of the visual intensity of the selected index at a location on the field. For example, if at a particular location on the field, the displayed index value is extremely low, then in that case, that particular location point is displayed as red using colormap 1, whereas the same point is displayed as black in colormap 2. Similarly, if at a particular location on the displayed field, the displayed index value is extremely high, then in that case, that particular location is displayed as green in both the colormaps.

Hex Codes (Color - Index Value Pair)

Analysis Scales

Farmonaut Field Report

Contact us at support@farmonaut.com to add your custom logo to the reports.

Please wait while flipbook is loading. For more related info, FAQs and issues please refer to DearFlip WordPress Flipbook Plugin Help documentation.

Setup

API Calls

Satellite API Calls

Submit New Farm/Plot

Submit a POST REQUEST ON THE FOLLOWING LINK: https://us-central1-farmbase-b2f7e.cloudfunctions.net/submitField

Submit a request in the JSON Format

Once you submit the request it generally takes a few hours for the first results to be generated.

Once these results are generated they can be accessed instantaneously at any point of time.

After submitting the field please check for the sensed days after few hours through the sensed days API endpoint.

 

Example Request Obj

{
	"UID": "BpkwnSJdwHTjKhdm8ZWKJBO1HUn2",
	"Points": {
		"a": {
			"Latitude": 12.975601039033629,
			"Longitude": 77.76385936886072
		},
		"P_1": {
			"Latitude": 12.980210619777425,
			"Longitude": 77.76523131877184
		},
		"P_2": {
			"Latitude": 12.9802524385325,
			"Longitude": 77.76818878948689
		},
		"P_3": {
			"Latitude": 12.976061053481807,
			"Longitude": 77.768659517169
		},
		"P_4": {
			"Latitude": 12.975984275561343,
			"Longitude": 77.76420503854752
		}
	},
	"CropCode": "1r",
	"PaymentType": 6
}

Definitions

  1. Points == All the boundary points of the field in a clock-wise/counter-clock wise order
  2. a == First Point of the field
  3. P_x == (x+1)th point of the field, where x = 1,2,3,…
  4. Each Field Point is a JSON Object:
P_x:{
  Latitude: latitude_value,
  Longitude: longitude_value
  }
  1. PaymentType == Number of months the satellite monitoring is activated for.
  2. CropCode = The code of the crop sown in the field

Response

Upon successful submission:

{FieldID: uniqueIdentifier of the field}
//save this in the database of your user, and use this to access the satellite data of this field

Errors

{errorDescription: errorID}

errorDescriptions

1: invalid points format

2: Invalid Payment Type

3: Invalid crop code

4: Invalid UID

Modify Field Coordinates of Already Submitted Field

Example Request Obj

{
	"UID": "BpkwnSJdwHTjKhdm8ZWKJBO1HUn2",
	"Points": {
		"a": {
			"Latitude": 12.975601039033629,
			"Longitude": 77.76385936886072
		},
		"P_1": {
			"Latitude": 12.980210619777425,
			"Longitude": 77.76523131877184
		},
		"P_2": {
			"Latitude": 12.9802524385325,
			"Longitude": 77.76818878948689
		},
		"P_3": {
			"Latitude": 12.976061053481807,
			"Longitude": 77.768659517169
		},
		"P_4": {
			"Latitude": 12.975984275561343,
			"Longitude": 77.76420503854752
		}
	},
	"FieldID": "1637947932892",
}

Definitions

  1. Points == All the boundary points of the field in a clock-wise/counter-clock wise order
  2. a == First Point of the field
  3. P_x == (x+1)th point of the field, where x = 1,2,3,…
  4. Each Field Point is a JSON Object:
P_x:{
  Latitude: latitude_value,
  Longitude: longitude_value
  }

Response

Upon successful submission:

{FieldID: uniqueIdentifier of the field}
//save this in the database of your user, and use this to access the satellite data of this field

Errors

{errorDescription: errorID}

errorDescriptions

1: invalid points format

2: Invalid Payment Type

3: Invalid crop code

4: Invalid UID

Get Field Area By Boundary Points

Example Request Obj

{
"UID": "BpkwnSJdwHTjKhdm8ZWKJBO1HUn2",
"Points": {
"a": {
"Latitude": 12.975601039033629,
"Longitude": 77.76385936886072
},
"P_1": {
"Latitude": 12.980210619777425,
"Longitude": 77.76523131877184
},
"P_2": {
"Latitude": 12.9802524385325,
"Longitude": 77.76818878948689
},
"P_3": {
"Latitude": 12.976061053481807,
"Longitude": 77.768659517169
},
"P_4": {
"Latitude": 12.975984275561343,
"Longitude": 77.76420503854752
}
}
}

Definitions

  1. Points == All the boundary points of the field in a clock-wise/counter-clock wise order
  2. a == First Point of the field
  3. P_x == (x+1)th point of the field, where x = 1,2,3,…
  4. Each Field Point is a JSON Object:
P_x:{
  Latitude: latitude_value,
  Longitude: longitude_value
  }

Response

Upon successful submission:

{FieldArea: fieldArea}
//field area is in sq. m.

Retrieve All Farmers Data

{UID: UID
}

Response

Upon successful submission:

{FieldArea: fieldArea}
//field area is in sq. m.

Retrieve My Usage Data

{UID: UID
}

Retrieve A Single Farmer's Data

{FieldID: fieldID,
UID: UID
}

Response

{<br />"1600502365642" : {<br />"CenterLat" : 50.50679194429229,<br />"CenterLatLarge" : 50.50679194429229,<br />"CenterLong" : 14.280552814060654,<br />"CenterLongLarge" : 14.280552814060654,<br />"Coordinates" : {<br />"P_1" : {<br />"Latitude" : 50.509171005120145,<br />"Longitude" : 14.274860153744537<br />},<br />"P_10" : {<br />"Latitude" : 50.507888945186714,<br />"Longitude" : 14.286577469677102<br />},<br />"P_11" : {<br />"Latitude" : 50.507107677856425,<br />"Longitude" : 14.286727673381936<br />},<br />"P_12" : {<br />"Latitude" : 50.505429103452045,<br />"Longitude" : 14.2861268585626<br />},<br />"P_13" : {<br />"Latitude" : 50.504355135805845,<br />"Longitude" : 14.28591875433387<br />},<br />"P_14" : {<br />"Latitude" : 50.5033656817402,<br />"Longitude" : 14.285478872055428<br />},<br />"P_15" : {<br />"Latitude" : 50.50470174713382,<br />"Longitude" : 14.282217305893319<br />},<br />"P_16" : {<br />"Latitude" : 50.505943644125296,<br />"Longitude" : 14.279384893173592<br />},<br />"P_17" : {<br />"Latitude" : 50.506674003699004,<br />"Longitude" : 14.277850278783347<br />},<br />"P_18" : {<br />"Latitude" : 50.50730175366734,<br />"Longitude" : 14.276745208669212<br />},<br />"P_19" : {<br />"Latitude" : 50.50771455450234,<br />"Longitude" : 14.27597558455981<br />},<br />"P_2" : {<br />"Latitude" : 50.50956603877697,<br />"Longitude" : 14.277074239540681<br />},<br />"P_20" : {<br />"Latitude" : 50.508193077754505,<br />"Longitude" : 14.274377954739371<br />},<br />"P_21" : {<br />"Latitude" : 50.508256707065996,<br />"Longitude" : 14.274431000302155<br />},<br />"P_3" : {<br />"Latitude" : 50.509993050527804,<br />"Longitude" : 14.279200222992845<br />},<br />"P_4" : {<br />"Latitude" : 50.510218206844385,<br />"Longitude" : 14.280643251442857<br />},<br />"P_5" : {<br />"Latitude" : 50.510180680866185,<br />"Longitude" : 14.282488611245103<br />},<br />"P_6" : {<br />"Latitude" : 50.50989432732506,<br />"Longitude" : 14.283821387053699<br />},<br />"P_7" : {<br />"Latitude" : 50.50937919184884,<br />"Longitude" : 14.284921092749805<br />},<br />"P_8" : {<br />"Latitude" : 50.50900453158635,<br />"Longitude" : 14.285558230251443<br />},<br />"P_9" : {<br />"Latitude" : 50.50817893195429,<br />"Longitude" : 14.28638435062803<br />},<br />"a" : {<br />"Latitude" : 50.508256707065996,<br />"Longitude" : 14.274431000302155<br />}<br />},<br />"Email" : "support@farmonaut.com",<br />"Expiring" : "no",<br />"FailedDays" : {<br />"20200905" : "yes",<br />"20200925" : "yes",<br />"20200927" : "yes",<br />"20200930" : "yes",<br />"20201007" : "yes",<br />"20201015" : "yes",<br />"20201017" : "yes",<br />"20201020" : "yes",<br />"20201027" : "yes"<br />},<br />"FieldAddress" : "Vrutice 85, 411 47 Vrutice, Czechia",<br />"FieldArea" : 396800,<br />"FieldID" : "1600502365642",<br />"FieldLatLen" : 0.016376154108932894,<br />"FieldLatLenLarge" : 0.03275230837586207,<br />"FieldLongLen" : 0.025749206542965197,<br />"FieldLongLenLarge" : 0.051498413085930395,<br />"FieldMaxLat" : 50.510218206844385,<br />"FieldMaxLong" : 14.286727673381936,<br />"FieldMinLat" : 50.5033656817402,<br />"FieldMinLong" : 14.274377954739371,<br />"GenTif" : "yes",<br />"hUnits" : 119,<br />"Health" : {<br />"evi" : {<br />"20200912" : "60",<br />"20200917" : "41",<br />"20200920" : "61",<br />"20200922" : "59",<br />"20201002" : "68",<br />"20201022" : "31",<br />"20201025" : "52"<br />},<br />"ndre" : {<br />"20200912" : "32",<br />"20200917" : "23",<br />"20200920" : "33",<br />"20200922" : "31",<br />"20201002" : "33",<br />"20201022" : "19",<br />"20201025" : "27"<br />},<br />"ndvi" : {<br />"20200912" : "40",<br />"20200917" : "27",<br />"20200920" : "41",<br />"20200922" : "39",<br />"20201002" : "44",<br />"20201022" : "21",<br />"20201025" : "34"<br />},<br />"ndwi" : {<br />"20200912" : "29",<br />"20200917" : "41",<br />"20200920" : "28",<br />"20200922" : "29",<br />"20201002" : "41",<br />"20201022" : "44",<br />"20201025" : "38"<br />},<br />"soc" : {<br />"20200912" : "4",<br />"20200917" : "3",<br />"20200920" : "4",<br />"20200922" : "4",<br />"20201002" : "0",<br />"20201022" : "0",<br />"20201025" : "0"<br />},<br />"vari" : {<br />"20200912" : "24",<br />"20200917" : "32",<br />"20200920" : "20",<br />"20200922" : "20",<br />"20201002" : "42",<br />"20201022" : "63",<br />"20201025" : "31"<br />}<br />},<br />"Yield":{<br />"20200912" : "24",<br />"20200917" : "32",<br />"20200920" : "20",<br />"20200922" : "20",<br />"20201002" : "42",<br />"20201022" : "63",<br />"20201025" : "61"<br />}<br />"Name" : "Farmonaut Support",<br />"OrderDate" : "19-September-2020",<br />"Paid" : "Yes",<br />"PaymentType" : "3",<br />"SensedDays" : {<br />"20200912" : "yes",<br />"20200917" : "yes",<br />"20200920" : "yes",<br />"20200922" : "yes",<br />"20201002" : "yes",<br />"20201022" : "yes",<br />"20201025" : "yes"<br />},<br />"SARDays" : {<br />"20200912" : "yes",<br />"20200917" : "yes",<br />"20200920" : "yes",<br />"20200922" : "yes",<br />},<br />"UID" : "BpkwnSJdwHTjKhdm8ZWKJBO1HUn2",<br />"URI" : "https://lh6.googleusercontent.com/-lsH7M4Gr5wg/AAAAAAAAAAI/AAAAAAAAABM/eNUASvhfjs4/s96-c/photo.jpg",<br />"Weather" : {<br />"20201028" : {<br />"cloud_cover" : 100,<br />"humidity" : 79,<br />"max_temp" : 283.71,<br />"min_temp" : 274.82,<br />"pressure" : 1014,<br />"station" : "Polepy",<br />"wind_deg" : 90,<br />"wind_speed" : 0.89<br />},<br />"20201029" : {<br />"cloud_cover" : 75,<br />"humidity" : 81,<br />"max_temp" : 283.15,<br />"min_temp" : 279.26,<br />"pressure" : 1017,<br />"station" : "Polepy",<br />"wind_deg" : 260,<br />"wind_speed" : 5.7<br />},<br />"20201030" : {<br />"cloud_cover" : 100,<br />"humidity" : 87,<br />"max_temp" : 286.48,<br />"min_temp" : 277.04,<br />"pressure" : 1018,<br />"station" : "Polepy",<br />"wind_deg" : 270,<br />"wind_speed" : 0.89<br />}<br />}<br />}<br />}

Definitions

  1. CenterLat == latitude value of the center of the field
  2. CenterLong == longitude value of the center of the field
  3. Expiring == whether field is expiring or not
  4. FailedDays == days on which satellite could not capture data due to cloud cover
  5. FieldAddress == Address of the location of the field
  6. FieldArea == area of the field in sqaure meters
  7. FieldID == uniqueID of the field
  8. FieldMaxLat == maximum latitude value of all the field points
  9. FieldMinLat == minimum latitude value of all the field points
  10. FieldMaxLong == maximum longitude value of all the field points
  11. FieldMinLong == minimum longitude value of all the field points
  12. Health == value of indexes on different satellite visit dates (range from 0 to 100)
  13. OrderDate == date on which field was added
  14. PaymentType == number of months for which satellite monitoring is activated for the field
  15. SensedDays == days on which satellite was successfully able to capture the satellite data (yyyymmdd)
  16. SARDays == days on which satellite captured the radar vegetation data (yyyymmdd)
  17. UID == unique identifier of your organization
  18. Weather == weather from the weather station nearest to the field.
  19. hUnits == Number of hectare units utilized for this field
  20. Yield == Total Yield in Tonnes For The Field Area

 

Crop Codes

Crop

CropCode

Rice (Kharif)

1k

Rice (Rabi)

1r

Wheat

2r

Coarse Cereals (Kharif)

3k

Coarse Cereals (Rabi)

3r

Jowar (Kharif)

4k

Jowar (Rabi)

4r

Bajra (Kharif)

5k

Maize (Kharif)

6k

Maize (Rabi)

6r

Pulse (Kharif)

7k

Pulse (Rabi)

7r

Gram (Rabi)

8r

Tur (Kharif)

9k

Rapeseed and Mustard (Rabi)

10r

Soyabean (Kharif)

11k

Sunflower

12

Sugarcane

13

Cotton

14

Jute and Mesta

15

Potato

16

Onion

17

Coconut

18

Tobacco

19

Groundnut

20

Turmeric

21

Corn

22

Chili

23

Other

999



Image Type Codes For API

Image NameImage Type
NDVIndvi
NDWIndwi
EVAPOevapo
NDMIndmi
EVIevi
RVIrvi
NDREndre
VARIvari
SAVIsavi
AVIavi
BSIbsi
SIsi
SOCsoc
TCItci
ETCIetci
HYBRIDhybrid
COLORBLINDhybrid_blind
DEMdem

 

Retrieve A Field Image

Example Request Obj

{
	"UID": "BpkwnSJdwHTjKhdm8ZWKJBO1HUn2",
	"FieldID": "1600503072436",
	"SensedDay": "20201025",
	"ImageType": "ndvi",
	"Colormap": "1" (optional values can be 1 or 2)
}

Response

 

Upon successful submission:

{"url": url}

 

Note: replace ‘media1’ with ‘media’ at the end of the provided URL in the response.

 

Retrieve A Field Image Linegraph

Example Request Obj

{
"UID": "BpkwnSJdwHTjKhdm8ZWKJBO1HUn2",
"FieldID": "1600503072436",
"SensedDay": "20201025",
"ImageType": "ndvi"

}

Response

 

Upon successful submission:

{"url": url}

 

Note: replace ‘media1’ with ‘media’ at the end of the provided URL in the response.

Retrieve A Field Area Index Image

Example Request Obj

{
"UID": "BpkwnSJdwHTjKhdm8ZWKJBO1HUn2",
"FieldID": "1600503072436",
"SensedDay": "20201025",
"ImageType": "ndvi"

}

Response

 

Upon successful submission:

{"url": url}

 

Note: replace ‘media1’ with ‘media’ at the end of the provided URL in the response. 

Pause Field Monitoring

Example Request Obj

{
"UID": "BpkwnSJdwHTjKhdm8ZWKJBO1HUn2",
"FieldID": "1600503072436"
}

Response

Field Monitoring Paused.

Note: replace ‘media1’ with ‘media’ at the end of the provided URL in the response. 

Resume Field Monitoring

Example Request Obj

{
"UID": "BpkwnSJdwHTjKhdm8ZWKJBO1HUn2",
"FieldID": "1600503072436"
}

Response

Field Monitoring Resumed.

Note: replace ‘media1’ with ‘media’ at the end of the provided URL in the response. 

Retrieve Yield Estimates of a Field

Example Request Obj

{ "UID": "BpkwnSJdwHTjKhdm8ZWKJBO1HUn2", "FieldID": "1600503072436" }

Response

Yield == Total Yield Estimated in Tonnes For Given The Field Area

Request Historical Satellite Data

Through this API endpoint, you can access historical satellite data from 2017 onwards. Our systems will process the data of the requested date (or of a satellite visit within 5 days of the requested date).

Example Request Obj

{ "UID": "BpkwnSJdwHTjKhdm8ZWKJBO1HUn2", "FieldID": "1600503072436", "RequestedDate": "YYYYMMDD" }

Response

Request submitted. Data will be available within a few hours. Please check the SensedDays Key for confirmation in a few hours.

Get Sensed Days

Example Request Obj

{ "UID": "BpkwnSJdwHTjKhdm8ZWKJBO1HUn2", "FieldID": "1600503072436" }

Response

"SensedDays" : {
"20200912" : "yes",
"20200917" : "yes",
"20200920" : "yes",
"20200922" : "yes",
"20201002" : "yes",
"20201022" : "yes",
"20201025" : "yes"
}

Get SAR Days

Example Request Obj

{ "UID": "BpkwnSJdwHTjKhdm8ZWKJBO1HUn2", "FieldID": "1600503072436" }

Response

"SARDays" : {
"20200912" : "yes",
"20200917" : "yes",
"20200920" : "yes",
"20200922" : "yes",
}

Define Language of the HTML Field Report

Example Request Obj

{
"UID": "BpkwnSJdwHTjKhdm8ZWKJBO1HUn2",
"FieldID": "1600503072436",
"Language": "en"
}

Response

Language Set.

Note: replace ‘media1’ with ‘media’ at the end of the provided URL in the response. 

Language Codes

Afrikaans

af

Albanian

sq

Amharic

am

Arabic

ar

Armenian

hy

Azerbaijani

az

Basque

eu

Belarusian

be

Bengali

bn

Bosnian

bs

Bulgarian

bg

Catalan

ca

Cebuano

ceb (ISO-639-2)

Chinese (Simplified)

zh-CN or zh (BCP-47)

Chinese (Traditional)

zh-TW (BCP-47)

Corsican

co

Croatian

hr

Czech

cs

Danish

da

Dutch

nl

English

en

Esperanto

eo

Estonian

et

Finnish

fi

French

fr

Frisian

fy

Galician

gl

Georgian

ka

German

de

Greek

el

Gujarati

gu

Haitian Creole

ht

Hausa

ha

Hawaiian

haw (ISO-639-2)

Hebrew

he or iw

Hindi

hi

Hmong

hmn (ISO-639-2)

Hungarian

hu

Icelandic

is

Igbo

ig

Indonesian

id

Irish

ga

Italian

it

Japanese

ja

Javanese

jv

Kannada

kn

Kazakh

kk

Khmer

km

Kinyarwanda

rw

Korean

ko

Kurdish

ku

Kyrgyz

ky

Lao

lo

Latvian

lv

Lithuanian

lt

Luxembourgish

lb

Macedonian

mk

Malagasy

mg

Malay

ms

Malayalam

ml

Maltese

mt

Maori

mi

Marathi

mr

Mongolian

mn

Myanmar (Burmese)

my

Nepali

ne

Norwegian

no

Nyanja (Chichewa)

ny

Odia (Oriya)

or

Pashto

ps

Persian

fa

Polish

pl

Portuguese (Portugal, Brazil)

pt

Punjabi

pa

Romanian

ro

Russian

ru

Samoan

sm

Scots Gaelic

gd

Serbian

sr

Sesotho

st

Shona

sn

Sindhi

sd

Sinhala (Sinhalese)

si

Slovak

sk

Slovenian

sl

Somali

so

Spanish

es

Sundanese

su

Swahili

sw

Swedish

sv

Tagalog (Filipino)

tl

Tajik

tg

Tamil

ta

Tatar

tt

Telugu

te

Thai

th

Turkish

tr

Turkmen

tk

Ukrainian

uk

Urdu

ur

Uyghur

ug

Uzbek

uz

Vietnamese

vi

Welsh

cy

Xhosa

xh

Yiddish

yi

Yoruba

yo

Zulu

zu

 

Retrieve A Field Report

Example Request Obj

{
"UID": "BpkwnSJdwHTjKhdm8ZWKJBO1HUn2",
"FieldID": "1600503072436",
"SensedDay": "20201025",
"ReportFormat" : "PDF"
}

Response

Upon successful submission:

{"url": url}
Report Formats: "PDF", "HTML"

Note: replace ‘media1’ with ‘media’ at the end of the provided URL in the response. 

Retrieve A Radar Vegetation Field Image

Example Request Obj

{
"UID": "BpkwnSJdwHTjKhdm8ZWKJBO1HUn2",
"FieldID": "1600503072436",
"SensedDay": "20201025",
"ImageType": "rvi",
"Colormap": "1" (optional values can be 1 or 2)
}

Response

 

Upon successful submission:

{"url": url}

 

Note: replace ‘media1’ with ‘media’ at the end of the provided URL in the response.

 

Weather API Calls

Retrieve A Past Weather Graph

Example Request Obj

{
"UID": "BpkwnSJdwHTjKhdm8ZWKJBO1HUn2",
"FieldID": "1600503072436",
"SensedDay": "20201025"
}

Response

 

Upon successful submission:

{"url": url}

 

Note: replace ‘media1’ with ‘media’ at the end of the provided URL in the response. 

Retrieve Forecast Weather Data

Example Request Obj

{FieldID: fieldID,
    UID: UID
}

Retrieve Present Weather Data

Example Request Obj

{FieldID: fieldID,
    UID: UID
}

Response

A JSON object containing current weather information from the nearest weather station

{
"coord": {
"lon": -122.08,
"lat": 37.39
},
"weather": [
{
"id": 800,
"main": "Clear",
"description": "clear sky",
"icon": "01d"
}
],
"base": "stations",
"main": {
"temp": 282.55,
"feels_like": 281.86,
"temp_min": 280.37,
"temp_max": 284.26,
"pressure": 1023,
"humidity": 100
},
"visibility": 16093,
"wind": {
"speed": 1.5,
"deg": 350
},
"clouds": {
"all": 1
},
"dt": 1560350645,
"sys": {
"type": 1,
"id": 5122,
"message": 0.0139,
"country": "US",
"sunrise": 1560343627,
"sunset": 1560396563
},
"timezone": -25200,
"id": 420006353,
"name": "Mountain View",
"cod": 200
} 

Fields in API Response

coord.lon : City geo location, longitude

coord.lat : City geo location, latitude

weather : (more info Weather condition codes)

weather.id : Weather condition id

weather.main : Group of weather parameters (Rain, Snow, Extreme etc.)

weather.description : Weather condition within the group. You can get the output in your language.

weather.icon : Weather icon id

base : Internal parameter

main.temp : Temperature. Unit Default: Kelvin, Metric: Celsius, Imperial: Fahrenheit.

main.feels_like : Temperature. This temperature parameter accounts for the human perception of weather. Unit Default: Kelvin, Metric: Celsius, Imperial: Fahrenheit.

main.pressure : Atmospheric pressure (on the sea level, if there is no sea_level or grnd_level data), hPa

main.humidity : Humidity, %

main.temp_min : Minimum temperature at the moment. This is minimal currently observed temperature (within large megalopolises and urban areas). Unit Default: Kelvin, Metric: Celsius, Imperial: Fahrenheit.

main.temp_max : Maximum temperature at the moment. This is maximal currently observed temperature (within large megalopolises and urban areas). Unit Default: Kelvin, Metric: Celsius, Imperial: Fahrenheit.

main.sea_level : Atmospheric pressure on the sea level, hPa

main.grnd_level : Atmospheric pressure on the ground level, hPa

wind.speed : Wind speed. Unit Default: meter/sec, Metric: meter/sec, Imperial: miles/hour.

wind.deg : Wind direction, degrees (meteorological)

wind.gust : Wind gust. Unit Default: meter/sec, Metric: meter/sec, Imperial: miles/hour

clouds.all : Cloudiness, %

rain.1h : Rain volume for the last 1 hour, mm

rain.3h : Rain volume for the last 3 hours, mm

snow.1h : Snow volume for the last 1 hour, mm

snow.3h : Snow volume for the last 3 hours, mm

dt : Time of data calculation, unix, UTC

sys.type : Internal parameter

sys.id : Internal parameter

sys.message : Internal parameter

sys.country : Country code (GB, JP etc.)

sys.sunrise : Sunrise time, unix, UTC

sys.sunset : Sunset time, unix, UTC

timezone : Shift in seconds from UTC

id : City ID

name : City name

cod : Internal parameter

Retrieve Historical Weather for A Field

Example Request Obj

{    UID: UID,
FieldID:fieldID,
NumberOfDays: numberOfDays
}

Retrieve Weather Forecast Data from Latitude and Longitude

Example Request Obj

{    UID: UID,
Latitude: lat,
Longitude: lon
}

Response

A JSON object containing current weather information from the nearest weather station



{
  "coord": {
    "lon": -122.08,
    "lat": 37.39
  },
  "weather": [
    {
      "id": 800,
      "main": "Clear",
      "description": "clear sky",
      "icon": "01d"
    }
  ],
  "base": "stations",
  "main": {
    "temp": 282.55,
    "feels_like": 281.86,
    "temp_min": 280.37,
    "temp_max": 284.26,
    "pressure": 1023,
    "humidity": 100
  },
  "visibility": 16093,
  "wind": {
    "speed": 1.5,
    "deg": 350
  },
  "clouds": {
    "all": 1
  },
  "dt": 1560350645,
  "sys": {
    "type": 1,
    "id": 5122,
    "message": 0.0139,
    "country": "US",
    "sunrise": 1560343627,
    "sunset": 1560396563
  },
  "timezone": -25200,
  "id": 420006353,
  "name": "Mountain View",
  "cod": 200
  }  

Fields in API Response

coord.lon : City geo location, longitude
coord.lat : City geo location, latitude
weather : (more info Weather condition codes)
weather.id : Weather condition id
weather.main : Group of weather parameters (Rain, Snow, Extreme etc.)
weather.description : Weather condition within the group. You can get the output in your language. 
weather.icon : Weather icon id
base : Internal parameter

main.temp : Temperature. Unit Default: Kelvin, Metric: Celsius, Imperial: Fahrenheit.
main.feels_like : Temperature. This temperature parameter accounts for the human perception of weather. Unit Default: Kelvin, Metric: Celsius, Imperial: Fahrenheit.
main.pressure : Atmospheric pressure (on the sea level, if there is no sea_level or grnd_level data), hPa
main.humidity : Humidity, %
main.temp_min : Minimum temperature at the moment. This is minimal currently observed temperature (within large megalopolises and urban areas). Unit Default: Kelvin, Metric: Celsius, Imperial: Fahrenheit.
main.temp_max : Maximum temperature at the moment. This is maximal currently observed temperature (within large megalopolises and urban areas). Unit Default: Kelvin, Metric: Celsius, Imperial: Fahrenheit.
main.sea_level : Atmospheric pressure on the sea level, hPa
main.grnd_level : Atmospheric pressure on the ground level, hPa
wind
wind.speed : Wind speed. Unit Default: meter/sec, Metric: meter/sec, Imperial: miles/hour.
wind.deg : Wind direction, degrees (meteorological)
wind.gust : Wind gust. Unit Default: meter/sec, Metric: meter/sec, Imperial: miles/hour
clouds.all : Cloudiness, %
rain.1h : Rain volume for the last 1 hour, mm
rain.3h : Rain volume for the last 3 hours, mm
snow.1h : Snow volume for the last 1 hour, mm
snow.3h : Snow volume for the last 3 hours, mm
dt : Time of data calculation, unix, UTC
sys.type : Internal parameter
sys.id : Internal parameter
sys.message : Internal parameter
sys.country : Country code (GB, JP etc.)
sys.sunrise : Sunrise time, unix, UTC
sys.sunset : Sunset time, unix, UTC
timezone : Shift in seconds from UTC
id : City ID
name : City name
cod : Internal parameter

Retrieve Crop Solution Database

Example Request Obj

{ UID: UID,
Crop:crop
}

Response

A JSON object containing solution of major crop issues from government approved database 

{
"downy leaf spot": {
"captan 75% wp": {
"formulation": "3 gm",
"dilution": "10 per tree",
"ai_gm": "1.5 gm"
}
},
"rust red flour": {
"methyl bromide 98% w/w": {
"formulation": "24 -32 gms/m3",
"dilution": "waiting period 72 hrs.",
"ai_gm": "air tight cover"
}
}
}

Crop Name
apple
apricot
areca nut
bajra
bamboo
banana
barley
beans
bengal gram
ber
betel
bitter gourd
black gram
bottle gourd
brinjal
cabbage
capsicum
cardamom
cashew
castor
cauliflower
cereals
cherry
chick pea
chili
citrus
coconut
coffee
coriander
cotton
cow pea
cucumber
cucurbit
cumin
dry fruits
fig
flour
french bean
gram
grape
grape fruit
green gram
ground nut
grount nut
guar
guava
jowar
jute
litchi
maize
mango
millet
moong
mulberry
mustard
oil seed
okra
onion
opium
orange
paddy
papaya
pea
peach
pear
pearl millet
pigeon pea
pineapple
plum
pomegranate
potato
pulses
radish
ragi
rapeseed
red gram
rice
rose
rubber
safflower
seed
sesame
sorghum
soybean
spices
sugar beet
sugarcane
sunflower
sweet cherry
tapioca
tea
teak
tobacco
tomato
tur
turnip
urad
urd bean
walnut
wheat
sunflower
oil palm