Developers
One API contract across products
Every Castix product exposes the same style of HTTP API, described in OpenAPI 3.1, with SDKs for TypeScript and Python.
01
Versioned
All endpoints live under /v1. Breaking changes get a new version.
02
Two ways to authenticate
Send a Bearer token or an X-API-Key header, whichever suits your stack.
03
Free quotes
Every billable job has a quote endpoint that costs nothing, so you know the price before you run it.
04
A ledger, not a balance
Usage is recorded as ledger entries you can reconcile line by line.
05
Signed webhooks
Job and stream events are delivered with an HMAC-SHA256 signature.
06
Errors that tell you what to do
Every error is a sentence in your language that says how to fix it.
/v1
Example: quote a dubbing job
# Free: price a dubbing job before you run it
curl -X POST https://api.castix.net/v1/dub/quote \
-H "X-API-Key: $CASTIX_KEY" \
-H "Content-Type: application/json" \
-d '{"source_url":"https://example.com/ep01.mp4","target":"fa","speakers":"auto"}'
# 200 OK (illustrative response shape)
{ "quote_id": "q_…", "minutes": 12.4, "currency": "USD", "expires_in": 900 }
Full reference documentation opens with each product's developer preview. Ask for early access.