For the complete documentation index, see llms.txt. This page is also available as Markdown.

Analysis

get

Retrieves the chart analysis for a given trading symbol and timeframe.

Authorizations
AuthorizationstringRequired
Path parameters
symbolstringRequired
  • The trading view symbol for which the chart analysis is requested.
timeframestring · enumRequired
  • The timeframe for the chart analysis. Defaults to "1D". Can be "1D", "4H", or "1H".
Default: 1DPossible values:
Header parameters
AuthorizationstringRequired
  • The authorization token for the request.
Responses
200

A promise that resolves to a ChartAnalysisAPIResponse object containing the analysis data, success status, and a message.

application/json

Represents the response from the Chart Analysis API.

successbooleanRequired

The success status of the operation.

messagestringRequired

The message associated with the operation.

addressstringOptional

The address associated with the operation.

datastringOptional

The analysis data returned by the API.

get/data/analysis/{symbol}/{timeframe}
GET /data/analysis/{symbol}/{timeframe} HTTP/1.1
Host: beta.usemoon.ai/
Authorization: text
Accept: */*
200

A promise that resolves to a ChartAnalysisAPIResponse object containing the analysis data, success status, and a message.

{
  "success": true,
  "message": "text",
  "body": {
    "to": "text",
    "data": "text",
    "value": "text",
    "gasLimit": "text",
    "nonce": "text",
    "simulate": true,
    "gas": "text",
    "gasPrice": "text",
    "maxFeePerGas": "text",
    "maxPriorityFeePerGas": "text",
    "chain_id": "text",
    "encoding": "text",
    "type": 1,
    "accessList": [
      {
        "address": "text",
        "storageKeys": [
          "text"
        ]
      }
    ],
    "blobGas": "text",
    "blobGasFeeCap": "text",
    "blobHashes": [
      "text"
    ],
    "dryrun": true,
    "input": "text",
    "EOA": true,
    "contract_address": "text",
    "token_id": "text",
    "token_ids": "text",
    "approved": true,
    "broadcast": true,
    "alwaysIncrementNonce": true,
    "asset": "text",
    "amount": "text",
    "interestRateMode": 1,
    "referralCode": 1,
    "onBehalfOf": "text",
    "receiverAddress": "text",
    "assets": [
      "text"
    ],
    "amounts": [
      "text"
    ],
    "modes": [
      1
    ],
    "params": "text",
    "rateMode": 1,
    "useAsCollateral": true,
    "collateralAsset": "text",
    "debtAsset": "text",
    "user": "text",
    "debtToCover": "text",
    "receiveAToken": true,
    "inputTokens": [
      {
        "tokenAddress": "text",
        "amount": "text"
      }
    ],
    "outputTokens": [
      {
        "tokenAddress": "text",
        "proportion": 1
      }
    ],
    "slippageLimitPercent": 1,
    "minHealthFactor": "text",
    "premiums": [
      "text"
    ],
    "initiator": "text",
    "role": "text",
    "account": "text",
    "initialDeposit": "text",
    "borrowAmount": "text"
  },
  "address": "text",
  "data": "text"
}