Skip to main content
GET
Search HS Codes

Overview

Search the HS codes EximPe recognises, by code or by description. Use it to find a valid code wherever a request takes one, for example hs_code on an order, or global_company.hs_codes on Create Merchant and Update Merchant. This endpoint is available to direct merchants and PSPs, including sub-merchants that call with their own credentials. Results are the same for every caller. PSPs do not need to send X-Merchant-ID.

Query Parameters

Response

data is one page of results, ordered by code: Each result is one HS code:

Errors

Authorizations

X-Client-ID
string
header
required

Client Application ID - Your unique application identifier used to authenticate API requests. You can find your Client ID in the Developer Settings section of the merchant dashboard.

X-Client-Secret
string
header
required

Client Secret Key - Your secret key used alongside the Client ID for secure authentication. Keep this confidential and never expose it in client-side code. Available in the Developer Settings section of the merchant dashboard.

Headers

X-API-Version
enum<string>
default:3.0.0

Optional. Send 3.0.0. It is not a credential. The response's X-API-Version header echoes the value you sent, or your account's default version if you send none.

Available options:
3.0.0

Query Parameters

Text to match against the code and its description.

page
integer
default:1

Page number. Default 1.

page_size
integer
default:250

Results per page. Default 250, maximum 1000.

Required range: x <= 1000

Response

A page of HS codes.

success
boolean
required
message
string
required
data
object
required