URL structure

To hyperlink a specific line, or range of lines:

Search syntax

Their advanced search page is brilliantly documented.

The search engine they use is Lucene, so all of Lucene's query syntax rules apply.

web API

See here.