Api Endpoint

Stock Trends Market Intelligence

Compares two user-supplied portfolios using Stock Trends decision scoring, alignment, and regime context.

Open interactive test console

Offering

Provider
api.stocktrends.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Financial Analysis
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.stocktrends.com/v1/portfolio/compare
MIME type
Not provided
First seen
2026-10-16T01:50:10.647Z
Last seen
Tags
Finance, equities, portfolio-comparison, portfolio-evaluation, portfolio-analysis

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
1.25 USDC
Atomic price: 1250000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1250000",
    "payTo": "0xAEeb8EaBdC05532a26123045f99D208EB1cC00ab"
  }
]

Observed health

Status
Reachable
Latest latency
406 ms
Average latency
396 ms
HTTP status
405
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "additionalProperties": false,
      "properties": {
        "left": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "symbol_exchange": {
                "pattern": "^[A-Z0-9.]+-[A-Z]$",
                "type": "string"
              },
              "weight": {
                "maximum": 1,
                "minimum": 0,
                "type": "number"
              }
            },
            "required": [
              "symbol_exchange",
              "weight"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "right": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "symbol_exchange": {
                "pattern": "^[A-Z0-9.]+-[A-Z]$",
                "type": "string"
              },
              "weight": {
                "maximum": 1,
                "minimum": 0,
                "type": "number"
              }
            },
            "required": [
              "symbol_exchange",
              "weight"
            ],
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "left",
        "right"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": true,
  "properties": {
    "category": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "family": {
      "type": "string"
    },
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "left": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "symbol_exchange": {
                    "pattern": "^[A-Z0-9.]+-[A-Z]$",
                    "type": "string"
                  },
                  "weight": {
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  }
                },
                "required": [
                  "symbol_exchange",
                  "weight"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "right": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "symbol_exchange": {
                    "pattern": "^[A-Z0-9.]+-[A-Z]$",
                    "type": "string"
                  },
                  "weight": {
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  }
                },
                "required": [
                  "symbol_exchange",
                  "weight"
                ],
                "type": "object"
              },
              "type": "array"
            }
          },
          "required": [
            "left",
            "right"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "metadataUrl": {
      "type": "string"
    },
    "output": {
      "additionalProperties": true,
      "description": "Side-by-side portfolio evaluations and comparison metrics.",
      "properties": {
        "example": {},
        "format": {
          "type": "string"
        },
        "type": {
          "const": "json",
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    },
    "pricing_catalog": {
      "type": "string"
    },
    "schemaUrl": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "tools_manifest": {
      "type": "string"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}