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

> Retrieve MLB betting odds from major sportsbooks including bet365, FanDuel, and DraftKings, covering Moneyline, Total, and Runline markets for any supported date. Easily compare odds across books to identify the best available lines.

**Category:** Sports | **Website:** [vegasinsider.com/](https://vegasinsider.com/) | **Docs:** [parse.bot/marketplace/7f927d18-3b7d-433a-9658-f66d49b05ccc/vegasinsider-com-api](https://parse.bot/marketplace/7f927d18-3b7d-433a-9658-f66d49b05ccc/vegasinsider-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-vegasinsider-com-api-7f927d18/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_mlb_odds

Retrieves MLB betting odds for a specific date across multiple sportsbooks and markets (Moneyline, Total, Runline). Returns structured odds from Open, bet365, BetMGM, DraftKings, Caesars, FanDuel, HardRock, Fanatics, and RiversCasino. Each game includes team info and per-sportsbook odds for all three markets. Dates outside the active season may return no games.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `date` | string | No | Date in YYYY-MM-DD format. Only 2024 and 2025 dates are supported. Omitting uses the current UTC date. |

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