Personalization
Serve each user a feed shaped to them, and localized to their market, with one change to the request you already make.
Plan-gated. The personalized feed is available on plans that include personalization. Without it, the endpoint returns403. Contact your Odditt representative to enable it.
How it works
POST /v1/personalization/mixed-flows is a drop-in alternative to POST /v1/trends/mixed-flows.
- Same request, two keys added. Every filter keeps its name and its meaning. You add
surface: "widget"and an optionalattributesobject describing the user. - Same response. You get the same
recordsarray as the mixed-flows feed, selected and ordered for that user, plus a small informationalpersonalizationblock.
Nothing else in your integration changes. Your card rendering, pagination and pricing all work exactly as they do with the standard feed.
Example
curl -X POST https://api.odditt.com/v1/personalization/mixed-flows \
-H "X-API-Key: YOUR_API_KEY" \
-H "X-Language: es-419" \
-H "Content-Type: application/json" \
-d '{
"surface": "widget",
"sport_ids": [1],
"page": 1,
"page_size": 20,
"attributes": {
"favoriteTeamIds": [10543],
"favoritePlayerIds": [543939],
"parlayAffinity": 0.6,
"likelihoodTier": "possible",
"countryCode": "US",
"subnationalRegionCode": "US-NJ"
}
}'User attributes
Every attribute is optional, and you can send any combination. More signal gives a more specific page. With no attributes at all, the response is the standard feed.
| Attribute | What it tells us |
|---|---|
favoriteTeamIds, favoritePlayerIds, favoriteLeagueIds, favoriteSportIds | Who and what the user follows (Odditt IDs) |
favoriteBettingMarketIds, favoriteMarketCategoryIds | The markets the user prefers |
parlayAffinity | How much of the page should be parlays: 0 is singles only, 1 is parlays only |
funAffinity | Stats versus light content: 0 is all stats, 1 is all fun |
likelihoodTier (likely, possible, longshot) or riskTolerance (low, medium, high) | The user's preferred risk band. Matching content moves up and nothing is removed. |
parlayLegsPreference | The user's preferred number of parlay legs |
countryCode, subnationalRegionCode | The user's market (see below) |
Use the same Odditt IDs you already resolved through the reference endpoints. You can fill these attributes from the favourites, betting history and account settings you already hold.
Localized to the user's market
Send countryCode (ISO 3166-1, e.g. US) and subnationalRegionCode (ISO 3166-2, e.g. US-NJ), and the feed brings in the content you've curated for that market. That might be the leagues, teams and themes you want surfaced in a given country or state.
- Curate at whatever level suits you: per region (a state or province), per country, or with a single default. A region without its own curation uses its country's, and a country without one uses your default.
- Set up with your Odditt representative. Tell us what to feature where, and we configure it for your account.
Market localization is separate from language. Send X-Language as well to translate the narrative copy. The two work together.
Guarantees
- Your filters always win. Personalization only narrows what your filters return, never widens it. The response can only contain content that the same filters would return from the standard feed.
- Nothing is padded. When there's nothing personal to show, you get the standard feed, and
personalization.appliedisfalse. That's the one field in thepersonalizationblock worth branching on. - No personal data. Attributes are preferences and Odditt IDs you've already resolved. Nothing identifies a person, and Odditt stores nothing against a user.
Pagination
Use page and page_size exactly as with /v1/trends/mixed-flows. Pages don't overlap.
Errors
| Status | Meaning |
|---|---|
403 | Your plan doesn't include personalization |
422 | The request can't be served, for example because of an unsupported surface or a contradictory filter combination |
Everything else follows the standard response format.
Updated 15 days ago

