info@ismena.com
Ismena websiteIsmena websiteIsmena websiteIsmena website
  • Home
  • About us
  • Technologies
    • Cloud Services
      • Google Cloud Platform
        • Networking
        • Compute
        • Storage
        • SAP on GCP
        • Google Maps
        • Data Center Modernization
    • Infrastructure
      • iSolution Services
      • Unified Communication
      • Network Security
      • Access Security & Control
      • Computing Platforms
      • Structured Cabling Infrastructure
      • Datacenter Infrastructure
      • Networking Infrastructure
      • Retail Analytics
      • Cloud Infrastructure
    • Integration
      • Apigee
      • IBM
      • Custom Connectors
      • UnifAI
    • Security
      • Security Consulting Services
      • Security Solutions
    • Data & AI
      • BigQuery, Looker
      • Gemini
    • Collaboration Tools
      • Google Workspace For Enterprise
    • ERP-CRM
      • Odoo
      • Salesforce
      • SAP on GCP
    • DevOps
      • GCP
      • SonarSource
    • Managed Service Provider
      • Managed Service Provider
    • App Development
      • App Development
    • Open Banking
      • Open banking
    • Chrome Devices
  • Unplugged Podcast
  • Blog
    • Success Stories
    • News
    • Articles
  • Careers
  • Contact Us

Technologies

Integration

Custom Connectors

Explore All Connectors

WTO Connector

WTO Connector

Connector Details

Type

Virtual machines, Single VM , BYOL

Runs on

Google Compute Engine

Last Update

24 October, 2024

Category

Overview

Documentation

Pricing

Support

Overview

The WTO Connector provides seamless access to the World Trade Organization (WTO), enabling retrieval of international trade and tariff data, metadata, and reference information. It standardizes requests to the WTO Timeseries through a unified proxy service, making it easy to integrate with GCP services. This connector allows developers to query topics, indicators, territories and trade data.

Integration Overview

This document provides a detailed description of each integration endpoint, configuration, and workflow supported by the WTO Connector.

Supported Integration Action Points

  • getTopics — Retrieves available topics.
  • getFrequencies — Lists supported data frequencies.
  • getPeriods — Lists available time periods.
  • getUnits — Retrieves available measurement units.
  • getIndicatorCategories — Lists categories of trade indicators.
  • getIndicators — Returns available indicators.
  • getTerritoryRegions — Lists WTO territory regions.
  • getTerritoryGroups — Lists WTO territory groups.
  • getReporters — Lists reporting members or regions.
  • getPartners — Lists partner members or regions.
  • getProductClassifications — Lists available product classifications.
  • getProducts — Returns available products.
  • getYears — Lists available reporting years.
  • getValueFlags — Lists value flags for trade data.
  • getData — Retrieves trade data for given parameters.
  • postData — Posts a data request (JSON body).
  • getMetadata — Retrieves metadata about datasets.
  • getDataCount — Returns counts for requested data queries.

Detailed Integration Documentation

2.1 Topics

Action getTopics
Endpoint /topics
Method GET
Purpose Retrieves a list of available topics such as tariffs, trade in goods, or trade in services.
Parameters Required:
  • subscription-key: Your API key (string, e.g., YOUR-API-KEY)
Optional:
  • lang: Response language (string, e.g., en)
Output
[
  { "id": "TRADE_IN_GOODS", "name": "Trade in Goods" },
  { "id": "TARIFFS", "name": "Tariffs" }
]
Configuration Ensure the connector is configured with the WTO base URL via CONNECTOR_ENV_WTO_BASE_URL environment variable.

2.2 Frequencies

Action getFrequencies
Endpoint /frequencies
Method GET
Purpose Retrieves available data frequencies such as Annual, Quarterly, or Monthly.
Parameters Required:
  • subscription-key: Your API key (string, e.g., YOUR-API-KEY)
Optional:
  • lang: Response language (string, e.g., en)
Output
[
  { "code": "A", "name": "Annual" },
  { "code": "Q", "name": "Quarterly" }
]

2.3 Periods

Action getPeriods
Endpoint /periods
Method GET
Purpose Retrieves all available reporting periods for trade data.
Parameters Required:
  • subscription-key: Your API key (string, e.g., YOUR-API-KEY)
