Online · Build API requests on any platform

Go from API key to working code in minutes

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.

  • Ready-to-run code in Python, JavaScript, PHP and more
  • The right endpoints and IDs for your project
  • Fixes for errors and failed requests
150/150 chats remaining this month

Let's get you building

Activate chat with your access key above Your key is in your welcome email. No key yet? Start a free trial

How this assistant works

StatPal's Project Starter helps you to build projects on any platform, and every plan includes 150 chats a month.

Activate with your key

Paste the access key from your welcome email into the chat heading and click Activate Chat.

150 chats a month

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.

Live data with Run

Click Run on any request in a reply to see your real response. It uses 1 of your daily API requests, not a chat.

Answers that fit your project

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.

Quick start

See live data in under a minute. No code needed for the first look.

  1. 1

    Get your access key

    It's in your welcome email. No key yet? Start a free trial and it arrives right away.

  2. 2

    Open a link in your browser

    Every request is a simple URL. Paste one into your browser to see the JSON response.

    https://statpal.io/api/VERSION/SPORT/livescores?access_key=YOUR_ACCESS_KEY
    VERSION v2 for soccer, v1 for every other sport SPORT nba, nfl, mlb, nhl, tennis and more

    These links require your access key. Click a sport to open it in a new tab, or copy the URL.

  3. 3

    Call it from your code

    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"

Good to know

Authentication

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.

Base URLs

Soccer uses /api/v2/. Every other sport uses /api/v1/.

Update cadence

Live data updates about every 15 seconds. Standings and stats update hourly or slower, so cache them.

Usage and limits

/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.