You should use Statistical API’s POST option along the following steps:
-convert your JSON’s geometry to WKT
-you will need to change the order of the coordinates as Statistical API requires latitude/longitude order
None of the above should be too complicated, see example below (I replaced the instance ID with MASKED)
This option should work also with many rings. Do note however that you will get one summarized result. So if you want statistics for each ring separately, you will need to call the API for each ring separately.
curl 'https://services.sentinel-hub.com/ogc/fis/4621bacb-MASKED' -H 'Accept: application/json, text/plain, */*' --compressed -H 'Content-Type: application/json;charset=utf-8' -H 'Connection: keep-alive' --data '{"layer":"NDVI_INDEX","crs":"EPSG:4326","time":"2019-01-01/2019-04-01","resolution":"10m","geometry":"POLYGON ((-23.498502007761044 -48.63968256102292,-23.49851182982751 -48.639671559750205,-23.4985622927298 -48.63961697468136,-23.498613625177917 -48.639563351307444,-23.498665811584896 -48.63951070591202,-23.498718836104423 -48.63945905448172,-23.4987726826357 -48.63940841270143,-23.498811084448413 -48.63937354908875,-23.49883103190115 -48.63936496465064,-23.498863320261894 -48.63935106925621,-23.498887577994193 -48.6393352769766,-23.49891956645534 -48.6393215249055,-23.498943803653923 -48.63929867279827,-23.498984052860198 -48.63925839854398,-23.499008034285772 -48.63923579246438,-23.4990308092792 -48.63920472648654,-23.499045450093572 -48.63918597002625,-23.499082083186693 -48.63915599300113,-23.49908686069372 -48.63914572213331,-23.499112091605184 -48.639126603821396,-23.499171221063158 -48.639083442443756,-23.49923103516641 -48.63904140478023,-23.499291515752326 -48.639000503596975,-23.499352644455914 -48.63896075131513,-23.499414402715356 -48.63892216000701,-23.499476771777623 -48.63888474139246,-23.499539732704235 -48.63884850683527,-23.499603266376912 -48.63881346733975,-23.499667353503497 -48.638779633547365,-23.499731974623703 -48.63874701573353,-23.499797110115093 -48.638715623804444,-23.499862740199017 -48.63868546729414,-23.4999288449466 -48.638656555361514,-23.499995404284817 -48.638628896787615,-23.50006239800257 -48.63860249997295,-23.50012980575684 -48.63857737293488,-23.500197607078857 -48.63855352330528,-23.500265781380318 -48.638530958328154,-23.500334307959605 -48.638509684857425,-23.500403166008123 -48.63848970935489,-23.500472334616596 -48.63847103788827,-23.50054179278142 -48.63845367612929,-23.500611519411 -48.63843762935202,-23.500681493332248 -48.63842290243125,-23.500751693296863 -48.63840949984101,-23.500822097987985 -48.63839742565321,-23.500892686026443 -48.63838668353639,-23.500963435977447 -48.638377276754625,-23.50103432635694 -48.6383692081665,-23.501105335638247 -48.63836248022428,-23.50117644225851 -48.638357094973124,-23.501247624625304 -48.63835305405049,-23.501318861123156 -48.638350358685614,-23.501390130120136 -48.63834900969915,-23.501461409974393 -48.638349007502896,-23.50153267904076 -48.638350352099714,-23.501603915677297 -48.63835304308348,-23.50167509825188 -48.638357079639185,-23.501746205148795 -48.63836246054328,-23.50181721477522 -48.638369184163906,-23.50188810556789 -48.63837724846153,-23.501958855999565 -48.63838665098944,-23.502029444585588 -48.63839738889456,-23.502099849890435 -48.63840945891829,-23.50217005053416 -48.63842285739749,-23.502240025198986 -48.638437580265574,-23.502309752635714 -48.6384536230538,-23.502379211670153 -48.63847098089256,-23.50244838120959 -48.638489648512895,-23.502517240249222 -48.63850962024807,-23.502585767878468 -48.6385308900353,-23.50265394328737 -48.63855345141761,-23.502721745772895 -48.63857729754575,-23.502789154745216 -48.638602421180316,-23.502856149733976 -48.63862881469392,-23.502922710394483 -48.638656470073485,-23.502988816513948 -48.638685378922766,-23.50305444801753 -48.63871553246478,-23.503119584974527 -48.63874692154454,-23.503184207604374 -48.638779536631795,-23.50324829628264 -48.638813367823985,-23.503311831547055 -48.63884840484918,-23.503374794103312 -48.638884637069204,-23.50343716483108 -48.638922053482915,-23.50346253018413 -48.63893790241801,-23.50346411099013 -48.63894062858212,-23.503575961771126 -48.63901202189306,-23.503620539964967 -48.63904274267892,-23.50363522552309 -48.639051614558994,-23.503680353459163 -48.639083328536515,-23.503739484728154 -48.639126488436126,-23.503797913419284 -48.63917075909406,-23.503855621788805 -48.639216127067705,-23.50391259231172 -48.63926257858115,-23.503948098245957 -48.63929259306263,-23.503952260949596 -48.63929776698412,-23.504095195038342 -48.63942683096269,-23.504107873240873 -48.63944951109393,-23.504206372338384 -48.63959920328437,-23.504241617726223 -48.63963583596504,-23.504288411939847 -48.63968447215324,-23.5043372198847 -48.63976324426197,-23.50438280430869 -48.639801233165244,-23.504441871824646 -48.63988115924936,-23.504481841034952 -48.6399588789068,-23.504532515244914 -48.64002868235656,-23.504575368401955 -48.64011737281678,-23.504614391197695 -48.64016536277518,-23.504643317691123 -48.64022124837081,-23.504680678861252 -48.64025846169236,-23.504709320442423 -48.64031387441528,-23.504725503341607 -48.64035680156194,-23.50476874033575 -48.64044427293658,-23.50481168062197 -48.64053114250046,-23.504816666891063 -48.64057151992526,-23.504870116901927 -48.64065941909318,-23.504923136287573 -48.64074661036325,-23.50493995565752 -48.64079815254001,-23.504985314674173 -48.64091229680113,-23.50502794834404 -48.64100588591302,-23.505049735908685 -48.64110518848208,-23.50507700082007 -48.64116633570112,-23.505118611367433 -48.64126713888793,-23.505141370771227 -48.64142909911917,-23.505144129757017 -48.6414667268502,-23.505162986326237 -48.64158075574598,-23.50518450863215 -48.64173175373127,-23.50519405766913 -48.64186235067044,-23.505216113758955 -48.64202149297785,-23.50522355760732 -48.64212346327549,-23.505231660572004 -48.64223446054556,-23.505248481985845 -48.64246489508203,-23.505251768818834 -48.64251083046877,-23.505255039823982 -48.6425567200567,-23.505262005567808 -48.64265746970178,-23.505240488909934 -48.64271000201013,-23.5052382161374 -48.64280845516173,-23.50522516397912 -48.64293366152273,-23.50521311323208 -48.64301427512519,-23.505189761220038 -48.64314000202535,-23.505137028293458 -48.64325688002469,-23.50511327935032 -48.64345909377576,-23.505103223412235 -48.64354206742585,-23.50507240911882 -48.64361584729371,-23.505045882962673 -48.64372647004281,-23.505030456825455 -48.64376341799306,-23.505006148733884 -48.64384628858043,-23.504957730687522 -48.64394802151742,-23.50492874262529 -48.6440130000537,-23.5049006023206 -48.64409658725397,-23.504849720873278 -48.64416270198346,-23.504832234157718 -48.64424647959646,-23.504823608220338 -48.64429304377931,-23.50480280543144 -48.64435875239622,-23.50477137292688 -48.64445302326126,-23.504738147277866 -48.64448262204133,-23.504705493416754 -48.64454029389551,-23.504761970856286 -48.6445278540965,-23.504818284513206 -48.64452475233998,-23.504833723997407 -48.64452069940131,-23.504833307044812 -48.644521393233305,-23.504793357511662 -48.64458540443644,-23.504752385351832 -48.64464865104053,-23.504710403007987 -48.64471111383887,-23.50466742322961 -48.64477277386287,-23.504623459069027 -48.64483361238776,-23.504578523877534 -48.64489361093829,-23.504532631301323 -48.64495275129438,-23.504485795277294 -48.64501101549664,-23.504438030028854 -48.645068385851765,-23.50438935006161 -48.64512484493798,-23.50433977015893 -48.64518037561033,-23.50432782707419 -48.64519329389289,-23.504323070393134 -48.64519255445432,-23.50427356663495 -48.64521634760956,-23.504240466776665 -48.6452519577241,-23.504184717645256 -48.64531496308921,-23.50415215924112 -48.64537398150859,-23.50413275632977 -48.645392881238244,-23.50407890790379 -48.64544352271393,-23.504024253818745 -48.64549313900404,-23.503968810672156 -48.64554171504205,-23.503912595301188 -48.645589236077384,-23.503855624777465 -48.64563568767993,-23.50379791640194 -48.64568105574437,-23.50373948769962 -48.64572532649453,-23.50368035641423 -48.64576848648748,-23.503620540502865 -48.645810522617715,-23.503560058130482 -48.645851422121034,-23.503498927664427 -48.64589117257848,-23.50343716766884 -48.645929761920094,-23.503374796898985 -48.645967178428585,-23.503311834295637 -48.64600341074285,-23.50324829897923 -48.64603844786147,-23.503184210244125 -48.64607227914604,-23.503119587552693 -48.646104894324374,-23.503054450529472 -48.64613628349364,-23.502988818955128 -48.64616643712337,-23.5029227127605 -48.646195346058335,-23.50285615202055 -48.64622300152134,-23.502789156948204 -48.646249395115895,-23.502721747888295 -48.646274518828726,-23.502653945311348 -48.64629836503226,-23.502585769807347 -48.646320926486865,-23.502517242079488 -48.646342196343134,-23.502448382937935 -48.64636216814391,-23.502379213293402 -48.646380835826236,-23.502309754150936 -48.646398193723236,-23.50224002660341 -48.64641423656578,-23.50217005182522 -48.64642895948416,-23.502099851065775 -48.64644235800947,-23.50202944564307 -48.64645442807503,-23.501958856937257 -48.6464651660176,-23.50188810638408 -48.64647456857849,-23.50181721546841 -48.64648263290452,-23.501746205717716 -48.64648935654895,-23.5016750986955 -48.64649473747213,-23.501603915994792 -48.646498774042215,-23.50153267923157 -48.64650146503556,-23.501461410038164 -48.64650280963719,-23.50139013005675 -48.646502807440946,-23.50131886093273 -48.646501458449684,-23.50124762430819 -48.646498763075215,-23.50117644181527 -48.646494722138215,-23.50110533506971 -48.64648933686797,-23.501034325664143 -48.64648260890198,-23.50096343516164 -48.646474540285446,-23.500892685089138 -48.64646513347071,-23.500822096930882 -48.646454391316446,-23.500751692121902 -48.64644231708682,-23.500681492041547 -48.646428914450475,-23.500611518006952 -48.64641418747943,-23.500541791266564 -48.64639814064784,-23.500472332993695 -48.64638077883063,-23.50040316428013 -48.646362107302025,-23.500334306129663 -48.64634213173391,-23.500265779451773 -48.646320858194144,-23.50019760505521 -48.64629829314472,-23.500135841964433 -48.64627656746851,-23.500119650691573 -48.64626984139826,-23.500051842830075 -48.646218406891165,-23.500008587305363 -48.64618875585225,-23.499941100666366 -48.64613723244597,-23.499896436618847 -48.64614177126559,-23.499853635934887 -48.64616216652618,-23.499797107603438 -48.64613619215416,-23.49973197204581 -48.646104800135575,-23.49966735086402 -48.646072182230675,-23.499603263680594 -48.646038348345925,-23.4995397299559 -48.64600330875697,-23.49947676898221 -48.645967074105556,-23.499414399877846 -48.64592965539623,-23.49935264158137 -48.645891063993076,-23.499291512845847 -48.645851311616205,-23.499231032233148 -48.64581041033821,-23.499171218108287 -48.6457683725805,-23.499112088633904 -48.64572521110952,-23.499053661764695 -48.64568093903291,-23.498995955241977 -48.64563556979545,-23.498938986588318 -48.64558911717507,-23.4988827731022 -48.64554159527857,-23.498827331852777 -48.6454930185374,-23.49877267967468 -48.64544340170327,-23.498718833162922 -48.64539275984361,-23.49866580866783 -48.64534110833711,-23.498613622290144 -48.64528846286891,-23.49856228987606 -48.64523483942597,-23.49851182701244 -48.64518025429209,-23.498462249022115 -48.64512472404307,-23.49841357095919 -48.645068265541624,-23.498365807604458 -48.64501089593226,-23.49831897346102 -48.64495263263608,-23.498273082749723 -48.644893493345485,-23.498228149404994 -48.64483349601883,-23.498196323282027 -48.64478945352765,-23.498268892448475 -48.64476969818827,-23.498255747400677 -48.6447159449482,-23.498211968719186 -48.64464982093817,-23.49817523759421 -48.64457658692924,-23.49815310101133 -48.64451258609007,-23.498131167989868 -48.64444088954721,-23.4981017747579 -48.64438324355974,-23.4980800232089 -48.64431128216204,-23.498065275538025 -48.6442784133108,-23.49800594222489 -48.64414617694198,-23.497976167116615 -48.64407191093819,-23.49796117783852 -48.64403849511812,-23.497945825801583 -48.6440047163158,-23.49791466802267 -48.64392878428224,-23.497883414498045 -48.64388386610293,-23.49785984587488 -48.64384018836353,-23.497844067247097 -48.64380571538776,-23.49782822150082 -48.64376324474928,-23.497820219247778 -48.64372217930048,-23.49780432744212 -48.64368741606156,-23.497772384107886 -48.64360964736721,-23.497764318058405 -48.64357619570363,-23.497748238166462 -48.64353307477979,-23.497740133147826 -48.64349948024885,-23.49773198149508 -48.64345782607794,-23.49771576821275 -48.64340637251894,-23.497699469363646 -48.64334672289076,-23.497692661514925 -48.64331422478976,-23.497687160263528 -48.643259036323116,-23.497672634449227 -48.64323307048969,-23.497674553888913 -48.64318699387832,-23.497677750951187 -48.64311024732825,-23.49767256591778 -48.64304734724129,-23.497658445315242 -48.64300614110322,-23.49766059135653 -48.64295984938399,-23.49766251305928 -48.64291384217286,-23.49766411408933 -48.64287551924253,-23.497657645795993 -48.64284324110351,-23.497652136082234 -48.6427879555103,-23.497653418921605 -48.642757309059725,-23.497640470036117 -48.64269265992062,-23.497633971957075 -48.64260384601766,-23.49763515054788 -48.64247615498638,-23.497634680828675 -48.64239145580197,-23.49763676531016 -48.64232456836912,-23.49763778627224 -48.64222870560821,-23.497638382813392 -48.64217274149834,-23.497639149366847 -48.64210073953267,-23.49763134909902 -48.64208252611979,-23.49764949121887 -48.64198722455989,-23.49765525343814 -48.64195307976642,-23.497662833313896 -48.64190074676354,-23.497674639059312 -48.64187388808009,-23.497674809793033 -48.64183470186318,-23.497674980567435 -48.64179549867519,-23.49766921062478 -48.6417690033308,-23.49767521955506 -48.64174058547322,-23.4976753902517 -48.64170134162973,-23.497684561430106 -48.64166251472056,-23.49769369025858 -48.64163156654977,-23.497702810517698 -48.64160064589363,-23.497703546106806 -48.64156521773522,-23.49772102695697 -48.64153888731251,-23.497721722780504 -48.64150480853921,-23.497739321612947 -48.64145372742926,-23.497757362417154 -48.64141570014306,-23.49776646421771 -48.64137714177522,-23.497767055253153 -48.64134589228262,-23.497770124713146 -48.64130725721666,-23.497771798677807 -48.64126055221229,-23.497770875213575 -48.64121331302833,-23.497779844693195 -48.64118266926611,-23.497788654337686 -48.641144174135846,-23.497797760800264 -48.64112145967379,-23.497816094746298 -48.64108397180758,-23.49782502348422 -48.64105345596353,-23.497824280299273 -48.64101408689149,-23.497842418204613 -48.6409688870053,-23.4978608088587 -48.64093951676486,-23.497860228859317 -48.64090803811111,-23.4978784388031 -48.64087089980798,-23.49787919198622 -48.640846123820594,-23.497887030400612 -48.64082482711343,-23.497916275195806 -48.64077395201988,-23.497923852452708 -48.64075454900704,-23.49793706071724 -48.64073803370491,-23.497947786215423 -48.64070856372669,-23.49796845617413 -48.6406728645055,-23.497989050848922 -48.6406372959946,-23.498009331147426 -48.64060952103675,-23.498028920336857 -48.64058160071719,-23.498038055798595 -48.64055193355389,-23.498056694978537 -48.64051607473667,-23.498075284606784 -48.64048031204614,-23.49809382427641 -48.6404446455225,-23.498112059483535 -48.64039353246362,-23.498130503869703 -48.64035807098121,-23.498130002603787 -48.6403269976782,-23.49813889866339 -48.64028989322531,-23.498157280647913 -48.64025462053985,-23.49818506135945 -48.64022126716391,-23.498203434328236 -48.64019395372561,-23.498231011094813 -48.64016085674515,-23.498249138768593 -48.64012600907088,-23.498267217846657 -48.64009125403796,-23.498285359125777 -48.64006429622094,-23.49830344904936 -48.64003741452146,-23.498312260803715 -48.64000861554516,-23.49833038309225 -48.63998955016287,-23.49834824384885 -48.63995518904858,-23.49835700290559 -48.63992652924866,-23.498383259644797 -48.63988636809785,-23.49839038672054 -48.63985675709634,-23.49841317631469 -48.63981452581044,-23.498436157305694 -48.63978012672382,-23.498459547641204 -48.639761298274806,-23.49847465482466 -48.63973328368649,-23.49848974400325 -48.63970530275225,-23.498502007761044 -48.63968256102292))","maxcc":100}'