← Market

Compare

Compare 2 to 3 US-listed stocks side by side (peer or watchlist comparisons). Pass a comma-separated list via `?tickers=AAPL,MSFT,NVDA` (1 to 3 symbols). Returns price and day change, market cap, P/E, EPS, revenue, gross and net margins, and dividend yield per ticker. Built for multiple stocks — for a single stock, `/api/v1/quote/{ticker}` is cheaper. From x402stock

GET https://x402stock.xyz/api/v1/compare

0.05 USDC on Base · payTo 0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.05 USDC · payTo 0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85 · via cdp · settles direct
{
  "tickers": "AAPL,MSFT,NVDA"
}
{
  "as_of": "2026-05-30T07:00:00.000Z",
  "count": 2,
  "rows": [
    {
      "available": "ok",
      "change_percent": -0.371,
      "dividend_yield_percent": 0.35,
      "eps": 8.26,
      "gross_margin_percent": 47.86,
      "market_cap": 4589945623560,
      "name": "Apple Inc.",
      "net_margin_percent": 27.15,
      "pe_ratio": 37.69,
      "price": 311.35,
      "revenue": 451442000000,
      "ticker": "AAPL"
    },
    {
      "available": "ok",
      "change_percent": 5.45,
      "dividend_yield_percent": 0.66,
      "eps": 11.82,
      "gross_margin_percent": 69.4,
      "market_cap": 3346000000000,
      "name": "Microsoft Corporation",
      "net_margin_percent": 36.1,
      "pe_ratio": 38.1,
      "price": 450.24,
      "revenue": 270000000000,
      "ticker": "MSFT"
    }
  ],
  "source": "x402stock",
  "tickers": [
    "AAPL",
    "MSFT"
  ]
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust scorepending / 100 · breakdown
Probe uptime (30d)— over 0 probes · daily
Avg 402 latency— ms
Paid calls (30d, on-chain)0 calls · 0 buyers

How to call

GET https://x402stock.xyz/api/v1/compare · input in query · spec from live-challenge

Input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "tickers": {
      "type": "string"
    }
  },
  "additionalProperties": {}
}
Output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "source": {
      "type": "string",
      "const": "x402stock"
    },
    "as_of": {
      "type": "string"
    },
    "note": {
      "type": "string"
    },
    "count": {
      "type": "number"
    },
    "tickers": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "rows": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ticker": {
            "type": "string"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "change_percent": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "market_cap": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "pe_ratio": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "eps": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "revenue": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "gross_margin_percent": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "net_margin_percent": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "dividend_yield_percent": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "available": {
            "type": "string"
          }
        },
        "required": [
          "ticker",
          "name",
          "price",
          "change_percent",
          "market_cap",
          "pe_ratio",
          "eps",
          "revenue",
          "gross_margin_percent",
          "net_margin_percent",
          "dividend_yield_percent",
          "available"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "source",
    "as_of",
    "count",
    "tickers",
    "rows"
  ],
  "additionalProperties": false
}
curl -i -X GET 'https://x402stock.xyz/api/v1/compare?tickers=AAPL%2CMSFT%2CNVDA'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)