mirrored listing x402 eip155:8453

Constructs a deterministic equal-weight portfolio from eligible Stock Trends signal candid

Constructs a deterministic equal-weight portfolio from eligible Stock Trends signal candidates.

Do you run api.stocktrends.com? This listing was mirrored from Coinbase's public Bazaar. Claim it in 30 seconds — no account required — and it becomes verified, permanently overriding the mirrored copy.

Claim this listing
1000000 (raw units)
price
9
calls / 30d
1
unique payers
2026-09-16
updated

Provider

api.stocktrends.com · discovered, not yet claimed by its owner

Payment (x402 accepts[])

[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xAEeb8EaBdC05532a26123045f99D208EB1cC00ab",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000000",
    "maxTimeoutSeconds": 300
  }
]

Output schema

{
  "bazaar": {
    "info": {
      "category": "portfolio",
      "description": "Constructs a deterministic equal-weight portfolio from eligible Stock Trends signal candidates.",
      "family": "portfolio",
      "input": {
        "body": {
          "bias": "auto",
          "count": 5,
          "universe": "top"
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "metadataUrl": "https://api.stocktrends.com/v1/ai/context",
      "output": {
        "example": {
          "request_id": "req_demo"
        },
        "format": "application/json",
        "type": "json"
      },
      "pricing_catalog": "https://api.stocktrends.com/v1/pricing/catalog",
      "provenance_reference": {
        "approximate_observation_count": "16M+",
        "classification_framework": "Stock Trends trend classification methodology",
        "full_metadata_endpoints": [
          "/v1/ai/context",
          "/v1/meta/indicators",
          "/v1/meta/stim"
        ],
        "historical_coverage_start_year": 1980,
        "interpretation_limit": "Historical depth supports research and probabilistic interpretation but does not guarantee future performance.",
        "semantic_continuity": "Stock Trends indicators use a consistent classification doctrine across decades of observations."
      },
      "role": "portfolio_construction_engine",
      "schemaUrl": "https://api.stocktrends.com/v1/ai/tools",
      "title": "Portfolio Construct",
      "tools_manifest": "https://api.stocktrends.com/v1/ai/tools"
    },
    "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": {
                "bias": {
                  "default": "auto",
                  "enum": [
                    "auto",
                    "bullish",
                    "bearish"
                  ],
                  "type": "string"
                },
                "count": {
                  "default": 5,
                  "maximum": 10,
                  "minimum": 1,
                  "type": "integer"
                },
                "exchange": {
                  "enum": [
                    "N",
                    "Q",
                    "A",
                    "T"
                  ],
                  "type": "string"
                },
                "universe": {
                  "default": "top",
                  "enum": [
                    "top"
                  ],
                  "type": "string"
                }
              },
              "required": [],
              "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": "Constructed equal-weight portfolio with signal, decision, ST-IM tiebreaker, and regime fields.",
          "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"
    }
  }
}

Use it

curl

curl "https://api.stocktrends.com/v1/portfolio/construct"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid

JavaScript

const res = await fetch("https://api.stocktrends.com/v1/portfolio/construct");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}

Python

import httpx
res = httpx.get("https://api.stocktrends.com/v1/portfolio/construct")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Machine-readable

Everything on this page is also available as clean JSON at /resources/7731.json, and this resource appears in /discovery/resources and /discovery/search.