{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"0","max_cost_micro_usd":"2000","quantities":[{"id":"upstream_credits","label":"Actual API.SH credits consumed","max_quantity":"1","measure":"value","pointer":"/credits_used","price_micro_usd":"2000","quantity_scale":0,"source":"response","unit":"credit","unit_quantity":"1"}],"rounding":"ceil","variants":[]}},"capabilityId":"98b6d7da-d830-4607-86fe-4404fc07277f","catalogType":"api","categories":["developer","data"],"dataPlatform":"kaggle","dataPlatformLogoUrl":"https://api.sh/logos/kaggle.png","dataPlatformTranslations":{},"dataProduct":"developer-resources","description":"Get Kaggle Notebook Details via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as id, output, and retrieve structured data including notebook reference, notebook language, notebook version, referenced input resources, and published run metadata to inspect dependencies, and discover published outputs, ready for production pipelines and AI agent automation.","descriptionTranslations":{"ar":"استرجع دفتر Kaggle عبر OpenAny REST لفحص اعتماداته ومخرجاته المنشورة. أرسل author/slug أو رابط الكود للحصول على البيانات والإصدارات والمصادر ومعلومات التشغيل وأسماء وأحجام وروابط المخرجات بصيغة JSON دون إعادة تشغيل الدفتر.","ja":"OpenAny REST で Kaggle ノートブックを取得し、データ依存や公開出力を確認できます。author/slug またはコード URL からメタデータ、版、データ出典、実行情報、出力名・サイズ・リンクを JSON で取得し、再実行とは区別します。","zh":"通过 OpenAny REST 查询 Kaggle Notebook，在检查工作流前了解数据依赖与已发布输出。传入 author/slug 或代码链接，获取元数据、版本、数据源、运行信息以及输出文件名、大小和链接 JSON；查询不会重跑 Notebook。"},"effectContentHtml":"","executionMode":"sync","id":"5f2d3408-72d9-4399-8687-40dbb21d9f5a","includedContentHtml":"","inputs":[{"description":"author/slug, or a kaggle.com/code/... link.","location":"query","name":"id","nullable":false,"required":true,"type":"string"},{"description":"0 leaves out the bulky `raw` source blocks (often 10-30x smaller).","enum_values":["0","1"],"location":"query","name":"raw","nullable":false,"required":false,"type":"string"},{"description":"Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"1 skips the 24-hour cache and fetches live.","enum_values":["1"],"location":"query","name":"fresh","nullable":false,"required":false,"type":"string"},{"description":"JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.","enum_values":["json"],"location":"query","name":"output","nullable":false,"required":false,"type":"string"},{"description":"Native CSV/NDJSON record selector; it has no effect on this JSON-only product.","location":"query","name":"records","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://api.sh/logos/kaggle.png","method":"GET","name":"Kaggle notebook details API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eKaggle Notebook Details API\u003c/h2\u003e\n\u003cp\u003eid accepts author/slug or a Kaggle code link. run and output_files describe published notebook information; file URLs are references rather than embedded file bytes.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eRequired inputs: id. JSON only; fresh=1 bypasses cache and raw=0 trims raw source blocks.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · Kaggle notebook details API\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eInspect dependencies\u003c/strong\u003e: Keep data_sources with notebook version.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eDiscover published outputs\u003c/strong\u003e: Read output_files before accessing a resource separately.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eref\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eNotebook reference\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003elanguage\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eNotebook language\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eversion\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eNotebook version\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edata_sources\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReferenced input resources\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erun\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePublished run metadata\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput_files[].name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eOutput file name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput_files[].download_url\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eOutput download reference\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/apish/kaggle/v1/notebook \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode id=alexisbcook/titanic-tutorial \\\n  --data-urlencode output=json\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/5f2d3408-72d9-4399-8687-40dbb21d9f5a\"\u003ePublished Kaggle Notebook Details API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eWhat identifier is supported?\u003c/h3\u003e\n\u003cp\u003eauthor/slug or a kaggle.com/code URL.\u003c/p\u003e\n\u003ch3\u003eDoes this execute notebook code?\u003c/h3\u003e\n\u003cp\u003eNo. It reads metadata and published references.\u003c/p\u003e\n\u003ch3\u003eAre output file bytes embedded?\u003c/h3\u003e\n\u003cp\u003eNo. output_files contains metadata and links.\u003c/p\u003e\n\u003ch3\u003eHow do I find discussions for the notebook?\u003c/h3\u003e\n\u003cp\u003eUse its topic_id and comments_url where available.\u003c/p\u003e\n\u003ch3\u003eCan versions and output availability differ?\u003c/h3\u003e\n\u003cp\u003eYes. Retain the returned version and run context with output references.\u003c/p\u003e\n\u003ch3\u003eCan I request CSV or NDJSON?\u003c/h3\u003e\n\u003cp\u003eThis OpenAny implementation serves JSON only. Omit output or use output=json.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/kaggle/kaggle-competition-details-api\"\u003eKaggle competition details API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/kaggle/kaggle-competition-leaderboard-api\"\u003eKaggle competition leaderboard API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/kaggle/kaggle-competition-search-api\"\u003eKaggle competition search API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/kaggle/kaggle-notebook-details-api?offering=5f2d3408-72d9-4399-8687-40dbb21d9f5a","providerId":"apish","publicPath":"/v1/agent-apis/apish/kaggle/v1/notebook","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Official documentation response · Supplier-tr","request":{"body":null,"headers":{},"path":{},"query":{"id":"alexisbcook/titanic-tutorial","output":"json"}},"response_body":{"author":{"avatar":"https://storage.googleapis.com/kaggle-avatars/thumbnails/2603295-kg.jpg","id":2603295,"name":"Alexis Cook","tier":"GRANDMASTER","url":"https://www.kaggle.com/alexisbcook","username":"alexisbcook"},"cached":false,"comments_url":"https://www.kaggle.com/code/alexisbcook/titanic-tutorial/comments","credits_used":1,"data_sources":[{"id":3136,"name":"Titanic - Machine Learning from Disaster","thumbnail":"https://storage.googleapis.com/kaggle-competitions/kaggle/3136/logos/thumb76_76.png?GoogleAccessId=name@example.com\u0026Expires=1793891780\u0026Signa…","url":"https://www.kaggle.com/competitions/titanic"}],"download_all_url":"https://www.kaggle.com/code/svzip/99170538","forks":53108,"id":5660537,"language":"IPython Notebook HTML","medal":"GOLD","output_files":[{"download_url":"https://www.kaggleusercontent.com/kf/99170538/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..EpRNSNe1N6ftDZjGyje8HQ.9z3ukENZETOZWf2T1fG-Yn…","name":"submission.csv","size_bytes":2839,"type":".csv"}],"ref":"alexisbcook/titanic-tutorial","rendered_output_url":"https://www.kaggleusercontent.com/kf/99170538/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..SgHVyzH1CeMJfCgEjDmQqQ.BX0S4Ur9CBnfPy72nJgScH…","run":{"accelerator":null,"created_at":"2022-06-24T00:25:13.820Z","evaluated_at":"2022-06-24T00:25:16.107Z","id":99170538,"run_seconds":1050,"status":"COMPLETE"},"title":"Titanic Tutorial","topic_id":111053,"updated_at":"2022-06-24T00:25:16.106666700Z","url":"https://www.kaggle.com/code/alexisbcook/titanic-tutorial","version":22,"versions":22,"views":3353274,"votes":61876}}],"seoDescription":"Get Kaggle Notebook Details via REST or MCP powered by Apish. Pay per call, no subscription. Get notebook reference and notebook language in JSON.","updatedAt":"2026-12-03T02:43:57.936Z","usageInstructionsHtml":""}}