Official SDK
The Centure Node.js SDK provides type-safe TypeScript support with built-in request/response validation.
npm install @centure/node-sdk
Use the official Node.js SDK for TypeScript and JavaScript projects to get automatic type inference and validation.
Generate Your Own Client
The Centure API follows the OpenAPI 3.0 specification. Generate a client in any language using the OpenAPI spec:
https://api.centure.ai/openapi.json
Common Generators
Node.js/TypeScript
Python
Go
Java/Kotlin
Ruby
PHP
C#
Rust
openapi-typescript-codegennpx openapi-typescript-codegen --input https://api.centure.ai/openapi.json --output ./src/centure-client
openapi-generator-clinpx @openapitools/openapi-generator-cli generate \
-i https://api.centure.ai/openapi.json \
-g typescript-fetch \
-o ./src/centure-client
openapi-python-clientopenapi-python-client generate --url https://api.centure.ai/openapi.json
openapi-generatoropenapi-generator generate \
-i https://api.centure.ai/openapi.json \
-g python \
-o ./centure-client
oapi-codegen# Install oapi-codegen
go install github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@latest
# Generate client
oapi-codegen -package centure https://api.centure.ai/openapi.json > centure/client.go
openapi-generatoropenapi-generator generate \
-i https://api.centure.ai/openapi.json \
-g go \
-o ./centure-client
Javaopenapi-generator generate \
-i https://api.centure.ai/openapi.json \
-g java \
-o ./centure-client
Kotlinopenapi-generator generate \
-i https://api.centure.ai/openapi.json \
-g kotlin \
-o ./centure-client
openapi-generator generate \
-i https://api.centure.ai/openapi.json \
-g ruby \
-o ./centure-client
openapi-generator generate \
-i https://api.centure.ai/openapi.json \
-g php \
-o ./centure-client
openapi-generator generate \
-i https://api.centure.ai/openapi.json \
-g csharp \
-o ./centure-client
openapi-generator generate \
-i https://api.centure.ai/openapi.json \
-g rust \
-o ./centure-client
Generator Documentation
Authentication
All generated clients require Bearer token authentication. Configure your client with your API key from the Centure Dashboard.
API keys have project-level permissions. Store them in environment variables and never commit them to version control.