---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://catboost.ai/docs/en/concepts/spark-api-documentation.md
  - href: en/concepts/spark-api-documentation.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://catboost.ai/docs/en/llms.txt

# CatBoost for Apache Spark API documentation

Documentation is automatically generated from sources.

It is available as a part of Maven packages at [Maven central](https://search.maven.org/search?q=catboost-spark) (for Scala) or on this site.

To find documentation on this site:
* Choose the appropriate `spark_compat_version` (`2.3`, `2.4` or `3.0`) and `scala_compat_version` (`2.11` or `2.12`).
* Choose the appropriate `catboost_spark_version` or just use `latest` literal.
* Choose API language (`scala`, `java` or `python`).

and visit
* `https://catboost.ai/docs/catboost-spark/<spark_compat_version>_<scala_compat_version>/<catboost_spark_version>/api/<language>/` e.g. <https://catboost.ai/docs/catboost-spark/2.3_2.11/0.26.1/api/scala/> or
* `https://catboost.ai/docs/catboost-spark/<spark_compat_version>_<scala_compat_version>/latest/api/<language>/` e.g. <https://catboost.ai/docs/catboost-spark/3.0_2.12/latest/api/python/>
