Metrics

Pipedrive metrics via API

Your customer connects their Pipedrive account and your product queries 26 metrics through the same endpoint as every other platform. Each metric has an id (reference_key) that goes in the request.

POST /api/metrics/get-data
Authorization: Bearer <merchant token>
x-customer-token: <customer token>

{
  "customer_integration": "<connection uuid>",
  "start": "2026-10-01",
  "end": "2026-10-31",
  "comparison_start": "2026-09-01",
  "comparison_end": "2026-09-30",
  "metrics": [
    {
      "id": "m1",
      "reference_key": "pipedrive:total_leads",
      "component": "number_v1",
      "metrics": [
        "leads_count"
      ],
      "dimensions": [
        "leads"
      ]
    }
  ]
}
Example: "Total Leads" in October, compared to September.

More Pipedrive request examples

The same endpoint for every kind of metric. The metrics and dimensions of each item come from the platform catalog (GET /api/metrics/{integration_slug}).

Chart

Won Deals By Time

Number of deals won during the analyzed period.

POST /api/metrics/get-data
Authorization: Bearer <merchant token>
x-customer-token: <customer token>

{
  "customer_integration": "<connection uuid>",
  "start": "2026-10-01",
  "end": "2026-10-31",
  "metrics": [
    {
      "id": "m1",
      "reference_key": "pipedrive:won_deals_by_time",
      "component": "chart_v1",
      "metrics": [
        "won_by_time"
      ],
      "dimensions": [
        "deals"
      ]
    }
  ]
}

Table

Performance by User

Summary of each user's performance during the analyzed period. Regardless of the business creation date.

POST /api/metrics/get-data
Authorization: Bearer <merchant token>
x-customer-token: <customer token>

{
  "customer_integration": "<connection uuid>",
  "start": "2026-10-01",
  "end": "2026-10-31",
  "metrics": [
    {
      "id": "m1",
      "reference_key": "pipedrive:users_table",
      "component": "datatable_v1",
      "metrics": [
        "name",
        "total_activities",
        "total_planned_activities",
        "total_done_activities",
        "won_count",
        "won_value",
        "lost_value"
      ],
      "dimensions": [
        "users",
        "deals",
        "activities"
      ]
    }
  ]
}

Number

Archived Leads

Number of archived leads during the analyzed period.

POST /api/metrics/get-data
Authorization: Bearer <merchant token>
x-customer-token: <customer token>

{
  "customer_integration": "<connection uuid>",
  "start": "2026-10-01",
  "end": "2026-10-31",
  "metrics": [
    {
      "id": "m1",
      "reference_key": "pipedrive:archived_leads",
      "component": "number_v1",
      "metrics": [
        "archived_leads"
      ],
      "dimensions": [
        "leads"
      ]
    }
  ]
}

Numbers

20 metrics

  • Total Leads

    Total number of leads in your account during the analyzed period.

    pipedrive:total_leads
  • Archived Leads

    Number of archived leads during the analyzed period.

    pipedrive:archived_leads
  • Number of Deals created

    Total number of deals created during the analyzed period.

    pipedrive:total_deals
  • Number of Won Deals

    Number of deals marked as won during the analyzed period. Regardless of the deal creation date.

    pipedrive:total_won_deals
  • Number of Lost Deals

    Number of deals marked as lost during the analyzed period. Regardless of the deal creation date.

    pipedrive:total_lost_deals
  • Deal Duration

    Average number of days of duration of a deal, in the analyzed time period.

    pipedrive:average_duration_deals
  • Value of Deals created

    Total value of deals registered in your account during the analyzed period.

    pipedrive:total_deals_value
  • Value of Won Deals

    Total value of won deals, during the analyzed period.

    pipedrive:won_deals_value
  • Value of Lost Deals

    Total value of lost deals, during the analyzed period.

    pipedrive:lost_deals_value
  • Average Value of Won Deals

    Weighted value of deals in the analyzed period.

    pipedrive:average_won_deals_value
  • Total Planned Activities

    Total number of planned activities during the analyzed period. Activities include, calls, meetings, emails, tasks, deadlines and lunch.

    pipedrive:total_activities
  • Total Completed Activities

    Total number of activities completed during the analyzed period. Activities include, calls, meetings, emails, tasks, deadlines and lunch.

    pipedrive:completed_activities
  • Total Planned Tasks

    Total number of planned tasks during the analyzed period.

    pipedrive:total_tasks
  • Total Completed Tasks

    Total number of tasks completed during the analyzed period.

    pipedrive:completed_tasks
  • Total Planned meetings

    Total number of meetings planned during the analyzed period.

    pipedrive:total_meetings
  • Total Meetings Completed

    Total number of meetings marked as done during the analyzed period.

    pipedrive:completed_meetings
  • Total Planned Calls

    Total number of planned calls during the analysis period.

    pipedrive:total_calls
  • Total Completed Calls

    Total number of calls marked as done during the analysis period.

    pipedrive:total_complete_calls
  • Total Sent e-mails

    Total number of emails sent during the analyzed period.

    pipedrive:sent_emails
  • Total Received Emails

    Total number of emails received during the analyzed period.

    pipedrive:received_emails

Charts

5 metrics

  • Won Deals By Time

    Number of deals won during the analyzed period.

    pipedrive:won_deals_by_time
  • Deals Over Time

    Number of deals won or lost during the analyzed period.

    pipedrive:deals_by_time
  • Deals Value Won Over Time

    Value obtained by deals won during the analyzed period.

    pipedrive:values_by_time
  • Activities Completed and Planned

    Number of completed and planned activities during the analyzed period.

    pipedrive:activities_done_and_planned
  • Won and Lost Deals

    Number of deals won and lost during the analyzed period.

    pipedrive:deals_won_and_lost

Tables

1 metric

  • Performance by User

    Summary of each user's performance during the analyzed period. Regardless of the business creation date.

    pipedrive:users_table

See Connect applied to your product.

Try it for 15 days with no card, or walk our team through your use case.