# Aiscore — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Track upcoming football matches and analyze team performance with real-time fixtures and the last 5 match statistics for any team in your chosen fixture. Make informed predictions by accessing detailed team form data and scheduled games for any date.

**Category:** Sports | **Website:** [www.aiscore.com/en](https://www.aiscore.com/en) | **Docs:** [parse.bot/marketplace/07cbd6f0-9e9d-403d-9c6e-c092e6ffba7c/aiscore-com-api](https://parse.bot/marketplace/07cbd6f0-9e9d-403d-9c6e-c092e6ffba7c/aiscore-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-aiscore-com-api-07cbd6f0/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_match_team_form

Retrieves the last 5 completed matches and calculated statistics for both teams of a specific fixture. Statistics include goals scored/conceded per game and first-half goals scored/conceded per game, each averaged over the most recent 5 finished matches.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `away_slug` | string | Yes | URL slug of the away team from get_scheduled_fixtures (e.g. barracas-central). |
| `home_slug` | string | Yes | URL slug of the home team from get_scheduled_fixtures (e.g. river-plate). |
| `match_id` | string | Yes | Match identifier from get_scheduled_fixtures (e.g. zrkn6i48321swql). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-aiscore-com-api-07cbd6f0/get_match_team_form \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"away_slug":"<string>","home_slug":"<string>","match_id":"<string>"}'
```

### get_scheduled_fixtures

Retrieves all scheduled football fixtures for a given date. Returns match IDs, team names with URL slugs, competition names, and kickoff times. Results are returned in a single response. Each fixture provides the identifiers needed to retrieve team form data.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `date` | string | Yes | Date in YYYYMMDD format (e.g. 20260725). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-aiscore-com-api-07cbd6f0/get_scheduled_fixtures \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date":"<string>"}'
```
