---
title: "Route Eci"
method: GET
path: "/complexity/eci.{extension}"
tags: ["EconomicComplexityModule"]
---

# Route Eci

`GET /complexity/eci.{extension}`

ECI calculation endpoint.

## Path parameters

- `extension` 'csv' | 'csvbom' | 'xlsx' | 'jsonarrays' | 'jsonrecords' | 'parquet' | 'tsv' | 'tsvbom', required — Define the extensions available to the user and how to response to them.

## Query parameters

- `alias` string[] — Changes the label of a Level in the response tidy data dictionaries.
- `filter` string[] — Limits the results returned by the output. Only members of a dimension matching one of the parameters will be kept in the response.
- `iterations` integer — The number of iterations used to calculate the Complexity Indicators.
- `cutoff` number — The threshold value at which a country's RCA is considered relevant for an economic activity, for the purpose of calculating the Complexity Indicators.
- `ascending` boolean, nullable — Outputs the results in ascending or descending order. If not defined, results will be returned sorted by level member.
- `rank` boolean — Adds a 'Ranking' column to the data. This value represents the index in the whole result list, sorted by value.
- `cube` string, required — The cube to retrieve the main data
- `activity` string, required — Productivity categories for the RCA calculation
- `location` string, required
- `measure` string, required — Values to use for the RCA calculations
- `locale` string, nullable — Defines the locale variation for the labels in the data
- `parents` boolean — Specifies if the response items should include the parent levels for activity and location.
- `cuts` string[] — Limits the results returned by the output. Only members of a dimension matching one of the parameters will be kept in the response.
- `threshold` string[] — Restricts the data to be used in the calculation, to rows where the sum of all values through the other dimension fulfills the condition.
- `token` string, nullable
- `wdi` string[] — Applies an additional threshold over the data, using a parameter from the World Bank's WDI database.

## Headers

- `authorization` string, nullable
- `x-tesseract-jwt` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/datausa/apis/fastapi.md) · [All operations](https://skmtc.dev/datausa/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/datausa/fastapi/revisions/6d014a4f1cd1/schema)
