Use the first-party Python SDK for typed response models, retries and every API action. JavaScript and TypeScript use the @trendsagi/core npm client, which mirrors the same response shapes. This page lists the required credentials, setup example, mapped endpoints, and production notes.
Base URL
https://staging-api.trendsagi.com115
Routes
23
Guides
3
Languages
First-party typed client on PyPI
Use the first-party Python SDK for typed response models, retries and every API action. JavaScript and TypeScript use the @trendsagi/core npm client, which mirrors the same response shapes.
Install
pip install trendsagiRequired credentials
from trendsagi import TrendsAGIClient
import os
api_key = os.getenv("TRENDSAGI_API_KEY")
if not api_key:
raise ValueError("Set TRENDSAGI_API_KEY first")
client = TrendsAGIClient(api_key=api_key)
signals = client.get_trends(category="Technology", limit=5)
for signal in signals.trends:
print(signal.name)# Save as quickstart.py
python quickstart.py1. Install
Add SDK/dependency for this integration path.
2. Authenticate
Set API key and any provider-specific credentials.
3. Map endpoints
Use mapped endpoints below to build deterministic flow.
4. Harden
Add rate-limit backoff, idempotency, and safety gates.
Endpoint Mapping
Each integration is mapped to specific API endpoints so teams can compose deterministic workflows.
Production notes