【Must-Read】About Signature
x-appKey
: Please contact Tabcut customer service to obtain.
x-timestamp
: The timestamp when adding the signature, up to milliseconds.
x-sign
: The signature value, refer to Point 2 for details.2. x-sign Generate#
The processed input parameters = after sorting all input parameter fields in ascending order of key names, concatenate the key names and values in the format of key=value&
.2.2 Original String Before Signature Addition#
The original string before signature addition = processed input parameters + "×tamp=${timestamp}" + "&appSecret=${appSecret}".
Note: If the parameters before concatenating the timestamp end with an ampersand (&), do not add another &; otherwise, add one.
Example:
pageNo=2&rankDay=1®ion=US&sort=1×tamp=1702974058698&appSecret=66cef285952841e39b1ce7c2749f0c1b
2.3 Signature Methods#
x-sign: The original string before signature addition is subjected to MD5 calculation.
Private key: namely appSecret.2.4 The Java code is as follows.#
Spaces are encoded as %20 in JavaScript and as the + sign in Java, so a regular expression replacement is needed. 2.5 apifox Public script#
Pre-Script#
Post-Script#
Modified at 2025-06-23 12:48:16