/data/regression

This uses the same syntax as the data method. However in addition to the standard data returned by the data method this also provides coordinates for points at the bottom and top of a best fit regeression line for adjacent pairs of data columns.

Read this web method's full documentation.