The name of that red stripe of ketchup on a hot dog actually comes from Hokkien, the Southern Min language spoken in Xiamen and Taiwan. Ketchup comes from kê-tsiap (膎汁), a brine made from pickled fish and shellfish, and it had nothing to do with tomatoes. It traveled from southern China and Southeast Asia to Britain, changed ingredients several times, and finally became today's tomato ketchup in the United States.
The Word Ketchup Comes from the Hokkien kê-tsiap
The mainstream view is that ketchup comes from the Hokkien kê-tsiap, meaning the brine of pickled fish or shellfish. An English dictionary of the Amoy (Xiamen) dialect published in 1873 already lists the word.
Food historian Andrew F. Smith thinks the word most likely came from the Xiamen dialect, though it may also have entered English through Chinese communities in Southeast Asia and the Malay word kicap. The exact route is still debated, but every version agrees on one point: it started out as a fish brine.


In Britain, It Became Mushroom and Walnut Ketchup
The word first appeared in English in 1682. The British copied the method, but without that kind of fish on hand, they used mushrooms, oysters and walnuts instead, making all sorts of "ketchup." There were no tomatoes yet.
The first tomato ketchup recipe was not written down until 1812, by the American James Mease. A tomato recipe from 1817 even added anchovies, a clear trace of its fish sauce ancestor.

1876: Heinz Launches Tomato Ketchup
Henry J. Heinz started out selling horseradish in 1869, and his company went bankrupt in 1875. In 1876 he started a new company with his family, and tomato ketchup was among its first products.
What really fixed ketchup's recipe was the Pure Food and Drug Act, passed in the US in 1906. Heinz switched to ripe tomatoes, added more sugar and vinegar, and dropped preservatives. The sweet-and-tangy ketchup we eat today took shape then.


Ketchup at Hotdogray
Our Original Hot Dog ($50) is ketchup plus yellow mustard: a big sausage on a steamed bun, the most basic American hot dog flavor. If you want something spicier, go for the Chili Dog ($70). See the full lineup on our menu.
FAQ
Q: Where does the word ketchup come from?
A: The mainstream view is that it comes from the Hokkien kê-tsiap, which meant a brine of pickled fish or shellfish. An 1873 English dictionary of the Xiamen dialect already lists the word.
Q: Did early ketchup have tomatoes?
A: No. Early British ketchup was made from mushrooms, oysters or walnuts. The first tomato recipe did not appear until 1812.
Q: When did Heinz start selling ketchup?
A: In 1876. After the US passed its food law in 1906, Heinz switched to ripe tomatoes and added more sugar and vinegar, which gave ketchup the taste it has today.
Sources:Wikipedia:Ketchup, Wikipedia:Heinz, NPR:Ketchup: The All-American Condiment That Comes From Asia