Historic Statistic

This endpoints gives you all data necessary to build a graph for Crop growth stages along with soil data.

Endpoint: <https://api.mapmycrop.com/satellite/statistics>

Method: GET

Parameters:

ParameterTypeDescription
api_keystring ( Required)Your unique API key provided by Mapmycrop
farm_idstring ( Required)ID of the farm, for which you want to retrieve satellite information. Each farm has a unique ID
start_datedate ( Required)The date for which you want to retrieve data, in YYYY-MM-DD format (e.g., 2024-06-29).
end_datedate ( Required)The date for which you want to retrieve data, in YYYY-MM-DD format (e.g., 2024-06-29).
indexstring (Required)The remote sensing index to retrieve (e.g., NDVI, EVI, EV2, Water Stress Map). Refer to the previous API endpoints for more details.
satellitestring ( Required)The name of the satellite (e.g., S1, S2).
soilstring ( Required)You can either choose "Soil Moisture" or "Soil Temperature" as input denoted by "moisture" and "temperature" respectively.

Response:

{
  "weather": {
    "timestamp": [
      "2024-05-08",
      "2024-05-09"
    ],
    "precipitation": [
      0.242,
      1.304
    ],
    "soil_moisture_0_to_7cm": [
      0.354,
      0.383
    ],
    "soil_moisture_7_to_28cm": [
      0.346,
      0.358
    ]
  },
  "indices": {
    "timestamp": [],
    "min": [],
    "max": [],
    "mean": []
  }
}
Language
Click Try It! to start a request and see the response here!