Historical sector leadership rotation derived from Stock Trends trend distribution, relati
Historical sector leadership rotation derived from Stock Trends trend distribution, relative performance, and trend maturity measures.
300000 (raw units)
price
33
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": "300000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"category": "leadership",
"description": "Historical sector leadership rotation derived from Stock Trends trend distribution, relative performance, and trend maturity measures.",
"family": "leadership",
"input": {
"method": "GET",
"queryParams": {
"exchange": "N",
"group_by_week": true,
"top_k": 5,
"type": "CS"
},
"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": "leadership_intelligence",
"schemaUrl": "https://api.stocktrends.com/v1/ai/tools",
"title": "Leadership Rotation History",
"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": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"end": {
"format": "date",
"type": "string"
},
"exchange": {
"enum": [
"N",
"Q",
"A",
"B",
"T",
"I"
],
"type": "string"
},
"group_by_week": {
"default": true,
"type": "boolean"
},
"limit": {
"default": 2000,
"maximum": 50000,
"minimum": 1,
"type": "integer"
},
"min_constituents": {
"default": 25,
"maximum": 5000,
"minimum": 1,
"type": "integer"
},
"start": {
"format": "date",
"type": "string"
},
"top_k": {
"default": 5,
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"type": {
"default": "CS",
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"metadataUrl": {
"type": "string"
},
"output": {
"additionalProperties": true,
"description": "Historical sector leadership rotation with bullish share, average RSI, trend maturity, leadership_score, and weekly rank.",
"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/leadership/rotation/history" # -> 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/leadership/rotation/history");
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/leadership/rotation/history")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/7727.json, and this resource appears in /discovery/resources and /discovery/search.