Muvexa API documentation
Authorize a store, test requests in the online console, or call the same platform endpoint from your backend. Free includes 20 calls per platform per day.
Who this documentation is for
These docs are written for technical teams integrating commerce systems through Muvexa API.
Quickstart
Authorize a store, test requests in the online console, or call the same platform endpoint from your backend. Free includes 20 calls per platform per day.
Register and authorize a store
Create a Muvexa account, open the console, and generate a store authorization link. After authorization, Muvexa issues a store-scoped credential pair: an API Key and an API Secret. Both live on the store management page, masked by default — click the eye icon to reveal or copy.
Test online in the API Console
For testing, use the online API Console to send marketplace requests and inspect status, latency and response metadata.
POST https://openapi.muvexa.co/amazon/execute
Content-Type: application/json
X-Api-Key: <your-api-key>
X-Timestamp: 1723795200000
X-Nonce: 7b1f2d0c-5b52-4c74-a615-0d7e3cce8e9c
X-Signature: <hmac-sha256-hex>
{
"method": "GET",
"path": "/orders/v0/orders",
"queryParams": {
"MarketplaceIds": "ATVPDKIKX0DER",
"CreatedAfter": "2026-08-01T00:00:00Z"
}
}Connect your backend
Use the store API Key from your backend to call the platform endpoint. This is available on Free and Pro; the plan determines the call quota.
Platform endpoints
Each marketplace has one stable Muvexa endpoint. The request contract stays the same across platforms.
Amazon SP-API
POST https://openapi.muvexa.co/amazon/execute
Shopify Admin API
POST https://openapi.muvexa.co/shopify/execute
# Amazon Ads API
POST https://openapi.muvexa.co/amazon/ads/executeAmazon Ads API
In Store Management, authorize Amazon Ads and open Amazon Ads API credentials to copy the Muvexa API Key and Secret for that authorization.
Sign the outer request with POST and /amazon/ads/execute. Calculate the body hash from the exact bytes you send. The example lists advertising profiles for the selected region.
Set region to NA (North America), EU (Europe), or FE (Far East) based on the target advertising account.
POST https://openapi.muvexa.co/amazon/ads/execute
Content-Type: application/json
X-Api-Key: <your-amazon-ads-api-key>
X-Timestamp: <unix-time-in-milliseconds>
X-Nonce: <unique-nonce>
X-Signature: <hmac-sha256-hex>
{
"method": "GET",
"path": "/v2/profiles",
"region": "NA"
}When the Amazon operation requires account scope, send profileId or accountId as a string. Muvexa maps them to Amazon-Advertising-API-Scope and Amazon-Ads-AccountId respectively.
Set contentType, accept, body, and queryParams as required by the Amazon operation. Each queryParams value can be a string or an array of strings. Muvexa manages the Amazon token and relays Amazon’s HTTP status and response body.
Request signature
Every server-to-server request must be signed with the API Secret shown in the console. X-Api-Key is sent in plaintext; API Secret is never sent.
Canonical string
Join the six parts with a single newline, in this exact order. Every hex output is lowercase.
HTTP_METHOD + "\n" + // POST
REQUEST_PATH + "\n" + // /amazon/execute (Path without the origin or query string)
QUERY_STRING + "\n" + // Gateway query string, usually empty
SHA256_HEX(raw_body) + "\n" + // SHA-256 of the transmitted body bytes, in lowercase hexadecimal
X_TIMESTAMP + "\n" + // Unix timestamp in milliseconds
X_NONCE // Random nonce unique to this request
X-Signature = HEX(HMAC_SHA256(stringToSign, apiSecret))Request headers
Send all four headers on every request. API Secret is used only to compute the signature locally and never leaves your server.
POST https://openapi.muvexa.co/amazon/execute
Content-Type: application/json
X-Api-Key: <your-api-key>
X-Timestamp: 1723795200000
X-Nonce: 7b1f2d0c-5b52-4c74-a615-0d7e3cce8e9c
X-Signature: <hmac-sha256-hex>Common mistakes
Nearly every INVALID_SIGNATURE report traces back to one of these four.
API integration format
API integration is available on Free and Pro. Send X-Api-Key and signature headers, then send the target marketplace request to its platform endpoint.
Request body
Describe the commerce API call you want to make. queryParams become URL parameters, while body is sent as the JSON request body. Fill both according to the connected platform documentation; Muvexa does not inject or rewrite business fields.
{
"method": "GET",
"path": "/orders/v0/orders",
"queryParams": {
"MarketplaceIds": "ATVPDKIKX0DER",
"CreatedAfter": "2026-08-01T00:00:00Z"
}
}Listings API request example
Replace {sellerId} with the authorized store's seller ID. Listings query parameters go in queryParams; pageToken continues pagination.
{
"method": "GET",
"path": "/listings/2021-08-01/items/{sellerId}",
"queryParams": {
"marketplaceIds": "ATVPDKIKX0DER",
"includedData": "summaries,attributes,offers,issues",
"pageSize": "20"
}
}FBA Inventory API request example
Use the same marketplace ID for granularityId and marketplaceIds. Set details to true to include inventory quantities.
{
"method": "GET",
"path": "/fba/inventory/v1/summaries",
"queryParams": {
"granularityType": "Marketplace",
"granularityId": "ATVPDKIKX0DER",
"marketplaceIds": "ATVPDKIKX0DER",
"details": "true"
}
}Successful response: straight passthrough
What you get back is the connected platform's own response body with its original status code. Muvexa keeps the response contract transparent.
{
"payload": {
"Orders": [
{
"OrderId": "902-0000000-0000000",
"OrderStatus": "Shipped",
"PurchaseDate": "2026-08-14T09:12:33Z",
"OrderTotal": { "CurrencyCode": "USD", "Amount": "42.50" }
}
],
"NextToken": "MRjLDgAAAAA..."
}
}Gateway errors
Only rejections raised by Muvexa itself use this envelope: invalid parameters, invalid key or signature, and exhausted quota. Marketplace errors are passed through untouched, so the body is the marketplace's own error payload.
{
"code": 429,
"msg": "当日调用额度已用尽",
"data": null
}Code samples
The same signed request in Python, Java, TypeScript, Go and cURL. Each sample is self-contained and uses only the standard library.
import hashlib, hmac, json, os, time, uuid
from urllib.parse import urlsplit
import requests
ENDPOINT = "https://openapi.muvexa.co/amazon/execute"
API_KEY = os.environ["MUVEXA_API_KEY"]
API_SECRET = os.environ["MUVEXA_API_SECRET"]
# Serialize once; sign and send exactly the same bytes.
payload = {
"method": "GET",
"path": "/orders/v0/orders",
"queryParams": {"MarketplaceIds": "ATVPDKIKX0DER", "CreatedAfter": "2026-08-01T00:00:00Z"},
}
body = json.dumps(payload, separators=(",", ":")).encode("utf-8")
timestamp = str(int(time.time() * 1000))
nonce = str(uuid.uuid4())
string_to_sign = "\n".join([
"POST",
urlsplit(ENDPOINT).path,
"", # Empty query string
hashlib.sha256(body).hexdigest(),
timestamp,
nonce,
])
signature = hmac.new(
API_SECRET.encode("utf-8"), string_to_sign.encode("utf-8"), hashlib.sha256
).hexdigest()
res = requests.post(
ENDPOINT,
headers={
"Content-Type": "application/json",
"X-Api-Key": API_KEY,
"X-Timestamp": timestamp,
"X-Nonce": nonce,
"X-Signature": signature,
},
data=body, # Use data=body; json=payload would serialize the body again.
timeout=60,
)
print(res.status_code, res.text)There is no Muvexa SDK yet, so these samples call the endpoint over plain HTTP. Read the API Key and API Secret from environment variables or your secret manager, never from source control.
Signature error codes
A 401 response carries a code field that names the exact cause. Other status codes are passed through from the marketplace unchanged.
| Code | Meaning |
|---|---|
| INVALID_API_KEY | The API Key does not exist, has been revoked, or has no API Secret configured. |
| MISSING_SIGNATURE | One of X-Timestamp, X-Nonce or X-Signature is missing or blank. |
| INVALID_TIMESTAMP | X-Timestamp is not a number or falls outside the allowed time window. Check your server clock first. |
| DUPLICATE_NONCE | This X-Nonce was already used with the same API Key inside the nonce window. Generate a new one per request. |
| INVALID_SIGNATURE | The signature does not match. Compare your canonical string against the reference above, line by line. |
Privacy & Data
This platform does not collect, store or expose buyer personally identifiable information (PII).