<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.23.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>520</ContextCount>
  <ElementCount>402</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>145</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>15</UnitCount>
  <MyReports>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Statement - Condensed Consolidated Balance Sheets (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/CondensedConsolidatedBalanceSheetsUnaudited</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0000003 - Statement - Condensed Consolidated Balance Sheets (Unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/CondensedConsolidatedBalanceSheetsUnauditedParenthetical</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>0000004 - Statement - Condensed Consolidated Statement of Operations (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/CondensedConsolidatedStatementofOperationsUnaudited</Role>
      <ShortName>Condensed Consolidated Statement of Operations (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>0000005 - Statement - Condensed Consolidated Statement of Operations (Unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/CondensedConsolidatedStatementofOperationsUnauditedParenthetical</Role>
      <ShortName>Condensed Consolidated Statement of Operations (Unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>0000006 - Statement - Consolidated Statement of Changes in Stockholders??? Equity (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/ConsolidatedStatementofChangesinStockholdersEquityUnaudited</Role>
      <ShortName>Consolidated Statement of Changes in Stockholders??? Equity (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>0000007 - Statement - Consolidated Statement of Changes in Stockholders??? Equity (Unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/ConsolidatedStatementofChangesinStockholdersEquityUnauditedParenthetical</Role>
      <ShortName>Consolidated Statement of Changes in Stockholders??? Equity (Unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>0000008 - Statement - Condensed Consolidated Statement of Cash Flows (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/CondensedConsolidatedStatementofCashFlowsUnaudited</Role>
      <ShortName>Condensed Consolidated Statement of Cash Flows (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>0000009 - Disclosure - Organization</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/Organization</Role>
      <ShortName>Organization</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>0000010 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/SummaryofSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>0000011 - Disclosure - Fair Value Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/FairValueDisclosure</Role>
      <ShortName>Fair Value Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>0000012 - Disclosure - Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/CommercialMortgageLoansSubordinateLoansandOtherLendingAssetsNet</Role>
      <ShortName>Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>0000013 - Disclosure - Real Estate Owned</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/RealEstateOwned</Role>
      <ShortName>Real Estate Owned</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>0000014 - Disclosure - Other Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/OtherAssets</Role>
      <ShortName>Other Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>0000015 - Disclosure - Secured Debt Arrangements, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/SecuredDebtArrangementsNet</Role>
      <ShortName>Secured Debt Arrangements, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>0000016 - Disclosure - Senior Secured Term Loan, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/SeniorSecuredTermLoanNet</Role>
      <ShortName>Senior Secured Term Loan, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>0000017 - Disclosure - Senior Secured Notes, Net</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.apolloreit.com/role/SeniorSecuredNotesNet</Role>
      <ShortName>Senior Secured Notes, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>0000018 - Disclosure - Convertible Senior Notes, Net</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.apolloreit.com/role/ConvertibleSeniorNotesNet</Role>
      <ShortName>Convertible Senior Notes, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>0000019 - Disclosure - Derivatives</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/Derivatives</Role>
      <ShortName>Derivatives</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>0000020 - Disclosure - Participations Sold</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/ParticipationsSold</Role>
      <ShortName>Participations Sold</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>0000021 - Disclosure - Accounts Payable, Accrued Expenses and Other Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/AccountsPayableAccruedExpensesandOtherLiabilities</Role>
      <ShortName>Accounts Payable, Accrued Expenses and Other Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>0000022 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>0000023 - Disclosure - Share-Based Payments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/ShareBasedPayments</Role>
      <ShortName>Share-Based Payments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>0000024 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/StockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>0000025 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>0000026 - Disclosure - Fair Value of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/FairValueofFinancialInstruments</Role>
      <ShortName>Fair Value of Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>0000027 - Disclosure - Net Income per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/NetIncomeperShare</Role>
      <ShortName>Net Income per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>0000028 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>0000029 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/SummaryofSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>0000030 - Disclosure - Fair Value Disclosure (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/FairValueDisclosureTables</Role>
      <ShortName>Fair Value Disclosure (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/FairValueDisclosure</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>0000031 - Disclosure - Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/CommercialMortgageLoansSubordinateLoansandOtherLendingAssetsNetTables</Role>
      <ShortName>Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/CommercialMortgageLoansSubordinateLoansandOtherLendingAssetsNet</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>0000032 - Disclosure - Real Estate Owned (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/RealEstateOwnedTables</Role>
      <ShortName>Real Estate Owned (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/RealEstateOwned</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>0000033 - Disclosure - Other Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/OtherAssetsTables</Role>
      <ShortName>Other Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/OtherAssets</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>0000034 - Disclosure - Secured Debt Arrangements, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/SecuredDebtArrangementsNetTables</Role>
      <ShortName>Secured Debt Arrangements, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/SecuredDebtArrangementsNet</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>0000035 - Disclosure - Senior Secured Term Loan, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/SeniorSecuredTermLoanNetTables</Role>
      <ShortName>Senior Secured Term Loan, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/SeniorSecuredTermLoanNet</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>0000036 - Disclosure - Convertible Senior Notes, Net (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.apolloreit.com/role/ConvertibleSeniorNotesNetTables</Role>
      <ShortName>Convertible Senior Notes, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/ConvertibleSeniorNotesNet</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>0000037 - Disclosure - Derivatives (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/DerivativesTables</Role>
      <ShortName>Derivatives (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/Derivatives</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>0000038 - Disclosure - Participations Sold (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/ParticipationsSoldTables</Role>
      <ShortName>Participations Sold (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/ParticipationsSold</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>0000039 - Disclosure - Accounts Payable, Accrued Expenses and Other Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/AccountsPayableAccruedExpensesandOtherLiabilitiesTables</Role>
      <ShortName>Accounts Payable, Accrued Expenses and Other Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/AccountsPayableAccruedExpensesandOtherLiabilities</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>0000040 - Disclosure - Share-Based Payments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/ShareBasedPaymentsTables</Role>
      <ShortName>Share-Based Payments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/ShareBasedPayments</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>0000041 - Disclosure - Stockholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/StockholdersEquityTables</Role>
      <ShortName>Stockholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/StockholdersEquity</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>0000042 - Disclosure - Fair Value of Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/FairValueofFinancialInstrumentsTables</Role>
      <ShortName>Fair Value of Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/FairValueofFinancialInstruments</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>0000043 - Disclosure - Net Income per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/NetIncomeperShareTables</Role>
      <ShortName>Net Income per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/NetIncomeperShare</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>0000044 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/SummaryofSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>0000045 - Disclosure - Fair Value Disclosure - Summarizes Levels in Fair Value Hierarchy of Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/FairValueDisclosureSummarizesLevelsinFairValueHierarchyofFinancialInstrumentsDetails</Role>
      <ShortName>Fair Value Disclosure - Summarizes Levels in Fair Value Hierarchy of Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>0000046 - Disclosure - Fair Value Disclosure - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/FairValueDisclosureNarrativeDetails</Role>
      <ShortName>Fair Value Disclosure - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>0000047 - Disclosure - Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net - Loan Portfolio (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/CommercialMortgageLoansSubordinateLoansandOtherLendingAssetsNetLoanPortfolioDetails</Role>
      <ShortName>Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net - Loan Portfolio (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/CommercialMortgageLoansSubordinateLoansandOtherLendingAssetsNetTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>0000048 - Disclosure - Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/CommercialMortgageLoansSubordinateLoansandOtherLendingAssetsNetAdditionalInformationDetails</Role>
      <ShortName>Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>0000049 - Disclosure - Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net - Activity Relating to Loan Investment Portfolio (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/CommercialMortgageLoansSubordinateLoansandOtherLendingAssetsNetActivityRelatingtoLoanInvestmentPortfolioDetails</Role>
      <ShortName>Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net - Activity Relating to Loan Investment Portfolio (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>0000050 - Disclosure - Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net - Statistics for Loan Portfolio (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/CommercialMortgageLoansSubordinateLoansandOtherLendingAssetsNetStatisticsforLoanPortfolioDetails</Role>
      <ShortName>Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net - Statistics for Loan Portfolio (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>0000051 - Disclosure - Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net - Schedule of Mortgage Loans by Property Type and Geographic Distribution (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/CommercialMortgageLoansSubordinateLoansandOtherLendingAssetsNetScheduleofMortgageLoansbyPropertyTypeandGeographicDistributionDetails</Role>
      <ShortName>Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net - Schedule of Mortgage Loans by Property Type and Geographic Distribution (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>0000052 - Disclosure - Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net - Allocation of Carrying Value of Loan Portfolio Based on Internal Risk Ratings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/CommercialMortgageLoansSubordinateLoansandOtherLendingAssetsNetAllocationofCarryingValueofLoanPortfolioBasedonInternalRiskRatingsDetails</Role>
      <ShortName>Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net - Allocation of Carrying Value of Loan Portfolio Based on Internal Risk Ratings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>0000053 - Disclosure - Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net - CECL Allowance as Percentage of Amortized Cost and Total Commitment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/CommercialMortgageLoansSubordinateLoansandOtherLendingAssetsNetCECLAllowanceasPercentageofAmortizedCostandTotalCommitmentDetails</Role>
      <ShortName>Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net - CECL Allowance as Percentage of Amortized Cost and Total Commitment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>0000054 - Disclosure - Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net - Current Expected Credit Losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/CommercialMortgageLoansSubordinateLoansandOtherLendingAssetsNetCurrentExpectedCreditLossesDetails</Role>
      <ShortName>Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net - Current Expected Credit Losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>0000055 - Disclosure - Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net - Cost Recovery Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/CommercialMortgageLoansSubordinateLoansandOtherLendingAssetsNetCostRecoveryLoansDetails</Role>
      <ShortName>Commercial Mortgage Loans, Subordinate Loans and Other Lending Assets, Net - Cost Recovery Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>0000056 - Disclosure - Real Estate Owned - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/RealEstateOwnedNarrativeDetails</Role>
      <ShortName>Real Estate Owned - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>0000057 - Disclosure - Real Estate Owned - Schedule of Real Estate Owned Fixed Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/RealEstateOwnedScheduleofRealEstateOwnedFixedAssetsDetails</Role>
      <ShortName>Real Estate Owned - Schedule of Real Estate Owned Fixed Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>0000058 - Disclosure - Other Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/OtherAssetsDetails</Role>
      <ShortName>Other Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/OtherAssetsTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>0000059 - Disclosure - Secured Debt Arrangements, Net - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/SecuredDebtArrangementsNetAdditionalInformationDetails</Role>
      <ShortName>Secured Debt Arrangements, Net - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>0000060 - Disclosure - Secured Debt Arrangements, Net - Weighted Average Maturities and Interest Rates of Borrowings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/SecuredDebtArrangementsNetWeightedAverageMaturitiesandInterestRatesofBorrowingsDetails</Role>
      <ShortName>Secured Debt Arrangements, Net - Weighted Average Maturities and Interest Rates of Borrowings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>0000061 - Disclosure - Secured Debt Arrangements, Net - Commercial Mortgage Loans Pledged to the Barclays Private Securitization (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/SecuredDebtArrangementsNetCommercialMortgageLoansPledgedtotheBarclaysPrivateSecuritizationDetails</Role>
      <ShortName>Secured Debt Arrangements, Net - Commercial Mortgage Loans Pledged to the Barclays Private Securitization (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>0000062 - Disclosure - Secured Debt Arrangements, Net - Assets Under Barclays Private Securitization (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/SecuredDebtArrangementsNetAssetsUnderBarclaysPrivateSecuritizationDetails</Role>
      <ShortName>Secured Debt Arrangements, Net - Assets Under Barclays Private Securitization (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>0000063 - Disclosure - Secured Debt Arrangements, Net - Schedule of Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/SecuredDebtArrangementsNetScheduleofAssetsandLiabilitiesDetails</Role>
      <ShortName>Secured Debt Arrangements, Net - Schedule of Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>0000064 - Disclosure - Secured Debt Arrangements, Net - Schedule of Net Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/SecuredDebtArrangementsNetScheduleofNetIncomeDetails</Role>
      <ShortName>Secured Debt Arrangements, Net - Schedule of Net Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>0000065 - Disclosure - Secured Debt Arrangements, Net - Remaining Maturities of Borrowings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/SecuredDebtArrangementsNetRemainingMaturitiesofBorrowingsDetails</Role>
      <ShortName>Secured Debt Arrangements, Net - Remaining Maturities of Borrowings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>0000066 - Disclosure - Secured Debt Arrangements, Net - Summary of Outstanding Balances, Maximum and Average Balances of Borrowings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/SecuredDebtArrangementsNetSummaryofOutstandingBalancesMaximumandAverageBalancesofBorrowingsDetails</Role>
      <ShortName>Secured Debt Arrangements, Net - Summary of Outstanding Balances, Maximum and Average Balances of Borrowings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>0000067 - Disclosure - Senior Secured Term Loan, Net - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/SeniorSecuredTermLoanNetNarrativeDetails</Role>
      <ShortName>Senior Secured Term Loan, Net - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>0000068 - Disclosure - Senior Secured Term Loan, Net - Term Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/SeniorSecuredTermLoanNetTermLoansDetails</Role>
      <ShortName>Senior Secured Term Loan, Net - Term Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>0000069 - Disclosure - Senior Secured Notes, Net (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.apolloreit.com/role/SeniorSecuredNotesNetDetails</Role>
      <ShortName>Senior Secured Notes, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/SeniorSecuredNotesNet</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>0000070 - Disclosure - Convertible Senior Notes, Net (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.apolloreit.com/role/ConvertibleSeniorNotesNetDetails</Role>
      <ShortName>Convertible Senior Notes, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/ConvertibleSeniorNotesNetTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>0000071 - Disclosure - Convertible Senior Notes, Net - Summary of Note Terms (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.apolloreit.com/role/ConvertibleSeniorNotesNetSummaryofNoteTermsDetails</Role>
      <ShortName>Convertible Senior Notes, Net - Summary of Note Terms (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>0000072 - Disclosure - Derivatives - Summary of Non-Designated Foreign Exchange Forwards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/DerivativesSummaryofNonDesignatedForeignExchangeForwardsDetails</Role>
      <ShortName>Derivatives - Summary of Non-Designated Foreign Exchange Forwards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>0000073 - Disclosure - Derivatives - Summary of Amounts Recognized on Consolidated Statements of Operations Related to Company's Derivatives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/DerivativesSummaryofAmountsRecognizedonConsolidatedStatementsofOperationsRelatedtoCompanysDerivativesDetails</Role>
      <ShortName>Derivatives - Summary of Amounts Recognized on Consolidated Statements of Operations Related to Company's Derivatives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>0000074 - Disclosure - Derivatives - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/DerivativesAdditionalInformationDetails</Role>
      <ShortName>Derivatives - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>0000075 - Disclosure - Derivatives - Summarizes Gross Asset and Liability Amounts Related to Derivatives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/DerivativesSummarizesGrossAssetandLiabilityAmountsRelatedtoDerivativesDetails</Role>
      <ShortName>Derivatives - Summarizes Gross Asset and Liability Amounts Related to Derivatives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>0000076 - Disclosure - Participations Sold (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/ParticipationsSoldDetails</Role>
      <ShortName>Participations Sold (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/ParticipationsSoldTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>0000077 - Disclosure - Participations Sold - Schedule of participations sold (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/ParticipationsSoldScheduleofparticipationssoldDetails</Role>
      <ShortName>Participations Sold - Schedule of participations sold (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>0000078 - Disclosure - Accounts Payable, Accrued Expenses and Other Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/AccountsPayableAccruedExpensesandOtherLiabilitiesDetails</Role>
      <ShortName>Accounts Payable, Accrued Expenses and Other Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/AccountsPayableAccruedExpensesandOtherLiabilitiesTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>0000079 - Disclosure - Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/RelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/RelatedPartyTransactions</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>0000080 - Disclosure - Share-Based Payments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/ShareBasedPaymentsAdditionalInformationDetails</Role>
      <ShortName>Share-Based Payments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>0000081 - Disclosure - Share-Based Payments - Summary of Grants, Exchanges and Forfeitures of Restricted Stock and RSUs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/ShareBasedPaymentsSummaryofGrantsExchangesandForfeituresofRestrictedStockandRSUsDetails</Role>
      <ShortName>Share-Based Payments - Summary of Grants, Exchanges and Forfeitures of Restricted Stock and RSUs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>0000082 - Disclosure - Share-Based Payments - Summary of Restricted Stock and RSU Vesting Dates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/ShareBasedPaymentsSummaryofRestrictedStockandRSUVestingDatesDetails</Role>
      <ShortName>Share-Based Payments - Summary of Restricted Stock and RSU Vesting Dates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>0000083 - Disclosure - Stockholders' Equity - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/StockholdersEquityAdditionalInformationDetails</Role>
      <ShortName>Stockholders' Equity - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>0000084 - Disclosure - Stockholders' Equity - Dividends Declared (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/StockholdersEquityDividendsDeclaredDetails</Role>
      <ShortName>Stockholders' Equity - Dividends Declared (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>0000085 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/CommitmentsandContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/CommitmentsandContingencies</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>0000086 - Disclosure - Fair Value of Financial Instruments - Carrying Value and Estimated Fair Value of Company's Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/FairValueofFinancialInstrumentsCarryingValueandEstimatedFairValueofCompanysFinancialInstrumentsDetails</Role>
      <ShortName>Fair Value of Financial Instruments - Carrying Value and Estimated Fair Value of Company's Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>0000087 - Disclosure - Net Income per Share - Basic and Diluted Net Income per Share of Common Stock Using Two-Class Method (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/NetIncomeperShareBasicandDilutedNetIncomeperShareofCommonStockUsingTwoClassMethodDetails</Role>
      <ShortName>Net Income per Share - Basic and Diluted Net Income per Share of Common Stock Using Two-Class Method (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>0000088 - Disclosure - Net Income per Share - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/NetIncomeperShareAdditionalInformationDetails</Role>
      <ShortName>Net Income per Share - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>0000089 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apolloreit.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.apolloreit.com/role/SubsequentEvents</ParentRole>
      <Position>89</Position>
    </Report>
    <Report instance="ari-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9999.htm</HtmlFileName>
      <LongName>Uncategorized Items - ari-20230331.htm</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/role/uncategorizedFacts</Role>
      <ShortName>Uncategorized Items - ari-20230331.htm</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept DueToRelatedPartiesCurrentAndNoncurrent in us-gaap/2022 used in 4 facts was deprecated in us-gaap/2023 as of 2023 and should not be used. ari-20230331.htm 4</Log>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty in us-gaap/2022 used in 8 facts was deprecated in us-gaap/2023 as of 2023 and should not be used. ari-20230331.htm 4</Log>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept LondonInterbankOfferedRateLIBORMember in us-gaap/2022 used in 12 facts was deprecated in us-gaap/2023 as of 2023 and should not be used. ari-20230331.htm 4</Log>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 4 fact(s) appearing in ix:hidden were eligible for transformation: ari:NumberOfIndependentDirectorsRequiredToTerminateManagementAgreement, us-gaap:DebtInstrumentConvertibleConversionRatio1 -  ari-20230331.htm 4</Log>
  </Logs>
  <InputFiles>
    <File doctype="10-Q" original="ari-20230331.htm">ari-20230331.htm</File>
    <File>ari-20230331.xsd</File>
    <File>ari-20230331_cal.xml</File>
    <File>ari-20230331_def.xml</File>
    <File>ari-20230331_lab.xml</File>
    <File>ari-20230331_pre.xml</File>
    <File>ari-20230331xex311.htm</File>
    <File>ari-20230331xex312.htm</File>
    <File>ari-20230331xex321.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="1">http://fasb.org/us-gaap-sup/2022q3</BaseTaxonomy>
    <BaseTaxonomy items="1083">http://fasb.org/us-gaap/2022</BaseTaxonomy>
    <BaseTaxonomy items="30">http://xbrl.sec.gov/dei/2022</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
