---
title: "Ateco Suggest"
method: POST
path: "/api/ateco/suggest"
tags: ["plan"]
---

# Ateco Suggest

`POST /api/ateco/suggest`

## Request

- Base URL: `https://api.taxcompass.it` (the document declares no server; this is the origin it was published from)
- URL: `https://api.taxcompass.it/api/ateco/suggest`
- Auth: none declared

Suggest ATECO 2025 code(s) from a description of what someone does.

Same single retrieval-grounded call as ``/plan/ateco`` and the same failure
mode: ``_ateco_candidates`` swallows model errors and returns ``[]``, so a
slow or unavailable model costs the caller its suggestions and nothing else.
A wizard that cannot suggest a code still lets the person type one.

Anonymous, like ``/plan/ateco`` — it reads the public ATECO catalogue and
touches no account. The rate limit is the one every calculator shares.

## Request body

- AtecoSuggestRequest: Just the activity, for callers that are not the Setup Plan. ``/plan/ateco`` takes a whole ``PlanRequest`` because the Setup Plan already has one in hand. The autopilot's onboarding wizard does not: it knows the person's trade and nothing about residency, target setup or expected revenue, and inventing those five required fields to reach the one the endpoint actually reads would put fabricated intake answers into PostHog. So the same helper gets a second door with the honest body.
  - `activity_description` string, required
  - `locale` 'en' | 'pl' | 'it' | 'de' | 'fr' | 'es'

## Response `200`

Successful Response

- AtecoResponse: AI-suggested ATECO 2025 candidates for the Setup Plan.
  - `ateco_candidates` AtecoCandidate[]
    - `code` string, required
    - `title` string, required
    - `title_en` string, nullable
    - `rationale` string, required
    - `coefficiente` integer, nullable
    - `chunk_id` string, nullable
    - `url` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/taxcompass/apis/taxcompass-api.md) · [All operations](https://skmtc.dev/taxcompass/apis/taxcompass-api/llms.txt) · [OpenAPI document](https://skmtc.dev/taxcompass/apis/taxcompass-api/revisions/fef5fc6a9b91?raw)
