Tell our assistant what you're building or what data you need. It writes the request and the code in your language, explains the response and helps you fix errors.
That key wasn't recognized. Check it against your welcome email and try again.
Pick one to start from, then add your own details
Pick one to start from, then change the sport or language
Enter to send · Shift + Enter for a new line
StatPal's Project Starter helps you to build projects on any platform, and every plan includes 150 chats a month.
Paste the access key from your welcome email into the chat heading and click Activate Chat.
Each plan includes 150 chats a month to get you started, and each message you send is one chat. They reset on your plan's billing date. Run out? Contact us for additional chat usage.
Click Run on any request in a reply to see your real response. It uses 1 of your daily API requests, not a chat.
The chat assistant knows which sports your plan covers, fills your key into the code, and matches your Answer style. Past chats are saved in History.
Get answers that fit your project. Tell the assistant what you're building, which language you use and where it will run.
See live data in under a minute. No code needed for the first look.
It's in your welcome email. No key yet? Start a free trial and it arrives right away.
Every request is a simple URL. Paste one into your browser to see the JSON response.
These links require your access key. Click a sport to open it in a new tab, or copy the URL.
These links include your access key. Click a sport to open it in a new tab, or copy the URL.
The same request in your language. Replace YOUR_ACCESS_KEY with your key, and in production load it from an environment variable and call the API from your server.
curl "https://statpal.io/api/v2/soccer/matches/live?access_key=YOUR_ACCESS_KEY"
import requests
ACCESS_KEY = "YOUR_ACCESS_KEY"
resp = requests.get(
"https://statpal.io/api/v2/soccer/matches/live",
params={"access_key": ACCESS_KEY},
timeout=10,
)
resp.raise_for_status()
print(resp.json())
// Node.js 18+
const ACCESS_KEY = "YOUR_ACCESS_KEY";
const url = new URL("https://statpal.io/api/v2/soccer/matches/live");
url.searchParams.set("access_key", ACCESS_KEY);
const res = await fetch(url);
const data = await res.json();
console.log(data);
<?php
$accessKey = 'YOUR_ACCESS_KEY';
$url = 'https://statpal.io/api/v2/soccer/matches/live?access_key=' . urlencode($accessKey);
$data = json_decode(file_get_contents($url), true);
print_r($data);
Add access_key as a query parameter. Call the API from your server to keep the key private or ask us to whitelist your domain if using the key on your frontend.
Soccer uses /api/v2/. Every other sport uses /api/v1/.
Live data updates about every 15 seconds. Standings and stats update hourly or slower, so cache them.
/api/user-request-count shows today's usage and doesn't count toward it. Image requests are free but rate-limited and should be stored on your own server.
Something not working? Paste the URL or error message into the assistant above and it will help you fix it.