2.4.0.8151 - Disclosure - Stock Based Compensation - Additional Information (Detail)truefalsefalse1false USDfalsefalse$eol_PE2968----1310-K0005_STD_365_20130331_0http://www.sec.gov/CIK0000869986duration2012-04-01T00:00:002013-03-31T00:00:00pureStandardhttp://www.xbrl.org/2003/instancepure0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170sharesStandardhttp://www.xbrl.org/2003/instanceshares0USDUSD$2false USDfalsefalse$eol_PE2968----1310-K0005_STD_366_20120331_0http://www.sec.gov/CIK0000869986duration2011-04-01T00:00:002012-03-31T00:00:00pureStandardhttp://www.xbrl.org/2003/instancepure0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse25000002500000falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe maximum number of shares (or other type of equity) originally approved (usually by shareholders and board of directors), net of any subsequent amendments and adjustments, for awards under the equity-based compensation plan. As stock or unit options and equity instruments other than options are awarded to participants, the shares or units remain authorized and become reserved for issuance under outstanding awards (not necessarily vested).Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false13false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse263295263295falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false14false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValueus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse10001000USD$falsetruefalse2truefalsefalse5900059000USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount of accumulated difference between fair value of underlying shares on dates of exercise and exercise price on options exercised (or share units converted) into shares.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(2) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false25false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendPaymentsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe estimated amount of dividends to be paid to holders of the underlying shares (expected dividends) over the option's term. Dividends are taken into account because payment of dividends to shareholders reduces the fair value of the underlying shares, and option holders generally do not receive dividends.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (f)(2)(iii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false26false 4api_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedForfeituresapi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse0.1710.171falsefalsefalse2truetruefalse0.1640.164falsefalsefalsenum:percentItemTypepureShare-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected ForfeituresNo definition available.false07false 4us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse173000173000USD$falsetruefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryUnrecognized cost of unvested share-based compensation awards.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false28false 4us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse002 years 1 month 6 daysfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaWeighted average period over which unrecognized compensation is expected to be recognized for equity-based compensation plans, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false09false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3false truefalseeol_PE2968----1310-K0005_STD_365_20130331_0_711502x711169_713115x708980http://www.sec.gov/CIK0000869986duration2012-04-01T00:00:002013-03-31T00:00:00falsefalseStock Optionsus-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EmployeeStockOptionMemberus-gaap_AwardTypeAxisexplicitMemberfalsefalseMinimumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMembernanafalse010true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse011false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse001 yearfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaPeriod which an employee's right to exercise an award is no longer contingent on satisfaction of either a service condition, market condition or a performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false012false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse4false truefalseeol_PE2968----1310-K0005_STD_365_20130331_0_711502x716112_713115x708980http://www.sec.gov/CIK0000869986duration2012-04-01T00:00:002013-03-31T00:00:00falsefalseStock Optionsus-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EmployeeStockOptionMemberus-gaap_AwardTypeAxisexplicitMemberfalsefalseMaximumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMembernanafalse013true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse014false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse004 yearsfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaPeriod which an employee's right to exercise an award is no longer contingent on satisfaction of either a service condition, market condition or a performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false015false 4api_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardsExercisePeriodapi_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse0010 yearsfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaShare Based Compensation Arrangement by Share Based Payment Award, Awards Exercise PeriodNo definition available.false016false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse5false truefalseeol_PE2968----1310-K0005_STD_365_20130331_0_711502x711169_713115x716908http://www.sec.gov/CIK0000869986duration2012-04-01T00:00:002013-03-31T00:00:00falsefalseRestricted Stockus-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RestrictedStockMemberus-gaap_AwardTypeAxisexplicitMemberfalsefalseMinimumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMembernanafalse017true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse018false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse006 monthsfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaPeriod which an employee's right to exercise an award is no longer contingent on satisfaction of either a service condition, market condition or a performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false019false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse6false truefalseeol_PE2968----1310-K0005_STD_365_20130331_0_711502x716112_713115x716908http://www.sec.gov/CIK0000869986duration2012-04-01T00:00:002013-03-31T00:00:00falsefalseRestricted Stockus-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RestrictedStockMemberus-gaap_AwardTypeAxisexplicitMemberfalsefalseMaximumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMembernanafalse020true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse021false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse004 yearsfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaPeriod which an employee's right to exercise an award is no longer contingent on satisfaction of either a service condition, market condition or a performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false0falseStock Based Compensation - Additional Information (Detail) (USD $)NoRoundingNoRoundingUnKnownUnKnowntruefalsefalseSheethttp://www.advancedphotonix.com/taxonomy/role/DisclosureStockBasedCompensationAdditionalInformation221