AnyTax Scenario API

Tax scenario discovery: list available tax scenarios with their section structure for a given tax year.

GitHub OpenAPI

Operations 2

GET /api/v1/scenarios Get scenarios #
GET /api/v1/scenarios/{scenarioUUID} Get scenario by UUID #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/anytax:anytax-scenario-api-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

anytax-scenario-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Anytax Scenario API
  contact: {}
  version: '1.0'
  description: 'Operations tagged Scenario API across 3 of this provider''s published API definitions: anytax-openapi.json, anytax-openapi.json, anytax-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: Scenario API
  description: 'Tax scenario discovery: list available tax scenarios with their section structure for a given tax year.'
paths:
  /api/v1/scenarios:
    get:
      description: 'Retrieves tax scenarios for the specified year that the user can interact with. Returns all active scenarios (available for new filings) plus any inactive scenarios where the user has existing filings.


        **Responses**


        | Status | Meaning |

        | ------ | ------- |

        | `200` | Scenarios with user filings retrieved successfully |

        | `401` | Unauthorized - valid authentication token required |

        | `500` | Internal server error |'
      operationId: ScenarioApiController_getScenarios
      parameters:
      - name: year
        required: false
        in: query
        description: Tax year to filter scenarios. If not provided, returns all scenarios.
        schema:
          enum:
          - 2022
          - 2023
          - 2024
          - 2025
          - 2026
          type: number
      responses:
        '200':
          description: Scenarios with user filings retrieved successfully
          content:
            application/json:
              schema:
                type: object
                required:
                - success
                - data
                - meta
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ScenarioWithFilingsDto'
                  meta:
                    $ref: '#/components/schemas/ApiMeta'
        '401':
          description: Unauthorized - valid authentication token required
        '500':
          description: Internal server error
      security:
      - bearer: []
      summary: Get scenarios
      tags:
      - Scenario API
      x-anytax-docs-enriched: true
  /api/v1/scenarios/{scenarioUUID}:
    get:
      description: 'Retrieves a specific tax scenario with the user''s filings and progress information.


        **Responses**


        | Status | Meaning |

        | ------ | ------- |

        | `200` | Scenario with user filings retrieved successfully |

        | `404` | Scenario not found |

        | `500` | Internal server error |'
      operationId: ScenarioApiController_getScenarioByUUID
      parameters:
      - name: scenarioUUID
        required: true
        in: path
        description: Unique scenario identifier
        schema:
          format: uuid
          example: 550e8400-e29b-41d4-a716-446655440002
          type: string
      responses:
        '200':
          description: Scenario with user filings retrieved successfully
          content:
            application/json:
              schema:
                type: object
                required:
                - success
                - data
                - meta
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    $ref: '#/components/schemas/ScenarioWithFilingsDto'
                  meta:
                    $ref: '#/components/schemas/ApiMeta'
        '404':
          description: Scenario not found
        '500':
          description: Internal server error
      security:
      - bearer: []
      summary: Get scenario by UUID
      tags:
      - Scenario API
      x-anytax-docs-enriched: true
components:
  schemas:
    ScenarioFilingDto:
      type: object
      properties:
        uuid:
          type: string
          description: Unique filing identifier
          example: 550e8400-e29b-41d4-a716-446655440001
        status:
          type: string
          description: Filing lifecycle status
          enum:
          - inProgress
          - prepared
          - identityVerified
          - inReview
          - submitted
          - deleted
          example: inProgress
        statusChangedAt:
          format: date-time
          type: string
          description: Timestamp when status last changed
          example: '2024-01-15T14:45:00.000Z'
        progress:
          type: number
          description: Completion progress percentage (0-100)
          minimum: 0
          maximum: 100
          example: 27
        createdAt:
          format: date-time
          type: string
          description: Filing creation timestamp
          example: '2024-01-15T10:30:00.000Z'
        updatedAt:
          format: date-time
          type: string
          description: Filing last update timestamp
          example: '2024-01-15T14:45:00.000Z'
      required:
      - uuid
      - status
      - statusChangedAt
      - progress
      - createdAt
      - updatedAt
    TranslationDto:
      type: object
      properties:
        de:
          type: string
          description: German text
          example: Einkommensteuer
        en:
          type: string
          description: English text
          example: Income Tax
      required:
      - de
      - en
    ApiMeta:
      type: object
      required:
      - timestamp
      properties:
        timestamp:
          type: string
          format: date-time
          example: '2025-01-19T10:30:00.000Z'
        responseTime:
          type: number
          example: 42
    ScenarioWithFilingsDto:
      type: object
      properties:
        uuid:
          type: string
          description: Unique scenario identifier
          example: 550e8400-e29b-41d4-a716-446655440002
        name:
          description: Scenario display name (translated)
          example:
            en: Income Tax 2024
            de: Einkommensteuer 2024
          allOf:
          - $ref: '#/components/schemas/TranslationDto'
        description:
          description: Scenario description (translated)
          example:
            en: German income tax declaration for tax year 2024
            de: Deutsche Einkommensteuererklarung fur das Steuerjahr 2024
          allOf:
          - $ref: '#/components/schemas/TranslationDto'
        year:
          type: number
          description: Tax year for this scenario
          example: 2024
        formType:
          type: string
          description: 'Which return the scenario files: income tax (ESt) or Anlage EÜR (EUER)'
          enum:
          - ESt
          - EUER
          example: ESt
        version:
          type: number
          description: Version of this scenario
          example: 1
        status:
          type: string
          description: Scenario lifecycle status
          enum:
          - active
          - review
          - inactive
          example: active
        deadline:
          format: date-time
          type:
          - string
          - 'null'
          description: Deadline for submitting filings for this scenario
          example: '2025-07-31T23:59:59.000Z'
        filings:
          description: User's filings for this scenario (empty array if none)
          type: array
          items:
            $ref: '#/components/schemas/ScenarioFilingDto'
      required:
      - uuid
      - year
      - formType
      - version
      - status
      - filings
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
    api-key:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key for programmatic authentication
x-refined-from:
- anytax-openapi.json
- anytax-openapi.json
- anytax-openapi.yml
x-tagGroups:
- name: Partner platform
  tags:
  - Partner platform
  - Filing Eligibility Check
- name: User Management
  tags:
  - Auth API
  - User API
- name: Tax Services
  tags:
  - Filing API
  - Scenario API
  - Question API
  - Answer API
  - Navigation API
  - Wage Tax API
  - Tax Saving Tip API
  - ELSTER Import API