Matchbook API Documentation

Danielle Jul 09, 2026

The Matchbook API is a powerful tool that enables developers to integrate sports betting functionality into their applications. With a comprehensive set of endpoints, this API allows you to create engaging and interactive betting experiences for your users. This guide will walk you through the essential aspects of the Matchbook API, helping you understand its capabilities and how to get started.

Giclee Print: Motor Matchbook by Kristine Hegre : 72x36in
Giclee Print: Motor Matchbook by Kristine Hegre : 72x36in

Before diving into the API details, let's briefly discuss what makes the Matchbook API stand out. It offers real-time odds and markets, competitive commission rates, and a robust liquidity pool. Moreover, it provides extensive documentation and dedicated support to ensure a smooth integration process.

the back side of a blue and pink matchbox with an image of a spaceship on it
the back side of a blue and pink matchbox with an image of a spaceship on it

Getting Started with Matchbook API

The first step in using the Matchbook API is to obtain your API credentials. You can generate these by logging into your Matchbook account and navigating to the API section in your profile. Once you have your API Key and Secret, you're ready to start making API requests.

an old fashioned matchbox with a cartoon character on it
an old fashioned matchbox with a cartoon character on it

It's crucial to keep your API credentials secure and never expose them in client-side code. Always transmit them using secure methods, such as environment variables or secure secret management services.

Authentication

Matchbooks
Matchbooks

Matchbook API uses API Key and Secret for authentication. You'll need to include these in the header of your API requests. The API Key is included in the 'X-API-Key' header, while the Secret is used to sign the request using the HMAC-SHA256 algorithm.

Here's an example of how to sign a request using Node.js and the 'crypto' library:

const crypto = require('crypto');
const apiKey = 'your_api_key';
const apiSecret = 'your_api_secret';
const url = 'https://api.matchbook.com/v1/markets';
const method = 'GET';
const timestamp = Math.floor(Date.now() / 1000);

const signature = crypto.createHmac('sha256', apiSecret)
  .update(`${method}\n${timestamp}\n${url}`)
  .digest('hex');

const headers = {
  'X-API-Key': apiKey,
  'X-API-Signature': signature,
  'X-API-Timestamp': timestamp,
};

Rate Limiting and Quotas

Volkswagen #frontstriker #matchbook - To order your Business' own branded #matchbooks & #matchboxes GoTo: www.Getmatches.com or call 800.605.7331 to get the process started today! Wide Matchbook, Matchbook Brown, No Matches Matchbook, Pinterest Matchbook, Vintage Waleeco Matchbook Cover, Vintage Winkler Matchbook, Vintage Unstruck Matchbook, Closed Matchbook, Vintage Gables Restaurant Matchbooks
Volkswagen #frontstriker #matchbook - To order your Business' own branded #matchbooks & #matchboxes GoTo: www.Getmatches.com or call 800.605.7331 to get the process started today! Wide Matchbook, Matchbook Brown, No Matches Matchbook, Pinterest Matchbook, Vintage Waleeco Matchbook Cover, Vintage Winkler Matchbook, Vintage Unstruck Matchbook, Closed Matchbook, Vintage Gables Restaurant Matchbooks

Matchbook API has rate limiting in place to prevent abuse and ensure fair usage. The rate limit is 60 requests per minute per API Key. If you exceed this limit, you'll receive a '429 Too Many Requests' response.

To avoid hitting the rate limit, it's essential to implement proper caching strategies and batch requests where possible. You can also monitor your API usage and request history in the Matchbook API dashboard.

Exploring Matchbook API Endpoints

many different colored pencils and books on a pink background
many different colored pencils and books on a pink background

The Matchbook API offers a wide range of endpoints, allowing you to fetch market data, place bets, manage your account, and more. Here, we'll explore some of the key endpoints and their functionalities.

You can find the complete list of endpoints and their documentation in the official Matchbook API documentation: https://developers.matchbook.com/docs/api

Vintage Lucky Match Matchbook Poster by iambiby
Vintage Lucky Match Matchbook Poster by iambiby
an unopened box of matches next to a drawing
an unopened box of matches next to a drawing
tuquituia
tuquituia
an old matchbox with the words speed kills can you stop in time?
an old matchbox with the words speed kills can you stop in time?
Matchbook art print💌
Matchbook art print💌
Matchbook Sticker Ideas, Vintage Travel Matchbook, Design, Texas Matchbook, Collecting Retro Matchbook Designs, Matchbook Images, Matchbook Pattern Wallpaper, Vintage Michigan Restaurant Matchbook Cover, Matchbook Stock Image, Vintage Matchbox Collage
Matchbook Sticker Ideas, Vintage Travel Matchbook, Design, Texas Matchbook, Collecting Retro Matchbook Designs, Matchbook Images, Matchbook Pattern Wallpaper, Vintage Michigan Restaurant Matchbook Cover, Matchbook Stock Image, Vintage Matchbox Collage
many different types of matches are arranged on a white surface with pink and red colors
many different types of matches are arranged on a white surface with pink and red colors
The Matchbook Print Collection
The Matchbook Print Collection
Matchbox spread
Matchbox spread
Match book 3.0
Match book 3.0
a matchbox with matches in the shape of a man's hat and four matches
a matchbox with matches in the shape of a man's hat and four matches
matches and matchesticks are arranged in a collage with the words, books, and other items
matches and matchesticks are arranged in a collage with the words, books, and other items
various matches are arranged in the shape of a collage with different logos on them
various matches are arranged in the shape of a collage with different logos on them
Vintage Matchbook Design
Vintage Matchbook Design
matchbox ideas
matchbox ideas
cute gift idea for bf!
cute gift idea for bf!
two matchboxes that are sitting on a table together, one has the word libra written in it
two matchboxes that are sitting on a table together, one has the word libra written in it
Match box gira discos
Match box gira discos
Miss Americana Matchbook
Miss Americana Matchbook
a match box with matches in it that says have you tried recently? on the inside
a match box with matches in it that says have you tried recently? on the inside

Markets Endpoint

The Markets endpoint allows you to retrieve market data, including odds, runners, and events. You can use this endpoint to display real-time betting markets in your application.

Here's an example of how to fetch market data using the Markets endpoint:

fetch('https://api.matchbook.com/v1/markets', {
  headers: headers,
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));

Placing Bets

Matchbook API enables you to place bets programmatically using the 'Place Bet' endpoint. This endpoint allows you to specify the market ID, runner ID, stake, and other bet parameters.

Here's an example of how to place a bet using the 'Place Bet' endpoint:

fetch('https://api.matchbook.com/v1/bets', {
  method: 'POST',
  headers: {
    ...headers,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    market_id: 12345,
    runner_id: 67890,
    stake: 10,
    type: 'BET',
  }),
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));

As you delve deeper into the Matchbook API, you'll discover numerous other endpoints and features that can help you create engaging and innovative betting experiences. The official documentation is an invaluable resource, providing detailed information and code examples for each endpoint.

Embracing the Matchbook API opens up a world of possibilities for integrating sports betting functionality into your applications. Whether you're building a sports betting platform, a fantasy sports app, or a social betting game, the Matchbook API has the tools you need to bring your ideas to life.

Now that you've explored the essential aspects of the Matchbook API, it's time to start building. Happy coding, and may the odds be ever in your favor!