# Kaggle discussion topics API

Search Kaggle Discussion via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, page, and retrieve structured data including topic ID, topic title, comment count, vote count, and source URL to find scoped explanations, and load selected threads, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/market/apis/kaggle/kaggle-discussion-topics-api/?offering=2abc3891-a9db-4d6a-a6d6-26cdc2828dae
API ID: 2abc3891-a9db-4d6a-a6d6-26cdc2828dae
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/kaggle/v1/discussions
Page update time: 2026-12-03T02:43:52.828Z
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.524Z. 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 discussion topics 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": {
        "q": {
          "type": "string",
          "description": "Search words."
        },
        "category": {
          "type": "string",
          "description": "Site-wide category (ignored with forum_id, competition or dataset).",
          "enum": [
            "all",
            "forums",
            "competitions",
            "datasets",
            "models",
            "write_ups",
            "benchmarks"
          ]
        },
        "sort": {
          "type": "string",
          "description": "Order (default hot, or relevance with q).",
          "enum": [
            "hot",
            "new",
            "recent",
            "top",
            "active",
            "relevance"
          ]
        },
        "recency": {
          "type": "string",
          "description": "Time window.",
          "enum": [
            "all",
            "today",
            "7d",
            "30d"
          ]
        },
        "forum_id": {
          "type": "integer",
          "description": "One forum (ids from /kaggle/v1/forums or a competition/dataset's forum_id)."
        },
        "competition": {
          "type": "string",
          "description": "A competition's discussion (slug or link)."
        },
        "dataset": {
          "type": "string",
          "description": "A dataset's discussion (owner/slug or link)."
        },
        "page": {
          "type": "integer",
          "description": "Page number."
        },
        "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."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "applied_filters": {
      "type": "object",
      "properties": {
        "category": {
          "type": "string"
        },
        "forum_id": {
          "type": "null"
        },
        "recency": {
          "type": "string"
        },
        "sort": {
          "type": "string"
        }
      }
    },
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "next_page": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "query": {
      "type": "null"
    },
    "topics": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "author": {
                "type": "object",
                "properties": {
                  "avatar": {
                    "type": "string"
                  },
                  "id": {
                    "type": "integer"
                  },
                  "name": {
                    "type": "string"
                  },
                  "tier": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                }
              },
              "comments": {
                "type": "integer"
              },
              "forum": {
                "type": "string"
              },
              "forum_url": {
                "type": "string"
              },
              "id": {
                "type": "integer"
              },
              "last_comment_at": {
                "type": "string"
              },
              "last_commenter": {
                "type": "string"
              },
              "posted_at": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "votes": {
                "type": "integer"
              },
              "write_up": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "boolean"
                  }
                ]
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "total": {
      "type": "null"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/kaggle/v1/discussions?output=json&page=1' \
  -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
{
  "applied_filters": {
    "category": "all",
    "forum_id": null,
    "recency": "all",
    "sort": "hot"
  },
  "cached": false,
  "count": 20,
  "credits_used": 1,
  "next_page": 2,
  "page": 1,
  "query": null,
  "topics": [
    {
      "author": {
        "avatar": "https://storage.googleapis.com/kaggle-avatars/thumbnails/12752459-kg.jpeg?t=2026-10-01-17-04-29",
        "id": 12752459,
        "name": "Yi-Chia Chen",
        "tier": "MASTER",
        "url": "https://www.kaggle.com/threerabbits"
      },
      "comments": 17,
      "forum": "ARC Prize 2026 - ARC-AGI-3",
      "forum_url": "https://www.kaggle.com/competitions/arc-prize-2026-arc-agi-3/discussion",
      "id": 755795,
      "last_comment_at": "2026-11-05T03:35:24.993333300Z",
      "last_commenter": "Patrick Chan",
      "posted_at": "2026-11-04T17:04:05.703740Z",
      "title": "[ARC-AGI-3] Public 1st Place Solution: Quick Overview",
      "url": "https://www.kaggle.com/competitions/arc-prize-2026-arc-agi-3/discussion/755795",
      "votes": 44,
      "write_up": null
    },
    {
      "author": {
        "avatar": "https://storage.googleapis.com/kaggle-avatars/thumbnails/1723677-kg.jpg",
        "id": 1723677,
        "name": "Chris Deotte",
        "tier": "GRANDMASTER",
        "url": "https://www.kaggle.com/cdeotte"
      },
      "comments": 28,
      "forum": "Predicting Airline Satisfaction",
      "forum_url": "https://www.kaggle.com/competitions/playground-series-s6e10/discussion",
      "id": 754683,
      "last_comment_at": "2026-11-05T00:11:30.556666700Z",
      "last_commenter": "Jerry",
      "posted_at": "2026-11-01T07:46:20.903Z",
      "title": "1st Place - TFMs and LLMs with tabular data!",
      "url": "https://www.kaggle.com/competitions/playground-series-s6e10/writeups/1st-place-tfms-and-llms-with-tabular-data",
      "votes": 93,
      "write_up": true
    },
    "… 18 more"
  ],
  "total": null
}
```

## 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-discussion-topics-api/?offering=2abc3891-a9db-4d6a-a6d6-26cdc2828dae

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