Upstream API

Sports and casino feed for downstream platforms.

You keep your front. We keep the live books, tables, TV, and scorecard. One key, isolated tenants, Diamond-compatible paths.

checking gateway…

Sports

Catalog, highlights, odds, and /api/v1 Diamond slugs.

Casino

Table list, data2, results, overlay, virtual cricket.

Live TV

GET /api/sports/{etid}/{gmid}/livetv — use url in an iframe, or iframe embed?key= for a ready player.

Scorecard

HTTP snapshot plus /ws/scorecard. Media plane first, live socket fallback.

Hosts

Same cluster. Pick the host that matches the job.

linkapi.techApex site and gateway
open
www.linkapi.techSame site on www
open
api.linkapi.techREST + WebSocket host
health
admin.linkapi.techSaaS console, keys, mint
console
docs.linkapi.techOpenAPI / Swagger
docs

First calls

Auth: X-Api-Key for Diamond, X-Aggregator-Key for sports/casino. Same key.

export KEY=your_key
export API=https://api.linkapi.tech

curl -s -H "X-Api-Key: $KEY" "$API/api/v1/me"
curl -s -H "X-Api-Key: $KEY" "$API/api/v1/events/cricket"
curl -s -H "X-Aggregator-Key: $KEY" "$API/api/sports/latest"
curl -s -H "X-Aggregator-Key: $KEY" "$API/api/sports/4/$GMID/livetv"
# play .url in an iframe, or drop this in:
# <iframe src="$API/api/sports/4/$GMID/embed?key=$KEY" allow="autoplay; fullscreen" allowfullscreen></iframe>
curl -s -H "X-Aggregator-Key: $KEY" "$API/api/casino/all"