Bifunctional enzyme with both ATP sulfurylase and APS kinase activity, which mediates two steps in the sulfate activation pathway. The first step is the transfer of a sulfate group to ATP to yield adenosine 5′-phosphosulfate (APS), and the second step is the transfer of a phosphate group from ATP to APS yielding 3′-phosphoadenylylsulfate (PAPS: activated sulfate donor used by sulfotransferase). In mammals, PAPS is the sole source of sulfate; APS appears to be only an intermediate in the sulfate-activation pathway (PubMed:14747722, PubMed:9576487, PubMed:9648242, PubMed:9668121). Required for normal biosynthesis of sulfated L-selectin ligands in endothelial cells (PubMed:9576487).