Activates endogenous medium-chain (MCFA) and long-chain fatty acids (LCFA) by esterification of the fatty acids into metabolically active CoA-thioesters for subsequent degradation or incorporation into phospholipids (PubMed:8206942). Preferentially acts on C9:0-C13:0 fatty acids although C7:0-C17:0 fatty acids are tolerated (PubMed:8206942). Is the main if not exclusive MCFA (octanoate, decanoate and laureate) acyl-CoA ligase. Required for efficient MCFA beta-oxidation inside peroxisomes. Facilitates the transport of MCFAs into peroxisomes by passive diffusion, by decreasing the intraorganellar MCFA concentration (PubMed:8670886). Also esterifies LCFAs in the peroxisome matrix. The LCFAs are actively transported into peroxisomes by a PXA1-PXA2 heterodimeric transporter in the peroxisomal membrane (PubMed:22493507). a long-chain fatty acid + ATP + CoA = a long-chain fatty acyl-CoA + AMP + diphosphate (9Z)-octadecenoate + ATP + CoA = (9Z)-octadecenoyl-CoA + AMP + diphosphate ATP + CoA + hexadecanoate = AMP + diphosphate + hexadecanoyl-CoA (9Z)-hexadecenoate + ATP + CoA = (9Z)-hexadecenoyl-CoA + AMP + diphosphate ATP + CoA + tetradecanoate = AMP + diphosphate + tetradecanoyl-CoA (9Z)-tetradecenoate + ATP + CoA = (9Z)-tetradecenoyl-CoA + AMP + diphosphate (9Z,12Z)-octadecadienoate + ATP + CoA = (9Z,12Z)-octadecadienoyl-CoA + AMP + diphosphate ATP + CoA + dodecanoate = AMP + diphosphate + dodecanoyl-CoA ATP + CoA + pentadecanoate = AMP + diphosphate + pentadecanoyl-CoA ATP + CoA + undecanoate = AMP + diphosphate + undecanoyl-CoA ATP + CoA + heptadecanoate = AMP + diphosphate + heptadecanoyl-CoA ATP + CoA + decanoate = AMP + decanoyl-CoA + diphosphate ATP + CoA + octanoate = AMP + diphosphate + octanoyl-CoA ATP + CoA + heptanoate = AMP + diphosphate + heptanoyl-CoA ATP + CoA + nonadecanoate = AMP + diphosphate + nonadecanoyl-CoA Optimum pH is 7.1. Optimum temperature is 25 degrees Celsius. Imported via the peroxisome targeting signal type 1 (PTS1)-dependent protein import pathway. By oleate. The FACS motif is required for catalytic activity and substrate specificity. Present with 358 molecules/cell in log phase SD medium. Belongs to the ATP-dependent AMP-binding enzyme family.