# Handelsregister.ai German Register Document Download API

Get German Register Document Download data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Handelsregister, pass parameters such as async, company_id, document_type, and retrieve structured data including reported status, returned credits remaining field, response message, and returned retry after field for document research and entity reference, and integration reference.

Documentation: https://openany.si/market/apis/handelsregister/handelsregister-ai-german-register-document-download-api/?offering=ba87d135-5385-47c1-b155-c77ff41be583
API ID: ba87d135-5385-47c1-b155-c77ff41be583
Provider: handelsregister
Contract revision: 2
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/handelsregister/api/v1/fetch-document
Page update time: 2026-12-03T02:49:41.391Z
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.164835 / call
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:49:40.634Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "164835",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Handelsregister.ai German Register Document Download 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": {
        "company_id": {
          "type": "string",
          "description": "32-hex company entity_id, not a company name. Exact hexadecimal pattern is validated upstream.",
          "minLength": 32,
          "maxLength": 32
        },
        "document_type": {
          "type": "string",
          "description": "PDF except SI, which is XJustiz XML. Some originals may be unsupported TIFF.",
          "enum": [
            "AD",
            "CD",
            "shareholders_list",
            "articles_of_association",
            "SI"
          ]
        },
        "async": {
          "type": "boolean",
          "description": "Optional 202 polling mode. A 202 is not file delivery and costs 0 credits; retry the same request after Retry-After. HTTP 200 delivers the raw file."
        }
      },
      "required": [
        "company_id",
        "document_type"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {
        "Idempotency-Key": {
          "type": "string",
          "description": "Per logical request idempotency key: 1–128 ASCII letters/digits/dot/underscore/colon/hyphen; starts with letter or digit. Reuse only with identical parameters. The legacy query/header validator enforces length but delegates the exact pattern to the provider.",
          "minLength": 1,
          "maxLength": 128
        }
      }
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "credits_remaining": {
          "type": "integer"
        },
        "message": {
          "type": "string"
        },
        "request_credit_cost": {
          "type": "integer"
        },
        "retry_after": {
          "type": "integer"
        }
      }
    },
    "status": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Official response
```bash
curl \
  'https://api.openany.si/v1/agent-apis/handelsregister/api/v1/fetch-document?async=true&company_id=94eb910fef13f94585c48c263fa446d4&document_type=AD' \
  -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 202
```json
{
  "meta": {
    "credits_remaining": 145,
    "message": "The document is being retrieved. Repeat this request after Retry-After seconds to receive it.",
    "request_credit_cost": 0,
    "retry_after": 20
  },
  "status": "processing"
}
```

## 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
- handelsregister: https://openany.si/market/apis/handelsregister/handelsregister-ai-german-register-document-download-api/?offering=ba87d135-5385-47c1-b155-c77ff41be583

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