Compare 2 to 3 US-listed stocks side by side (peer or watchlist comparisons)
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
Answeringour last check, 2026-09-24
1 of 1checks answered this week
302 msmedian answer time
$0.05listed price per call
$0.05price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://x402stock.xyz/api/v1/compare
| Category | Market data |
|---|---|
| Provider host | x402stock.xyz |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 3 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.05 | 302 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"tickers": "AAPL,MSFT,NVDA"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"tickers": {
"type": "string"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"as_of": {
"type": "string"
},
"count": {
"type": "number"
},
"note": {
"type": "string"
},
"rows": {
"items": {
"additionalProperties": false,
"properties": {
"available": {
"type": "string"
},
"change_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"dividend_yield_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"eps": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"gross_margin_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"market_cap": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"net_margin_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"pe_ratio": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"revenue": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"ticker": {
"type": "string"
}
},
"required": [
"ticker",
"name",
"price",
"change_percent",
"market_cap",
"pe_ratio",
"eps",
"revenue",
"gross_margin_percent",
"net_margin_percent",
"dividend_yield_percent",
"available"
],
"type": "object"
},
"type": "array"
},
"source": {
"const": "x402stock",
"type": "string"
},
"tickers": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"source",
"as_of",
"count",
"tickers",
"rows"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}