Colombia
DIAN Importers and Exporters

DIAN Importers and Exporters Search

Search DIAN's directories of importers and exporters of goods, every year since 2017 and both directories at once: by company name (query), flow (import or export), year, and tariff_code (a 4-digit heading, 6-digit HS subheading or 10-digit subpartida among each company's five main ones). Each result is one company's row in one year's directory: NIT, name, rank, CIF (imports) or FOB (exports) value in US dollars, net weight, declarations or declaration items, and its main subpartidas arancelarias. Newest year first, then by value. Served by Croma (as_of says how current the data is), brought up to date weekly.

Dataset endpoint: answers from the whole source in milliseconds and carries as_of.

post/co/dian-trade/directory-search/v1

Request

  • Base URL: https://api.croma.run
  • URL: https://api.croma.run/co/dian-trade/directory-search/v1
  • Auth: HTTP bearer

Headers

Idempotency-Keystring
Example:0f8e9a42-6b7c-4d1e-9a3f-2c5d7e8f9a0b

Optional client-chosen key for this request (any string up to 255 characters, e.g. a UUID). Every Croma operation is an idempotent lookup: repeating a request with the same body returns the same result and creates nothing, so retrying after a timeout or network failure is always safe. The key is echoed back in the Idempotency-Key response header so you can correlate a retry with its first attempt. Each attempt that reaches the API counts against the rate limit.

Request body

querystring

Optional words matched against the name (razón social) as DIAN prints it.

flow'any' | 'import' | 'export'

Which directory: import (importers, valued CIF), export (exporters, valued FOB), or any.

yearinteger

Optional directory year (2017 or later). 0 searches every year.

tariff_codestring

Optional tariff code, digits only, matched against the five main subpartidas of each row: a 4-digit heading (8703), a 6-digit HS subheading (870323) or a full 10-digit subpartida (8703239090).

pageinteger

1-based page number for paginated results.

per_pageinteger

Results per page (1-100).

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.