Switch language

Installation

Set up a Python or JavaScript HTTP client to call Bitdeer AI APIs.

Bitdeer is accessed over HTTPS with cURL or any HTTP client. Install the community openai / openai packages when you follow the typed examples in the SDK guides; set base_url / baseURL to Bitdeer as shown there.

Python

pip install openai

Python 3.10+ is required. Both sync and async call styles are supported.

JavaScript / TypeScript

npm install openai
# or
pnpm add openai

The package is ESM-first, bundles TypeScript types, and runs in Node.js 20+.

Verify

Import the client in a scratch file and confirm the import resolves.
Continue to Authentication to get your API key.

Last updated on

On this page

Installation · Bitdeer AI