Optional:
  • lang: Response language (string, e.g., en)
Output
[
  { "id": "2022", "label": "2022" },
  { "id": "2023", "label": "2023" }
]

2.4 Units

Action getUnits
Endpoint /units
Method GET
Purpose Retrieves available units of measurement used in WTO data (e.g., USD, Index).
Parameters Required:
  • subscription-key: Your API key
Optional:
  • lang: Language code (e.g., en)
Output
[
  { "id": "USD", "label": "US Dollars" },
  { "id": "INDEX", "label": "Index (2010=100)" }
]

2.5 Indicator Categories

Action getIndicatorCategories
Endpoint /indicator_categories
Method GET
Purpose Retrieves the main categories under which indicators are organized.
Parameters Required:
  • subscription-key: Your API key
Optional:
  • lang: Response language
Output
[
  { "id": "TRADE", "label": "Trade" },
  { "id": "SERVICES", "label": "Services" }
]

2.6 Indicators

Action getIndicators
Endpoint /indicators
Method GET
Purpose Retrieves indicators filtered by topic, frequency, or product classification.
Parameters Required:
  • subscription-key: Your API key
Optional:
  • i: Indicator code (e.g., HS_A_001)
  • name: Indicator name (e.g., Imports of goods)
  • t: Topic ID (e.g., TRADE_IN_GOODS)
  • pc: Product classification (e.g., HS)
  • tp: Time period type
  • frq: Frequency (e.g., A)
  • lang: Language code
Output
[
  {
    "id": "HS_A_001",
    "label": "Imports of goods",
    "topic": "TRADE_IN_GOODS"
  }
]

2.7 Territory Regions

Action getTerritoryRegions
Endpoint /territory/regions
Method GET
Purpose Retrieves WTO-recognized regional groupings.
Parameters Required:
  • subscription-key: Your API key
Optional:
  • lang: Language code
Output
[
  { "id": "AFRICA", "label": "Africa" },
  { "id": "EUROPE", "label": "Europe" }
]

2.8 Territory Groups

Action getTerritoryGroups
Endpoint /territory/groups
Method GET
Purpose Retrieves groups such as “Developed economies” or “LDCs”.
Parameters Required:
  • subscription-key: Your API key
Optional:
  • lang: Language code

2.9 Reporters

Action getReporters
Endpoint /reporters
Method GET
Purpose Retrieves countries or regions reporting trade data.
Parameters Required:
  • subscription-key: Your API key
Optional:
  • name: Reporter name (e.g., Pakistan)
  • ig: Indicator group
  • reg: Region code
  • gp: Group code
  • lang: Language code
Output
[
  { "id": "586", "label": "Pakistan" },
  { "id": "840", "label": "United States" }
]

2.10 Partners

Action getPartners
Endpoint /partners
Method GET
Purpose Retrieves partner countries or entities in trade datasets.
Parameters Required:
  • subscription-key: Your API key
Optional:
  • name: Partner name
  • ig: Indicator group
  • reg: Region code
  • gp: Group code
  • lang: Language code

2.11 Product Classifications

Action getProductClassifications
Endpoint /product_classifications
Method GET
Purpose Retrieves classification systems used for WTO data (e.g., HS, BEC, ISIC).

2.12 Products

Action getProducts
Endpoint /products
Method GET
Purpose Retrieves available products filtered by classification or name.
Parameters Required:
  • subscription-key: Your API key
Optional:
  • name: Product name (e.g., Oil)
  • pc: Product classification (e.g., HS)
  • lang: Language code

2.13 Years

Action getYears
Endpoint /years
Method GET
Purpose Lists all available years for which data is provided.

2.14 Value Flags

Action getValueFlags
Endpoint /value_flags
Method GET
Purpose Returns value flags describing data reliability or status (e.g., estimated, provisional).

2.15 Data (GET)

Action getData
Endpoint /data
Method GET
Purpose Retrieves WTO data for specific indicators, reporters, and partners.
Parameters Required:
  • subscription-key: Your API key
