# FFlogs API: Question about it

**URL:** <https://forums.combatlogforums.com/t/fflogs-api-question-about-it/10393>\
**Category:** FF Logs\
**Created:** [September 5, 2020, 6:34pm UTC](https://forums.combatlogforums.com/t/fflogs-api-question-about-it/10393 "2020-09-05T18:34:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![valentimarco](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.combatlogforums.com/valentimarco/32/1548_2.png) [@valentimarco](https://forums.combatlogforums.com/u/valentimarco)\
**Post date:** [September 5, 2020, 6:34pm UTC](https://forums.combatlogforums.com/t/fflogs-api-question-about-it/10393/1 "2020-09-05T18:34:22Z")

</div>

hello, i have a few questions about the API:  
-How can i calculate the Percentile using “Rank and OutOf” as describe in the documentation??  
-Why is the percentile that i extract from the api, is the percentile of aDps Parses insteed of rDps parses??  
-How can i extract the rDps from the parses?  
-Why is the duration of a fight (in seconds) that i “extract” from the api different from the duration(in seconds) of the logs that i can see in the website? From the api, i have extracted the duration in milliseconds and i have converted its in seconds by dividing to 1000. Then i divided by 60 the result of the precedent result.  
The documentation i use is “[https://www.fflogs.com/v1/docs](https://www.fflogs.com/v1/docs)” and i use the GET Method to extract the Parses ( [GET][https://www.fflogs.com/v1/docs#!/Parses/parses\_character\_characterName\_serverName\_serverRegion\_get](https://www.fflogs.com/v1/docs#!/Parses/parses_character_characterName_serverName_serverRegion_get)) [/parses/character/{characterName}/{serverName}/{serverRegion}] )
