# Kaggle user profile API

Get Kaggle User Profile via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, username, and retrieve structured data including kaggle username, display name, published profile tier, category-specific achievement records, and published resource counts to organize contributor records, and display category achievements.

Documentation: https://openany.si/market/apis/kaggle/kaggle-user-profile-api/?offering=15cd41b7-2067-45ed-b698-dd72bbe54956
API ID: 15cd41b7-2067-45ed-b698-dd72bbe54956
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/kaggle/v1/user
Page update time: 2026-12-03T02:44:00.108Z
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:58.152Z. 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 user profile 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": {
        "username": {
          "type": "string",
          "description": "Kaggle username or profile 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": [
        "username"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "achievements": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "bronze": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "integer"
                  }
                ]
              },
              "gold": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "integer"
                  }
                ]
              },
              "highest_rank": {
                "type": "null"
              },
              "points": {
                "type": "null"
              },
              "rank": {
                "type": "null"
              },
              "silver": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "integer"
                  }
                ]
              },
              "tier": {
                "type": "string"
              },
              "total_ranked": {
                "type": "integer"
              },
              "type": {
                "type": "null"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "avatar": {
      "type": "string"
    },
    "badges": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "achievedTime": {
                "type": "string"
              },
              "badge": {
                "type": "object",
                "properties": {
                  "badgeId": {
                    "type": "integer"
                  },
                  "badgeType": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "imageUrl": {
                    "type": "string"
                  },
                  "issuedUserCount": {
                    "type": "integer"
                  },
                  "name": {
                    "type": "string"
                  }
                }
              },
              "count": {
                "type": "integer"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "bio": {
      "type": "string"
    },
    "cached": {
      "type": "boolean"
    },
    "counts": {
      "type": "object",
      "properties": {
        "datasets": {
          "type": "integer"
        },
        "discussions": {
          "type": "integer"
        },
        "hosted_competitions": {
          "type": "integer"
        },
        "notebooks": {
          "type": "integer"
        }
      }
    },
    "credits_used": {
      "type": "integer"
    },
    "followers": {
      "type": "integer"
    },
    "following": {
      "type": "integer"
    },
    "id": {
      "type": "integer"
    },
    "joined_at": {
      "type": "string"
    },
    "last_active_at": {
      "type": "string"
    },
    "links": {
      "type": "object",
      "properties": {
        "github": {
          "type": "string"
        },
        "linkedin": {
          "type": "string"
        },
        "twitter": {
          "type": "string"
        },
        "website": {
          "type": "string"
        }
      }
    },
    "location": {
      "type": "object",
      "properties": {
        "city": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "region": {
          "type": "string"
        }
      }
    },
    "medals": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string"
              },
              "totalBronzeMedals": {
                "type": "integer"
              },
              "totalGoldMedals": {
                "type": "integer"
              },
              "totalSilverMedals": {
                "type": "integer"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "name": {
      "type": "string"
    },
    "occupation": {
      "type": "string"
    },
    "organization": {
      "type": "string"
    },
    "tagline": {
      "type": "null"
    },
    "tier": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "username": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/kaggle/v1/user?output=json&username=alexisbcook' \
  -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
{
  "achievements": [
    {
      "bronze": null,
      "gold": null,
      "highest_rank": null,
      "points": null,
      "rank": null,
      "silver": null,
      "tier": "CONTRIBUTOR",
      "total_ranked": 224269,
      "type": null
    },
    {
      "bronze": 4,
      "gold": 1,
      "highest_rank": null,
      "points": null,
      "rank": null,
      "silver": 1,
      "tier": "EXPERT",
      "total_ranked": 12344,
      "type": null
    },
    "… 1 more"
  ],
  "avatar": "https://storage.googleapis.com/kaggle-avatars/images/2603295-kg.jpg",
  "badges": [
    {
      "achievedTime": "2024-09-11T04:35:31.318370400Z",
      "badge": {
        "badgeId": 49,
        "badgeType": "REGULAR",
        "description": "Active on Kaggle for more than 1 year.",
        "imageUrl": "https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1488634%2F163e0f27360ae958da99dde2a68f7e00%2FBadge-46.svg?gen…",
        "issuedUserCount": 7275017,
        "name": "1 Year on Kaggle"
      },
      "count": 1
    },
    {
      "achievedTime": "2024-09-11T01:53:31.769726300Z",
      "badge": {
        "badgeId": 50,
        "badgeType": "REGULAR",
        "description": "Active on Kaggle for more than 2 years.",
        "imageUrl": "https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1488634%2F17276c55ce13e85b658e1f49c608eba6%2FBadge-47.svg?gen…",
        "issuedUserCount": 4072259,
        "name": "2 Years on Kaggle"
      },
      "count": 1
    },
    "… 28 more"
  ],
  "bio": "Check out some of our courses on [Kaggle Learn](http://kaggle.com/learn)!",
  "cached": false,
  "counts": {
    "datasets": 16,
    "discussions": 3881,
    "hosted_competitions": 3,
    "notebooks": 326
  },
  "credits_used": 1,
  "followers": 12150,
  "following": 16,
  "id": 2603295,
  "joined_at": "2018-12-11T14:23:59.700Z",
  "last_active_at": "2026-10-01T01:43:08.333Z",
  "links": {
    "github": "https://github.com/alexisbcook",
    "linkedin": "https://www.linkedin.com/in/alexis-cook-a6127753",
    "twitter": "https://x.com/alexis_b_cook",
    "website": "http://www.kaggle.com/learn"
  },
  "location": {
    "city": "Washington",
    "country": "United States",
    "region": "District of Columbia"
  },
  "medals": [
    {
      "type": "USER_ACHIEVEMENT_TYPE_COMPETITIONS"
    },
    {
      "totalBronzeMedals": 25,
      "totalGoldMedals": 49,
      "totalSilverMedals": 14,
      "type": "USER_ACHIEVEMENT_TYPE_NOTEBOOKS"
    },
    "… 1 more"
  ],
  "name": "Alexis Cook",
  "occupation": "Head of Kaggle Learn",
  "organization": "Kaggle",
  "tagline": null,
  "tier": "GRANDMASTER",
  "url": "https://www.kaggle.com/alexisbcook",
  "username": "alexisbcook"
}
```

## 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-user-profile-api/?offering=15cd41b7-2067-45ed-b698-dd72bbe54956

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