Skip to content
Eden Engine

Quarterly Import Volume and Value of an HS Code into a Country (Import Records, First Quarter Row)

omnial/quarterly-import-volume-first-period

From customs import records for one product (an HS code) arriving in one importing country in a date window, grouped by calendar quarter, returns how many quarter rows the window holds, plus the first quarter row returned: its quarter label (year and quarter), the total USD value, weight and quantity, the average USD value per unit of weight and of quantity, and the number of trade records. The row returned is not necessarily the earliest quarter.

activeper resultv1

Price

Up to $0.026 per result; you pay what the call used

The price shown is the price you pay. No monthly minimum. Top-ups start at $5.

Data source

Tendata

Data from Tendata.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/quarterly-import-volume-first-period" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/quarterly-import-volume-first-period" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/quarterly-import-volume-first-period", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/quarterly-import-volume-first-period", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per result
Charged for every result returned
$0.026
Updated
Oct 14, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "hsCode",
    "countryOfDestinationCode",
    "startDate",
    "endDate",
    "periodUnit",
    "catalog",
    "pageNo",
    "pageSize"
  ],
  "properties": {
    "hsCode": {
      "type": "string",
      "pattern": "^[0-9]{4,10}$",
      "description": "The product's customs HS code, 4 or more digits."
    },
    "pageNo": {
      "enum": [
        1
      ],
      "type": "integer",
      "description": "The page number; only the first page (1) is offered."
    },
    "catalog": {
      "enum": [
        "imports"
      ],
      "type": "string",
      "description": "The records searched; only \"imports\" (import records), the one tested, is offered."
    },
    "endDate": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "End of the date window, YYYY-MM-DD."
    },
    "pageSize": {
      "enum": [
        1
      ],
      "type": "integer",
      "default": 1,
      "description": "Rows per page; only 1, the one tested, is offered."
    },
    "startDate": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Start of the date window, YYYY-MM-DD. The window may span at most three years."
    },
    "periodUnit": {
      "enum": [
        "quarters"
      ],
      "type": "string",
      "description": "How the records are grouped; only \"quarters\" (calendar quarters), the one tested, is offered."
    },
    "countryOfDestinationCode": {
      "type": "string",
      "pattern": "^[A-Z]{3}$",
      "description": "The importing (destination) country, as an ISO 3166 three-letter code."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "total": {
      "type": "number",
      "description": "How many quarter rows the matching import records span."
    },
    "content": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "The quarter, as the year and quarter number (YYYY-Qn)."
          },
          "weight": {
            "type": "number",
            "description": "Total weight of the records, as recorded."
          },
          "quantity": {
            "type": "number",
            "description": "Total quantity of the records, as recorded."
          },
          "sumOfUSD": {
            "type": "number",
            "description": "Total value of the records, in USD."
          },
          "tradeCount": {
            "type": "number",
            "description": "Number of trade records."
          },
          "weightAvgPrice": {
            "type": "number",
            "description": "Average USD value per unit of weight (USD value divided by weight)."
          },
          "quantityAvgPrice": {
            "type": "number",
            "description": "Average USD value per unit of quantity (USD value divided by quantity)."
          }
        }
      },
      "description": "The first quarter row returned (at most one)."
    }
  },
  "description": "The quarterly roll-up: the count of quarter rows and the first row."
}