Indice Statistic

🚧

Remember

You will get data only for satellite data statistics for satellite imagery having ONLY less than 20% cloud color.


👍

Advanced Data

This API endpoint will advanced pixel level information.

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).
intervalstring ( Required)Defaults to P1D

Response:

[
  {
    "interval": {
      "from": "2024-05-08T00:00:00Z",
      "to": "2024-05-09T00:00:00Z"
    },
    "outputs": {
      "data": {
        "bands": {
          "B0": {
            "stats": {
              "min": -0.06138613820075989,
              "max": 0.9369582533836365,
              "mean": 0.37907506603233526,
              "stDev": 0.2919590260115986,
              "sampleCount": 65536,
              "noDataCount": 0
            },
            "histogram": {
              "bins": [
                {
                  "lowEdge": -0.06138613820075989,
                  "highEdge": 0.038448300957679746,
                  "count": 91
                },
                {
                  "lowEdge": 0.038448300957679746,
                  "highEdge": 0.13828274011611938,
                  "count": 636
                },
                {
                  "lowEdge": 0.13828274011611938,
                  "highEdge": 0.238117179274559,
                  "count": 39332
                },
                {
                  "lowEdge": 0.238117179274559,
                  "highEdge": 0.33795161843299865,
                  "count": 3931
                },
                {
                  "lowEdge": 0.33795161843299865,
                  "highEdge": 0.4377860575914383,
                  "count": 1765
                },
                {
                  "lowEdge": 0.4377860575914383,
                  "highEdge": 0.5376204967498779,
                  "count": 1456
                },
                {
                  "lowEdge": 0.5376204967498779,
                  "highEdge": 0.6374549359083176,
                  "count": 1251
                },
                {
                  "lowEdge": 0.6374549359083176,
                  "highEdge": 0.7372893750667572,
                  "count": 1573
                },
                {
                  "lowEdge": 0.7372893750667572,
                  "highEdge": 0.8371238142251968,
                  "count": 3525
                },
                {
                  "lowEdge": 0.8371238142251968,
                  "highEdge": 0.9369582533836365,
                  "count": 11976
                }
              ],
              "overflowCount": 0,
              "underflowCount": 0
            }
          }
        }
      }
    }
  }
]
Language
Click Try It! to start a request and see the response here!