For dwarf seahorses you would need a 20 gal as previously mentioned by
Deadliestviper7 .
For all other seahorses you would need about a 40 gal minimum. In addition, sea horses are quite needy in terms of food. Some only accept wild/ live food, so they can be hard to keep.