 They have won 23 NL pennants and have played in 20 World Series competitions – both NL records.The Giants' eight World Series championships rank second in the National League and fifth overall (the New York Yankees are first with 27, then the St. Louis Cardinals (the National League record-holders) with 11, and the Oakland Athletics and the Boston Red Sox both with 9).The Giants have played in the World Series 20 times – 14 times in New York, six in San Francisco – but boycotted the event in 1904.