Developer Documentation

Welcome to the TradeGPT API. This documentation provides information on how to access our AI-driven market analysis, sentiment scoring, and price forecasting engines.

Authentication

TradeGPT uses Bearer Token authentication. You must include your unique API Key in the header of every request.

Authorization: Bearer YOUR_API_KEY_HERE
Security Warning: Never expose your API Key in client-side code (browsers, public repos). Keep it server-side.

Core Endpoint

Get Market Analysis

Retrieves the complete AI analysis, signals, forecast, and insider data for a specific asset.

GET https://api.tradegpt.app/v1/analysis

Parameters

ParameterTypeRequiredDescription
symbolstringYesTicker symbol (e.g., NVDA, AAPL).
intervalstringNoTimeframe (e.g., 1d). Defaults to 1d.

Response Fields Explained

  • signal: The AI's verdict (STRONG_BUY, BUY, HOLD, SELL).
  • ai_confidence: A score from 0.0 to 1.0 indicating algorithm certainty.
  • insider_sells: Data regarding company executives selling their own shares.
  • forecast: AI-generated price projection for the next period.
← Back to Pricing