Api
Get word count, translation count, and per-language breakdown for a project in a billing period. Platforms use this to bill their customers.
Authorization
apiKey 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
}
}Search translation memory GET
Exact-match lookup in translation memory. Returns the cached translation if the same source text was previously translated.
Trigger a site crawl POST
Starts a crawl of the project's origin URL. Quick mode uses server-side fetching (fast, no JS rendering). Deep mode uses a headless browser for full JS rendering.