Skip to content
datasportsAPI

Playground

Try the call before you write it.

Choose an endpoint, set its parameters and watch the request take shape as cURL, TypeScript, Python, Go and the dsa command line. Paste a key to send it from this tab; without one, every endpoint still shows its sample response.

Endpoints
113
110 take parameters
Languages
5
cURL · TS · Python · Go · dsa
Key stored
Never
memory of this tab only

dsa · request console

  • KEY: no key
  • PARAMS: ready
  • LINE: idle

01 Endpoint

Live scores

All plans

Returns every live fixture across all sports, or a single sport’s in-play board when ?sport= is given.

GET
https://api.datasportsapi.com/v2/livescores

Add an API key in channel 04 to send it.

03 Parameters

query

sport slug as listed by /v2/sports, for example football

04 API key

Held in this tab's memory and sent only with the request you trigger. It is never stored, never added to the link and never written into the snippets, which read DATASPORTSAPI_API_KEY. Get a free key

05 The same call in code

Rewritten as you type. Paste it anywhere DATASPORTSAPI_API_KEY is set.

curl -H "Authorization: Bearer $DATASPORTSAPI_API_KEY" \
  "https://api.datasportsapi.com/v2/livescores"

06 Response

Nothing on the wire yet.

Fill in the parameters and add a key to send it. The documented sample shows the shape of the answer in the meantime.

01

Snippets carry no secrets

Every snippet reads the key from DATASPORTSAPI_API_KEY. Copy one into a ticket or a chat and nothing private goes with it.

Keys and authentication

02

Links you can hand over

The address bar follows the console: endpoint and parameter values, never the key. Send the link and a teammate opens the same request.

Browse every endpoint

03

Real calls, real quota

A sent request is an ordinary call: it is counted, rate limited and answered with the same errors as from your server. The sample responses cost nothing.

Quota and rate limits