---
title: "All comparisons (`pairs`, in the order of /compare): for each pair, the two stocks (`a`, `b`) as the desk rows give them — price, changes, market cap, revenue, growth and margins of the last filed quarter, price / sales, relative strength rating, trend (`ownership` and `shortInterest` are `null`: they are on the pair's page) — and its first two `facts`; `asOf` (session of the prices read)."
method: GET
path: "/api/v1/compare"
tags: ["Screens"]
---

# All comparisons (\`pairs\`, in the order of /compare): for each pair, the two stocks (\`a\`, \`b\`) as the desk rows give them — price, changes, market cap, revenue, growth and margins of the last filed quarter, price / sales, relative strength rating, trend (\`ownership\` and \`shortInterest\` are \`null\`: they are on the pair's page) — and its first two \`facts\`; \`asOf\` (session of the prices read).

`GET /api/v1/compare`

## Request

- Base URL: `https://siliconfloor.com`
- URL: `https://siliconfloor.com/api/v1/compare`
- Auth: none declared

All comparisons (`pairs`, in the order of /compare): for each pair, the two stocks (`a`, `b`) as the desk rows give them — price, changes, market cap, revenue, growth and margins of the last filed quarter, price / sales, relative strength rating, trend (`ownership` and `shortInterest` are `null`: they are on the pair's page) — and its first two `facts`; `asOf` (session of the prices read). Not advice.

## Query parameters

- `lang` 'en' | 'fr'

## Response `200`

The data, as JSON. Read the conventions above before reading a field: changes and ratios are fractions, and null means unavailable — never zero.

- object

## Other responses

- `400`: A parameter is not usable (unknown ticker, bad range).
- `404`: Nothing at this address, or nothing to serve for this company yet.
- `429`: Too many requests: wait a minute.

---

[API](https://skmtc.dev/siliconfloor/apis/silicon-floor.md) · [All operations](https://skmtc.dev/siliconfloor/apis/silicon-floor/llms.txt) · [OpenAPI document](https://skmtc.dev/siliconfloor/apis/silicon-floor/revisions/d1bf73f9b8c8?raw)
