Authentication

WindBorne uses API keys to authenticate API requests. If an API request is not properly authenticated, it will fail. You can sign up for a free trial to get started, or contact data@windbornesystems.com for full commercial access.

You should have a WB_API_KEY . You should make sure to keep your API key safe and secure.

To authenticate, pass a Bearer token in the Authorization header of your request using your WB_API_KEY .

Legacy Basic Auth

The previous Basic Auth format using WB_CLIENT_ID and WB_API_KEY (e.g., -u 'WB_CLIENT_ID:WB_API_KEY') will continue to work. However, Bearer token authentication is now the recommended approach and only requires a single WB_API_KEY .

Bearer Token Authentication

Bearer Token Authentication Examples

Authentication Endpoint

To verify your credentials quickly, request /debug/v1/auth_status . On success it returns:

CLI and Installation

WindBorne releases a pip installable library built to interact with Data and Forecasts APIs that comes with a Command Line Interface (CLI) out of the box.

Install WindBorne

Set credentials on mac and linux

Setup Environment Variables

Set credentials on Windows

  1. Press Win + X and select "System"
  2. Click "Advanced system settings" on the right
  3. Click "Environment Variables" at the bottom
  4. Under "User variables", click "New" and add the following: