BentoSDK

Environments & env vars

Testnet hosts, required environment variables, and what each unlocks.

Start on testnet. You only need the markets host for catalog reads and betting. Add the tournaments host when you build brackets or F1.

Hosts (testnet)

HostEnv varURLWhat it unlocks
MarketsBENTO_URLhttps://internal-server.bento.funCatalog, login, bets, create market, portfolio
TournamentsPARLAY_TOURNAMENT_URLhttps://bento-fun-tournaments-backend-3nku.onrender.comBracket tournaments, F1, LP, vault enter, Sportmonks sports proxies

Omit PARLAY_TOURNAMENT_URL until you need tournaments — sdk.tournaments / sdk.onchain stay undefined.

Required for the SDK

VariableRequiredPurpose
BENTO_BUILDER_API_KEYYesApp identity (apiKeyx-builder-api-key). Mint a testnet key. Required on tournaments sports proxies too.
BENTO_URLYes for live callsMarkets host origin (no trailing slash).
PARLAY_TOURNAMENT_URLOnly for tournamentsTournaments host origin.
export BENTO_URL='https://internal-server.bento.fun'
export BENTO_BUILDER_API_KEY='bnt_…'   # from /concepts/builder-api-key
# optional — only when you need tournaments:
export PARLAY_TOURNAMENT_URL='https://bento-fun-tournaments-backend-3nku.onrender.com'

Mainnet

Mainnet markets host and Builder keys are issued by Bento ops (not the docs form). Contact the team after the hackathon if you need production credentials.

On this page