Skip to main content
Solved

Statistical API returns geometryPixelCount: null and empty data on trial account — entitlement question

  • July 17, 2026
  • 1 reply
  • 302 views

RAMAVADDI

Statistical API returns geometryPixelCount: null and empty data on trial account — entitlement question

Hi team,

I'm on a 30-day trial account (Insights Platform / Sentinel Hub) and running into a consistent issue with the regular Statistical API (/api/v1/statistics), while the Process API works correctly on the same account with the same OAuth credentials.

What works: A Process API request for a Sentinel-2 L2A true-color image over a small bounding box in Telangana, India (78.6492, 18.0839, 78.6522, 18.0869) returns a real image successfully.

What fails: A Statistical API request for the same bounding box, same collection (sentinel-2-l2a), and a valid recent date range (e.g. 2026-04-01 to 2026-04-30) always returns:

json

{
"data": [],
"status": "OK",
"geometryPixelCount": null
}

I've verified this both via my own backend code and directly through your Requests Builder tool using the identical parameters, evalscript (named outputs ndvi/dataMask per your documented format), interval (P30D), and area — same empty result both ways.

Per your own Statistical API documentation, geometryPixelCount should represent "the number of pixels intersecting the request geometry... independent of data availability," so I'd expect a real number here even in a genuine no-imagery case — not null.

My question: Is regular (non-batch) Statistical API access included in the 30-day self-serve trial, or does it require a separate entitlement / upgrade? If it should be included, is there a configuration step I'm missing on my account?

Account ID: [paste your Account ID from the dashboard here]

Thanks for any guidance.

Best answer by williamray

Hi, to answer your question, yes Statistical API is included in your free trial. To fix your request make sure that your time interval is shorter than your time range. If you check the request body you can see that the time range you selected is not exactly 30 days:

"from": "2026-04-01T00:00:00Z",

      "to": "2026-04-30T23:59:59Z"

1 reply

williamray
Planeteer 🌎
Forum|alt.badge.img+5
  • Planeteer 🌎
  • Answer
  • July 21, 2026

Hi, to answer your question, yes Statistical API is included in your free trial. To fix your request make sure that your time interval is shorter than your time range. If you check the request body you can see that the time range you selected is not exactly 30 days:

"from": "2026-04-01T00:00:00Z",

      "to": "2026-04-30T23:59:59Z"