{
  "openapi": "3.0.1",
  "info": {
    "title": "AU Shopping Check",
    "description": "Returns JSON checks for one product bought for someone in Australia: landed cost in AUD (GST, duty est.), delivery date to a postcode, border bans, recalls, safety/RCM/TGA rules, energy rating, plug, phone bands, size, shop age, shop trust and returns facts. Fact/estimate marked. $0.01-0.02/check.",
    "version": "0.1",
    "x-build-id": "AddjpnhL0XtXmRRIO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/askmarket~au-shopping-check/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-askmarket-au-shopping-check",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/askmarket~au-shopping-check/runs": {
      "post": {
        "operationId": "runs-sync-askmarket-au-shopping-check",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/askmarket~au-shopping-check/run-sync": {
      "post": {
        "operationId": "run-sync-askmarket-au-shopping-check",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "productTitle": {
            "title": "Product title",
            "type": "string",
            "description": "Product name as listed, e.g. 'Rechargeable electric wine opener'. Used for border, recall, safety-standard, electrical, health and energy checks."
          },
          "price": {
            "title": "Price",
            "type": "number",
            "description": "Item price in the seller's currency."
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "ISO currency code of the price, e.g. USD, CNY, AUD.",
            "default": "AUD"
          },
          "shipping": {
            "title": "Shipping cost",
            "type": "number",
            "description": "Shipping cost in the same currency.",
            "default": 0
          },
          "shipsFromCountry": {
            "title": "Ships from country",
            "type": "string",
            "description": "2-letter country code the item ships from, e.g. AU, CN, US.",
            "default": "AU"
          },
          "postcode": {
            "title": "Delivery postcode",
            "type": "string",
            "description": "Australian delivery postcode, e.g. 4217."
          },
          "website": {
            "title": "Shop website",
            "type": "string",
            "description": "Seller's website, e.g. https://shop.example.com. Used for the website age, fake store and returns policy checks."
          },
          "checks": {
            "title": "Checks to run",
            "type": "array",
            "description": "Pick checks to run. Leave empty to run every check the input allows. Each check that applies is one event ($0.01-0.02); errors and 'does not apply' answers are free.",
            "items": {
              "type": "string",
              "enum": [
                "landed-cost",
                "arrives-by",
                "scam-store-check",
                "border-check",
                "recall-check",
                "plug-voltage",
                "electrical-safety",
                "standards-check",
                "health-product",
                "energy-rating",
                "returns-policy",
                "website-age",
                "phone-network",
                "size-convert",
                "consumer-rights"
              ],
              "enumTitles": [
                "Landed cost in AUD (GST)",
                "Arrives-by date + Christmas order-by",
                "Shop trust signals",
                "Border bans and permits",
                "ACCC recalls",
                "Plug and 230V fit",
                "RCM electrical approval",
                "Mandatory safety standards",
                "TGA health product rules",
                "Energy star rating",
                "Returns policy",
                "Website age",
                "Phone works on AU networks",
                "Size to Australian",
                "Consumer rights"
              ]
            }
          },
          "items": {
            "title": "Cart: several products (optional)",
            "type": "array",
            "description": "Check a whole cart in one run: a list of products, each with any of the fields above (productTitle, price, currency, shipping, shipsFromCountry, website, voltage, brand, model...). Fields set at the top level (e.g. postcode) apply to every item unless the item sets its own. Max 50 items. One result record per product."
          },
          "shipsFrom": {
            "title": "Ships from (AU state)",
            "type": "string",
            "description": "For Australian sellers: AU-QLD, AU-NSW, AU-VIC etc. Leave empty for overseas."
          },
          "dispatchDays": {
            "title": "Seller dispatch days",
            "type": "integer",
            "description": "Business days before the seller ships.",
            "default": 1
          },
          "orderDate": {
            "title": "Order date",
            "type": "string",
            "description": "YYYY-MM-DD. Defaults to today."
          },
          "voltage": {
            "title": "Voltage on label",
            "type": "string",
            "description": "Power text from the listing, e.g. '100-240V', '110V', 'USB-C'."
          },
          "size": {
            "title": "Size",
            "type": "string",
            "description": "Size as listed, e.g. 8, M, 10, 42. Used for the size conversion check."
          },
          "sizeSystem": {
            "title": "Size system",
            "enum": [
              "US",
              "UK",
              "EU"
            ],
            "type": "string",
            "description": "Which system the listed size is in.",
            "default": "US"
          },
          "sizeCategory": {
            "title": "Size category",
            "enum": [
              "womens-clothing",
              "mens-clothing",
              "womens-shoes",
              "mens-shoes"
            ],
            "type": "string",
            "description": "What kind of item the size is for.",
            "default": "womens-clothing"
          },
          "phoneBands": {
            "title": "Phone 4G bands",
            "type": "string",
            "description": "For phones: the 4G/LTE bands from the listing, e.g. 'LTE B1/B3/B7/B28'. Used for the phone works in Australia check."
          },
          "volte": {
            "title": "Phone supports VoLTE",
            "type": "boolean",
            "description": "For phones: tick if the listing says VoLTE / 4G calling is supported."
          },
          "brand": {
            "title": "Brand",
            "type": "string",
            "description": "Brand name, e.g. Samsung. Sharpens the recall and energy rating checks."
          },
          "model": {
            "title": "Model number",
            "type": "string",
            "description": "Model number, e.g. SRS6800BFH. Used for the energy rating lookup."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}