# Deal api - deleted flag

**URL:** <https://community.hubspot.com/t/deal-api-deleted-flag/30845>\
**Category:** APIs & Integrations\
**Tags:** starter\
**Created:** [January 27, 2021, 1:05pm UTC](https://community.hubspot.com/t/deal-api-deleted-flag/30845 "2021-01-27T13:05:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chewie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/chewie/32/68653_2.png) [@Chewie](https://community.hubspot.com/u/Chewie)\
**Post date:** [January 27, 2021, 1:05pm UTC](https://community.hubspot.com/t/deal-api-deleted-flag/30845/1 "2021-01-27T13:05:10Z")

</div>

Hi

Is it possible through the deal api or associated api to tell if a deal is now in the recycled bin?

Many thanks

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [January 28, 2021, 7:33pm UTC](https://community.hubspot.com/t/deal-api-deleted-flag/30845/2 "2021-01-28T19:33:26Z")

</div>

Hello @Chewie

Add **&archived=true** to your call

Example: [https://api.hubapi.com/crm/v3/objects/deals?hapikey=xxxx&\*\*archived=true](https://api.hubapi.com/crm/v3/objects/deals?hapikey=xxxx&**archived=true)\*\*

You will see only archived deals
