<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001841666</identifier>
        </entity>
        <period>
            <startDate>2026-06-01</startDate>
            <endDate>2026-06-01</endDate>
        </period>
    </context>
    <context id="c-2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001841666</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-01</startDate>
            <endDate>2026-06-01</endDate>
        </period>
    </context>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="number">
        <measure>pure</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-19">0001841666</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp contextRef="c-1" id="f-20">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:FormTp contextRef="c-1" id="f-1">S-8</ffd:FormTp>
    <ffd:SubmissnTp contextRef="c-1" id="f-2">S-8</ffd:SubmissnTp>
    <dei:EntityRegistrantName contextRef="c-1" id="f-3">APA Corporation</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp contextRef="c-2" id="f-4">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-2" id="f-5">Common Stock, par value $0.625 per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c-2" id="f-6">true</ffd:FeesOthrRuleFlg>
    <ffd:PrevslyPdFlg contextRef="c-2" id="f-7">false</ffd:PrevslyPdFlg>
    <ffd:AmtSctiesRegd contextRef="c-2" decimals="0" id="f-8" unitRef="shares">24160000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty contextRef="c-2" decimals="2" id="f-9" unitRef="usd">36.70</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c-2" decimals="2" id="f-10" unitRef="usd">886672000</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c-2" decimals="INF" id="f-11" unitRef="number">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c-2" decimals="2" id="f-12" unitRef="usd">122449.4</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="c-1" decimals="2" id="f-13" unitRef="usd">886672000</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="c-1" decimals="2" id="f-14" unitRef="usd">122449.4</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt contextRef="c-1" decimals="2" id="f-15" unitRef="usd">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c-1" decimals="2" id="f-16" unitRef="usd">122449.4</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c-2" id="f-17">&lt;div style="padding-left:22.5pt;text-indent:-22.5pt"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:9pt;font-weight:400;line-height:120%"&gt;(1)&#160;&#160;&#160;&#160;Pursuant to Rule 416(a) under the Securities Act of 1933, as amended (the &#x201c;&lt;/span&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:9pt;font-weight:700;line-height:120%"&gt;Securities Act&lt;/span&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:9pt;font-weight:400;line-height:120%"&gt;&#x201d;), this Registration Statement on Form&#160;S-8 also covers any additional shares of the Registrant&#x2019;s common stock, par value $0.625 per share (the &#x201c;&lt;/span&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:9pt;font-weight:700;line-height:120%"&gt;Common Stock&lt;/span&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:9pt;font-weight:400;line-height:120%"&gt;&#x201d;), that become issuable under the APA Corporation 2016 Omnibus Compensation Plan, as amended, in the event of any stock split, stock dividend, recapitalization, or any other similar transaction.&lt;/span&gt;&lt;/div&gt;&lt;div style="padding-left:22.5pt;text-indent:-22.5pt"&gt;&lt;span&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="padding-left:22.5pt;text-indent:-22.5pt"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:9pt;font-weight:400;line-height:120%"&gt;(2)&#160;&#160;&#160;&#160;Estimated in accordance with Rule 457(c) and Rule&#160;457(h) under the Securities Act solely for purpose of calculating the registration fee. The maximum price per share of Common Stock and the maximum aggregate offering price are based on the average of the high and low sale price of the Common Stock as reported on the Nasdaq Stock Market on May 27, 2026, which date is within five business days prior to filing this Registration Statement.&lt;/span&gt;&lt;/div&gt;</ffd:OfferingNote>
    <ffd:OffsetTableNa contextRef="c-1" id="f-18">N/A</ffd:OffsetTableNa>
</xbrl>
