What's new See our recent updates

Kaggle Notebook API

See how a Kaggle notebook was built and how it last ran: its votes and forks, runtime and accelerator, the files it wrote, and the competitions, datasets and models it reads, in JSON.
  • Look up a notebook by its ref or its kaggle.com link
  • Data sources come with the ids Kaggle uses for them
  • Pay only for successful searches
No credit card required.
          curl --get https://www.searchapi.io/api/v1/search \
  -d engine="kaggle_notebook" \
  -d notebook_id="alexisbcook/titanic-tutorial"
        

Kaggle Notebook Results

Receive JSON results in real-time

Enter a notebook ref or link to get its metadata, latest run, output files and data sources. Try one to see the live response.

{
  "search_metadata": {
    "id": "search_AEM9arelpd2kFqPoW0Nw8nB5",
    "status": "Success",
    "created_at": "2026-11-26T21:49:33Z",
    "request_time_taken": 1.36,
    "parsing_time_taken": 0.0,
    "total_time_taken": 1.36,
    "request_url": "https://www.kaggle.com/code/alexisbcook/titanic-tutorial",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_AEM9arelpd2kFqPoW0Nw8nB5.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_AEM9arelpd2kFqPoW0Nw8nB5"
  },
  "search_parameters": {
    "engine": "kaggle_notebook",
    "notebook_id": "alexisbcook/titanic-tutorial"
  },
  "notebook": {
    "notebook_id": "alexisbcook/titanic-tutorial",
    "id": 5660537,
    "title": "Titanic Tutorial",
    "link": "https://www.kaggle.com/code/alexisbcook/titanic-tutorial",
    "author": {
      "username": "alexisbcook",
      "name": "Alexis Cook",
      "link": "https://www.kaggle.com/alexisbcook",
      "tier": "grandmaster"
    },
    "language": "python",
    "type": "notebook",
    "votes": 62156,
    "views": 3367962,
    "forks": 53687,
    "comments": 30668,
    "medal": "gold",
    "updated_at": "2022-06-24T00:25:16.106666700Z",
    "version": 22,
    "versions_count": 22
  },
  "run": {
    "status": "complete",
    "created_at": "2022-06-24T00:25:13.820Z",
    "evaluated_at": "2022-06-24T00:25:16.107Z",
    "runtime_seconds": 16.4148811,
    "is_successful": true,
    "output_size_bytes": 2839,
    "accelerator": "none",
    "has_internet": false
  },
  "outputs": [
    {
      "name": "submission.csv",
      "path": "submission.csv",
      "size_bytes": 2839,
      "file_type": ".csv"
    }
  ],
  "data_sources": [
    {
      "type": "competition",
      "name": "Titanic - Machine Learning from Disaster",
      "link": "https://www.kaggle.com/competitions/titanic",
      "competition_id": 3136
    }
  ]
}

Developer experience

Easy integration

Integrating is as simple as making a GET HTTP request.

GET
https://www.searchapi.io/api/v1/search?engine=kaggle_notebook&notebook_id=alexisbcook%2Ftitanic-tutorial
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "kaggle_notebook",
  "notebook_id": "alexisbcook/titanic-tutorial"
}

response = requests.get(url, params=params)
print(response.text)

Kaggle Notebook Data Points

What you get

One request returns a public notebook's latest version, the run that produced it, and everything it reads and writes.

Notebook Identity

The notebook's ref, as in author/slug, its numeric id, title and link, and whether it is a notebook or a script in Python, R or R Markdown.

Author and Collaborators

Username, display name, profile link and Kaggle progression tier of the author and of the users the notebook is shared with.

Popularity

Votes, views, forks and comments, the medal when Kaggle awarded one, tags, and the best public leaderboard score for competition notebooks.

Latest Run

Run status, when it was queued and started, runtime in seconds, exit code, total output size, the accelerator it used and whether it had internet access.

Output Files

Name, path, size and extension of each file the run wrote, up to the 500 files Kaggle lists for a run.

Data Sources

The competitions, datasets, notebook outputs and models the notebook reads, each with its name, link and the id Kaggle uses for it.

Fork Origin and Versions

The public notebook it was copied from, when it is a fork, and its current version number and version count.

Clear Not-Found Answer

A notebook that does not exist, is private or was deleted returns an error saying so, instead of an empty result.

Legal Coverage

Legal Protection Guarantee

We accept legal responsibility for how SearchApi collects and parses publicly available search results, backed by up to $2M in coverage. This protection applies to customers worldwide, operates under U.S. law, and does not cover your use of the data or unlawful activities.

Robust Infrastructure

Handle even the most demanding needs

Sub-2 second average response time

Performance

Sub-2 second average response time

Optimized for low latency, delivering rapid results for AI applications, SEO analysis, and research.

100% success rate

100% Success Rate

Guaranteed query completion

Guaranteed success with built-in auto-retry mechanism and adaptive error handling to ensure complete data collection.

Scalable proxy rotation

Proxy Management

Scalable proxy rotation

Our built-in proxy rotator and auto-retry mechanisms ensure scalability, handling millions of searches daily across a global network of 100M+ proxies.

Advanced CAPTCHA bypass

Captcha Solving

Advanced CAPTCHA bypass

Mimics real human behavior with full browser rendering, JavaScript execution, and CAPTCHA solving for uninterrupted data scraping.

Open-source integrations

Integrations

Open-source integrations

Easily integrate with popular open-source tools like Dify, Flowise, LangChain, and Haystack to extend functionality with minimal setup.

Simple Pricing

Pricing plans

  • Pay per success
  • Built in location geo-targetting
  • Only premium proxies

Developer Plan

$4 per 1,000 searches

$40 / month

What's included
  • 10,000 Searches
  • 99.9% SLA

Production Plan

$3 per 1,000 searches

$100 / month

What's included
  • 35,000 Searches
  • Team Management
  • Legal Protection Guarantee
  • 99.9% SLA

BigData Plan

$2.5 per 1,000 searches

$250 / month

What's included
  • 100,000 Searches
  • Team Management
  • Legal Protection Guarantee
  • 99.9% SLA
  • Medium Throughput

Scale Plan

$2 per 1,000 searches

$500 / month

What's included
  • 250,000 Searches
  • Team Management
  • Legal Protection Guarantee
  • 99.9% SLA
  • High Throughput
  • Search Analytics

Trusted by industry leaders

Anthropic logo Bain & Company logo DataRails logo Scale AI logo Ahrefs logo Demyst logo

Get started with SearchApi today

No credit card required. No commitment. Cancel anytime.