⚡ Neptun Monitors API
HMAC-based authentication using three headers:
-
X-API-Key: public API key of the cookgroup. -
X-Timestamp: UNIX timestamp in seconds used in the signature. -
X-Signature: base64-encoded HMAC-SHA256 of the string, signed with the API secret:METHOD + PATH + X-Timestamp
For example:
stringToSign = "POST" + "/v1/public/products/add" + "1764609321"
stringToSign = "GET" + "/v1/public/pings/ws" + "1764609321"
API key and secret can be found in your dashboard.
Product PID to add.
7149445Site identifier (e.g. "argos").
argosProduct successfully added.
trueBad request.
Authentication failed (missing or invalid auth headers/signature).
Internal server error.
HMAC-based authentication using three headers:
-
X-API-Key: public API key of the cookgroup. -
X-Timestamp: UNIX timestamp in seconds used in the signature. -
X-Signature: base64-encoded HMAC-SHA256 of the string, signed with the API secret:METHOD + PATH + X-Timestamp
For example:
stringToSign = "POST" + "/v1/public/products/add" + "1764609321"
stringToSign = "GET" + "/v1/public/pings/ws" + "1764609321"
API key and secret can be found in your dashboard.
adidasProducts successfully listed.
Site identifier.
adidasBlacklist PIDs of the site.
["JR8844"]Custom PIDs of the site.
["JR0035","KT3436"]Custom PIDs 2 of the site (Offer IDs on amazon).
Monitor only the custom PIDs.
falsetrueBad request.
Authentication failed (missing or invalid auth headers/signature).
Internal server error.
{
"sites": [
{
"id": "www.asphaltgold.com",
"name": "Asphaltgold",
"regions": ""
},
{
"id": "amazon",
"name": "Amazon",
"regions": "FR,BE,DE,ES,IT,NL,UK,US,SE,JP"
},
{
"id": "micromania",
"name": "Micromania",
"regions": ""
}
]
}Product ping payload pushed over the WebSocket.
Unique identifier for the product
URL with our redirect, prefer this option.
If present, indicates the stock for the corresponding index in the "sizes" field.
If present, indicates the total stock of the product.
Region of the monitor (lowercase).
Site ID used for filtering.
The ProductPing object
HMAC-based authentication using three headers:
-
X-API-Key: public API key of the cookgroup. -
X-Timestamp: UNIX timestamp in seconds used in the signature. -
X-Signature: base64-encoded HMAC-SHA256 of the string, signed with the API secret:METHOD + PATH + X-Timestamp
For example:
stringToSign = "POST" + "/v1/public/products/add" + "1764609321"
stringToSign = "GET" + "/v1/public/pings/ws" + "1764609321"
API key and secret can be found in your dashboard.
WebSocket protocol upgrade successful.
Bad request.
Authentication failed (missing or invalid auth headers/signature).
Internal server error while upgrading to WebSocket.
No content
Last updated