{
  "openapi": "3.0.1",
  "info": {
    "title": "EU Binding Tariff Information (EBTI) Search & Monitor",
    "description": "Search and monitor official public EU customs-classification decisions by product, CN/TARIC code, country, reference, date, and status. Independent research tool; no login or EORI required.",
    "version": "0.0",
    "x-build-id": "hVeTL8T6WICwO8neH"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nordicdataforge~eu-binding-tariff-information-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nordicdataforge-eu-binding-tariff-information-monitor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/nordicdataforge~eu-binding-tariff-information-monitor/runs": {
      "post": {
        "operationId": "runs-sync-nordicdataforge-eu-binding-tariff-information-monitor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/nordicdataforge~eu-binding-tariff-information-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-nordicdataforge-eu-binding-tariff-information-monitor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "nomenclatureCodes": {
            "title": "CN or TARIC codes",
            "maxItems": 20,
            "uniqueItems": true,
            "type": "array",
            "description": "Optional code prefixes such as 851762 or 950300. Each code is searched independently and results are deduplicated.",
            "items": {
              "type": "string",
              "pattern": "^[0-9]{2,10}$"
            },
            "default": []
          },
          "descriptionSearch": {
            "title": "Product description",
            "maxLength": 200,
            "type": "string",
            "description": "Optional full-text product description with at least three characters, for example industrial router or ceramic plate.",
            "default": ""
          },
          "reference": {
            "title": "BTI reference",
            "maxLength": 42,
            "type": "string",
            "description": "Optional complete or partial BTI reference, for example DEBTI15138/25-1.",
            "default": ""
          },
          "issuingCountries": {
            "title": "Issuing countries",
            "maxItems": 28,
            "uniqueItems": true,
            "type": "array",
            "description": "Optional two-letter EU country codes such as DE, FR, DK, PL, or XI. Countries are searched independently.",
            "items": {
              "type": "string",
              "pattern": "^[A-Za-z]{2}$"
            },
            "default": []
          },
          "issuedSince": {
            "title": "Issued since",
            "type": "string",
            "description": "Use an absolute date or a relative period. Clear this field when you want the full history for a narrow code, reference, country, or description.",
            "default": "7 days"
          },
          "validityStartFrom": {
            "title": "Validity starts from",
            "type": "string",
            "description": "Optional lower bound for the BTI start date.",
            "default": ""
          },
          "validityStartTo": {
            "title": "Validity starts to",
            "type": "string",
            "description": "Optional upper bound for the BTI start date.",
            "default": ""
          },
          "includeInvalid": {
            "title": "Include invalid decisions",
            "type": "boolean",
            "description": "Include invalidated and expired decisions. Recommended for monitoring and precedent research.",
            "default": true
          },
          "statuses": {
            "title": "Statuses to deliver",
            "minItems": 1,
            "maxItems": 3,
            "uniqueItems": true,
            "type": "array",
            "description": "Filter the delivered records after the official search completes.",
            "items": {
              "type": "string",
              "pattern": "^(valid|invalid|unknown)$"
            },
            "default": [
              "valid",
              "invalid"
            ]
          },
          "languages": {
            "title": "Decision languages",
            "maxItems": 30,
            "uniqueItems": true,
            "type": "array",
            "description": "Optional ISO language codes such as en, de, fr, or pl.",
            "items": {
              "type": "string",
              "pattern": "^[A-Za-z]{2}$"
            },
            "default": []
          },
          "keywords": {
            "title": "Additional keywords",
            "maxItems": 30,
            "uniqueItems": true,
            "type": "array",
            "description": "Optional case-insensitive terms matched across the description, official keywords, code, reference, and classification justification.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "default": []
          },
          "keywordMatch": {
            "title": "Keyword matching",
            "enum": [
              "any",
              "all"
            ],
            "type": "string",
            "description": "Require any or all additional keywords.",
            "default": "any"
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum deduplicated decisions delivered by this run.",
            "default": 500
          },
          "enableChangeMonitoring": {
            "title": "Enable change monitoring",
            "type": "boolean",
            "description": "Compare results with the prior successful run of exactly the same filters in persistent Apify storage.",
            "default": true
          },
          "outputMode": {
            "title": "Results to output",
            "enum": [
              "all",
              "new-updated-removed",
              "new-only"
            ],
            "type": "string",
            "description": "On the first run every result is new. Removed detection is automatically disabled for moving relative-date windows and capped result sets.",
            "default": "all"
          },
          "maxSourceRecordsPerQuery": {
            "title": "Maximum source matches per query",
            "minimum": 25,
            "maximum": 50000,
            "type": "integer",
            "description": "Safety limit enforced on every parsed official export. ZIP size is capped before parsing, and the Actor never requests the 393 MB full database.",
            "default": 20000
          },
          "requestTimeoutSecs": {
            "title": "Request timeout",
            "minimum": 10,
            "maximum": 180,
            "type": "integer",
            "description": "Timeout for each official European Commission request.",
            "default": 60
          },
          "maxRetries": {
            "title": "Maximum retries",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Retries temporary timeouts, rate limits, and server errors with exponential backoff.",
            "default": 3
          },
          "minRequestIntervalMillis": {
            "title": "Minimum request interval",
            "minimum": 100,
            "maximum": 5000,
            "type": "integer",
            "description": "Polite minimum delay between requests to the official service.",
            "default": 250
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}