OptionalbaseBase URL of the API. Defaults to https://genesis.destatis.de
OptionaldefaultExtra headers sent on every request.
OptionalmaxHard cap on response body size in bytes (defends against memory exhaustion from a hostile/buggy endpoint). Defaults to 100 MiB; set to 0 for no limit.
OptionalmaxNumber of automatic retries for transient (429/503) responses.
OptionalpasswordAccount password (10–50 chars).
OptionalretryBase backoff between retries in milliseconds (grows linearly).
OptionalsleepInjectable sleep, primarily for deterministic tests.
OptionaltimeoutTime limit per request in milliseconds, covering the whole response body, not only idle gaps (0 disables; capped at MAX_TIMEOUT_MS, 2^31 - 1 ms).
OptionaltokenA 32-char personal API token. Sent in the username header field with no
password. Takes precedence over username/password if both are given.
OptionaltransportSwappable transport. Defaults to the built-in node http/https transport.
OptionaluserValue of the User-Agent header.
OptionalusernameAccount username (10 chars, may be an email). Requires password.
Options for the GENESIS client (engine options plus credentials).