Skip to content

Pricing API

The Pricing API returns what LimaCharlie costs, as JSON. It is the authoritative source for prices: the numbers it returns are the ones billing uses, so they never go stale the way a number copied into a page or a spreadsheet can.

Use it to:

  • Look up list prices without an account.
  • See the prices that apply to you when you are signed in (for example a Builder Program tier, or a plan tied to your email domain).
  • See the prices that apply to one of your organizations, and the discounts active on it.
  • Estimate the monthly cost of a deployment before you build it.

The API returns prices only. It never changes a plan or a subscription.

The four routes

All routes live under https://api.limacharlie.io/v1.

Route Who can call it Prices returned
GET /pricing Anyone. Authentication is optional. List prices when anonymous. Your own prices when you send a user token.
GET /orgs/{oid}/pricing A user or API key with org.get and billing.ctrl on the organization. The prices the organization pays today, plus its active discounts listed separately.
POST /pricing/estimate Same as GET /pricing. A monthly estimate using the prices GET /pricing returns.
POST /orgs/{oid}/pricing/estimate Same as GET /orgs/{oid}/pricing. A monthly estimate using the organization's prices.

GET /pricing and POST /pricing/estimate accept a region (usa, europe, canada, india, uk or australia). The default is usa. An unknown value returns 400 with the list of valid values.

Anonymous: list prices

No credentials are needed:

curl -s "https://api.limacharlie.io/v1/pricing?region=usa"

The response has context.kind set to public. These are the standard prices a new organization with no special plan would pay.

Signed in: your prices

Send a user JWT (see API keys for how to get one) and the response is computed for you. In particular, if your email domain is attached to a custom plan or you are enrolled in the Builder Program, the response shows those prices, which is what a new organization you create would pay.

curl -s "https://api.limacharlie.io/v1/pricing?region=usa" \
  -H "Authorization: Bearer $LC_JWT"

The response has context.kind set to user. Two things to know:

  • An organization API key's JWT is not a user token. With one, GET /pricing answers with the public prices (context.kind is public).
  • Credentials that are invalid or expired return 401. They are not silently treated as anonymous.

Organization: the prices you pay

Send a JWT that has org.get and billing.ctrl on the organization:

curl -s "https://api.limacharlie.io/v1/orgs/$OID/pricing" \
  -H "Authorization: Bearer $LC_JWT"

The response has context.kind set to org, and context.oid is the organization ID. It reflects the organization's real plan, its Builder Program tier or custom pricing if it has one. Active discounts are listed separately in discounts; they are not taken off the prices.

Reading the response

The response looks like this. The amounts are illustrative; call the API for current ones.

{
  "context": {
    "kind": "org",
    "region": "usa",
    "oid": "c1ffedc0-ffee-4a1e-b1a5-abc123def456",
    "program": {"key": "builder", "tier": "T1"},
    "custom_pricing": false
  },
  "currency": "USD",
  "generated_at": "2026-12-05T00:00:00Z",
  "products": [
    {
      "key": "edr",
      "name": "EDR endpoint",
      "category": "endpoint",
      "description": "...",
      "unit": "endpoint/month",
      "billing": "licensed",
      "price": "2.85",
      "list_price": "3.00",
      "components": [
        {"label": "Sensor", "plan_id": "LCIO-BUILDERPROGRAM-T1-NYC3-1", "price": "2.35", "list_price": "2.50"},
        {"label": "1-year retention", "plan_id": "LC-INSIGHT", "price": "0.50", "list_price": "0.50"}
      ],
      "free": {"quantity": 2, "unit": "endpoint", "mode": "up_to", "description": "..."},
      "docs_url": "...",
      "notes": []
    }
  ],
  "programs": [],
  "discounts": [],
  "billing_model": []
}

Top-level fields

Field Meaning
context Whose prices these are. kind is public, user or org. program is null unless the context is enrolled in the Builder Program. custom_pricing is true when a custom plan applies.
currency Always USD.
generated_at When the response was built.
products Everything you can buy. Details below.
programs The Builder Program tiers. Present in every context.
discounts Active discounts on the organization. Empty outside the organization context.
billing_model Short notes on how billing works (billing cycle, how metered usage is counted). Read these before you explain a bill to someone.

Money is always a decimal string in dollars, such as "2.85". Keep it as a string and use a decimal type to do arithmetic. Amounts have at most six decimals, and normally at least two.

Products

