Skip to content

Open Data API

Overview

The Open Data API provides access to global standard reference data including countries, languages, currencies, units, HS codes, zones, platforms, and other standard classification data.

Base Endpoint: /open

API Endpoints

1. Country List

Get list of all countries with detailed information.

Endpoint: POST /open/country/list or GET /open/country/list

Request:

bash
curl -X GET "https://api.alaikis.com/std/open/country/list" \
  -H "X-API-Key: your_api_key" \
  -H "X-API-Secret: your_api_secret"

Response:

json
{
  "code": 200,
  "msg": "Request successful",
  "data": [
    {
      "id": 1,
      "code": "US",
      "name": "United States",
      "iso3": "USA",
      "phoneCode": "+1",
      "currencyCode": "USD"
    }
  ]
}

Search for country details by country code or name.

Endpoint: POST /open/country/special

Parameters:

ParameterTypeRequiredDescription
bizContentStringYesJSON containing search parameters
- ccodeStringYesISO 3166-1 alpha-2 country code
- countryStringNoCountry name filter
- shipCountryStringNoShipping country filter

Request:

bash
curl -X POST "https://api.alaikis.com/std/open/country/special" \
  -H "X-API-Key: your_api_key" \
  -H "X-API-Secret: your_api_secret" \
  -d "bizContent={\"ccode\": \"JP\"}"

3. Zone List

Get all administrative zone entries.

Endpoint: POST /open/zone/list

Parameters:

ParameterTypeRequiredDescription
bizContentStringYesEmpty JSON object

Request:

bash
curl -X POST "https://api.alaikis.com/std/open/zone/list" \
  -H "X-API-Key: your_api_key" \
  -H "X-API-Secret: your_api_secret" \
  -d "bizContent={}"

4. Zone Query

Query zones by name, code, or parent ID.

Endpoint: POST /open/zone/query

Parameters:

ParameterTypeRequiredDescription
bizContentStringYesJSON containing query parameters
- nameStringNoZone name filter
- codeStringNoZone code filter
- parsentIntegerNoParent zone ID filter
- name_enStringNoEnglish name filter

Request:

bash
curl -X POST "https://api.alaikis.com/std/open/zone/query" \
  -H "X-API-Key: your_api_key" \
  -H "X-API-Secret: your_api_secret" \
  -d "bizContent={\"name\": \"California\", \"parsent\": 1}"

5. Unit List

Query measurement units by type, name, or code.

Endpoint: POST /open/unit/list

Parameters:

ParameterTypeRequiredDescription
bizContentStringYesJSON containing query parameters
- originStringNoUnit type (default: base)
- ref_unit_idIntegerNoReference unit ID
- nameStringNoUnit name filter
- codeStringNoUnit code filter
- name_zhStringNoChinese name filter
- idIntegerNoUnit ID filter

Request:

bash
curl -X POST "https://api.alaikis.com/std/open/unit/list" \
  -H "X-API-Key: your_api_key" \
  -H "X-API-Secret: your_api_secret" \
  -d "bizContent={\"origin\": \"weight\", \"name\": \"kilogram\"}"

6. HS Code List

Query Harmonized System codes.

Endpoint: POST /open/hs-code/list

Parameters:

ParameterTypeRequiredDescription
bizContentStringYesJSON containing query parameters
- versionStringNoHS version (default: 2022)
- typeStringNoHS type (default: base)
- keywordsStringNoHS code search keyword
- levelIntegerNoHierarchy level
- parentStringNoParent HS code

Request:

bash
curl -X POST "https://api.alaikis.com/std/open/hs-code/list" \
  -H "X-API-Key: your_api_key" \
  -H "X-API-Secret: your_api_secret" \
  -d "bizContent={\"keywords\": \"8517\", \"level\": 4}"

7. Language List

Get all supported languages with optional sub-language filter.

Endpoint: POST /open/language/list

Parameters:

ParameterTypeRequiredDescription
bizContentStringYesJSON containing query parameters
- subLanguageBooleanNoFilter for sub-languages (default: false)

Request:

