Create and interact with Datasets, Notebooks, and connect with Kaggle.
Kaggle provides programmatic access to its platform through two tools: the kaggle CLI, a command-line interface for interacting with Kaggle via terminal commands or shell scripts, and kagglehub, a Python library for integrating Kaggle resources such as models, datasets, and competitions into Python machine learning workflows.
Authentication is available either through an OAuth flow using the kaggle CLI's login command, or via an API key generated from the account's API tokens settings page.
The API applies dynamic rate limiting across both the public API and the kaggle.com website. Requests that return an HTTP 429 "Too many requests" error can be retried after a pause; Kaggle also recommends reviewing client code for unintended loops or redundant calls, and reporting suspected platform-side rate-limiting bugs through the Product Feedback forum.
You can authenticate via an OAuth flow using kaggle auth login for the CLI, or create an API key from your Kaggle account API tokens settings page.
Kaggle offers the kaggle CLI for command-line interaction and kagglehub, a Python library for integrating Kaggle resources into ML workflows.
You may encounter an HTTP 429 'Too many requests' error, and Kaggle recommends pausing and retrying later or reviewing your code for unintended loops or redundant calls.
Yes, kagglehub is a Python library designed for seamless integration into Python ML workflows.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
Fetches metadata from any URL passed to it, including Open Graph tags.
Federal Statistical Office Germany.
People groups of the world with the fewest followers of Christ.
Get JSON formatted summary with title, description and preview image for any requested URL.
Get measure resources and influence to rank the relative power of states in Asia.
Extract structured data from any website.