There is a Divining Rod for each ore (that is, any block/item that has a tag beginning with #c:ores/). When held in-hand, nearby ores of that type will be visible through walls.
The same recipe can be used for any ore type, just substituting the actual ore itself. It follows this pattern:
OSOSESS S
where O is the ore block, S is a Stick, and E is a Spider Eye.
You can also craft a universal Divining Rod that works for all ores!