TypeScript SDK

TypeScript/JavaScript client library for TradingGoose (coming soon)

The TypeScript SDK is under active development. This page will be updated when the SDK is released.

Status

The TypeScript SDK is being built to provide full type safety for executing TradingGoose workflows from Node.js and browser environments.

In the Meantime

Use the Execution API directly with fetch:

const response = await fetch(
  "https://tradinggoose.ai/api/workflows/WORKFLOW_ID/execute",
  {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
      "X-API-Key": "YOUR_KEY",
    },
    body: JSON.stringify({ input: "your data" }),
  }
);

const result = await response.json();

For streaming responses with Server-Sent Events, see the Streaming section of the API Trigger docs.