On a successful request, the server responds with a status code 200 and returns a JSON object containing the following fields:
api_key(string) — The newly generated API key.
Rate limit: 1 second
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OddsPapi API v4","colors":{"primary":"#2563EB","light":"#60A5FA","dark":"#2563EB"},"logo":{"light":"https://mintcdn.com/oddspapi-v4/f2-9ZrDLT4RhWSdz/logo/light.svg?fit=max\u0026auto=format\u0026n=f2-9ZrDLT4RhWSdz\u0026q=85\u0026s=a29103fabc1c2311cca9e86e25139274","dark":"https://mintcdn.com/oddspapi-v4/f2-9ZrDLT4RhWSdz/logo/dark.svg?fit=max\u0026auto=format\u0026n=f2-9ZrDLT4RhWSdz\u0026q=85\u0026s=29dba98e3932f0d7ed9f6cf0bbc42bc2","href":"https://oddspapi.io"},"favicon":"https://mintcdn.com/oddspapi-v4/f2-9ZrDLT4RhWSdz/favicon.png?fit=max\u0026auto=format\u0026n=f2-9ZrDLT4RhWSdz\u0026q=85\u0026s=0a04b53502409a838062e26d831b5931","appearance":{"default":"dark"},"background":{"color":{"light":"#FDFCFC","dark":"#141414"}},"seo":{"metatags":{"canonical":"https://oddspapi.io","og:site_name":"OddsPapi API v4 Docs","og:type":"website","og:image":"https://oddspapi.io/og-image.png","twitter:card":"summary_large_image","twitter:site":"@OddspapiAPI","twitter:image":"https://oddspapi.io/og-image.png","keywords":"sports odds api, free odds api, betting odds api, sports betting api, odds api free tier, historical odds api, live odds api, pre-match odds api, player props api, odds api python, odds api javascript, bookmaker odds api, pinnacle odds api, odds comparison api, line movement api, closing odds api, sports scores api, bet settlement api, odds api for developers"},"indexing":"navigable"},"fonts":{"family":"Plus Jakarta Sans"},"contextual":{"options":["copy","view"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"banner":{"content":"You're reading the **v4 self-serve REST API** docs. Need WebSocket streaming or enterprise features? [Compare v4 and v5](/docs/v4-vs-v5).","dismissible":false},"footer":{"socials":{"x":"https://x.com/OddspapiAPI","linkedin":"https://www.linkedin.com/company/oddspapi","discord":"https://discord.gg/eSzvRMDxHv"},"links":[{"header":"Coverage","items":[{"label":"Map","href":"https://oddspapi.io/us/coverage"},{"label":"Latency","href":"https://oddspapi.io/us/coverage/latency"},{"label":"Sportsbooks","href":"https://oddspapi.io/sportsbooks"},{"label":"Sports","href":"https://oddspapi.io/sports"}]},{"header":"Docs","items":[{"label":"API","href":"/docs"},{"label":"WebSocket","href":"/docs/websocket-api"},{"label":"Historical Data","href":"/docs/get-historical-odds"},{"label":"API Status","href":"https://oddspapi.instatus.com/"}]},{"header":"Company","items":[{"label":"About","href":"https://oddspapi.io/us/about"},{"label":"Career","href":"https://oddspapi.io/us/career"},{"label":"Contact","href":"https://oddspapi.io/us/contact"},{"label":"Blog","href":"https://oddspapi.io/blog"},{"label":"Join our discord","href":"https://discord.gg/eSzvRMDxHv"}]},{"header":"Legal","items":[{"label":"Terms","href":"https://oddspapi.io/us/legal/terms"},{"label":"Privacy","href":"https://oddspapi.io/us/legal/privacy"},{"label":"Do Not Sell or Share My Personal Information","href":"https://oddspapi.io/us/legal/privacy-choices"}]}]},"navbar":{"links":[{"href":"https://oddspapi.io/us","label":"Home"},{"href":"/docs","label":"Docs"},{"href":"/docs/get-historical-odds","label":"Historical Data"},{"href":"https://oddspapi.io/us/coverage","label":"Coverage"},{"href":"https://discord.gg/eSzvRMDxHv","label":"Join Discord"},{"href":"https://oddspapi.io/us/sign-in","label":"Account"}],"primary":{"type":"button","label":"Sign Up","href":"https://oddspapi.io/us/sign-up"}},"href":"docs"},{"language":"en-GB","banner":{"content":"You're reading the **v4 self-serve REST API** docs. Need WebSocket streaming or enterprise features? [Compare v4 and v5](/en/docs/v4-vs-v5).","dismissible":false},"footer":{"socials":{"x":"https://x.com/OddspapiAPI","linkedin":"https://www.linkedin.com/company/oddspapi","discord":"https://discord.gg/eSzvRMDxHv"},"links":[{"header":"Coverage","items":[{"label":"Map","href":"https://oddspapi.io/en/coverage"},{"label":"Latency","href":"https://oddspapi.io/en/coverage/latency"},{"label":"Sportsbooks","href":"https://oddspapi.io/sportsbooks"},{"label":"Sports","href":"https://oddspapi.io/sports"}]},{"header":"Docs","items":[{"label":"API","href":"/en/docs"},{"label":"WebSocket","href":"/en/docs/websocket-api"},{"label":"Historical Data","href":"/en/docs/get-historical-odds"},{"label":"API Status","href":"https://oddspapi.instatus.com/"}]},{"header":"Company","items":[{"label":"About","href":"https://oddspapi.io/en/about"},{"label":"Career","href":"https://oddspapi.io/en/career"},{"label":"Contact","href":"https://oddspapi.io/en/contact"},{"label":"Blog","href":"https://oddspapi.io/blog"},{"label":"Join our discord","href":"https://discord.gg/eSzvRMDxHv"}]},{"header":"Legal","items":[{"label":"Terms","href":"https://oddspapi.io/en/legal/terms"},{"label":"Privacy","href":"https://oddspapi.io/en/legal/privacy"},{"label":"Do Not Sell or Share My Personal Information","href":"https://oddspapi.io/en/legal/privacy-choices"}]}]},"navbar":{"links":[{"href":"https://oddspapi.io/en","label":"Home"},{"href":"/en/docs","label":"Docs"},{"href":"/en/docs/get-historical-odds","label":"Historical Data"},{"href":"https://oddspapi.io/en/coverage","label":"Coverage"},{"href":"https://discord.gg/eSzvRMDxHv","label":"Join Discord"},{"href":"https://oddspapi.io/en/sign-in","label":"Account"}],"primary":{"type":"button","label":"Sign Up","href":"https://oddspapi.io/en/sign-up"}},"href":"en/docs"},{"language":"de","banner":{"content":"Du liest die Doku der **v4 Self-Service REST API**. Du brauchst WebSocket-Streaming oder Enterprise-Funktionen? [v4 und v5 vergleichen](/de/docs/v4-vs-v5).","dismissible":false},"footer":{"socials":{"x":"https://x.com/OddspapiAPI","linkedin":"https://www.linkedin.com/company/oddspapi","discord":"https://discord.gg/eSzvRMDxHv"},"links":[{"header":"Abdeckung","items":[{"label":"Karte","href":"https://oddspapi.io/de/coverage"},{"label":"Latenz","href":"https://oddspapi.io/de/coverage/latency"},{"label":"Wettanbieter","href":"https://oddspapi.io/sportsbooks"},{"label":"Sportarten","href":"https://oddspapi.io/sports"}]},{"header":"Docs","items":[{"label":"API","href":"/de/docs"},{"label":"WebSocket","href":"/de/docs/websocket-api"},{"label":"Historische Daten","href":"/de/docs/get-historical-odds"},{"label":"API Status","href":"https://oddspapi.instatus.com/"}]},{"header":"Unternehmen","items":[{"label":"Über uns","href":"https://oddspapi.io/de/about"},{"label":"Karriere","href":"https://oddspapi.io/de/career"},{"label":"Kontakt","href":"https://oddspapi.io/de/contact"},{"label":"Blog","href":"https://oddspapi.io/blog"},{"label":"Tritt unserem Discord bei","href":"https://discord.gg/eSzvRMDxHv"}]},{"header":"Rechtliches","items":[{"label":"Nutzungsbedingungen","href":"https://oddspapi.io/de/legal/terms"},{"label":"Datenschutz","href":"https://oddspapi.io/de/legal/privacy"},{"label":"Do Not Sell or Share My Personal Information","href":"https://oddspapi.io/de/legal/privacy-choices"}]}]},"navbar":{"links":[{"href":"https://oddspapi.io/de","label":"Startseite"},{"href":"/de/docs","label":"Docs"},{"href":"/de/docs/get-historical-odds","label":"Historische Daten"},{"href":"https://oddspapi.io/de/coverage","label":"Abdeckung"},{"href":"https://discord.gg/eSzvRMDxHv","label":"Tritt dem Discord bei"},{"href":"https://oddspapi.io/de/sign-in","label":"Konto"}],"primary":{"type":"button","label":"Registrieren","href":"https://oddspapi.io/de/sign-up"}},"href":"de/docs"},{"language":"es","banner":{"content":"Estás leyendo la documentación de la **API REST v4 de autoservicio**. ¿Necesitas streaming por WebSocket o funciones enterprise? [Compara v4 y v5](/es/docs/v4-vs-v5).","dismissible":false},"footer":{"socials":{"x":"https://x.com/OddspapiAPI","linkedin":"https://www.linkedin.com/company/oddspapi","discord":"https://discord.gg/eSzvRMDxHv"},"links":[{"header":"Cobertura","items":[{"label":"Mapa","href":"https://oddspapi.io/es/coverage"},{"label":"Latencia","href":"https://oddspapi.io/es/coverage/latency"},{"label":"Casas de apuestas","href":"https://oddspapi.io/sportsbooks"},{"label":"Deportes","href":"https://oddspapi.io/sports"}]},{"header":"Docs","items":[{"label":"API","href":"/es/docs"},{"label":"WebSocket","href":"/es/docs/websocket-api"},{"label":"Datos Históricos","href":"/es/docs/get-historical-odds"},{"label":"Estado de la API","href":"https://oddspapi.instatus.com/"}]},{"header":"Compañía","items":[{"label":"Sobre nosotros","href":"https://oddspapi.io/es/about"},{"label":"Carrera","href":"https://oddspapi.io/es/career"},{"label":"Contacto","href":"https://oddspapi.io/es/contact"},{"label":"Blog","href":"https://oddspapi.io/blog"},{"label":"Únete a nuestro Discord","href":"https://discord.gg/eSzvRMDxHv"}]},{"header":"Legal","items":[{"label":"Términos","href":"https://oddspapi.io/es/legal/terms"},{"label":"Privacidad","href":"https://oddspapi.io/es/legal/privacy"},{"label":"Do Not Sell or Share My Personal Information","href":"https://oddspapi.io/es/legal/privacy-choices"}]}]},"navbar":{"links":[{"href":"https://oddspapi.io/es","label":"Inicio"},{"href":"/es/docs","label":"Docs"},{"href":"/es/docs/get-historical-odds","label":"Datos Históricos"},{"href":"https://oddspapi.io/es/coverage","label":"Cobertura"},{"href":"https://discord.gg/eSzvRMDxHv","label":"Unirse a Discord"},{"href":"https://oddspapi.io/es/sign-in","label":"Cuenta"}],"primary":{"type":"button","label":"Registrarse","href":"https://oddspapi.io/es/sign-up"}},"href":"es/docs"},{"language":"fr","banner":{"content":"Vous lisez la documentation de l’**API REST v4 en libre-service**. Besoin du streaming WebSocket ou de fonctions entreprise ? [Comparer v4 et v5](/fr/docs/v4-vs-v5).","dismissible":false},"footer":{"socials":{"x":"https://x.com/OddspapiAPI","linkedin":"https://www.linkedin.com/company/oddspapi","discord":"https://discord.gg/eSzvRMDxHv"},"links":[{"header":"Couverture","items":[{"label":"Carte","href":"https://oddspapi.io/fr/coverage"},{"label":"Latence","href":"https://oddspapi.io/fr/coverage/latency"},{"label":"Bookmakers","href":"https://oddspapi.io/sportsbooks"},{"label":"Sports","href":"https://oddspapi.io/sports"}]},{"header":"Docs","items":[{"label":"API","href":"/fr/docs"},{"label":"WebSocket","href":"/fr/docs/websocket-api"},{"label":"Données historiques","href":"/fr/docs/get-historical-odds"},{"label":"Statut de l'API","href":"https://oddspapi.instatus.com/"}]},{"header":"Entreprise","items":[{"label":"À propos","href":"https://oddspapi.io/fr/about"},{"label":"Carrières","href":"https://oddspapi.io/fr/career"},{"label":"Contact","href":"https://oddspapi.io/fr/contact"},{"label":"Blog","href":"https://oddspapi.io/blog"},{"label":"Rejoignez notre Discord","href":"https://discord.gg/eSzvRMDxHv"}]},{"header":"Mentions légales","items":[{"label":"Conditions","href":"https://oddspapi.io/fr/legal/terms"},{"label":"Confidentialité","href":"https://oddspapi.io/fr/legal/privacy"},{"label":"Do Not Sell or Share My Personal Information","href":"https://oddspapi.io/fr/legal/privacy-choices"}]}]},"navbar":{"links":[{"href":"https://oddspapi.io/fr","label":"Accueil"},{"href":"/fr/docs","label":"Docs"},{"href":"/fr/docs/get-historical-odds","label":"Données historiques"},{"href":"https://oddspapi.io/fr/coverage","label":"Couverture"},{"href":"https://discord.gg/eSzvRMDxHv","label":"Rejoindre Discord"},{"href":"https://oddspapi.io/fr/sign-in","label":"Compte"}],"primary":{"type":"button","label":"Inscription","href":"https://oddspapi.io/fr/sign-up"}},"href":"fr/docs"},{"language":"it","banner":{"content":"Stai leggendo la documentazione dell’**API REST v4 self-service**. Ti servono lo streaming WebSocket o le funzioni enterprise? [Confronta v4 e v5](/it/docs/v4-vs-v5).","dismissible":false},"footer":{"socials":{"x":"https://x.com/OddspapiAPI","linkedin":"https://www.linkedin.com/company/oddspapi","discord":"https://discord.gg/eSzvRMDxHv"},"links":[{"header":"Copertura","items":[{"label":"Mappa","href":"https://oddspapi.io/it/coverage"},{"label":"Latenza","href":"https://oddspapi.io/it/coverage/latency"},{"label":"Bookmaker","href":"https://oddspapi.io/sportsbooks"},{"label":"Sport","href":"https://oddspapi.io/sports"}]},{"header":"Docs","items":[{"label":"API","href":"/it/docs"},{"label":"WebSocket","href":"/it/docs/websocket-api"},{"label":"Dati storici","href":"/it/docs/get-historical-odds"},{"label":"Stato API","href":"https://oddspapi.instatus.com/"}]},{"header":"Azienda","items":[{"label":"Chi siamo","href":"https://oddspapi.io/it/about"},{"label":"Carriere","href":"https://oddspapi.io/it/career"},{"label":"Contatti","href":"https://oddspapi.io/it/contact"},{"label":"Blog","href":"https://oddspapi.io/blog"},{"label":"Unisciti al nostro Discord","href":"https://discord.gg/eSzvRMDxHv"}]},{"header":"Note legali","items":[{"label":"Termini","href":"https://oddspapi.io/it/legal/terms"},{"label":"Privacy","href":"https://oddspapi.io/it/legal/privacy"},{"label":"Do Not Sell or Share My Personal Information","href":"https://oddspapi.io/it/legal/privacy-choices"}]}]},"navbar":{"links":[{"href":"https://oddspapi.io/it","label":"Home"},{"href":"/it/docs","label":"Docs"},{"href":"/it/docs/get-historical-odds","label":"Dati storici"},{"href":"https://oddspapi.io/it/coverage","label":"Copertura"},{"href":"https://discord.gg/eSzvRMDxHv","label":"Unisciti a Discord"},{"href":"https://oddspapi.io/it/sign-in","label":"Account"}],"primary":{"type":"button","label":"Registrati","href":"https://oddspapi.io/it/sign-up"}},"href":"it/docs"},{"language":"pt","banner":{"content":"Você está lendo a documentação da **API REST v4 self-service**. Precisa de streaming via WebSocket ou recursos enterprise? [Compare v4 e v5](/pt/docs/v4-vs-v5).","dismissible":false},"footer":{"socials":{"x":"https://x.com/OddspapiAPI","linkedin":"https://www.linkedin.com/company/oddspapi","discord":"https://discord.gg/eSzvRMDxHv"},"links":[{"header":"Cobertura","items":[{"label":"Mapa","href":"https://oddspapi.io/pt/coverage"},{"label":"Latência","href":"https://oddspapi.io/pt/coverage/latency"},{"label":"Casas de apostas","href":"https://oddspapi.io/sportsbooks"},{"label":"Esportes","href":"https://oddspapi.io/sports"}]},{"header":"Docs","items":[{"label":"API","href":"/pt/docs"},{"label":"WebSocket","href":"/pt/docs/websocket-api"},{"label":"Dados históricos","href":"/pt/docs/get-historical-odds"},{"label":"Status da API","href":"https://oddspapi.instatus.com/"}]},{"header":"Empresa","items":[{"label":"Sobre","href":"https://oddspapi.io/pt/about"},{"label":"Carreiras","href":"https://oddspapi.io/pt/career"},{"label":"Contato","href":"https://oddspapi.io/pt/contact"},{"label":"Blog","href":"https://oddspapi.io/blog"},{"label":"Entre no nosso Discord","href":"https://discord.gg/eSzvRMDxHv"}]},{"header":"Legal","items":[{"label":"Termos","href":"https://oddspapi.io/pt/legal/terms"},{"label":"Privacidade","href":"https://oddspapi.io/pt/legal/privacy"},{"label":"Do Not Sell or Share My Personal Information","href":"https://oddspapi.io/pt/legal/privacy-choices"}]}]},"navbar":{"links":[{"href":"https://oddspapi.io/pt","label":"Home"},{"href":"/pt/docs","label":"Docs"},{"href":"/pt/docs/get-historical-odds","label":"Dados históricos"},{"href":"https://oddspapi.io/pt/coverage","label":"Cobertura"},{"href":"https://discord.gg/eSzvRMDxHv","label":"Entrar no Discord"},{"href":"https://oddspapi.io/pt/sign-in","label":"Conta"}],"primary":{"type":"button","label":"Cadastrar","href":"https://oddspapi.io/pt/sign-up"}},"href":"pt/docs"},{"language":"ru","banner":{"content":"Вы читаете документацию **REST API v4 (самообслуживание)**. Нужны WebSocket-стриминг или корпоративные функции? [Сравните v4 и v5](/ru/docs/v4-vs-v5).","dismissible":false},"footer":{"socials":{"x":"https://x.com/OddspapiAPI","linkedin":"https://www.linkedin.com/company/oddspapi","discord":"https://discord.gg/eSzvRMDxHv"},"links":[{"header":"Покрытие","items":[{"label":"Карта","href":"https://oddspapi.io/ru/coverage"},{"label":"Задержка","href":"https://oddspapi.io/ru/coverage/latency"},{"label":"Букмекеры","href":"https://oddspapi.io/sportsbooks"},{"label":"Виды спорта","href":"https://oddspapi.io/sports"}]},{"header":"Документация","items":[{"label":"API","href":"/ru/docs"},{"label":"WebSocket","href":"/ru/docs/websocket-api"},{"label":"Исторические данные","href":"/ru/docs/get-historical-odds"},{"label":"Статус API","href":"https://oddspapi.instatus.com/"}]},{"header":"Компания","items":[{"label":"О нас","href":"https://oddspapi.io/ru/about"},{"label":"Карьера","href":"https://oddspapi.io/ru/career"},{"label":"Контакты","href":"https://oddspapi.io/ru/contact"},{"label":"Блог","href":"https://oddspapi.io/blog"},{"label":"Присоединиться к нашему Discord","href":"https://discord.gg/eSzvRMDxHv"}]},{"header":"Правовая информация","items":[{"label":"Условия","href":"https://oddspapi.io/ru/legal/terms"},{"label":"Конфиденциальность","href":"https://oddspapi.io/ru/legal/privacy"},{"label":"Do Not Sell or Share My Personal Information","href":"https://oddspapi.io/ru/legal/privacy-choices"}]}]},"navbar":{"links":[{"href":"https://oddspapi.io/ru","label":"Главная"},{"href":"/ru/docs","label":"Документация"},{"href":"/ru/docs/get-historical-odds","label":"Исторические данные"},{"href":"https://oddspapi.io/ru/coverage","label":"Покрытие"},{"href":"https://discord.gg/eSzvRMDxHv","label":"Вступить в Discord"},{"href":"https://oddspapi.io/ru/sign-in","label":"Аккаунт"}],"primary":{"type":"button","label":"Зарегистрироваться","href":"https://oddspapi.io/ru/sign-up"}},"href":"ru/docs"},{"language":"tr","banner":{"content":"**v4 self-servis REST API** belgelerini okuyorsunuz. WebSocket akışına veya kurumsal özelliklere mi ihtiyacınız var? [v4 ile v5'i karşılaştırın](/tr/docs/v4-vs-v5).","dismissible":false},"footer":{"socials":{"x":"https://x.com/OddspapiAPI","linkedin":"https://www.linkedin.com/company/oddspapi","discord":"https://discord.gg/eSzvRMDxHv"},"links":[{"header":"Kapsam","items":[{"label":"Harita","href":"https://oddspapi.io/tr/coverage"},{"label":"Gecikme","href":"https://oddspapi.io/tr/coverage/latency"},{"label":"Bahis şirketleri","href":"https://oddspapi.io/sportsbooks"},{"label":"Sporlar","href":"https://oddspapi.io/sports"}]},{"header":"Dokümanlar","items":[{"label":"API","href":"/tr/docs"},{"label":"WebSocket","href":"/tr/docs/websocket-api"},{"label":"Geçmiş Veri","href":"/tr/docs/get-historical-odds"},{"label":"API Durumu","href":"https://oddspapi.instatus.com/"}]},{"header":"Şirket","items":[{"label":"Hakkımızda","href":"https://oddspapi.io/tr/about"},{"label":"Kariyer","href":"https://oddspapi.io/tr/career"},{"label":"İletişim","href":"https://oddspapi.io/tr/contact"},{"label":"Blog","href":"https://oddspapi.io/blog"},{"label":"Discord’a katılın","href":"https://discord.gg/eSzvRMDxHv"}]},{"header":"Hukuki","items":[{"label":"Şartlar","href":"https://oddspapi.io/tr/legal/terms"},{"label":"Gizlilik","href":"https://oddspapi.io/tr/legal/privacy"},{"label":"Do Not Sell or Share My Personal Information","href":"https://oddspapi.io/tr/legal/privacy-choices"}]}]},"navbar":{"links":[{"href":"https://oddspapi.io/tr","label":"Ana Sayfa"},{"href":"/tr/docs","label":"Dokümanlar"},{"href":"/tr/docs/get-historical-odds","label":"Geçmiş Veri"},{"href":"https://oddspapi.io/tr/coverage","label":"Kapsam"},{"href":"https://discord.gg/eSzvRMDxHv","label":"Discord’a Katıl"},{"href":"https://oddspapi.io/tr/sign-in","label":"Hesap"}],"primary":{"type":"button","label":"Kayıt Ol","href":"https://oddspapi.io/tr/sign-up"}},"href":"tr/docs"},{"language":"zh","banner":{"content":"您正在阅读 **v4 自助式 REST API** 文档。需要 WebSocket 实时推送或企业级功能?[比较 v4 和 v5](/zh/docs/v4-vs-v5)。","dismissible":false},"footer":{"socials":{"x":"https://x.com/OddspapiAPI","linkedin":"https://www.linkedin.com/company/oddspapi","discord":"https://discord.gg/eSzvRMDxHv"},"links":[{"header":"覆盖范围","items":[{"label":"地图","href":"https://oddspapi.io/zh/coverage"},{"label":"延迟","href":"https://oddspapi.io/zh/coverage/latency"},{"label":"博彩公司","href":"https://oddspapi.io/sportsbooks"},{"label":"体育项目","href":"https://oddspapi.io/sports"}]},{"header":"文档","items":[{"label":"API","href":"/zh/docs"},{"label":"WebSocket","href":"/zh/docs/websocket-api"},{"label":"历史数据","href":"/zh/docs/get-historical-odds"},{"label":"API 状态","href":"https://oddspapi.instatus.com/"}]},{"header":"公司","items":[{"label":"关于我们","href":"https://oddspapi.io/zh/about"},{"label":"招贤纳士","href":"https://oddspapi.io/zh/career"},{"label":"联系我们","href":"https://oddspapi.io/zh/contact"},{"label":"博客","href":"https://oddspapi.io/blog"},{"label":"加入我们的 Discord","href":"https://discord.gg/eSzvRMDxHv"}]},{"header":"法律信息","items":[{"label":"条款","href":"https://oddspapi.io/zh/legal/terms"},{"label":"隐私","href":"https://oddspapi.io/zh/legal/privacy"},{"label":"Do Not Sell or Share My Personal Information","href":"https://oddspapi.io/zh/legal/privacy-choices"}]}]},"navbar":{"links":[{"href":"https://oddspapi.io/zh","label":"首页"},{"href":"/zh/docs","label":"文档"},{"href":"/zh/docs/get-historical-odds","label":"历史数据"},{"href":"https://oddspapi.io/zh/coverage","label":"覆盖范围"},{"href":"https://discord.gg/eSzvRMDxHv","label":"加入 Discord"},{"href":"https://oddspapi.io/zh/sign-in","label":"账户"}],"primary":{"type":"button","label":"注册","href":"https://oddspapi.io/zh/sign-up"}},"href":"zh/docs"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"oddspapi-v4","hasAudioNarration":false,"actualSubdomain":"oddspapi-v4","customDomains":[],"gitSource":{"type":"github","owner":"55-tech-limited","repo":"oddspapi-next","deployBranch":"main","contentDirectory":"docs-v4","isPrivate":true,"mountPath":"","label":"","_id":"6aff54a99cca133a8d6acd6d"},"entitlements":{},"buildId":"6b045a5ae4412b22d1997003","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"de","tag":"REST API Endpoints","count":16},{"language":"en","tag":"REST API Endpoints","count":16},{"language":"en-GB","tag":"REST API Endpoints","count":16},{"language":"es","tag":"Endpoints de la API REST","count":16},{"language":"fr","tag":"Endpoints de l’API REST","count":16},{"language":"it","tag":"Endpoint API REST","count":16},{"language":"pt","tag":"Endpoints da API REST","count":16},{"language":"ru","tag":"Эндпоинты REST API","count":16},{"language":"tr","tag":"REST API Uç Noktaları","count":16},{"language":"zh","tag":"REST API 端点","count":16},{"language":"de","tag":"Erste Schritte","count":5},{"language":"en","tag":"Get started","count":5},{"language":"en-GB","tag":"Get started","count":5},{"language":"es","tag":"Primeros pasos","count":5},{"language":"fr","tag":"Premiers pas","count":5},{"language":"it","tag":"Per iniziare","count":5},{"language":"pt","tag":"Primeiros passos","count":5},{"language":"ru","tag":"Начало работы","count":5},{"language":"tr","tag":"Başlarken","count":5},{"language":"zh","tag":"快速入门","count":5},{"language":"de","tag":"Daten-Guides","count":2},{"language":"de","tag":"WebSocket \u0026 Upgrade","count":2},{"language":"en","tag":"Data guides","count":2},{"language":"en","tag":"WebSocket \u0026 upgrading","count":2},{"language":"en-GB","tag":"Data guides","count":2},{"language":"en-GB","tag":"WebSocket \u0026 upgrading","count":2},{"language":"es","tag":"Guías de datos","count":2},{"language":"es","tag":"WebSocket y actualización","count":2},{"language":"fr","tag":"Guides des données","count":2},{"language":"fr","tag":"WebSocket et mise à niveau","count":2},{"language":"it","tag":"Guide ai dati","count":2},{"language":"it","tag":"WebSocket e upgrade","count":2},{"language":"pt","tag":"Guias de dados","count":2},{"language":"pt","tag":"WebSocket e upgrade","count":2},{"language":"ru","tag":"Руководства по данным","count":2},{"language":"ru","tag":"WebSocket и переход на v5","count":2},{"language":"tr","tag":"Veri rehberleri","count":2},{"language":"tr","tag":"WebSocket ve yükseltme","count":2},{"language":"zh","tag":"数据指南","count":2},{"language":"zh","tag":"WebSocket 与升级","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--gray-50: 250 250 250;--gray-100: 244 244 245;--gray-200: 229 231 235;--gray-300: 209 213 219;--gray-400: 156 163 175;--gray-500: 107 114 128;--gray-600: 75 85 99;--gray-700: 53 53 53;--gray-800: 49 49 49;--gray-900: 30 30 30;--gray-950: 20 20 20}:root{--op-fg: #111827;--op-muted: #4b5563;--op-border: rgb(17 24 39 / 0.1);--op-primary: #2563eb;--op-primary-fg: #fff;--op-accent: rgb(37 99 235 / 0.08)}html.dark{--op-fg: #f9fafb;--op-muted: #9ca3af;--op-border: #313131;--op-primary: #60a5fa;--op-primary-fg: #141414;--op-accent: #1e1e1e}#navbar-transition{border-bottom:1px solid var(--op-border)!important;backdrop-filter:blur(12px)}#navbar img.nav-logo{height:2rem}#navbar .navbar-link a{position:relative;height:2.25rem;padding:0 0.625rem;border-radius:0.375rem;font-size:0.875rem;font-weight:500;color:var(--op-muted)!important;transition:color 0.15s}#navbar .navbar-link a:hover{color:var(--op-fg)!important}#navbar .navbar-link a[href$=\"/docs\"]{color:var(--op-fg)!important}#navbar .navbar-link a[href$=\"/docs\"]::after{content:'';position:absolute;left:0.625rem;right:0.625rem;bottom:-0.875rem;height:2px;background:var(--op-primary)}#navbar .navbar-link a[href*=\"discord\"]::after{content:'';width:0.875rem;height:0.875rem;background:currentColor;-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E\") center / contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E\") center / contain no-repeat}#navbar .navbar-link a[href*=\"/sign-in\"]{color:var(--op-fg)!important;padding:0 1rem}#navbar .navbar-link a[href*=\"/sign-in\"]:hover{background:var(--op-accent)}#topbar-cta-button a{height:2.25rem;padding:0 1rem}#topbar-cta-button a>span:first-child{background:var(--op-primary);border-radius:0.375rem}#topbar-cta-button a span.text-white{color:var(--op-primary-fg)!important}#topbar-cta-button a svg{display:none}@media (min-width: 1024px){#navbar div:has(>a>img.nav-logo),#navbar div:has(>nav[aria-label=\"Main\"]),#navbar nav[aria-label=\"Main\"],#navbar nav[aria-label=\"Main\"]>ul{display:contents}#navbar div:has(>nav[aria-label=\"Main\"])>*,#navbar nav[aria-label=\"Main\"] li{margin:0!important}#navbar .h-16>div{column-gap:0.25rem}#navbar a:has(>img.nav-logo){order:0;margin-right:1rem}#navbar .navbar-link{order:1}#navbar div:has(>#search-bar-entry){order:2;flex:0 1 15rem;margin:0 0.5rem 0 auto}#navbar div:has(>#theme-preference-menu-trigger){order:3}#navbar div:has(>#localization-select-trigger){order:4}#navbar .navbar-link:has(a[href*=\"/sign-in\"]){order:5;margin-left:0.25rem!important}#navbar #topbar-cta-button{order:6;margin-left:0.25rem!important}#navbar a:has(>img.nav-logo){flex-shrink:0}}@media (min-width: 1024px) and (max-width: 1279px){#navbar div:has(>#search-bar-entry){flex:0 0 2.25rem}#navbar .h-16{padding:0 1rem}#navbar .navbar-link a{padding:0 0.375rem}#navbar .navbar-link a[href$=\"/docs\"]::after{left:0.375rem;right:0.375rem}#navbar .navbar-link a[href*=\"/sign-in\"]{padding:0 0.625rem}#navbar #search-bar-entry{padding:0;justify-content:center}#navbar #search-bar-entry [data-search-item=\"trigger-label\"],#navbar #search-bar-entry [data-search-item=\"trigger-hint\"]{display:none}#navbar .navbar-link:has(a[href*=\"docs.oddspapi.io\"]),#navbar .navbar-link:has(a[href*=\"discord\"]),#navbar .navbar-link:has(a[href$=\"/get-historical-odds\"]){display:none}}#footer{border-top:1px solid var(--op-border)!important;max-width:none;width:100%}#footer>div{max-width:80rem;padding:4rem 2rem 6rem}#footer img.nav-logo{height:2rem}#footer div:has(>a>img.nav-logo){flex-direction:column;align-items:flex-start;justify-content:flex-start;row-gap:1.5rem}#footer .min-w-\\[140px\\]{gap:0.5rem;justify-content:flex-start}#footer .min-w-\\[140px\\]::before{content:'Follow Us';flex-basis:100%;margin-bottom:0.25rem;font-size:0.875rem;font-weight:600;color:var(--op-fg)}#footer .min-w-\\[140px\\]>a{display:flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem!important;border:1px solid var(--op-border);border-radius:0.375rem;transition:border-color 0.15s}#footer .min-w-\\[140px\\]>a svg{width:1rem;height:1rem;background-color:var(--op-muted)!important}#footer .min-w-\\[140px\\]>a:hover{border-color:var(--op-primary)}#footer .min-w-\\[140px\\]>a:hover svg{background-color:var(--op-primary)!important}#footer p.font-semibold{color:var(--op-fg)!important;font-size:0.875rem}#footer a.text-sm{color:var(--op-muted)!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;max-width:12rem;transition:color 0.15s}#footer a.text-sm:hover{color:var(--op-fg)!important}#footer .h-px{background:var(--op-border)!important}html:has(#footer a[href^=\"/de/docs\"]) #footer .min-w-\\[140px\\]::before{content:\"Folge uns\"}html:has(#footer a[href^=\"/es/docs\"]) #footer .min-w-\\[140px\\]::before{content:\"Síguenos\"}html:has(#footer a[href^=\"/fr/docs\"]) #footer .min-w-\\[140px\\]::before{content:\"Suivez-nous\"}html:has(#footer a[href^=\"/it/docs\"]) #footer .min-w-\\[140px\\]::before{content:\"Seguici\"}html:has(#footer a[href^=\"/pt/docs\"]) #footer .min-w-\\[140px\\]::before{content:\"Siga-nos\"}html:has(#footer a[href^=\"/ru/docs\"]) #footer .min-w-\\[140px\\]::before{content:\"Подписывайтесь на нас\"}html:has(#footer a[href^=\"/tr/docs\"]) #footer .min-w-\\[140px\\]::before{content:\"Bizi Takip Edin\"}html:has(#footer a[href^=\"/zh/docs\"]) #footer .min-w-\\[140px\\]::before{content:\"关注我们\"}"}]}
{"page":{"pagePath":"docs/post-refresh-api-key","slug":"/docs/post-refresh-api-key","pageMetadata":{"title":"POST /v4/account/refresh-api-key: Rotate Your API Key","sidebarTitle":"POST refresh api key","description":"Generate a new OddsPapi API key and invalidate the old one. Use it when a key has leaked.","href":"/docs/post-refresh-api-key"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Generate a new OddsPapi API key and invalidate the old one. Use it when a key has leaked.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Allows the client to refresh their API key.`}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`POST`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /v4/account/refresh-api-key`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`example-response`,children:`Example Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"api_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"b72d5e90-1a3c-4f8b-9d26-0e4c7a51f3b8\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`response-200-ok`,children:`Response (200 OK)`}),`\n`,_jsxs(_components.p,{children:[`On a successful request, the server responds with a status code `,_jsx(_components.code,{children:`200`}),` and returns a JSON object containing the following fields:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`api_key`}),` `,_jsx(_components.code,{children:`(string)`}),` — The newly generated API key.`]}),`\n`]}),`\n`,_jsx(Note,{children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Rate limit: 1 second`}),`\n`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"POST /v4/account/refresh-api-key: Rotate Your API Key","sidebarTitle":"POST refresh api key","description":"Generate a new OddsPapi API key and invalidate the old one. Use it when a key has leaked.","href":"/docs/post-refresh-api-key"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Endpoint","slug":"endpoint","depth":2,"children":[{"title":"Example Response","slug":"example-response","depth":3,"children":[]}]},{"title":"Response (200 OK)","slug":"response-200-ok","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/oddspapi-v4/6257e4f7734e6ca3/same-tab.js"],"subdomain":"oddspapi-v4","siteName":"OddsPapi API v4","title":"POST /v4/account/refresh-api-key: Rotate Your API Key - OddsPapi API v4","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/docs/post-refresh-api-key","matchLevel":0},"en-GB":{"href":"/en/docs/post-refresh-api-key","matchLevel":1},"de":{"href":"/de/docs/post-refresh-api-key","matchLevel":1},"es":{"href":"/es/docs/post-refresh-api-key","matchLevel":1},"fr":{"href":"/fr/docs/post-refresh-api-key","matchLevel":1},"it":{"href":"/it/docs/post-refresh-api-key","matchLevel":1},"pt":{"href":"/pt/docs/post-refresh-api-key","matchLevel":1},"ru":{"href":"/ru/docs/post-refresh-api-key","matchLevel":1},"tr":{"href":"/tr/docs/post-refresh-api-key","matchLevel":1},"zh":{"href":"/zh/docs/post-refresh-api-key","matchLevel":1}}},"lastModified":"2026-11-20T19:54:57.839Z","originalFileLocation":"docs/post-refresh-api-key.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Generate a new OddsPapi API key and invalidate the old one. Use it when a key has leaked.\">\u003cmeta data-mint-head name=\"keywords\" content=\"sports odds api, free odds api, betting odds api, sports betting api, odds api free tier, historical odds api, live odds api, pre-match odds api, player props api, odds api python, odds api javascript, bookmaker odds api, pinnacle odds api, odds comparison api, line movement api, closing odds api, sports scores api, bet settlement api, odds api for developers\">\u003cmeta data-mint-head name=\"application-name\" content=\"OddsPapi API v4\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/oddspapi-v4/5QdRw6fWuDyOzlVj/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/oddspapi-v4/5QdRw6fWuDyOzlVj/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/oddspapi-v4/5QdRw6fWuDyOzlVj/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/oddspapi-v4/5QdRw6fWuDyOzlVj/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/oddspapi-v4/5QdRw6fWuDyOzlVj/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/oddspapi-v4/5QdRw6fWuDyOzlVj/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/oddspapi-v4/5QdRw6fWuDyOzlVj/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/oddspapi-v4/5QdRw6fWuDyOzlVj/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/oddspapi-v4/5QdRw6fWuDyOzlVj/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"POST /v4/account/refresh-api-key: Rotate Your API Key - OddsPapi API v4\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generate a new OddsPapi API key and invalidate the old one. Use it when a key has leaked.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OddsPapi API v4 Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://oddspapi.io/docs/post-refresh-api-key\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://oddspapi.io/og-image.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"POST /v4/account/refresh-api-key: Rotate Your API Key - OddsPapi API v4\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generate a new OddsPapi API key and invalidate the old one. Use it when a key has leaked.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://oddspapi.io/og-image.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/oddspapi-v4/5QdRw6fWuDyOzlVj/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OddsPapi API v4\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563EB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://oddspapi.io/docs/post-refresh-api-key\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/post-refresh-api-key.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://oddspapi.io/docs/post-refresh-api-key\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en-GB\" href=\"https://oddspapi.io/en/docs/post-refresh-api-key\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://oddspapi.io/de/docs/post-refresh-api-key\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://oddspapi.io/es/docs/post-refresh-api-key\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://oddspapi.io/fr/docs/post-refresh-api-key\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"it\" href=\"https://oddspapi.io/it/docs/post-refresh-api-key\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt\" href=\"https://oddspapi.io/pt/docs/post-refresh-api-key\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://oddspapi.io/ru/docs/post-refresh-api-key\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"tr\" href=\"https://oddspapi.io/tr/docs/post-refresh-api-key\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://oddspapi.io/zh/docs/post-refresh-api-key\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://oddspapi.io/docs/post-refresh-api-key\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://oddspapi.io/#organization\",\"name\":\"OddsPapi API v4\",\"url\":\"https://oddspapi.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/oddspapi-v4/f2-9ZrDLT4RhWSdz/logo/light.svg?fit=max\u0026auto=format\u0026n=f2-9ZrDLT4RhWSdz\u0026q=85\u0026s=a29103fabc1c2311cca9e86e25139274\"}},{\"@type\":\"WebSite\",\"@id\":\"https://oddspapi.io#website\",\"name\":\"OddsPapi API v4\",\"url\":\"https://oddspapi.io\",\"publisher\":{\"@id\":\"https://oddspapi.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://oddspapi.io/docs/post-refresh-api-key#webpage\",\"url\":\"https://oddspapi.io/docs/post-refresh-api-key\",\"name\":\"POST /v4/account/refresh-api-key: Rotate Your API Key\",\"description\":\"Generate a new OddsPapi API key and invalidate the old one. Use it when a key has leaked.\",\"dateModified\":\"2026-11-20T19:54:57.839Z\",\"isPartOf\":{\"@id\":\"https://oddspapi.io#website\"},\"breadcrumb\":{\"@id\":\"https://oddspapi.io/docs/post-refresh-api-key#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://oddspapi.io/docs/post-refresh-api-key#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"REST API Endpoints\",\"item\":\"https://oddspapi.io/docs/get-account\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"POST /v4/account/refresh-api-key: Rotate Your API Key\",\"item\":\"https://oddspapi.io/docs/post-refresh-api-key\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://oddspapi.io/docs/post-refresh-api-key#article\",\"headline\":\"POST /v4/account/refresh-api-key: Rotate Your API Key\",\"name\":\"POST /v4/account/refresh-api-key: Rotate Your API Key\",\"description\":\"Generate a new OddsPapi API key and invalidate the old one. Use it when a key has leaked.\",\"url\":\"https://oddspapi.io/docs/post-refresh-api-key\",\"mainEntityOfPage\":{\"@id\":\"https://oddspapi.io/docs/post-refresh-api-key#webpage\"},\"image\":\"https://oddspapi.io/og-image.png\",\"dateModified\":\"2026-11-20T19:54:57.839Z\",\"publisher\":{\"@id\":\"https://oddspapi.io/#organization\"},\"isPartOf\":{\"@id\":\"https://oddspapi.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OddsPapi API v4\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OddsPapi API v4\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/post-refresh-api-key.md","siteName":"OddsPapi API v4","nav":{"global":null,"languages":[{"language":"en","default":true,"banner":{"content":"You're reading the **v4 self-serve REST API** docs. Need WebSocket streaming or enterprise features? [Compare v4 and v5](/docs/v4-vs-v5).","dismissible":false},"footer":{"socials":{"x":"https://x.com/OddspapiAPI","linkedin":"https://www.linkedin.com/company/oddspapi","discord":"https://discord.gg/eSzvRMDxHv"},"links":[{"header":"Coverage","items":[{"label":"Map","href":"https://oddspapi.io/us/coverage"},{"label":"Latency","href":"https://oddspapi.io/us/coverage/latency"},{"label":"Sportsbooks","href":"https://oddspapi.io/sportsbooks"},{"label":"Sports","href":"https://oddspapi.io/sports"}]},{"header":"Docs","items":[{"label":"API","href":"/docs"},{"label":"WebSocket","href":"/docs/websocket-api"},{"label":"Historical Data","href":"/docs/get-historical-odds"},{"label":"API Status","href":"https://oddspapi.instatus.com/"}]},{"header":"Company","items":[{"label":"About","href":"https://oddspapi.io/us/about"},{"label":"Career","href":"https://oddspapi.io/us/career"},{"label":"Contact","href":"https://oddspapi.io/us/contact"},{"label":"Blog","href":"https://oddspapi.io/blog"},{"label":"Join our discord","href":"https://discord.gg/eSzvRMDxHv"}]},{"header":"Legal","items":[{"label":"Terms","href":"https://oddspapi.io/us/legal/terms"},{"label":"Privacy","href":"https://oddspapi.io/us/legal/privacy"},{"label":"Do Not Sell or Share My Personal Information","href":"https://oddspapi.io/us/legal/privacy-choices"}]}]},"navbar":{"links":[{"href":"https://oddspapi.io/us","label":"Home"},{"href":"/docs","label":"Docs"},{"href":"/docs/get-historical-odds","label":"Historical Data"},{"href":"https://oddspapi.io/us/coverage","label":"Coverage"},{"href":"https://discord.gg/eSzvRMDxHv","label":"Join Discord"},{"href":"https://oddspapi.io/us/sign-in","label":"Account"}],"primary":{"type":"button","label":"Sign Up","href":"https://oddspapi.io/us/sign-up"}},"groups":[{"group":"Get started","pages":[{"title":"OddsPapi API v4 Docs: Free Sports Odds API for Developers","sidebarTitle":"Overview","href":"/docs"},{"title":"Quickstart: Your First Odds API Request in 5 Minutes","sidebarTitle":"Quickstart","href":"/docs/quickstart"},{"title":"API Requests \u0026 Quota: What Counts as a Request","sidebarTitle":"Requests \u0026 Quota","href":"/docs/requests-and-quota"},{"title":"API Errors \u0026 Rate Limits: Codes, Causes and Fixes","sidebarTitle":"Errors","href":"/docs/errors"},{"title":"OddsPapi v4 API FAQ: Common Questions and Fixes","sidebarTitle":"FAQ","href":"/docs/faq"}]},{"group":"WebSocket \u0026 upgrading","pages":[{"title":"WebSocket and Live Odds on v4: Polling Guide","sidebarTitle":"WebSocket (v5)","href":"/docs/websocket-api"},{"title":"OddsPapi v4 vs v5: Which API Should You Use?","sidebarTitle":"v4 vs v5 \u0026 upgrading","href":"/docs/v4-vs-v5"}]},{"group":"Data guides","pages":[{"title":"Odds Freshness in OddsPapi v4: Stale Prices and True Delay","sidebarTitle":"Data freshness","href":"/docs/data-freshness"},{"title":"OddsPapi v4 Betting Markets: Market Types per Sport","sidebarTitle":"Markets overview","href":"/docs/markets"}]},{"group":"REST API Endpoints","pages":[{"title":"GET /v4/account: Check Your Plan, Quota and Usage","sidebarTitle":"GET account","href":"/docs/get-account"},{"title":"POST /v4/account: Update Your Account Settings","sidebarTitle":"POST account","description":"Update your OddsPapi account settings, such as your default language, through the v4 REST API.","href":"/docs/post-account"},{"title":"POST /v4/account/refresh-api-key: Rotate Your API Key","sidebarTitle":"POST refresh api key","href":"/docs/post-refresh-api-key"},{"title":"GET /v4/languages: Supported Languages","sidebarTitle":"GET languages","description":"List the languages OddsPapi can return names in, with the codes to pass as the language parameter.","href":"/docs/get-languages"},{"title":"GET /v4/sports: List of Sports and Sport IDs","sidebarTitle":"GET sports","href":"/docs/get-sports"},{"title":"GET /v4/bookmakers: List of Bookmakers and Slugs","sidebarTitle":"GET bookmakers","href":"/docs/get-bookmakers"},{"title":"GET /v4/tournaments: Leagues by Sport","sidebarTitle":"GET tournaments","href":"/docs/get-tournaments"},{"title":"GET /v4/fixtures: Upcoming and Live Events","sidebarTitle":"GET fixtures","href":"/docs/get-fixtures"},{"title":"GET /v4/fixture: Details of One Event","sidebarTitle":"GET fixture","href":"/docs/get-fixture"},{"title":"GET /v4/markets: Betting Markets and Outcome IDs","sidebarTitle":"GET markets","href":"/docs/get-markets"},{"title":"GET /v4/participants: Teams and Players by Sport","sidebarTitle":"GET participants","href":"/docs/get-participants"},{"title":"GET /v4/odds: Betting Odds for One Event","sidebarTitle":"GET odds","href":"/docs/get-odds"},{"title":"GET /v4/odds-by-tournaments: Odds for a Whole League","sidebarTitle":"GET odds by tournaments","href":"/docs/get-odds-by-tournaments"},{"title":"GET /v4/historical-odds: Free Historical Odds API","sidebarTitle":"GET historical odds","href":"/docs/get-historical-odds"},{"title":"GET /v4/settlements: Bet Settlement Results","sidebarTitle":"GET settlements","href":"/docs/get-settlements"},{"title":"GET /v4/scores: Scores by Period","sidebarTitle":"GET scores","href":"/docs/get-scores"}]}]},{"language":"en-GB","banner":{"content":"You're reading the **v4 self-serve REST API** docs. Need WebSocket streaming or enterprise features? [Compare v4 and v5](/en/docs/v4-vs-v5).","dismissible":false},"footer":{"socials":{"x":"https://x.com/OddspapiAPI","linkedin":"https://www.linkedin.com/company/oddspapi","discord":"https://discord.gg/eSzvRMDxHv"},"links":[{"header":"Coverage","items":[{"label":"Map","href":"https://oddspapi.io/en/coverage"},{"label":"Latency","href":"https://oddspapi.io/en/coverage/latency"},{"label":"Sportsbooks","href":"https://oddspapi.io/sportsbooks"},{"label":"Sports","href":"https://oddspapi.io/sports"}]},{"header":"Docs","items":[{"label":"API","href":"/en/docs"},{"label":"WebSocket","href":"/en/docs/websocket-api"},{"label":"Historical Data","href":"/en/docs/get-historical-odds"},{"label":"API Status","href":"https://oddspapi.instatus.com/"}]},{"header":"Company","items":[{"label":"About","href":"https://oddspapi.io/en/about"},{"label":"Career","href":"https://oddspapi.io/en/career"},{"label":"Contact","href":"https://oddspapi.io/en/contact"},{"label":"Blog","href":"https://oddspapi.io/blog"},{"label":"Join our discord","href":"https://discord.gg/eSzvRMDxHv"}]},{"header":"Legal","items":[{"label":"Terms","href":"https://oddspapi.io/en/legal/terms"},{"label":"Privacy","href":"https://oddspapi.io/en/legal/privacy"},{"label":"Do Not Sell or Share My Personal Information","href":"https://oddspapi.io/en/legal/privacy-choices"}]}]},"navbar":{"links":[{"href":"https://oddspapi.io/en","label":"Home"},{"href":"/en/docs","label":"Docs"},{"href":"/en/docs/get-historical-odds","label":"Historical Data"},{"href":"https://oddspapi.io/en/coverage","label":"Coverage"},{"href":"https://discord.gg/eSzvRMDxHv","label":"Join Discord"},{"href":"https://oddspapi.io/en/sign-in","label":"Account"}],"primary":{"type":"button","label":"Sign Up","href":"https://oddspapi.io/en/sign-up"}},"pages":[{"title":"en-GB","href":"/en/docs/post-refresh-api-key"}]},{"language":"de","banner":{"content":"Du liest die Doku der **v4 Self-Service REST API**. Du brauchst WebSocket-Streaming oder Enterprise-Funktionen? [v4 und v5 vergleichen](/de/docs/v4-vs-v5).","dismissible":false},"footer":{"socials":{"x":"https://x.com/OddspapiAPI","linkedin":"https://www.linkedin.com/company/oddspapi","discord":"https://discord.gg/eSzvRMDxHv"},"links":[{"header":"Abdeckung","items":[{"label":"Karte","href":"https://oddspapi.io/de/coverage"},{"label":"Latenz","href":"https://oddspapi.io/de/coverage/latency"},{"label":"Wettanbieter","href":"https://oddspapi.io/sportsbooks"},{"label":"Sportarten","href":"https://oddspapi.io/sports"}]},{"header":"Docs","items":[{"label":"API","href":"/de/docs"},{"label":"WebSocket","href":"/de/docs/websocket-api"},{"label":"Historische Daten","href":"/de/docs/get-historical-odds"},{"label":"API Status","href":"https://oddspapi.instatus.com/"}]},{"header":"Unternehmen","items":[{"label":"Über uns","href":"https://oddspapi.io/de/about"},{"label":"Karriere","href":"https://oddspapi.io/de/career"},{"label":"Kontakt","href":"https://oddspapi.io/de/contact"},{"label":"Blog","href":"https://oddspapi.io/blog"},{"label":"Tritt unserem Discord bei","href":"https://discord.gg/eSzvRMDxHv"}]},{"header":"Rechtliches","items":[{"label":"Nutzungsbedingungen","href":"https://oddspapi.io/de/legal/terms"},{"label":"Datenschutz","href":"https://oddspapi.io/de/legal/privacy"},{"label":"Do Not Sell or Share My Personal Information","href":"https://oddspapi.io/de/legal/privacy-choices"}]}]},"navbar":{"links":[{"href":"https://oddspapi.io/de","label":"Startseite"},{"href":"/de/docs","label":"Docs"},{"href":"/de/docs/get-historical-odds","label":"Historische Daten"},{"href":"https://oddspapi.io/de/coverage","label":"Abdeckung"},{"href":"https://discord.gg/eSzvRMDxHv","label":"Tritt dem Discord bei"},{"href":"https://oddspapi.io/de/sign-in","label":"Konto"}],"primary":{"type":"button","label":"Registrieren","href":"https://oddspapi.io/de/sign-up"}},"pages":[{"title":"de","href":"/de/docs/post-refresh-api-key"}]},{"language":"es","banner":{"content":"Estás leyendo la documentación de la **API REST v4 de autoservicio**. ¿Necesitas streaming por WebSocket o funciones enterprise? [Compara v4 y v5](/es/docs/v4-vs-v5).","dismissible":false},"footer":{"socials":{"x":"https://x.com/OddspapiAPI","linkedin":"https://www.linkedin.com/company/oddspapi","discord":"https://discord.gg/eSzvRMDxHv"},"links":[{"header":"Cobertura","items":[{"label":"Mapa","href":"https://oddspapi.io/es/coverage"},{"label":"Latencia","href":"https://oddspapi.io/es/coverage/latency"},{"label":"Casas de apuestas","href":"https://oddspapi.io/sportsbooks"},{"label":"Deportes","href":"https://oddspapi.io/sports"}]},{"header":"Docs","items":[{"label":"API","href":"/es/docs"},{"label":"WebSocket","href":"/es/docs/websocket-api"},{"label":"Datos Históricos","href":"/es/docs/get-historical-odds"},{"label":"Estado de la API","href":"https://oddspapi.instatus.com/"}]},{"header":"Compañía","items":[{"label":"Sobre nosotros","href":"https://oddspapi.io/es/about"},{"label":"Carrera","href":"https://oddspapi.io/es/career"},{"label":"Contacto","href":"https://oddspapi.io/es/contact"},{"label":"Blog","href":"https://oddspapi.io/blog"},{"label":"Únete a nuestro Discord","href":"https://discord.gg/eSzvRMDxHv"}]},{"header":"Legal","items":[{"label":"Términos","href":"https://oddspapi.io/es/legal/terms"},{"label":"Privacidad","href":"https://oddspapi.io/es/legal/privacy"},{"label":"Do Not Sell or Share My Personal Information","href":"https://oddspapi.io/es/legal/privacy-choices"}]}]},"navbar":{"links":[{"href":"https://oddspapi.io/es","label":"Inicio"},{"href":"/es/docs","label":"Docs"},{"href":"/es/docs/get-historical-odds","label":"Datos Históricos"},{"href":"https://oddspapi.io/es/coverage","label":"Cobertura"},{"href":"https://discord.gg/eSzvRMDxHv","label":"Unirse a Discord"},{"href":"https://oddspapi.io/es/sign-in","label":"Cuenta"}],"primary":{"type":"button","label":"Registrarse","href":"https://oddspapi.io/es/sign-up"}},"pages":[{"title":"es","href":"/es/docs/post-refresh-api-key"}]},{"language":"fr","banner":{"content":"Vous lisez la documentation de l’**API REST v4 en libre-service**. Besoin du streaming WebSocket ou de fonctions entreprise ? [Comparer v4 et v5](/fr/docs/v4-vs-v5).","dismissible":false},"footer":{"socials":{"x":"https://x.com/OddspapiAPI","linkedin":"https://www.linkedin.com/company/oddspapi","discord":"https://discord.gg/eSzvRMDxHv"},"links":[{"header":"Couverture","items":[{"label":"Carte","href":"https://oddspapi.io/fr/coverage"},{"label":"Latence","href":"https://oddspapi.io/fr/coverage/latency"},{"label":"Bookmakers","href":"https://oddspapi.io/sportsbooks"},{"label":"Sports","href":"https://oddspapi.io/sports"}]},{"header":"Docs","items":[{"label":"API","href":"/fr/docs"},{"label":"WebSocket","href":"/fr/docs/websocket-api"},{"label":"Données historiques","href":"/fr/docs/get-historical-odds"},{"label":"Statut de l'API","href":"https://oddspapi.instatus.com/"}]},{"header":"Entreprise","items":[{"label":"À propos","href":"https://oddspapi.io/fr/about"},{"label":"Carrières","href":"https://oddspapi.io/fr/career"},{"label":"Contact","href":"https://oddspapi.io/fr/contact"},{"label":"Blog","href":"https://oddspapi.io/blog"},{"label":"Rejoignez notre Discord","href":"https://discord.gg/eSzvRMDxHv"}]},{"header":"Mentions légales","items":[{"label":"Conditions","href":"https://oddspapi.io/fr/legal/terms"},{"label":"Confidentialité","href":"https://oddspapi.io/fr/legal/privacy"},{"label":"Do Not Sell or Share My Personal Information","href":"https://oddspapi.io/fr/legal/privacy-choices"}]}]},"navbar":{"links":[{"href":"https://oddspapi.io/fr","label":"Accueil"},{"href":"/fr/docs","label":"Docs"},{"href":"/fr/docs/get-historical-odds","label":"Données historiques"},{"href":"https://oddspapi.io/fr/coverage","label":"Couverture"},{"href":"https://discord.gg/eSzvRMDxHv","label":"Rejoindre Discord"},{"href":"https://oddspapi.io/fr/sign-in","label":"Compte"}],"primary":{"type":"button","label":"Inscription","href":"https://oddspapi.io/fr/sign-up"}},"pages":[{"title":"fr","href":"/fr/docs/post-refresh-api-key"}]},{"language":"it","banner":{"content":"Stai leggendo la documentazione dell’**API REST v4 self-service**. Ti servono lo streaming WebSocket o le funzioni enterprise? [Confronta v4 e v5](/it/docs/v4-vs-v5).","dismissible":false},"footer":{"socials":{"x":"https://x.com/OddspapiAPI","linkedin":"https://www.linkedin.com/company/oddspapi","discord":"https://discord.gg/eSzvRMDxHv"},"links":[{"header":"Copertura","items":[{"label":"Mappa","href":"https://oddspapi.io/it/coverage"},{"label":"Latenza","href":"https://oddspapi.io/it/coverage/latency"},{"label":"Bookmaker","href":"https://oddspapi.io/sportsbooks"},{"label":"Sport","href":"https://oddspapi.io/sports"}]},{"header":"Docs","items":[{"label":"API","href":"/it/docs"},{"label":"WebSocket","href":"/it/docs/websocket-api"},{"label":"Dati storici","href":"/it/docs/get-historical-odds"},{"label":"Stato API","href":"https://oddspapi.instatus.com/"}]},{"header":"Azienda","items":[{"label":"Chi siamo","href":"https://oddspapi.io/it/about"},{"label":"Carriere","href":"https://oddspapi.io/it/career"},{"label":"Contatti","href":"https://oddspapi.io/it/contact"},{"label":"Blog","href":"https://oddspapi.io/blog"},{"label":"Unisciti al nostro Discord","href":"https://discord.gg/eSzvRMDxHv"}]},{"header":"Note legali","items":[{"label":"Termini","href":"https://oddspapi.io/it/legal/terms"},{"label":"Privacy","href":"https://oddspapi.io/it/legal/privacy"},{"label":"Do Not Sell or Share My Personal Information","href":"https://oddspapi.io/it/legal/privacy-choices"}]}]},"navbar":{"links":[{"href":"https://oddspapi.io/it","label":"Home"},{"href":"/it/docs","label":"Docs"},{"href":"/it/docs/get-historical-odds","label":"Dati storici"},{"href":"https://oddspapi.io/it/coverage","label":"Copertura"},{"href":"https://discord.gg/eSzvRMDxHv","label":"Unisciti a Discord"},{"href":"https://oddspapi.io/it/sign-in","label":"Account"}],"primary":{"type":"button","label":"Registrati","href":"https://oddspapi.io/it/sign-up"}},"pages":[{"title":"it","href":"/it/docs/post-refresh-api-key"}]},{"language":"pt","banner":{"content":"Você está lendo a documentação da **API REST v4 self-service**. Precisa de streaming via WebSocket ou recursos enterprise? [Compare v4 e v5](/pt/docs/v4-vs-v5).","dismissible":false},"footer":{"socials":{"x":"https://x.com/OddspapiAPI","linkedin":"https://www.linkedin.com/company/oddspapi","discord":"https://discord.gg/eSzvRMDxHv"},"links":[{"header":"Cobertura","items":[{"label":"Mapa","href":"https://oddspapi.io/pt/coverage"},{"label":"Latência","href":"https://oddspapi.io/pt/coverage/latency"},{"label":"Casas de apostas","href":"https://oddspapi.io/sportsbooks"},{"label":"Esportes","href":"https://oddspapi.io/sports"}]},{"header":"Docs","items":[{"label":"API","href":"/pt/docs"},{"label":"WebSocket","href":"/pt/docs/websocket-api"},{"label":"Dados históricos","href":"/pt/docs/get-historical-odds"},{"label":"Status da API","href":"https://oddspapi.instatus.com/"}]},{"header":"Empresa","items":[{"label":"Sobre","href":"https://oddspapi.io/pt/about"},{"label":"Carreiras","href":"https://oddspapi.io/pt/career"},{"label":"Contato","href":"https://oddspapi.io/pt/contact"},{"label":"Blog","href":"https://oddspapi.io/blog"},{"label":"Entre no nosso Discord","href":"https://discord.gg/eSzvRMDxHv"}]},{"header":"Legal","items":[{"label":"Termos","href":"https://oddspapi.io/pt/legal/terms"},{"label":"Privacidade","href":"https://oddspapi.io/pt/legal/privacy"},{"label":"Do Not Sell or Share My Personal Information","href":"https://oddspapi.io/pt/legal/privacy-choices"}]}]},"navbar":{"links":[{"href":"https://oddspapi.io/pt","label":"Home"},{"href":"/pt/docs","label":"Docs"},{"href":"/pt/docs/get-historical-odds","label":"Dados históricos"},{"href":"https://oddspapi.io/pt/coverage","label":"Cobertura"},{"href":"https://discord.gg/eSzvRMDxHv","label":"Entrar no Discord"},{"href":"https://oddspapi.io/pt/sign-in","label":"Conta"}],"primary":{"type":"button","label":"Cadastrar","href":"https://oddspapi.io/pt/sign-up"}},"pages":[{"title":"pt","href":"/pt/docs/post-refresh-api-key"}]},{"language":"ru","banner":{"content":"Вы читаете документацию **REST API v4 (самообслуживание)**. Нужны WebSocket-стриминг или корпоративные функции? [Сравните v4 и v5](/ru/docs/v4-vs-v5).","dismissible":false},"footer":{"socials":{"x":"https://x.com/OddspapiAPI","linkedin":"https://www.linkedin.com/company/oddspapi","discord":"https://discord.gg/eSzvRMDxHv"},"links":[{"header":"Покрытие","items":[{"label":"Карта","href":"https://oddspapi.io/ru/coverage"},{"label":"Задержка","href":"https://oddspapi.io/ru/coverage/latency"},{"label":"Букмекеры","href":"https://oddspapi.io/sportsbooks"},{"label":"Виды спорта","href":"https://oddspapi.io/sports"}]},{"header":"Документация","items":[{"label":"API","href":"/ru/docs"},{"label":"WebSocket","href":"/ru/docs/websocket-api"},{"label":"Исторические данные","href":"/ru/docs/get-historical-odds"},{"label":"Статус API","href":"https://oddspapi.instatus.com/"}]},{"header":"Компания","items":[{"label":"О нас","href":"https://oddspapi.io/ru/about"},{"label":"Карьера","href":"https://oddspapi.io/ru/career"},{"label":"Контакты","href":"https://oddspapi.io/ru/contact"},{"label":"Блог","href":"https://oddspapi.io/blog"},{"label":"Присоединиться к нашему Discord","href":"https://discord.gg/eSzvRMDxHv"}]},{"header":"Правовая информация","items":[{"label":"Условия","href":"https://oddspapi.io/ru/legal/terms"},{"label":"Конфиденциальность","href":"https://oddspapi.io/ru/legal/privacy"},{"label":"Do Not Sell or Share My Personal Information","href":"https://oddspapi.io/ru/legal/privacy-choices"}]}]},"navbar":{"links":[{"href":"https://oddspapi.io/ru","label":"Главная"},{"href":"/ru/docs","label":"Документация"},{"href":"/ru/docs/get-historical-odds","label":"Исторические данные"},{"href":"https://oddspapi.io/ru/coverage","label":"Покрытие"},{"href":"https://discord.gg/eSzvRMDxHv","label":"Вступить в Discord"},{"href":"https://oddspapi.io/ru/sign-in","label":"Аккаунт"}],"primary":{"type":"button","label":"Зарегистрироваться","href":"https://oddspapi.io/ru/sign-up"}},"pages":[{"title":"ru","href":"/ru/docs/post-refresh-api-key"}]},{"language":"tr","banner":{"content":"**v4 self-servis REST API** belgelerini okuyorsunuz. WebSocket akışına veya kurumsal özelliklere mi ihtiyacınız var? [v4 ile v5'i karşılaştırın](/tr/docs/v4-vs-v5).","dismissible":false},"footer":{"socials":{"x":"https://x.com/OddspapiAPI","linkedin":"https://www.linkedin.com/company/oddspapi","discord":"https://discord.gg/eSzvRMDxHv"},"links":[{"header":"Kapsam","items":[{"label":"Harita","href":"https://oddspapi.io/tr/coverage"},{"label":"Gecikme","href":"https://oddspapi.io/tr/coverage/latency"},{"label":"Bahis şirketleri","href":"https://oddspapi.io/sportsbooks"},{"label":"Sporlar","href":"https://oddspapi.io/sports"}]},{"header":"Dokümanlar","items":[{"label":"API","href":"/tr/docs"},{"label":"WebSocket","href":"/tr/docs/websocket-api"},{"label":"Geçmiş Veri","href":"/tr/docs/get-historical-odds"},{"label":"API Durumu","href":"https://oddspapi.instatus.com/"}]},{"header":"Şirket","items":[{"label":"Hakkımızda","href":"https://oddspapi.io/tr/about"},{"label":"Kariyer","href":"https://oddspapi.io/tr/career"},{"label":"İletişim","href":"https://oddspapi.io/tr/contact"},{"label":"Blog","href":"https://oddspapi.io/blog"},{"label":"Discord’a katılın","href":"https://discord.gg/eSzvRMDxHv"}]},{"header":"Hukuki","items":[{"label":"Şartlar","href":"https://oddspapi.io/tr/legal/terms"},{"label":"Gizlilik","href":"https://oddspapi.io/tr/legal/privacy"},{"label":"Do Not Sell or Share My Personal Information","href":"https://oddspapi.io/tr/legal/privacy-choices"}]}]},"navbar":{"links":[{"href":"https://oddspapi.io/tr","label":"Ana Sayfa"},{"href":"/tr/docs","label":"Dokümanlar"},{"href":"/tr/docs/get-historical-odds","label":"Geçmiş Veri"},{"href":"https://oddspapi.io/tr/coverage","label":"Kapsam"},{"href":"https://discord.gg/eSzvRMDxHv","label":"Discord’a Katıl"},{"href":"https://oddspapi.io/tr/sign-in","label":"Hesap"}],"primary":{"type":"button","label":"Kayıt Ol","href":"https://oddspapi.io/tr/sign-up"}},"pages":[{"title":"tr","href":"/tr/docs/post-refresh-api-key"}]},{"language":"zh","banner":{"content":"您正在阅读 **v4 自助式 REST API** 文档。需要 WebSocket 实时推送或企业级功能?[比较 v4 和 v5](/zh/docs/v4-vs-v5)。","dismissible":false},"footer":{"socials":{"x":"https://x.com/OddspapiAPI","linkedin":"https://www.linkedin.com/company/oddspapi","discord":"https://discord.gg/eSzvRMDxHv"},"links":[{"header":"覆盖范围","items":[{"label":"地图","href":"https://oddspapi.io/zh/coverage"},{"label":"延迟","href":"https://oddspapi.io/zh/coverage/latency"},{"label":"博彩公司","href":"https://oddspapi.io/sportsbooks"},{"label":"体育项目","href":"https://oddspapi.io/sports"}]},{"header":"文档","items":[{"label":"API","href":"/zh/docs"},{"label":"WebSocket","href":"/zh/docs/websocket-api"},{"label":"历史数据","href":"/zh/docs/get-historical-odds"},{"label":"API 状态","href":"https://oddspapi.instatus.com/"}]},{"header":"公司","items":[{"label":"关于我们","href":"https://oddspapi.io/zh/about"},{"label":"招贤纳士","href":"https://oddspapi.io/zh/career"},{"label":"联系我们","href":"https://oddspapi.io/zh/contact"},{"label":"博客","href":"https://oddspapi.io/blog"},{"label":"加入我们的 Discord","href":"https://discord.gg/eSzvRMDxHv"}]},{"header":"法律信息","items":[{"label":"条款","href":"https://oddspapi.io/zh/legal/terms"},{"label":"隐私","href":"https://oddspapi.io/zh/legal/privacy"},{"label":"Do Not Sell or Share My Personal Information","href":"https://oddspapi.io/zh/legal/privacy-choices"}]}]},"navbar":{"links":[{"href":"https://oddspapi.io/zh","label":"首页"},{"href":"/zh/docs","label":"文档"},{"href":"/zh/docs/get-historical-odds","label":"历史数据"},{"href":"https://oddspapi.io/zh/coverage","label":"覆盖范围"},{"href":"https://discord.gg/eSzvRMDxHv","label":"加入 Discord"},{"href":"https://oddspapi.io/zh/sign-in","label":"账户"}],"primary":{"type":"button","label":"注册","href":"https://oddspapi.io/zh/sign-up"}},"pages":[{"title":"zh","href":"/zh/docs/post-refresh-api-key"}]}]},"basePath":"","title":"POST /v4/account/refresh-api-key: Rotate Your API Key - OddsPapi API v4","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":["10e4515597"],"chunks":["BannerMarkdown-CoLHY196.js","dist-C-58LlaB.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}