# Forebet — 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.

> Access data from forebet.com.

**Category:** Sports | **Website:** [forebet.com/](https://forebet.com/) | **Docs:** [parse.bot/marketplace/ac4ffbcd-e7e6-434b-b765-d7f36a397487/forebet-com-api](https://parse.bot/marketplace/ac4ffbcd-e7e6-434b-b765-d7f36a397487/forebet-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-forebet-com-api-ac4ffbcd/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_predictions

Returns football match predictions for the specified time period. Each prediction includes home/away teams, 1X2 probability percentages, the predicted outcome, correct score prediction, average goals, weather, and betting coefficient. For up to 10 matches per request, detail pages are fetched to inline team form (recent W/D/L sequences), head-to-head history, all prediction markets (1X2, Over/Under 2.5, Half Time, HT/FT, BTTS, Double Chance, Asian Handicap) with probabilities and predictions, and bookmaker odds per market. Matches beyond the detail limit include empty arrays/objects for enriched fields. Typically returns 30-50+ matches per period depending on the schedule.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `period` | string | No | Time period for predictions. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-forebet-com-api-ac4ffbcd/get_predictions \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"period":"<string>"}'
```
