I made a pull up bar out of black iron pipe from Lowes. It’s not the greatest, but it works. Some modifications I would make:
First I would use bigger wrenches to assemble it. I only had two small junky ones to use, but if I had been at the farm I would have access to longer, better wrenches and that would have helped.
Then I would have used 1.5 or 2 inch pipe to come about a foot or so off the floor, then reduced it to 1 or 1.25 to go the rest of the way. Mine is only about 6 feet high, but I would probably make it 7, by adding the aforementioned thicker nipples at the bottom. I think I spent about 70 bucks including the wrenches and some junk parts I didn’t use.
You could do a little better and get a better bar if you have access to a welder. It doesn’t take a rocket scientist’s intellect or a neurosurgeon’s hand to stick weld something together, so that might be something you want to try.
In fact, then you could make an entire rack. You could even build a rack out of thick timber if you wanted to be really old school and avoid welding.
Hope that helps.