Get goal conversions

Read the Goals report of the dashboard for a date range.

GET https://cotlet.dev/api/v1/plausible/goal-conversions

read

Returns the goals report: the visitors who converted, the number of conversions and the conversion rate for each goal. Plausible shows a goal in the dashboard only after its first conversion is recorded, so a goal with no data in the range is missing from this report; compare it with list_goals to find them.

Parameters

Parameters: get_goal_conversions
NameTypeDescription
site string required string Domain of the site as the Sites page lists it, e.g. acme-shop.example.
from string string First day of the date range, YYYY-MM-DD. Default: the last 30 days.
to string string Last day of the date range, YYYY-MM-DD. Default: today.
goal string string Display name of one goal. Leave out for all goals.

Request

cURL
curl "https://cotlet.dev/api/v1/plausible/goal-conversions?site=site" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("plausible", "get_goal_conversions", {"site":"site"})
Node.js
const result = await cotlet.call('plausible', 'get_goal_conversions', {"site":"site"});
CLI
cotlet call plausible get_goal_conversions --data '{"site":"site"}'

Example response

JSON

{
  "site": "acme-shop.example",
  "from": "2026-10-12",
  "to": "2026-10-18",
  "goals": [
    {
      "goal": "Checkout complete",
      "visitors": 212,
      "conversions": 218,
      "conversion_rate": "5.0%"
    },
    {
      "goal": "Newsletter signup",
      "visitors": 164,
      "conversions": 164,
      "conversion_rate": "3.9%"
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.