Looking at portable compressor options and I've seen a few people mention connecting to trailer wiring instead of directly to battery. What are the specs for trailer connection (Amps?) and is it enough?
My 4-flat wiring harness uses a 10 amp fuse. It's intended to protect the parking/brake/turn signal lighting, and nothing else.
Possibly the 7-pin trailer connector has a bit more headroom. Crosswalk its fuse (i.e., amperage) rating to the power requirements of your compressor and go from there. Remember to build in a bit of overhead for safety, if possible.
I suspect that it's going to be better to create a separate and dedicated circuit, with the appropriate gauge wiring, to power the compressor. Frankly, that's how I'd want to proceed here.
At best, that really depends on the compressor. At worst, not a chance.
I’ve seen some simple cigarette lighter compressors that have long, small (high gauge) wires. That might work (check the amp ratings), but those are pretty much only good for topping off a low tire not filling one up after airing down. If you’re looking for the latter, based on wire gauges and lengths, trailer wiring is not nearly sufficient.
I have rewired my compressor plug to work in the 7 pin trailer connector. The compressor draws less than 30 amps. The compressor is fairly hot after it inflates all 4 33" tires to 37 psi, but it works. I like it. I bought the Smittybilt 2.54 CFM Air Compressor - 2780