cURL
curl --request GET \ --url https://api.quantpilot.ai/technical/{contractAddress}/trendline \ --header 'x-api-key: <api-key>'
{ "trendlines": [ { "slope": 0.15, "intercept": 1250.34, "r2": 0.87, "type": "support", "strength": "strong" }, { "slope": 0.22, "intercept": 1450.45, "r2": 0.82, "type": "resistance", "strength": "medium" } ], "trend": "upward", "confidence": 0.78 }
API key for authentication
Token contract address
Number of periods to analyze
Trendline analysis results
The response is of type object.
object