---
title: "Compare paid API benchmarks"
method: GET
path: "/api/benchmarks/compare"
---

# Compare paid API benchmarks

`GET /api/benchmarks/compare`

Return side-by-side score deltas for two paid API benchmark rows. Defaults to the top two benchmark rows when left and right are omitted.

## Query parameters

- `left` string
- `right` string

## Response `200`

Paid API benchmark comparison

- PaidApiBenchmarkCompare
  - `components` object[]
    - `component` string
    - `delta` integer
    - `label` string
    - `left_score` integer
    - `max_score` integer
    - `right_score` integer
    - `winner` 'left' | 'right' | 'tie'
  - `generated_at` string
  - `left` PaidApiBenchmark
    - `benchmark_score` integer
    - `category` string
    - `endpoint_url` string
    - `grade` 'excellent' | 'ready' | 'watch' | 'needs_work'
    - `max_score` integer
    - `method` string
    - `name` string
    - `payment` object
    - `pricing` object
    - `protocol` string
    - `provider` string
    - `rank` integer
    - `report_history` object
    - `safety` object
    - `schema` string
    - `score_breakdown` object
    - `slug` string
    - `urls` object
  - `right` PaidApiBenchmark
    - `benchmark_score` integer
    - `category` string
    - `endpoint_url` string
    - `grade` 'excellent' | 'ready' | 'watch' | 'needs_work'
    - `max_score` integer
    - `method` string
    - `name` string
    - `payment` object
    - `pricing` object
    - `protocol` string
    - `provider` string
    - `rank` integer
    - `report_history` object
    - `safety` object
    - `schema` string
    - `score_breakdown` object
    - `slug` string
    - `urls` object
  - `safety` object
  - `schema` string
  - `score_delta` integer
  - `urls` object
  - `winner` 'left' | 'right' | 'tie'

## Other responses

- `404` — Comparison requires two different benchmark rows

---

[API](https://skmtc.net/ontarioprotocol/apis/ontario-protocol-x402-api.md) · [All operations](https://skmtc.net/ontarioprotocol/apis/ontario-protocol-x402-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ontarioprotocol/ontario-protocol-x402-api/versions/54384a1c4bf3/schema)
