---
title: "Get billing context"
method: POST
path: "/organizations/getBillingContext"
tags: ["Organizations"]
---

# Get billing context

`POST /organizations/getBillingContext`

## Request

- Base URL: `https://api.databuddy.cc`
- URL: `https://api.databuddy.cc/organizations/getBillingContext`
- Auth: API key in header `x-api-key`

Returns billing context for the requested website or active organization, with a free-tier fallback.

## Request body

- object
  - `websiteId` string

## Response `200`

OK

- object

## Other responses

- `400`: 400
- `401`: 401
- `402`: 402
- `403`: 403
- `404`: 404
- `409`: 409
- `429`: 429
- `500`: 500
- `503`: 503

---

[API](https://skmtc.dev/databuddy/apis/databuddy-api.md) - [All operations](https://skmtc.dev/databuddy/apis/databuddy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/databuddy/apis/databuddy-api/revisions/ddfbba648d52?raw)