Field Meaning
key Stable identifier. Use it in estimates.
category endpoint, telemetry, storage, security_product, extension, service or add_on.
unit What price is per, such as endpoint/month, GB, mailbox/month or one-time.
billing How the product is charged: licensed (per unit of the organization's quota, monthly), metered (usage is measured daily and billed monthly), flat (one price per organization per month) or one_time (a setup fee).
price What this context pays per unit.
list_price What the public context pays per unit, in the same region. Compare it to price to see how much a plan, tier or custom price saves.
components The parts that add up to price. A product can be made of several plans, for example a sensor plan plus a retention plan. Each component has its own price and list_price, and the plan_id it comes from.
free The free allowance, if any. See below.
docs_url The documentation page for the product.
notes Caveats specific to the product.

A product that the API cannot price with certainty is left out of the response rather than guessed.

A price of zero means the product is included in this context and not billed separately. Compare money as decimal values, not as strings: zero can come back as "0" or "0.00".

Free allowances

When a product has a free allowance, free says how much and how it works:

Field Meaning
quantity and unit The size of the allowance.
mode up_to: the product is free while the total is at or below quantity, and above that every unit is billed. EDR works this way: 2 sensors are free, 3 sensors are 3 billed sensors. included: the first quantity units are free and only the rest is billed.
free_tier_only When true, the allowance applies only while the organization is on the free tier, meaning its sensor quota is 2 or less. On any paid quota every unit is billed, including the first ones. Email Security, Code Security and Cloud Security work this way. See Email Security and Code Security billing.
description The allowance in words.

Builder Program tiers

programs lists the tiers of the Builder Program. Each tier has:

Field Meaning
token and name The tier, for example T1.
monthly_minimum The minimum monthly spend for the tier, in dollars.
commitment_years The commitment length in years, 0 for none.
products For each product, the price on this tier and the discount_percent compared with the list price.

If the context is enrolled, context.program names the tier and products above already show the tier's prices.

Discounts

For an organization, discounts lists the coupons on its subscription or customer:

{"name": "...", "percent_off": "10", "amount_off": null, "duration": "repeating", "duration_in_months": 3}

percent_off or amount_off gives the size of the discount. Product prices in the response are before discounts. The estimate route applies them.

Estimating a deployment

POST /pricing/estimate (or POST /orgs/{oid}/pricing/estimate) turns a list of quantities into a monthly cost. quantities maps a product key to how many units you plan to use per month. Take the keys from GET /pricing.

curl -s -X POST "https://api.limacharlie.io/v1/pricing/estimate" \
  -H "Content-Type: application/json" \
  -d '{"region": "usa", "quantities": {"edr": 500, "telemetry": 200, "email_security": 300}}'

The response:

{
  "context": {"kind": "public", "region": "usa", "oid": null, "program": null, "custom_pricing": false},
  "currency": "USD",
  "lines": [
    {
      "product_key": "edr",
      "quantity": "500",
      "unit": "endpoint/month",
      "unit_price": "3.00",
      "amount": "1500.00",
      "free_applied": false,
      "note": ""
    }
  ],
  "subtotal": "...",
  "discounts": [],
  "total": "...",
  "monthly_minimum": null,
  "disclaimer": "Estimate for one month. Metered usage is billed per day and rounded up per Stripe rules; taxes excluded."
}
  • Each line has the unit_price used, the amount, and whether a free allowance changed it (free_applied, with an explanation in note).
  • Free allowances follow their mode. For free_tier_only allowances, the estimate treats the deployment as on the free tier only when the edr quantity is 2 or less. For an organization estimate it uses the organization's actual sensor quota.
  • discounts is only filled in for organization estimates (POST /orgs/{oid}/pricing/estimate), where each entry has a name and a negative amount. monthly_minimum shows the Builder Program tier's monthly minimum when one applies.
  • An unknown product key returns 400 with the list of valid keys.
  • The estimate covers one month, excludes taxes, and metered usage is an estimate by nature: it is billed per day on what you actually use.

Caching and rate limits

  • Anonymous GET /pricing responses are cacheable: Cache-Control: public, max-age=300 (5 minutes), and they vary on Authorization and X-LC-API-KEY. Cache them for up to 5 minutes rather than calling on every page view.
  • Responses to signed-in and organization calls are marked private, no-store. They hold your pricing and are not meant to be shared or cached by a proxy.
  • Prices behind the API are refreshed from the billing system about every 5 minutes. A new price can take a few minutes to appear.
  • Anonymous calls are rate limited per IP address. If you are limited, wait and retry later instead of retrying immediately.
  • If the product catalog is temporarily unavailable, the API answers 503 with a message. Retry later.

For AI agents

If you are an AI agent asked "what would this cost?", do not rely on prices you remember or read in a page: they change, and plans differ per customer. Ask the API:

  1. Call GET /pricing to get the product key list, units and free allowances. If the user has given you a token, send it so the prices are theirs. For an existing organization, use GET /orgs/{oid}/pricing.
  2. Map the deployment onto product keys and quantities. Check each product's unit to get the quantity right: endpoints per month, GB, mailboxes, and so on. If a quantity is unknown, ask the user or state your assumption. The data estimation guide helps size telemetry and storage.
  3. Call POST /pricing/estimate (or the organization variant) with the quantities. Do not do the arithmetic yourself: the API applies free allowances, tiers and discounts.
  4. Report the total, the lines that make it up, and the context.kind the numbers come from (list prices, the user's prices, or the organization's prices). Include the disclaimer.
  5. Read billing_model and each product's notes before explaining how a bill works.

Never report a price that the API did not return. If a product you need is not in the response, say so rather than guessing.