Menu · Leads
Leads

Get new-lead stats

GEThttps://api.ruuster.com/v1/leads/stats

New leads per day, week or month, optionally broken down by first-visit source and medium.

  • Authentication: x-api-key and x-email headers of an owner or admin
  • Rate limit: 120 requests per minute per key
View as Markdown

Query parameters

Name Type Default Description
from date 30 days before to First day, YYYY-MM-DD in America/Chicago, included
to date today Day after the last day, YYYY-MM-DD, excluded
granularity string week day, week (Monday start) or month
groupBy string source adds bySource[] to each bucket

Response

Each bucket in data.series has created, registered (created a Ruuster account) and unregistered (synced from your CRM). With groupBy=source, bySource[] has source, medium, created and engagedWithin7d (leads with at least one action in the 7 days after creation; it can still rise for the latest week).

(crm) as a source means a contact synced from your CRM that hasn't visited yet. A lead's source is its first tagged visit, so sources only line up with Get website traffic where your links carry UTM tags.