v2

latestOpenAPI 3.0.1MIT2026-07-31803580.5 KB

Compare paid API benchmarks

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.

get/api/benchmarks/compare

Query parameters

leftstring

Left benchmark slug.

rightstring

Right benchmark slug.

Response

Paid API benchmark comparison

generated_atstring
safetyobject
schemastring
score_deltainteger
urlsobject
winner'left' | 'right' | 'tie'

Example response

{
  "left": {
    "protocol": "x402",
    "schema": "ontario.paid_api_benchmark.v1"
  },
  "right": {
    "protocol": "x402",
    "schema": "ontario.paid_api_benchmark.v1"
  },
  "schema": "ontario.paid_api_benchmark_compare.v1"
}