Skip to content
Eden Engine

Pacific Statistics Series Values by Dataflow and Key (Pacific Data Hub, SPC)

pacificdatastat/get-data

Observations from one Pacific Data Hub statistical table (SPC) as SDMX-JSON: the series matching a dimension key, with the latest N observations per series, plus the dimension and code labels needed to read them. The key lists dimension values in the table's own dimension order separated by dots, an empty position meaning all; get the order from the first call with an open key or from the dimension names in a result. lastNObservations (1 to 20) is required. An open key on a large table can return hundreds of KB. A key that matches nothing or an unknown table is refused as a validation error. Pacific Data Hub (SPC) data served by Eden Engine; not an official SPC product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.

Data source

Pacific Community (SPC), Pacific Data Hub .Stat

Source: Pacific Community (SPC) Pacific Data Hub. Served by Eden Engine; not an official SPC product.

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.

Connect once and your AI can find and run this tool, and any other it needs.

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

// 2. inspect: price and input schema
omnial_inspect({ tool: "pacificdatastat/get-data" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "pacificdatastat/get-data" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "pacificdatastat/get-data", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "pacificdatastat/get-data", 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 call
$0.0026
Updated
Oct 20, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "dataflow",
    "version",
    "key",
    "lastNObservations"
  ],
  "properties": {
    "key": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_.+]{1,200}$",
      "description": "Dimension values joined by dots in the table's dimension order; an empty position means all, + joins alternatives. For DF_POP_PROJ (FREQ.GEO_PICT.INDICATOR.SEX.AGE): A.FJ.MIDYEARPOPEST._T._T. The wrong number of positions is refused upstream."
    },
    "version": {
      "type": "string",
      "pattern": "^(~|[0-9]{1,3}(\\.[0-9]{1,3}){0,2})$",
      "description": "The dataflow version from list-dataflows or get-dataflow, for example 3.0, or ~ for the latest."
    },
    "dataflow": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_]{1,60}$",
      "description": "The dataflow id, for example DF_POP_PROJ. Use pacificdatastat/list-dataflows to find one."
    },
    "endPeriod": {
      "type": "string",
      "pattern": "^[0-9]{4}(-[0-9]{2})?$",
      "description": "Optional last period, YYYY or YYYY-MM."
    },
    "startPeriod": {
      "type": "string",
      "pattern": "^[0-9]{4}(-[0-9]{2})?$",
      "description": "Optional first period, YYYY or YYYY-MM."
    },
    "lastNObservations": {
      "type": "integer",
      "maximum": 20,
      "minimum": 1,
      "description": "How many of the most recent observations to return per series."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "data"
  ],
  "properties": {
    "data": {
      "type": "object",
      "required": [
        "dataSets",
        "structure"
      ],
      "properties": {
        "dataSets": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          },
          "description": "One data set. series is keyed by colon-joined indexes into the series dimensions in structure; each observation maps a time index to [value, ...attribute indexes]."
        },
        "structure": {
          "type": "object",
          "description": "Names, description, and the dimension and attribute value lists that the indexes in dataSets refer to (dimensions.series, dimensions.observation holds the periods).",
          "additionalProperties": true
        }
      },
      "additionalProperties": true
    },
    "meta": {
      "type": "object",
      "description": "The SDMX-JSON message envelope: schema link, prepared time, sender.",
      "additionalProperties": true
    }
  },
  "additionalProperties": true
}