Deals won api not returning the same as deals won in Hubspot UI


#1

For some reason the deals api is showing a different won deal number than the one from Hubspot UI. Both api and ui filtered by close date. What are the possible reasons for this, and how do I solve it.

https://api.hubapi.com/deals/v1/deal/paged?limit=250&properties=dealstage&properties=closedate