DHL · Schema

CostsRequest

Object to request a simple cost calculation. Depending on the applied context, some attributes might be mandatory or optional or ignored. E.g. filters apply to POSTWURFSPEZIAL.

FreightLogisticsShippingE-CommerceTrackingSupply ChainExpress DeliveryPostal ServicesParcel

Properties

Name Type Description
filters array List of PWS filter. Does only apply to POSTWURFSPEZIAL.
areaCodes array List of area codes. Use different types, depending on the context. Examples are postal code or neighbourhood identifier.
productType string Product type. Valid types depend on the context. E.g. POSTWURF_SPEZIAL is not applicable to neighbourhoods.
View JSON Schema on GitHub

JSON Schema

dhl-costs-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dhl/json-schema/dhl-costs-request-schema.json",
  "title": "CostsRequest",
  "description": "Object to request a simple cost calculation. Depending on the applied context, some attributes might be mandatory or optional or ignored. E.g. filters apply to POSTWURFSPEZIAL.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dhl-deutsche-post-print-mailing-targeting-post-parcel-germany-openapi.yml#/components/schemas/CostsRequest",
  "type": "object",
  "properties": {
    "filters": {
      "type": "array",
      "description": "List of PWS filter. Does only apply to POSTWURFSPEZIAL.",
      "items": {
        "$ref": "#/$defs/PotentialFilter"
      }
    },
    "areaCodes": {
      "type": "array",
      "description": "List of area codes. Use different types, depending on the context. Examples are postal code or neighbourhood identifier.",
      "items": {
        "type": "string"
      }
    },
    "productType": {
      "type": "string",
      "description": "Product type. Valid types depend on the context. E.g. POSTWURF_SPEZIAL is not applicable to neighbourhoods.",
      "enum": [
        "POSTAKTUELL_DAILY_MAIL",
        "POSTAKTUELL_ALL",
        "POSTAKTUELL_ANY_AND_ALL_HOUSEHOLDS",
        "POSTWURF_SPEZIAL"
      ]
    }
  },
  "$defs": {
    "PotentialFilter": {
      "type": "object",
      "description": "Filter for PWS",
      "properties": {
        "id": {
          "type": "string"
        },
        "options": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/dhl-costs-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.