"I Got a Line on You" is a rock song by American rock band Spirit, originally recorded during the sessions for their second album, The Family That Plays Together, between March 11 and September 18, 1968. Widely considered to be a rock classic, the song was composed by guitarist/singer Randy California and produced by Lou Adler. The single credits engineering by Eric Wienbang. Released as a single ahead of the album by Ode Records in the US in October 1968, it began a slow rise up the charts.