I don't quite follow, but it looks like you've had a more detailed conversation with my colleague @WendyGoh in this thread. If you respond to her last questions, I think we will both get a better idea of your goal and how best to assist.
It sounds like you are attempting to retrieve deleted deals from the "Recycling Bin" (Sales > Deals > Actions > Restore deals) via the API.
At this time, the inbounddb-objects/v1/recycle-bin/{OBJECT} endpoints are not public and cannot be accessed outside the HubSpot app.
If you need to detect deleted deals, then I recommend creating a deal.deletion webhook subscription with the Webhooks API. This will notify your app whenever a deal is deleted in a HubSpot account where it is installed.
extract data from page hubspot with deals to restore
SOLVE
but I need to know os deleted from restore because to husbpot all deal from restore need 90 days to be a deleted deal then deal.deletion dont recognized as off
I don't quite follow, but it looks like you've had a more detailed conversation with my colleague @WendyGoh in this thread. If you respond to her last questions, I think we will both get a better idea of your goal and how best to assist.