🌐 US-Proxy
> and defines its variables there. A plain `:root` block (0,0,1) LOSES to `.dark-mode` (0,1,0) and silently does nothing. `body.dark-mode` (0,1,1) wins, which is why the selector list below is written the way it is. */ :root, body.dark-mode { /* surfaces */ --scalar-background-1: var(--bg); --scalar-background-2: var(--panel); --scalar-background-3: var(--struct); --scalar-background-accent: var(--panel); --scalar-background-alert: var(--panel); --scalar-background-danger: var(--panel); --scalar-header-background-1: var(--bg); --scalar-sidebar-background-1: var(--bg); --scalar-sidebar-search-background: var(--panel); /* structure — hairlines, square corners */ --scalar-border-color: var(--struct); --scalar-border-width: 1px; --scalar-sidebar-border-color: var(--struct); --scalar-sidebar-search-border-color: var(--struct); /* text. --scalar-color-3 is deliberately the same as -2: the recede tier (#5a6675) is 3.30:1 on the page background, and Scalar uses colour-3 for small labels where the floor is 4.5:1. Collapsing a tier beats shipping unreadable text. */ --scalar-color-1: var(--text); --scalar-color-2: var(--muted); --scalar-color-3: var(--muted); --scalar-color-accent: var(--ours); --scalar-color-disabled: var(--muted); --scalar-sidebar-color-1: var(--text); --scalar-sidebar-color-2: var(--muted); --scalar-sidebar-color-active: var(--ours); --scalar-sidebar-item-hover-color: var(--text); --scalar-sidebar-item-hover-background: var(--panel); --scalar-sidebar-item-active-background: var(--panel); --scalar-sidebar-search-color: var(--muted); /* links */ --scalar-link-color: var(--ours); --scalar-link-color-hover: var(--ours); --scalar-text-decoration: none; --scalar-text-decoration-hover: underline; /* semantic + syntax highlighting. Every one of these is >= 4.5:1 on all three surfaces above (measured, see the commit message). The two that were failing keep their hue and only gain lightness: purple #7a59b1 -> #b191f9 3.09:1 -> 7.27:1 on --panel blue #2b7abf -> #6bc1fe 3.68:1 -> 9.37:1 on --panel */ --scalar-color-green: var(--ours); --scalar-color-blue: #6bc1fe; --scalar-color-purple: #b191f9; --scalar-color-orange: #ffb000; --scalar-color-yellow: #ffb000; --scalar-color-red: #ff8589; --scalar-color-alert: #ffb000; --scalar-color-danger: #ff8589; /* buttons */ --scalar-button-1: var(--ours); --scalar-button-1-color: var(--bg); --scalar-button-1-hover: var(--ours); /* radii: 0 structural, 6px control */ --scalar-radius: 6px; --scalar-radius-md: 6px; --scalar-radius-lg: 0; --scalar-radius-xl: 0; --scalar-radius-2xl: 0; --scalar-radius-3xl: 0; --scalar-radius-max: 0; /* type */ --scalar-font: 'Inter', ui-sans-serif, system-ui, sans-serif; --scalar-font-code: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; /* the system is flat: no shadows, no glows, no backdrop tricks */ --scalar-shadow-1: none; --scalar-shadow-2: none; --scalar-lifted-brightness: 1; --scalar-backdrop-brightness: 1; /* chrome */ --scalar-scrollbar-color: var(--struct); --scalar-scrollbar-color-active: var(--muted); --scalar-tooltip-background: var(--panel); --scalar-tooltip-color: var(--text); } /* Headings take the display face, as everywhere else in the product. */ .scalar-app h1, .scalar-app h2, .scalar-app h3 { font-family: 'Space Grotesk', 'Inter', ui-sans-serif, sans-serif; } /* Touch targets to the 44px floor, everywhere CSS can reach. Scalar renders its sidebar navigation at 32px and 48px; its icon buttons (the mobile "Open Menu" hamburger, "Show Password") at 32px and 24px; and its tab / disclosure / popover chrome at 32-33px. All of those are under the floor on every device, and all of them are plain boxes that grow safely. */ aside a, aside button { min-height: 44px; } .scalar-app .download-button { min-height: 44px; } .scalar-app .scalar-icon-button { min-width: 44px; min-height: 44px; } .scalar-app [id^="headlessui-tabs-tab"], .scalar-app [id^="headlessui-disclosure-button"], .scalar-app [id^="headlessui-popover-button"] { min-height: 44px; } .scalar-app .show-api-client-button { min-height: 44px; } .scalar-app .section-header-wrapper a { min-height: 44px; } /* The credential field. Its wrapper carries Tailwind `max-h-8`, which caps the row at 32px, so raising the input alone does nothing — the cap has to go up with it. This is the Bearer token input; of everything on the page it is the one control that should not be fiddly to hit. */ .scalar-app input { min-height: 44px; } .scalar-app .max-h-8:has(input) { max-height: 44px; min-height: 44px; } /* Remove the vendor's own attribution badge. Scalar is MIT, so this is permitted; the licence text inside the bundle is untouched. THE TRAP: `a[href*="scalar.com"]` also matches the two legitimate "Open API Client" links and Scalar's Terms / Privacy links, and would delete working features. The badge is the one that carries `.no-underline`, so the selector is anchored on that. */ .scalar-app a.no-underline[href*="scalar.com"] { display: none !important; } /* Keep the language menu adjacent to the tabs, outside their tablist. The original buttons and popover stay intact so Scalar owns their behaviour. */ .scalar-app .docs-client-library-tabs { display: flex; align-items: stretch; } .scalar-app .docs-client-library-tabs > .client-libraries-content { flex: 1; min-width: 0; border-right: 0; } .scalar-app .docs-client-library-tabs > .contents > .client-libraries__select { width: auto; min-width: 60px; padding: 8px 10px; border-right: 1px solid var(--scalar-border-color); } .docs-home .scalar-app[hidden] { display: none; } /* Sideways scrolling on phones. Measured at 360px with the language picker open on each operation, the page was up to 895px wide, from three places. 1. Scalar's mobile header shows the current section title on one line, as a flex item that cannot shrink below its text. Most operation titles are wider than a phone. Let it shrink and end in an ellipsis. The full title is still the section heading below it. */ .scalar-app .t-doc__header header > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; } /* Below Scalar's 1000px desktop breakpoint, so desktop is untouched: 2. An operation's layout is a one-column grid sized to its widest unbreakable word. "/players/{playerId}/stoppages" in a title made it 354px in a 312px column. `anywhere` lets that word wrap, and other titles still break between words. 3. The heading's Copy link button sits just after the title's last word. When that word ends at the right edge, the 30px button stuck out past the page. The title keeps 30px free for it. */ @media (width < 1000px) { .scalar-app .section-header-label { overflow-wrap: anywhere; } .scalar-app .operation-title { padding-right: 30px; } }
Live Tennis API DocsGet a free key
Explore the documentation

Developer documentation / v1

Tennis data.
Start building.

From your first live score to a complete match experience. Explore players, rankings, results, point-by-point history, market prices and model probabilities over REST and WebSocket.

Read the quickstart →

ATP · WTA · Challenger · ITF. Get a free key, no card required.

Your first requestcURL / REST
curl --get \
  https://api.livetennisapi.com/api/public/v1/matches \
  --data-urlencode 'status=live' \
  --data-urlencode 'limit=5' \
  --header 'X-API-Key: YOUR_API_KEY'

Replace the placeholder with your key. A successful response may have an empty data array when no match is live. One request uses one call from your quota.

Find the data you need.

Endpoints, parameters and response examples, by topic.

Official clientspip install livetennisapinpm install livetennisapinpx livetennisapi-mcpnpm install livetennisapi-aiAll client libraries