bash
curl -X POST "https://api.alaikis.com/std/open/language/list" \
  -H "X-API-Key: your_api_key" \
  -H "X-API-Secret: your_api_secret" \
  -d "bizContent={\"subLanguage\": true}"

Search for language by code.

Endpoint: POST /open/language/special

Parameters:

ParameterTypeRequiredDescription
bizContentStringYesJSON containing search parameters
- codeStringYesLanguage code (e.g., en, zh, ja)

Request:

bash
curl -X POST "https://api.alaikis.com/std/open/language/special" \
  -H "X-API-Key: your_api_key" \
  -H "X-API-Secret: your_api_secret" \
  -d "bizContent={\"code\": \"zh\"}"

9. Currency List

Get all currencies with symbols.

Endpoint: POST /open/currency/list or GET /open/currency/list

Request:

bash
curl -X GET "https://api.alaikis.com/std/open/currency/list" \
  -H "X-API-Key: your_api_key" \
  -H "X-API-Secret: your_api_secret"

Search for currency by currency code.

Endpoint: POST /open/currency/special

Parameters:

ParameterTypeRequiredDescription
bizContentStringYesJSON containing search parameters
- currencyStringYesCurrency code (e.g., USD, EUR)

Request:

bash
curl -X POST "https://api.alaikis.com/std/open/currency/special" \
  -H "X-API-Key: your_api_key" \
  -H "X-API-Secret: your_api_secret" \
  -d "bizContent={\"currency\": \"USD\"}"

11. Get All Manufacturers/Platforms

Get all available platform/manufacturer entries.

Endpoint: POST /open/manufacturer/all

Request:

bash
curl -X POST "https://api.alaikis.com/std/open/manufacturer/all" \
  -H "X-API-Key: your_api_key" \
  -H "X-API-Secret: your_api_secret"

Search for platform/manufacturer by code.

Endpoint: POST /open/manufacturer/special

Parameters:

ParameterTypeRequiredDescription
bizContentStringYesJSON containing search parameters
- codeStringYesPlatform code

Request:

bash
curl -X POST "https://api.alaikis.com/std/open/manufacturer/special" \
  -H "X-API-Key: your_api_key" \
  -H "X-API-Secret: your_api_secret" \
  -d "bizContent={\"code\": \"amazon\"}"

13. Get Manufacturer Purchase Fields

Get custom purchase fields for a platform via RPC service.

Endpoint: POST /open/manufacturer/purchase/fields

Parameters:

ParameterTypeRequiredDescription
bizContentStringYesJSON containing platform parameters
- platformStringYesPlatform identifier

Request:

bash
curl -X POST "https://api.alaikis.com/std/open/manufacturer/purchase/fields" \
  -H "X-API-Key: your_api_key" \
  -H "X-API-Secret: your_api_secret" \
  -d "bizContent={\"platform\": \"amazon\"}"

Data Types Available

Country Data Fields

FieldTypeDescription
idIntegerUnique identifier
codeStringISO 3166-1 alpha-2 country code
nameStringCountry name
iso3StringISO 3166-1 alpha-3 code
phoneCodeStringInternational dialing code
currencyCodeStringISO 4217 currency code

Currency Data Fields

FieldTypeDescription
idIntegerUnique identifier
codeStringISO 4217 currency code
nameStringCurrency name
symbolStringCurrency symbol

Language Data Fields

FieldTypeDescription
idIntegerUnique identifier
codeStringISO 639-1 language code
nameStringLanguage name
nameEnStringEnglish name

Zone Data Fields

FieldTypeDescription
idIntegerUnique identifier
nameStringZone name
nameENStringEnglish name
codeStringZone code
parsentIntegerParent zone ID

Unit Data Fields

FieldTypeDescription
idIntegerUnique identifier
codeStringUnit code
nameStringUnit name
nameZHStringChinese name
originStringUnit type/origin
refUnitIntegerReference unit ID

Rate Limiting

  • All endpoints: 1000 requests/hour

Data Update Frequency

  • Country/Language/Currency data: Monthly
  • HS Code data: Quarterly
  • Zone data: As updated by governments

Support

Contact: support@alaikis.com