# Kaggle competition leaderboard API

Get Kaggle Competition Leaderboard data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, slug, and retrieve structured data including team rank, team display name, published score, submission count, and private-board availability indicator to display team standings, and track score snapshots.

Documentation: https://openany.si/market/apis/kaggle/kaggle-competition-leaderboard-api/?offering=8df353fc-5930-4363-9fd8-944108d8af25
API ID: 8df353fc-5930-4363-9fd8-944108d8af25
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/kaggle/v1/competition/leaderboard
Page update time: 2026-12-03T02:43:52.779Z
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.161Z. 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": "4000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "2",
        "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 competition leaderboard 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": {
        "slug": {
          "type": "string",
          "description": "Competition slug or link."
        },
        "board": {
          "type": "string",
          "description": "public (default) or private.",
          "enum": [
            "public",
            "private"
          ]
        },
        "offset": {
          "type": "integer",
          "description": "Rows to skip."
        },
        "limit": {
          "type": "integer",
          "description": "Rows per page (1-500, default 100)."
        },
        "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": [
        "slug"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "board": {
      "type": "string"
    },
    "cached": {
      "type": "boolean"
    },
    "competition": {
      "type": "object",
      "properties": {
        "evaluation_metric": {
          "type": "string"
        },
        "higher_is_better": {
          "type": "boolean"
        },
        "id": {
          "type": "integer"
        },
        "slug": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "entries": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "last_submission_at": {
                "type": "string"
              },
              "medal": {
                "type": "null"
              },
              "members": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "avatar": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "tier": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    },
                    "username": {
                      "type": "string"
                    }
                  }
                }
              },
              "rank": {
                "type": "integer"
              },
              "score": {
                "type": "string"
              },
              "submissions": {
                "type": "integer"
              },
              "team_id": {
                "type": "integer"
              },
              "team_name": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "next_offset": {
      "type": "integer"
    },
    "offset": {
      "type": "integer"
    },
    "private_available": {
      "type": "boolean"
    },
    "total": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/kaggle/v1/competition/leaderboard?output=json&slug=titanic' \
  -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
{
  "board": "public",
  "cached": false,
  "competition": {
    "evaluation_metric": "Categorization Accuracy",
    "higher_is_better": true,
    "id": 3136,
    "slug": "titanic",
    "title": "Titanic - Machine Learning from Disaster",
    "url": "https://www.kaggle.com/competitions/titanic/leaderboard"
  },
  "count": 100,
  "credits_used": 2,
  "entries": [
    {
      "last_submission_at": "2026-09-08T00:01:31.630Z",
      "medal": null,
      "members": [
        {
          "avatar": "https://storage.googleapis.com/kaggle-avatars/thumbnails/default-thumb.png",
          "name": "Mohsin Ansari",
          "tier": "CONTRIBUTOR",
          "url": "https://www.kaggle.com/mansari312",
          "username": "mansari312"
        }
      ],
      "rank": 1,
      "score": "1.00000",
      "submissions": 21,
      "team_id": 16841814,
      "team_name": "Mohsin Ansari"
    },
    {
      "last_submission_at": "2026-11-04T04:08:20.783333300Z",
      "medal": null,
      "members": [
        {
          "avatar": "https://storage.googleapis.com/kaggle-avatars/thumbnails/17500992-kg.jpg?t=2025-01-19-19-00-21",
          "name": "Veniamin Nelin",
          "tier": "MASTER",
          "url": "https://www.kaggle.com/veniaminnelin",
          "username": "veniaminnelin"
        }
      ],
      "rank": 2,
      "score": "1.00000",
      "submissions": 378,
      "team_id": 12801551,
      "team_name": "Veniamin_Nelin"
    },
    "… 98 more"
  ],
  "next_offset": 100,
  "offset": 0,
  "private_available": false,
  "total": 11687
}
```

## 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-competition-leaderboard-api/?offering=8df353fc-5930-4363-9fd8-944108d8af25

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