Kaggle

Your Machine Learning and Data Science Community

Go to site
Explore
/
Apps
/
Kaggle

Kaggle API Integrations

Build and run workflows using the Kaggle API. Use 1000s of source-available triggers and actions across 1000+ apps. Or write custom code to integrate any app or API in seconds.

Overview

With the Kaggle API, you can:

  • Download datasets
  • Upload datasets
  • Create new datasets
  • Join competitions
  • View competition leaderboards
  • View user profiles
  • And more!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    kaggle: {
      type: "app",
      app: "kaggle",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.kaggle.com/api/v1/datasets/list`,
      auth: {
        username: `${this.kaggle.$auth.username}`,
        password: `${this.kaggle.$auth.api_key}`,
      },
      params: {
        "": ``,
      },
    })
  },
})

Authentication

Kaggle uses API keys for authentication. When you connect your Kaggle account, Pipedream securely stores the keys so you can easily authenticate to Kaggle APIs in both code and no-code steps.

In order to use the Kaggle’s public API, you must first authenticate using an API token. From the site header, click on your user profile picture, then on “My Account” from the dropdown menu. This will take you to your account settings.