API Documentation

RESTful API for FTA/GSP data integration

API Information

Base URL

https://api.dft.go.th/v1

Version

1.0.0

Authentication

API Key

Rate Limit

1000 req/hour

API Key

Keep your API key secure. Never share it publicly.

Endpoints

POST/eligibility/check
Production

Request

{
  "hs_code": "6204.62",
  "origin_country": "TH",
  "destination_country": "US",
  "product_value": 1000
}

Response (200 OK)

{
  "status": "success",
  "data": {
    "eligible_ftas": [
      {
        "fta_name": "RCEP",
        "tariff_rate": 0,
        "roo_requirement": "45% VA"
      }
    ]
  }
}

Parameters

ParameterTypeRequiredDescription
hs_codestringYesHS Code 6-10 digits
origin_countrystringYesISO 3166-1 alpha-2 code
destination_countrystringYesISO 3166-1 alpha-2 code
product_valuenumberNoProduct value in USD

ทดสอบ API แบบ Real-time / Live API Tester

ทดสอป Core Trade Engine API โดยตรง · Test the Core Trade Engine API directly