Skip to content
Fourohtwo

Use to combine factor scores into one composite ($0.10), e.g

api.marketintelligenceapi.com/api/v1/analytics/weighted-score

Use to combine factor scores into one composite ($0.10), e.g. momentum, fundamentals and risk: send factors {name, score, weight}; get the 0-100 score with each factor's normalised weight and contribution. Weights need not sum to 1. Transparent and reproducible, no data fetched.

BasePolygonArbitrumSolanaWorld ChainBase SepoliaAnswering
POSThttps://api.marketintelligenceapi.com/api/v1/analytics/weighted-score

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.marketintelligenceapi.com/api/v1/analytics/weighted-score", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"factors":[{"name":"momentum","score":82,"weight":0.3},{"name":"fundamentals","score":74,"weight":0.4},{"name":"risk","score":63,"weight":0.3}]}),
});
console.log(await res.json());

Example input

{
  "factors": [
    {
      "name": "momentum",
      "score": 82,
      "weight": 0.3
    },
    {
      "name": "fundamentals",
      "score": 74,
      "weight": 0.4
    },
    {
      "name": "risk",
      "score": 63,
      "weight": 0.3
    }
  ]
}

More from Market Intelligence API