Optional:
  • i: Indicator code (HS_A_001)
  • r: Reporter (840)
  • p: Partner (586)
  • ps: Period (2023)
  • pc: Product classification (HS)
  • fmt: Format (json)
  • max: Max results (100)
  • lang: Language code
Output
{
  "indicator": "HS_A_001",
  "reporter": "840",
  "partner": "586",
  "value": 105000000,
  "unit": "USD",
  "year": 2023
}

2.16 Data (POST)

Action postData
Endpoint /data
Method POST
Purpose Allows data queries via JSON payload.
Parameters Required:
  • subscription-key: Your API key
Optional (JSON body):
  • i: Indicator list
  • r: Reporter codes
  • p: Partner codes
  • ps: Years list
Output
[
  { "indicator": "HS_A_001", "reporter": "840", "value": 105000000 },
  { "indicator": "HS_A_002", "reporter": "124", "value": 25000000 }
]

2.17 Metadata

Action getMetadata
Endpoint /metadata
Method GET
Purpose Retrieves metadata describing indicators, datasets, or reporting structures.

2.18 Data Count

Action getDataCount
Endpoint /data_count
Method GET
Purpose Returns the total count of data records available for a given query.

Workflow Creation with the Connector

Example Workflow: Trade Data Analysis and Metadata Synchronization

WTO API Workflows

Topic and Indicator Retrieval
  • Use /topics and /indicators to list available trade indicators.
  • Filter indicators by topic and frequency.
Fetch Trade Data
  • Call /data to retrieve trade statistics for selected indicators.
  • Use r (reporter), p (partner), and ps (period) parameters.
Metadata and Reference Lookup
  • Retrieve /metadata, /years, and /units for contextual display.
  • Combine with /value_flags to interpret reliability.
Integrate with GCP
  • Deploy the Flask service in Cloud Run or App Engine.
  • Connect via Apigee or Workflows for automated data collection pipelines.
  • Use environment variables:
    • CONNECTOR_ENV_WTO_BASE_URL
    • CONNECTOR_ENV_WTO_API_KEY
    • CONNECTOR_ENV_PORT

Pricing

Request a Quote

Support

For Technical support please contact us on

custom-connectors-support@isolutions.sa

iSolution logo - white - transparent 250 px

iSolution logo - white - transparent 250 px

A tech solution company dedicated to providing innovation thus empowering businesses to thrive in the digital age.

  • Home
  • About us
  • Blog
  • Careers
  • Success Stories
  • News
  • Articles
  • Contact Us
  • Terms and conditions
  • Privacy Policy
© Copyright 2024 iSolution | All Rights Reserved
  • Home
  • About us
  • Technologies
    • Cloud Services
      • Google Cloud Platform
        • Networking
        • Compute
        • Storage
        • SAP on GCP
        • Google Maps
        • Data Center Modernization
    • Infrastructure
      • iSolution Services
      • Unified Communication
      • Network Security
      • Access Security & Control
      • Computing Platforms
      • Structured Cabling Infrastructure
      • Datacenter Infrastructure
      • Networking Infrastructure
      • Retail Analytics
      • Cloud Infrastructure
    • Integration
      • Apigee
      • IBM
      • Custom Connectors
      • UnifAI
    • Security
      • Security Consulting Services
      • Security Solutions
    • Data & AI
      • BigQuery, Looker
      • Gemini
    • Collaboration Tools
      • Google Workspace For Enterprise
    • ERP-CRM
      • Odoo
      • Salesforce
      • SAP on GCP
    • DevOps
      • GCP
      • SonarSource
    • Managed Service Provider
      • Managed Service Provider
    • App Development
      • App Development
    • Open Banking
      • Open banking
    • Chrome Devices
  • Unplugged Podcast
  • Blog
    • Success Stories
    • News
    • Articles
  • Careers
  • Contact Us
Ismena website

Register To Wired For Banking

Wired For Banking Riyadh

Register to Wired for Banking

Wired For Banking Doha

Register To Palo Alto & iSolution Event

Register to Gemini in Action Workshop

[forminator_form id=”14485″]

Registration To Amman Unplugged Event

[forminator_form id=”14419″]

Register to Gemini in Action Workshop

[forminator_form id=”14298″]

Tech and Culture Riyadh

[forminator_form id=”13094″]