logo

Playground

Synchronous one-shot scrapes for testing a single Amazon ASIN or Officeworks SKU. Each successful call consumes 1 credit. Results are returned immediately in the response body — no collection or runner polling required.

Test-scrape an Amazon ASIN

POST
https://multicartapi.com/api/v1/playground/post/
API Key or Session Token

Synchronously scrape a single Amazon ASIN and return the parsed JSON (or raw HTML) result. Consumes 1 credit on success.

curl "https://multicartapi.com/api/v1/playground/post/" \
  -X POST \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domain": "1", "customer_postcode": "14", "asin": "B0DJQQ38TG", "output": "JSON", "include_raw_html": "false"}'

Parameters

ParameterTypeRequiredDescription
domainstringRequiredDomain ID as a string (integer-as-string), e.g. "1". Obtain IDs from /settings/domains/.
customer_postcodestringRequiredZipcode row ID as a string (integer-as-string), e.g. "14". Obtain IDs from /zipcodes/get-zipcodes/.
asinstringRequiredAmazon ASIN to scrape, e.g. "B0DJQQ38TG".
outputstringRequiredOutput format: "JSON" or "HTML".
include_raw_htmlstringOptionalWhether to include raw HTML in the output. Must be the string "true" or "false" — not a boolean.
Request body
{"domain": "1", "customer_postcode": "14", "asin": "B0DJQQ38TG", "output": "JSON", "include_raw_html": "false"}
Response
{"code": 200, "data": {"type": "json", "output": {"asin": "B0DJQQ38TG", "title": "...", "price": "..."}}, "status": 1}

Notes

domain and customer_postcode are string-encoded IDs, not domain names or postcode numbers. include_raw_html is a string ("true"/"false"), not a boolean — the backend does not coerce it. On insufficient credits the response envelope still has status: 1 but data.output.error will contain "Insufficient Credits"; check that field rather than the HTTP status or envelope code.

Test-scrape an Officeworks SKU

POST
https://multicartapi.com/api/v1/playground/officeworks/post/
API Key or Session Token

Synchronously scrape a single Officeworks SKU and return the parsed result. Consumes 1 credit on success.

curl "https://multicartapi.com/api/v1/playground/officeworks/post/" \
  -X POST \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sku": "JBMS310BK", "store_id": "W411", "customer_postcode": "4500"}'

Parameters

ParameterTypeRequiredDescription
skustringRequiredOfficeworks SKU code, e.g. "JBMS310BK". The field is sku — not asin.
store_idstringRequiredOfficeworks store ID, e.g. "W411". Obtain valid store IDs from /settings/officeworks/stores/.
customer_postcodestringRequiredPostcode number as a string, e.g. "4500".
Request body
{"sku": "JBMS310BK", "store_id": "W411", "customer_postcode": "4500"}
Response
{"code": 200, "data": {"type": "json", "output": {"sku": "JBMS310BK", "title": "...", "price": "..."}}, "status": 1}

Notes

The field name is sku, not asin — the landing /api-docs shows "asin" which is incorrect. The domain parameter shown in the landing docs is also incorrect; the backend ignores it and domain is not required. Do not pass a domain field.