Oddsmagnet API

Free to Use Varies (check documentation)

Overview

Oddsmagnet provides historical betting odds data from multiple UK bookmakers, letting you track how odds have changed over time for various sports events. No authentication is required, making it easy to start analyzing odds trends. It is especially useful for sports bettors or data scientists studying bookmaker behavior.

💡

Beginner Tip

Odds data can be large, so use the available date and event filters to narrow your queries. Historical odds are great for backtesting betting strategies without real money.

Available Data

book title and author
ISBN and publisher
cover image URL
page count
publication date
Response fields: oddsmagnet com

Example Response

JSON Response
{
  "title": "The Great Gatsby",
  "authors": [
    "F. Scott Fitzgerald"
  ],
  "publishedDate": "1925-04-10",
  "pageCount": 218,
  "categories": [
    "Fiction"
  ],
  "imageLinks": {
    "thumbnail": "https://books.google.com/..."
  },
  "averageRating": 4
}

Field Reference

event Name of the sports event, e.g. Arsenal vs Chelsea
date Date and time the event takes or took place
bookmaker Name of the UK bookmaker that offered the odds
odds.home Decimal odds for the home team to win
odds.draw Decimal odds for a draw result
odds.away Decimal odds for the away team to win

Implementation Example

const url = "https://data.oddsmagnet.com/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

Empty response body No odds data available for the requested sport or time range
Verify the sport name matches the API supported list and that the date range contains past events
400 Bad Request Invalid query parameter format
Check the documentation for required parameter names and correct date formats (typically YYYY-MM-DD)
Rate limit hit Sending too many requests in a short period
Add a delay between requests and cache responses locally to avoid redundant fetches

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 20/20
🔒 Security 15/15
🛠 Developer XP 20/20
✓ Reliability 7/15
Response Time 34ms

Fully tested on Apr 5, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS YES
Category Sports & Fitness
Difficulty Beginner
Verified: 2026-04-07

Similar APIs

View All →