Diamond
A diamond is a carbon crystal. Due to the considerable heat and pressure required to form diamonds, they are quite rare in nature. This, combined with their inherent beauty, made them objects of great value for many centuries. In addition, they are one of the hardest substance known in the universe, which made them valuable for a variety of industrial uses.
In 2267, Kirk used diamond projectiles in a primitive cannon against a Gorn captain. (TOS: "Arena")
Tritanium was said to be 21.4 times harder than diamond. (TOS: "Obsession") As well, cast rodinium was called the hardest substances known to man, suggesting that it too was harder than diamond. (TOS: "Balance of Terror")
Captain Kirk stated that diamonds were "perhaps the hardest substance known in the universe". Spock stated that diamonds were "the hardest known substance". (TOS: "Arena") The Federation knew of tritanium since at least encountering the Axanar cargo ships. (ENT: "Fight or Flight") The discrepancy between these statements are not fully understood.
By the mid-23rd century, synthesizing technology had become sophisticated enough that diamond could be easily created in large quantities, whenever needed, greatly reducing their value. Standard technology aboard the USS Enterprise was capable of performing this process.
In "Arena", Kirk stated that he found "an incredible fortune in stones" while attempting to find a weapon against the Gorn, indicating that to some extent, diamonds still have value for trading purposes in the 23rd century. However, it may also be plausable that Kirk was simply lying to Korob about their ability to synthesize diamonds.
In mid-2267, Korob attempted to bribe Kirk, Spock, and McCoy with gemstones, including diamonds. Because of an error in his telepathic scan, Korob mistakenly believed these stones were valuable. (TOS: "Catspaw")