### Install Strale SDK Source: https://strale.dev/docs Install the official SDK for TypeScript or Python. ```bash npm install straleio ``` ```bash pip install straleio ``` -------------------------------- ### Execute a paid capability using TypeScript SDK Source: https://strale.dev/docs Initialize the client and perform a paid capability call with a spending limit. ```typescript import { Strale } from "straleio"; const strale = new Strale({ apiKey: process.env.STRALE_API_KEY }); const result = await strale.do({ capability_slug: "vat-validate", inputs: { vat_number: "SE556703748501" }, max_price_cents: 50, }); console.log(result); // → { status: "completed", output: { valid: true, company: "Ericsson AB", ... }, price_cents: 10, quality: { sqs: 82, label: "Good" } } ``` -------------------------------- ### Configure API key environment variable Source: https://strale.dev/docs Set the STRALE_API_KEY environment variable to authenticate requests. ```bash export STRALE_API_KEY="sk_your_api_key" ``` -------------------------------- ### Execute a free capability via cURL Source: https://strale.dev/docs Perform a direct HTTP request to test free capabilities without an API key. ```bash curl https://api.strale.io/v1/do \ -H "Content-Type: application/json" \ -d '{"capability_slug": "email-validate", "inputs": {"email": "test@example.com"}}' ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.