dino.markets
API odds olahraga untuk pengembang dan agen AI, dengan harga dari sportsbook dan pasar prediksi.
Server MCP Terhosting
npx add-mcp 'https://api.dino.markets/mcp'Terpasang ke Claude Code, Codex, Cursor, dan lainnya
Dokumentasi
Index of every dino.markets page and doc for AI readers: llms.txt
MCP server
Connect Claude Code, Cursor, VS Code or Codex to the dino.markets odds API over MCP with your API key.
MCP, the Model Context Protocol, lets an assistant call tools on a server. The dino.markets server gives MCP clients the same odds as the HTTP API, on your key and your plan.
Server address
https://api.dino.markets/mcp
It speaks streamable HTTP and keeps no session. It takes POST only, one JSON-RPC message in each; a GET answers 405 and batches are refused.
Sign in with your key
Send your API key as Authorization: Bearer <key> or in the x-api-key header. Or sign in through the browser when your AI app asks. Keep the key in DINO_API_KEY, out of the URL and out of files you commit. Every request needs a key or a sign-in, connecting and listing the tools too. A request with neither gets 401 and the sign-in address, so an AI app can offer to sign in. Tool calls need one, the free ones too.
Connect
In Claude Code:
claude mcp add --transport http dino https://api.dino.markets/mcp \
--header "Authorization: Bearer $DINO_API_KEY"
Your shell fills in the key and Claude Code saves it in its settings. Run /mcp inside Claude Code to check that dino is connected.
In Cursor, add the server to .cursor/mcp.json in your project or your home folder:
{
"mcpServers": {
"dino": {
"url": "https://api.dino.markets/mcp",
"headers": { "Authorization": "Bearer ${env:DINO_API_KEY}" }
}
}
}
In VS Code, add this to .vscode/mcp.json. VS Code asks for the key when it starts the server.
{
"inputs": [
{ "type": "promptString", "id": "dino-key", "description": "dino.markets API key", "password": true }
],
"servers": {
"dino": {
"type": "http",
"url": "https://api.dino.markets/mcp",
"headers": { "Authorization": "Bearer ${input:dino-key}" }
}
}
}
In Codex, add this to ~/.codex/config.toml:
[mcp_servers.dino]
url = "https://api.dino.markets/mcp"
bearer_token_env_var = "DINO_API_KEY"
In the Claude app, open Settings, then Connectors, then Add custom connector. Paste the server address and choose Sign in now and Register automatically. Then sign in to dino.markets in the browser and press Allow. You need no key.
ChatGPT is not tested yet.
Call it by hand
curl -s "https://api.dino.markets/mcp" \
-H "Authorization: Bearer $DINO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
"params":{"name":"list_events","arguments":{"league":"nba","limit":1}}}'
200 OK
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"content": [
{
"text": "{\"as_of\":\"2026-11-25T10:32:00Z\",\"events\":[{\"id\":\"8432983275030565fbdda384f9041815\",\"kind\":\"game\",\"sport\":\"basketball\",\"league\":\"nba\",\"start_time\":\"202...",
"type": "text"
}
],
"isError": false
}
}
A tool answers with the JSON of its route as text, cut short here. A failed call has isError set to true, with the same error and message as the HTTP API.
Once you have used 80% of your credits, that JSON also holds usage_note: the credits you have used, the next plan’s credits and the upgrade link. Pro and test keys get no note. See credits and rate limits.
Tools
| Tool | Same as | Credits |
|---|---|---|
get_odds | GET /v2/odds | 1 when it returns prices |
list_events | GET /v2/events | Free |
list_coverage | GET /v2/leagues and GET /v2/books | Free |
get_odds takes one league, or games named in event_ids. A named game that has finished is found for 72 hours after its start, with its score and no prices, and a merged id answers with the surviving game. A call that returns only such finished games costs nothing. list_coverage takes no arguments, answers leagues and books in one result and counts as two calls on your rate limit. The rule for credits is on credits and rate limits.
Tool arguments
| Argument | Type | On | Meaning |
|---|---|---|---|
league | string | get_odds, list_events | Required unless event_ids is given |
event_ids | list | get_odds, list_events | Up to 100 event ids of 32 characters |
markets | list | get_odds, list_events | Market keys, player markets included when named. Checked but not applied by list_events. |
period | string | get_odds | game by default; h1, h2, q1 to q4, p1 to p3 or all |
alternates | boolean | get_odds | true adds the non-main lines of spread, total and player markets |
books | list | get_odds, list_events | Book codes |
region | string | get_odds, list_events | One region. With books, a book must match both. |
start_after | RFC 3339 time | get_odds, list_events | Only games that start at or after this time |
start_before | RFC 3339 time | get_odds, list_events | Only games that start at or before this time |
status | string | get_odds, list_events | scheduled, live, finished or all. Omitted, scheduled and live games, plus finished games named in event_ids. finished lists games that are over, newest first, with their score. |
limit | integer | get_odds, list_events | 25 by default, 1 to 100 |
cursor | string | get_odds, list_events | The next_cursor of the previous answer |
Values and defaults are the same as on odds and events. Try “NBA odds today”; if the league has no games, ask for another one.