<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="apa-20240130.xsd" xlink:type="simple"/>
    <context id="duration_2024-01-30_to_2024-01-30">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000006769</identifier>
        </entity>
        <period>
            <startDate>2024-01-30</startDate>
            <endDate>2024-01-30</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName
      contextRef="duration_2024-01-30_to_2024-01-30"
      id="Hidden_dei_EntityRegistrantName">APACHE CORP</dei:EntityRegistrantName>
    <dei:AmendmentFlag contextRef="duration_2024-01-30_to_2024-01-30" id="ixv-390">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2024-01-30_to_2024-01-30"
      id="Hidden_dei_EntityCentralIndexKey">0000006769</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2024-01-30_to_2024-01-30" id="ixv-401">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2024-01-30_to_2024-01-30" id="ixv-402">2024-01-30</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2024-01-30_to_2024-01-30" id="ixv-403">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2024-01-30_to_2024-01-30" id="ixv-404">1-4300</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2024-01-30_to_2024-01-30" id="ixv-405">41-0747868</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2024-01-30_to_2024-01-30" id="ixv-406">2000 Post Oak Boulevard</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="duration_2024-01-30_to_2024-01-30" id="ixv-407">Suite 100</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="duration_2024-01-30_to_2024-01-30" id="ixv-408">Houston</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2024-01-30_to_2024-01-30" id="ixv-409">TX</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2024-01-30_to_2024-01-30" id="ixv-410">77056-4400</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2024-01-30_to_2024-01-30" id="ixv-411">(713)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2024-01-30_to_2024-01-30" id="ixv-412">296-6000</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2024-01-30_to_2024-01-30" id="ixv-413">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2024-01-30_to_2024-01-30" id="ixv-414">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2024-01-30_to_2024-01-30" id="ixv-415">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2024-01-30_to_2024-01-30" id="ixv-416">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2024-01-30_to_2024-01-30" id="ixv-417">false</dei:EntityEmergingGrowthCompany>
</xbrl>
