{
  "info": {
    "name": "Baremetrics — mcp.ai",
    "description": "REST API for the Baremetrics MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/baremetrics",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "baremetrics_get_account",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/account",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "account"
          ]
        },
        "description": "Return the connected Baremetrics account identity, company, default currency, and calculation range.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "baremetrics_get_cohorts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/cohorts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "cohorts"
          ]
        },
        "description": "Return Baremetrics cohort analysis for comparing customer retention and revenue behavior across signup cohorts.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "baremetrics_get_metric_breakdown",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/metric/breakdown",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "metric",
            "breakdown"
          ]
        },
        "description": "Return daily values for one Baremetrics metric broken down by contributing customers or plans over an inclusive date range.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"metric\": \"\",\n  \"end_date\": \"\",\n  \"breakdown\": \"\",\n  \"start_date\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "baremetrics_get_metric_summary",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/metric/summary",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "metric",
            "summary"
          ]
        },
        "description": "Return wide daily Baremetrics business metrics for an inclusive date range, including MRR, revenue, and customer counts in each daily row.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"end_date\": \"\",\n  \"start_date\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "baremetrics_get_metric_trend",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/metric/trend",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "metric",
            "trend"
          ]
        },
        "description": "Return the daily time series and prior-period comparison for one Baremetrics metric over an inclusive date range.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"metric\": \"\",\n  \"end_date\": \"\",\n  \"start_date\": \"\",\n  \"compare_to_days\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "baremetrics_get_recurring_revenue_resource",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/recurring/revenue/resource",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "recurring",
            "revenue",
            "resource"
          ]
        },
        "description": "Get one customer, plan, subscription, charge, or refund by its OID within a Baremetrics source.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"source_id\": \"\",\n  \"resource_oid\": \"\",\n  \"resource_type\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "baremetrics_list_recurring_revenue_resources",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/recurring/revenue/resources",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "recurring",
            "revenue",
            "resources"
          ]
        },
        "description": "List one page of customers, plans, subscriptions, charges, or refunds from a Baremetrics source, using only filters valid for the selected resource type.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"order\": \"\",\n  \"search\": \"\",\n  \"sort_by\": \"\",\n  \"per_page\": 0,\n  \"source_id\": \"\",\n  \"next_cursor\": \"\",\n  \"customer_oid\": \"\",\n  \"end_timestamp\": 0,\n  \"resource_type\": \"\",\n  \"start_timestamp\": 0,\n  \"subscription_oid\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "baremetrics_list_sources",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/sources",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "sources"
          ]
        },
        "description": "List one page of payment and Baremetrics API sources in the connected account and return source IDs required by source-scoped resource tools; use next_cursor to fetch later pages.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"per_page\": 0,\n  \"next_cursor\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}