APIDataDocuments

Handelsregister.ai German Register Document Download API

Use the Handelsregister.ai German Register Document Download API to download an official German company register document as PDF or structured XML. Supply the documented company, person, document, or signal identifiers and optional controls shown in the parameter reference. Use the result to research German businesses, support onboarding checks, reconcile company records, or follow register changes. Requests use your Handelsregister.ai account credentials, and some features require a subscription. The detail page includes request examples, available response illustrations, supported parameters, and fixed usage pricing based on the documented maximum credit cost.

Selected price
$0.164835 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...
USE THIS API

Handelsregister.ai German Register Document Download API

Prepare your request, then continue with your agent.

Selected price

$0.164835 / call

Provider
Pricing
Connect your agent
On this page

Overview

Overview

Handelsregister.ai German Register Document Download API

Use the Handelsregister.ai German Register Document Download API to download an official German company register document as PDF or structured XML. Supply the documented company, person, document, or signal identifiers and optional controls shown in the parameter reference. Use the result to research German businesses, support onboarding checks, reconcile company records, or follow register changes. Requests use your Handelsregister.ai account credentials, and some features require a subscription. The detail page includes request examples, available response illustrations, supported parameters, and fixed usage pricing based on the documented maximum credit cost.

German Register Document Download

Use the Handelsregister.ai German Register Document Download API to download an official German company register document as PDF or structured XML. Supply the documented company, person, document, or signal identifiers and optional controls shown in the parameter reference. Use the result to research German businesses, support onboarding checks, reconcile company records, or follow register changes. Requests use your Handelsregister.ai account credentials, and some features require a subscription. The detail page includes request examples, available response illustrations, supported parameters, and fixed usage pricing based on the documented maximum credit cost.

Inputs and operation

ParameterUsage
queryParams.company_id32-hex company entity_id, not a company name. Exact hexadecimal pattern is validated upstream.
queryParams.document_typePDF except SI, which is XJustiz XML. Some originals may be unsupported TIFF.
queryParams.asyncOptional 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.
headers.Idempotency-KeyPer 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.

official register documents. `company_id` = the 32-hex `entity_id`, not a name (400 otherwise); `document_type` (case-sensitive): `AD` current excerpt (PDF), `CD` chronological excerpt (PDF), `SI` structured register content (XJustiz XML), `shareholders_list` (PDF, GmbH/UG only), `articles_of_association` (PDF). The 200 body is the file itself (`Content-Type` application/pdf or application/xml; save the bytes), with cost and balance in the headers `X-Credits-Charged` / `X-Credits-Remaining`. 15 credits, charged only when the file is delivered; 5 requests/min. Optional `async=true`: if the document is not ready, 202 with `Retry-After: 20` at no charge - repeat the same request to get the file. Errors (none charged): 404 this document does not exist for the company, 415 the register has it only as TIFF, 502/503/504 register problems (503/504 carry `Retry-After`; retry later). A document fetched within the last 24 hours is returned as of that fetch (date in the filename). - Parameters: `company_id` (query, required, string, pattern `^[a-fA-F0-9]{32}$`), `document_type` (query, required, AD|CD|shareholders_list|articles_of_association|SI), `async` (query, boolean, default false), `Idempotency-Key` (header, string, 1-128 chars, pattern `^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$`).

Authentication

Base URL: https://handelsregister.ai. The complete /api/v1 path is included in this configuration. Use the x-api-key header. The account email must be verified.

Price and account effects

最高单次请求参考成本:15积分 × EUR0.01 × 1.0989 USD/EUR = USD0.164835,按用户要求作为固定售价;不按实际返回的meta.request_credit_cost减少售价。无折扣、税费或支付手续费。

Examples and limits

官方完整202处理中响应;请求按文档加入async=true。202不扣费、不代表文件交付。200返回原始PDF/XML字节,文档未提供可保存的完整文件样例;未调用收费接口。

Timeout: 120 seconds. Response limit: 8 MiB. Source quotas and retries are documented separately. A timeout or HTTP 200 is not proof that a queued task completed or a webhook was delivered. Exact query/header regex rules, JSON-encoded search filters, plan entitlements and account state are additionally checked by the provider.

Official endpoint documentation · Billing · Limits and idempotency

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
32-hex company entity_id, not a company name. Exact hexadecimal pattern is validated upstream.
PDF except SI, which is XJustiz XML. Some originals may be unsupported TIFF.
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.
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.

Sample response

{
  "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"
}

Response result

Response structure

Inferred from examples
  • metaobject
    • credits_remaininginteger
    • messagestring
    • request_credit_costinteger
    • retry_afterinteger
  • statusstring

Sellers

SellerPricingRequests · 30dPerformanceAccess
Handelsregister.ai German Register Document Download API · GET · View API reference$0.164835 / call—
—successP50—
Loading...
Selected pricing · handelsregisterUSD / call
Unit price
$0.164835

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 1. Price update time: not supplied.

