Api Endpoint

Market Intelligence API

Use for a robust, outlier-resistant central value with weights ($0.01): send observations {value, weight}; get the value where cumulative weight reaches half the total. Deterministic definition, exact ties take the midpoint; works on any numeric data you supply.

Open interactive test console

Offering

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

Endpoint context

URL
https://api.marketintelligenceapi.com/api/v1/analytics/weighted-median
MIME type
Not provided
First seen
2026-10-16T01:50:38.788Z
Last seen
Tags
statistics, median, robust statistics

Payment pricing

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

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.01 USDC
Atomic price: 10000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 4
0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 5
0.01 USDC
Atomic price: 10000 · Network: eip155:480 · Asset: USDC · Scheme: exact
Payment option 6
9000 atomic units
Atomic price: 9000 · Network: eip155:8453 · Asset: 0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42 · Scheme: exact
Payment option 7
9000 atomic units
Atomic price: 9000 · Network: eip155:480 · Asset: 0x1C60ba0A0eD1019e8Eb035E6daF4155A5cE2380B · Scheme: exact
Payment option 8
0.01 USDC
Atomic price: 10000 · Network: eip155:84532 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x48d5A78d480B4C32dE319C2aEF69e682Dc304615"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "10000",
    "payTo": "0x48d5A78d480B4C32dE319C2aEF69e682Dc304615"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "10000",
    "payTo": "0x48d5A78d480B4C32dE319C2aEF69e682Dc304615"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "payTo": "9CAhY1vdaZfrfoto3KLQtRAo1dVWxNn5xAfmc2XbZVsf"
  },
  {
    "scheme": "exact",
    "network": "eip155:480",
    "asset": "0x79A02482A880bCE3F13e09Da970dC34db4CD24d1",
    "amount": "10000",
    "payTo": "0x48d5A78d480B4C32dE319C2aEF69e682Dc304615"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42",
    "amount": "9000",
    "payTo": "0x48d5A78d480B4C32dE319C2aEF69e682Dc304615"
  },
  {
    "scheme": "exact",
    "network": "eip155:480",
    "asset": "0x1C60ba0A0eD1019e8Eb035E6daF4155A5cE2380B",
    "amount": "9000",
    "payTo": "0x48d5A78d480B4C32dE319C2aEF69e682Dc304615"
  },
  {
    "scheme": "exact",
    "network": "eip155:84532",
    "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
    "amount": "10000",
    "payTo": "0x48d5A78d480B4C32dE319C2aEF69e682Dc304615"
  }
]

Observed health

Status
Healthy
Latest latency
577 ms
Average latency
1499 ms
HTTP status
402
Last checked
Reachability
100% over 13 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": {
      "properties": {
        "observations": {
          "items": {
            "properties": {
              "value": {
                "description": "The value",
                "type": "number"
              },
              "weight": {
                "description": "Weight >= 0, default 1",
                "type": "number"
              }
            },
            "required": [
              "value"
            ],
            "type": "object"
          },
          "maxItems": 10000,
          "minItems": 1,
          "type": "array"
        }
      },
      "required": [
        "observations"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method"
  ],
  "type": "object"
}

Output schema

{
  "additionalProperties": true,
  "properties": {
    "example": {
      "description": "Example JSON response returned by this endpoint"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}