ImportOS · Docs
API reference

GET /v1/rules/{country}

Customs and registration rules in force

Customs and registration rules in force

Flat list of rule parameters (duty, VAT, excise, fees ...) effective on a date, each with sources, effective date and a verified flag. verified:false means indicative only. Requires scope read:pricing.

  • Authentication: header Authorization: Bearer rv_live_... (API keys and scopes)
  • Required scope: read:pricing
Descriptions of the operation, parameters and fields come from the OpenAPI specification (openapi.json).

Parameters

FieldInTypeRequiredDescription
countrypath"UA" | "PL" | "LT" | "GE" | "DE"yesDestination country (uppercase): UA, PL, LT, GE, DE.
datequerystringnoRules effective on this date (yyyy-mm-dd). Default: today.

Responses

200

Rule parameters.

application/json · Schema: RulesResponse

FieldTypeRequiredDescription
country"UA" | "PL" | "LT" | "GE" | "DE"yes
versionstringyesVersion id of the rule set, e.g. "PL@2026-07-01".
currencystringyes
summarystringyes
as_ofstringyes
unverified_paramsintegeryesHow many parameters have verified:false (indicative only, not confirmed by an official source).
rowsobject[]yes
rows[].pathstringno
rows[].valueanyno
rows[].verifiedbooleanno
rows[].effectiveFromstring | nullno
rows[].checkedAtstringno
rows[].sourcesobject[]no
rows[].notestringno

400

Invalid request parameters or body (code validation_error).

application/problem+json · Schema: Problem

401

Missing, malformed, unknown, revoked or expired API key (code unauthorized).

application/problem+json · Schema: Problem

403

The API key lacks the scope required by this endpoint (code insufficient_scope).

application/problem+json · Schema: Problem

422

No rules for that country on that date.

application/problem+json · Schema: Problem

429

Rate limit exceeded for the tenant plan (code rate_limited). Wait Retry-After seconds.

application/problem+json · Schema: Problem

Example

curl -s "https://api.importos.app/v1/rules/PL" \
  -H "Authorization: Bearer $IMPORTOS_API_KEY"

On this page