Search financials

post

Searches financials for a given search request.

Authorizations
Header parameters
AuthorizationstringRequired
  • The authorization token.
Body
  • The search request.
periodstring · enumOptional

The reporting period for the financial data.

Possible values:
limitnumber · doubleOptional

The maximum number of results to return.

order_bystring · enumOptional

The field by which to order the results.

Possible values:
currencystring · enumOptional

The currency in which the financial data is denominated.

Possible values:
Responses
200
A promise that resolves to a `SearchFinancialsAPIResponse` object containing the search results.
application/json
post
POST //financial-datasets/search-financials HTTP/1.1
Host: beta.usemoon.ai
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 121

{
  "period": "annual",
  "limit": 1,
  "order_by": "ticker",
  "currency": "USD",
  "filters": [
    {
      "field": "text",
      "operator": "eq",
      "value": 1
    }
  ]
}
200

A promise that resolves to a SearchFinancialsAPIResponse object containing the search results.

{
  "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": [
    {
      "ticker": "text",
      "report_period": "text",
      "period": "text",
      "currency": "text",
      "ANY_ADDITIONAL_PROPERTY": "anything"
    }
  ]
}