My App
Api
GET
/usage

Get word count, translation count, and per-language breakdown for a project in a billing period. Platforms use this to bill their customers.

x-api-key<token>

API key from the LangRelay dashboard. Org-level keys can access all projects; project-scoped keys are restricted to one project.

In: header

Query Parameters

projectId*string
period*string

Billing period (YYYY-MM)

Response Body

application/json

curl -X GET "https://api.langrelay.com/v1/usage?projectId=string&period=2026-03"
{
  "projectId": "string",
  "period": "2026-03",
  "wordCount": 14320,
  "translationCount": 450,
  "byLanguage": {
    "fr": 8200,
    "de": 6120
  }
}