API 5L pipe, what Grade (A, B, A25, X42, X46...)? For the X grades , they can be welded to A36. Make sure you qualify a weld procedure using AWS D1.1 guidelines because the higher strength grades will require some welding requirements for interpass temperatures to avoid softening.