# Find value against Pinnacle's prices

> URL: https://oddfeeds.com/use-cases/value-betting
> Index: https://oddfeeds.com/llms.txt

A common way to find value takes Pinnacle's price as the fair one and looks for bookmakers that pay more on the same outcome. It needs Pinnacle and the other bookmakers on the same match and line, read together.

## How it reads the feed

1. `matches`: Take the match ids from the matches scope, before kick-off or in play.
2. `odds`: Ask the odds scope for Pinnacle and the bookmakers you bet at in one request, so you compare prices read together.
3. Set each bookmaker's price against Pinnacle's on the same type_id, period_id and hc. Take the margin out of Pinnacle's prices your own way: the feed gives the raw prices.
4. `odds_seen`: Before you count an edge, ask odds_seen when our scanner last confirmed both prices.

## What to watch for

- Compare only the same market, period and line: type_id, period_id and hc. In play an Asian line counts either from the current score or from kick-off (hc_as_draw): at 1-0, -0.25 from the score is -1.25 from kick-off.
- datetime is when a price last changed, not when it was last true: a price can stay the same for minutes. odds_seen tells you when our scanner last confirmed it.
- A price the bookmaker suspends or closes leaves the feed instead of showing 0. A price missing from an answer is not on offer: never keep the last one you saw.

## Your first request

The odds of two matches at Pinnacle, Bet365, and BetfairExchange. The match ids come from the matches scope; each bookmaker's id is on its page. Put your own key in place of ofk_your_api_key. [Every scope and field in the documentation](https://oddfeeds.com/documentation.md)

```bash
curl -X POST https://oddfeeds.com/api/v1/feeds \
  -H "Authorization: Bearer ofk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"scope":"odds","match_ids":[13264298,13264221],"bookmaker_ids":[10,26,47]}'
```

[Step by step: Use Pinnacle as your reference price](https://oddfeeds.com/guides/pinnacle-reference.md)

## Build it on live data

Start with a free API key: every bookmaker, PreMatch and InPlay, on live production data.

- [Get your free API key](https://oddfeeds.com/register)
- [See pricing](https://oddfeeds.com/services.md)

## Other use cases

- [Arbitrage scanner](https://oddfeeds.com/use-cases/arbitrage-scanner.md)
- [Odds comparison](https://oddfeeds.com/use-cases/odds-comparison.md)
- [In-play trading](https://oddfeeds.com/use-cases/in-play-trading.md)
- [Betting models](https://oddfeeds.com/use-cases/betting-models.md)