calls

Total $16.4835

API

Method
GET
Endpoint
https://api-dev.openany.si/v1/agent-apis/handelsregister/api/v1/fetch-document
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
  'https://api-dev.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'

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
company_idURL query parametersquerystringYes32-hex company entity_id, not a company name. Exact hexadecimal pattern is validated upstream.

minLength: 32 · maxLength: 32

document_typeURL query parametersquerystringYesPDF except SI, which is XJustiz XML. Some originals may be unsupported TIFF.

enum: "AD", "CD", "shareholders_list", "articles_of_association", "SI"

asyncURL query parametersquerybooleanNoOptional 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.
Idempotency-KeyRequest headersheadersstringNoPer 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 markers inside a nested object or variant apply when that object or variant is used.

Sample response

Sample response · Documented HTTP 202 Example from the provider's documentation. Field values in your results will differ.

Official example · Official response
{
  "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"
}

Agent integration

Copy the resource contract without sharing an API key.

View API Markdown
API Markdown
# Handelsregister.ai German Register Document Download API

Use the Handelsregister.ai German Register Document Download API to download an official German company register document as PDF or structured XML. Supply the documented company, person, document, or signal identifiers and optional controls shown in the parameter reference. Use the result to research German businesses, support onboarding checks, reconcile company records, or follow register changes. Requests use your Handelsregister.ai account credentials, and some features require a subscription. The detail page includes request examples, available response illustrations, supported parameters, and fixed usage pricing based on the documented maximum credit cost.
## Available implementations
handelsregister · Handelsregister.ai German Register Document Download API: https://openany.si/markets/apis/capabilities/handelsregister-ai-german-register-document-download-api?offering=340bebc7-e31c-40c2-9d5f-db76cb9cbb12 · $0.164835 / call

## Selected API contract
Documentation: https://openany.si/apis/340bebc7-e31c-40c2-9d5f-db76cb9cbb12
Method: GET
Endpoint: https://api-dev.openany.si/v1/agent-apis/handelsregister/api/v1/fetch-document
Price: $0.164835 / call
Provider: handelsregister
Contract revision: 1
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.

Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.

## Prepared request
```bash
curl \
  'https://api-dev.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'
```

## API contract
```json
{
  "resource_type": "api",
  "name": "Handelsregister.ai German Register Document Download API",
  "endpoint": "https://api-dev.openany.si/v1/agent-apis/handelsregister/api/v1/fetch-document",
  "method": "GET",
  "content_type": "none",
  "execution_mode": "sync",
  "authentication": {
    "type": "bearer",
    "environment_variable": "OPENANY_API_KEY"
  },
  "inputs": [
    {
      "description": "32-hex company entity_id, not a company name. Exact hexadecimal pattern is validated upstream.",
      "location": "query",
      "max_length": 32,
      "min_length": 32,
      "name": "company_id",
      "nullable": false,
      "required": true,
      "type": "string"
    },
    {
      "description": "PDF except SI, which is XJustiz XML. Some originals may be unsupported TIFF.",
      "enum_values": [
        "AD",
        "CD",
        "shareholders_list",
        "articles_of_association",
        "SI"
      ],
      "location": "query",
      "name": "document_type",
      "nullable": false,
      "required": true,
      "type": "string"
    },
    {
      "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.",
      "location": "query",
      "name": "async",
      "nullable": false,
      "required": false,
      "type": "boolean"
    },
    {
      "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.",
      "location": "header",
      "max_length": 128,
      "min_length": 1,
      "name": "Idempotency-Key",
      "nullable": false,
      "required": false,
      "type": "string"
    }
  ],
  "billing": {
    "currency": "USD",
    "mode": "fixed",
    "priceMicroUsd": "164835",
    "rounding": null,
    "unit": "call",
    "unitQuantity": null
  },
  "examples": [
    {
      "http_status": 202,
      "name": "Official example · Official response",
      "request": {
        "body": null,
        "headers": {},
        "path": {},
        "query": {
          "async": "true",
          "company_id": "94eb910fef13f94585c48c263fa446d4",
          "document_type": "AD"
        }
      },
      "response_body": {
        "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

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example · Official response

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 4

    Review these request fields before running. Keep the published provider and request method unchanged.

    company_id
    32-hex company entity_id, not a company name. Exact hexadecimal pattern is validated upstream.
    document_type
    PDF except SI, which is XJustiz XML. Some originals may be unsupported TIFF.
    async
    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.
    Idempotency-Key
    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.
    Terminal · cURL
    curl \
      'https://api-dev.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'
  3. Check the response

    Sample response · Documented HTTP 202

    Sample response
    {
      "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"
    }

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Handelsregister.ai German Register Document Download API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.