# Kaggle dataset details API

Get Kaggle Dataset 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 owner/slug dataset reference, dataset license, dataset version, file name, and file size in bytes to inspect dataset structure, and keep versioned sources.

Documentation: https://openany.si/market/apis/kaggle/kaggle-dataset-details-api/?offering=997144aa-114d-4918-9331-545c316635bf
API ID: 997144aa-114d-4918-9331-545c316635bf
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/kaggle/v1/dataset
Page update time: 2026-12-03T02:43:52.798Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:43:52.299Z. This is not a price-change timestamp.
```json
{
  "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": []
  }
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Kaggle dataset details API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "owner/slug, or a kaggle.com/datasets/... link."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      },
      "required": [
        "id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "card_image": {
      "type": "string"
    },
    "cover_image": {
      "type": "string"
    },
    "creator": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "user_id": {
          "type": "integer"
        }
      }
    },
    "credits_used": {
      "type": "integer"
    },
    "croissant_url": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "discussion_url": {
      "type": "string"
    },
    "download_url": {
      "type": "string"
    },
    "downloads": {
      "type": "integer"
    },
    "file_extensions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "files": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {}
              },
              "created_at": {
                "type": "string"
              },
              "description": {
                "type": "null"
              },
              "name": {
                "type": "string"
              },
              "size_bytes": {
                "type": "integer"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "forum_id": {
      "type": "integer"
    },
    "id": {
      "type": "integer"
    },
    "last_version": {
      "type": "integer"
    },
    "license": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "medal": {
      "type": "string"
    },
    "notebooks": {
      "type": "integer"
    },
    "notebooks_url": {
      "type": "string"
    },
    "owner": {
      "type": "object",
      "properties": {
        "avatar": {
          "type": "string"
        },
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "tier": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "ref": {
      "type": "string"
    },
    "size_bytes": {
      "type": "integer"
    },
    "subtitle": {
      "type": "string"
    },
    "tags": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "full_path": {
                "type": "string"
              },
              "id": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              },
              "slug": {
                "type": "null"
              },
              "url": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "title": {
      "type": "string"
    },
    "topics": {
      "type": "integer"
    },
    "updated_at": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "usability": {
      "type": "object",
      "properties": {
        "score": {
          "type": "null"
        }
      }
    },
    "version": {
      "type": "integer"
    },
    "version_id": {
      "type": "integer"
    },
    "views": {
      "type": "integer"
    },
    "votes": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/kaggle/v1/dataset?id=imdevskp%2Fcorona-virus-report&output=json' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "card_image": "https://storage.googleapis.com/kaggle-datasets-images/494766/948370/d577c5007cd4f761be6485f3e091d4e9/dataset-card.jpg?t=2020-02-16-09-57-57",
  "cover_image": "https://storage.googleapis.com/kaggle-datasets-images/494766/948370/d577c5007cd4f761be6485f3e091d4e9/dataset-cover.jpg?t=2020-02-16-09-57-57",
  "creator": {
    "name": "Devakumar K. P.",
    "user_id": 1302389
  },
  "credits_used": 1,
  "croissant_url": "/datasets/imdevskp/corona-virus-report/croissant/download?datasetVersionNumber=166",
  "description": "[![forthebadge](https://forthebadge.com/images/badges/made-with-python.svg)](https://forthebadge.com) [![forthebadge](https://forthebadge.co…",
  "discussion_url": "https://www.kaggle.com/datasets/imdevskp/corona-virus-report/discussion",
  "download_url": "https://www.kaggle.com/datasets/imdevskp/corona-virus-report/download?datasetVersionNumber=166",
  "downloads": 438967,
  "file_extensions": [
    ".csv"
  ],
  "files": [
    {
      "columns": [],
      "created_at": "2020-08-07T03:47:49.972Z",
      "description": null,
      "name": "country_wise_latest.csv",
      "size_bytes": 14784
    },
    {
      "columns": [],
      "created_at": "2020-08-07T03:47:50.057Z",
      "description": null,
      "name": "covid_19_clean_complete.csv",
      "size_bytes": 3305202
    },
    "… 4 more"
  ],
  "forum_id": 507860,
  "id": 494766,
  "last_version": 166,
  "license": {
    "id": 12,
    "name": "Other (specified in description)"
  },
  "medal": "gold",
  "notebooks": 771,
  "notebooks_url": "https://www.kaggle.com/datasets/imdevskp/corona-virus-report/code",
  "owner": {
    "avatar": "https://storage.googleapis.com/kaggle-avatars/thumbnails/1302389-kg.jpg",
    "id": 1302389,
    "name": "Devakumar K. P.",
    "slug": "imdevskp",
    "tier": "MASTER",
    "url": "https://www.kaggle.com/imdevskp"
  },
  "ref": "imdevskp/corona-virus-report",
  "size_bytes": 19921674,
  "subtitle": "Number of Confirmed, Death and Recovered cases every day across the globe",
  "tags": [
    {
      "full_path": "subject > people and society > law",
      "id": 11115,
      "name": "law",
      "slug": null,
      "url": "https://www.kaggle.com/tags/law"
    },
    {
      "full_path": "subject > health and fitness > health > public health",
      "id": 4309,
      "name": "public health",
      "slug": null,
      "url": "https://www.kaggle.com/tags/public-health"
    },
    "… 2 more"
  ],
  "title": "COVID-19 Dataset",
  "topics": 40,
  "updated_at": "2020-08-07T03:47:47.907Z",
  "url": "https://www.kaggle.com/datasets/imdevskp/corona-virus-report",
  "usability": {
    "score": null
  },
  "version": 166,
  "version_id": 1402868,
  "views": 1604289,
  "votes": 2890
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- apish: https://openany.si/market/apis/kaggle/kaggle-dataset-details-api/?offering=997144aa-114d-4918-9331-545c316635bf

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
