Beglaubigt.de API
Trade RegistrationTrade Office Fee
GET

Get Trade Office Fee

Look up what the trade office charges to register a trade at an address

GET https://api.beglaubigt.de/v1/trade-registration/fee

Returns the fee the trade office (Gewerbeamt) charges to register a trade, so you can show it to your customer before you create the case with POST /v1/trade-registration. The fee is set by each state or town, and depends on the address, the legal form and the number of owners.

Call it without any parameter to get every fee at once instead, with the postal codes each one covers, to cache on your side. See Listing every fee.

How the amount is calculated

fee.amount is the total for the registration you describe in the query, rounded to the cent:

  • Sole proprietors and partnerships (einzelunternehmen, einzelkaufmann-ek, gbr, ohg, kg, other): every owner files their own notice, so each pays the natural person rate.
    amount = rates.natural_person × owner_count
  • Companies (gmbh, ug, ggmbh, ag, kgaa, gmbh-co-kg, ug-co-kg): the company files once. Where the office charges a surcharge for each further owner, it is added.
    amount = rates.legal_entity + rates.additional_representative × (owner_count − 1)

Every rate is returned in rates, so you can show how the amount adds up.

Authorization

Include an Authorization header with a Bearer token:

Authorization: Bearer <token>

Example: Bearer sk-123e4567-e89b-12d3-a456-426614174000

Environment

Fees do not depend on the environment: the API keys of your sandbox and production companies get the same fees.

Query Parameters

zipstringrequired

German 5-digit postal code of the establishment, the registered_office.zip you will send with the POST.
Example: 10119

citystring

City of the establishment, the registered_office.city you will send with the POST. Optional, but send it: a few postal codes cover several towns with different fees, and the city picks the right one. Without it, the highest of those fees applies. It follows the POST's rules: at most 72 characters and no digits. An empty value counts as none.
Example: Berlin

legal_formstringrequired

Legal form of the business, with the same values as the POST's legal_form.
Possible values: einzelunternehmen, ug, gmbh, gbr, einzelkaufmann-ek, gmbh-co-kg, kg, ohg, ug-co-kg, ggmbh, ag, kgaa or other

owner_countnumberdefault: 1

Number of owners registering the trade: the number of entries you will send in the POST's owners.
Possible values: 1 to 9

Any other query parameter is rejected, so a misspelt one is not silently ignored.

Response

resultstring

Outcome of the request.
Possible values: success or error

messagestring

Human-readable outcome message.
Example: Trade office fee fetched successfully.

feeobject

The fee for the registration described in the query.

ratesobject

The trade office's rates, in euros, from which fee.amount is calculated.

locationobject

The municipality and state the postal code belongs to.

basisobject

When the fee was last checked.

timestampstring

When the response was created, as an ISO 8601 string.
Example: 2026-11-09T10:15:42.123Z

Listing every fee

Call the endpoint without any query parameter to get every fee at once:

GET https://api.beglaubigt.de/v1/trade-registration/fee

There is one entry per federal state, for its towns without their own fee, and one per town that sets its own. Every German postal code is listed under the entry whose fee applies, so you can price an address from your cache: find its postal code, then calculate the amount from rates as in How the amount is calculated.

A few postal codes span towns with different fees. Each is listed once, under the highest of those fees, the one the endpoint charges for that postal code without a city. Call the endpoint with zip and city to get the town's own fee.

feesarray

Every fee, ordered by federal state, the state's own entry first.

{
  "response": {
    "result": "success",
    "message": "Trade office fees fetched successfully.",
    "fees": [
      {
        "rates": {
          "natural_person": 26,
          "legal_entity": 31,
          "additional_representative": 13
        },
        "location": {
          "zips": ["10115", "10117", "10119"],
          "municipality": null,
          "municipality_key": null,
          "federal_state": "Berlin",
          "federal_state_key": "11"
        },
        "basis": {
          "checked_at": "2026-11-09"
        }
      }
    ],
    "timestamp": "2026-11-10T10:15:42.123Z"
  }
}

The example is shortened: the response holds every entry and every postal code.

Errors

Statuserror_codeWhen
400VALIDATION_ERRORA parameter is missing, invalid or unknown. details lists every one, each with its path.
401INVALID_API_KEYThe API key is revoked, expired or not linked to a company.
404POSTAL_CODE_NOT_FOUNDNo German municipality has the postal code. It is usually a typo; ask your customer to check it.
500PROCESSING_ERRORThe fee could not be looked up. Retry the request.

Two errors come from the gateway, before the request reaches the endpoint, so their body is { "error": "..." } without the response wrapper:

  • 401 { "error": "Unauthorized: Invalid API token" } when the Authorization header is missing or the key does not start with sk-.
  • 429 { "error": "Too many requests" } past 2,000 calls an hour or 20,000 a day per API key. Wait before retrying, and cache answers rather than calling on every keystroke.

Fees change about once a year, and basis.checked_at gives the date each fee was last verified. A successful response carries Cache-Control: private, max-age=86400, so you can reuse it for a day.

Request
--request GET 'https://api.beglaubigt.de/v1/trade-registration/fee?zip=10119&city=Berlin&legal_form=gmbh&owner_count=3' \
--header 'Authorization: Bearer <token>'
Response
{
  "response": {
    "result": "success",
    "message": "Trade office fee fetched successfully.",
    "fee": {
      "amount": 57,
      "legal_form": "gmbh",
      "owner_count": 3
    },
    "rates": {
      "natural_person": 26,
      "legal_entity": 31,
      "additional_representative": 13
    },
    "location": {
      "zip": "10119",
      "municipality": "Berlin",
      "municipality_key": "11000000",
      "federal_state": "Berlin",
      "federal_state_key": "11"
    },
    "basis": {
      "checked_at": "2026-11-09"
    },
    "timestamp": "2026-11-09T10:15:42.123Z"
  }
}

On this page