{
  "openapi": "3.0.1",
  "info": {
    "title": "Amazon Arbitrage Finder: Walmart, Target & Global Price Gaps",
    "description": "Find products to resell on Amazon. Compares Amazon with Walmart, Target and other Amazon countries by barcode, adds FBA fees, profit, ROI and sales per month, and ranks products best first with a Buy, Maybe or Skip answer. For online arbitrage and FBA sellers. No login.",
    "version": "1.0",
    "x-build-id": "JicGxFh9cdMKE0Bnt"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/panix~amazon-arbitrage-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-panix-amazon-arbitrage-finder",
        "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/panix~amazon-arbitrage-finder/runs": {
      "post": {
        "operationId": "runs-sync-panix-amazon-arbitrage-finder",
        "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/panix~amazon-arbitrage-finder/run-sync": {
      "post": {
        "operationId": "run-sync-panix-amazon-arbitrage-finder",
        "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": {
          "startUrls": {
            "title": "Links to check",
            "type": "array",
            "description": "Amazon Best Sellers, New Releases, Movers & Shakers, search or product links (any of 16 Amazon countries); Walmart search, category (/browse, /cp), deals (/shop/deals/...) or product links; Target search (/s?searchTerm=), category (/c/.../N-xxxxx) or product links. Every product on the page is checked against the other stores.",
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "Search words",
            "type": "array",
            "description": "Words to search (e.g. \"lego\" or \"stanley tumbler\"). Searched on the store you choose below. You can also type ASINs or UPC/EAN barcodes here.",
            "items": {
              "type": "string"
            }
          },
          "searchStore": {
            "title": "Search the words on",
            "enum": [
              "amazon",
              "walmart",
              "target"
            ],
            "type": "string",
            "description": "Amazon = start from what sells on Amazon and look for it cheaper elsewhere. Walmart or Target = start from the store you buy from (classic online arbitrage).",
            "default": "amazon"
          },
          "asins": {
            "title": "ASINs",
            "type": "array",
            "description": "Amazon product IDs (e.g. B0BZYCJK89), read on your Amazon store.",
            "items": {
              "type": "string"
            }
          },
          "barcodes": {
            "title": "UPC / EAN barcodes",
            "type": "array",
            "description": "Product barcodes (8-14 digits). Each one is looked up on Amazon, Walmart and Target. Good for a wholesale price list.",
            "items": {
              "type": "string"
            }
          },
          "maxProductsPerInput": {
            "title": "Max products per link or search",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "How many products of each list, search or category page to check. Best Sellers lists have 100.",
            "default": 20
          },
          "maxProducts": {
            "title": "Max products in total",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after checking this many products (0 = no limit). You can also set a spending limit on the run.",
            "default": 0
          },
          "sellOn": {
            "title": "Your Amazon store (where you sell)",
            "enum": [
              "com",
              "ca",
              "com.mx",
              "co.uk",
              "de",
              "fr",
              "it",
              "es",
              "nl",
              "com.be",
              "se",
              "pl",
              "in",
              "co.jp",
              "com.au",
              "sg"
            ],
            "type": "string",
            "description": "Profit is worked out for selling on this Amazon store, in its currency.",
            "default": "com"
          },
          "compareStores": {
            "title": "Compare with stores",
            "type": "array",
            "description": "US stores to look for the same product in (matched by barcode first, then model number, then title).",
            "items": {
              "type": "string",
              "enum": [
                "walmart",
                "target"
              ],
              "enumTitles": [
                "Walmart",
                "Target"
              ]
            },
            "default": [
              "walmart",
              "target"
            ]
          },
          "compareAmazonMarkets": {
            "title": "Compare with other Amazon stores",
            "type": "array",
            "description": "Also check the same ASIN on these Amazon countries (prices converted with today's European Central Bank rates). Empty = none.",
            "items": {
              "type": "string",
              "enum": [
                "com",
                "ca",
                "com.mx",
                "co.uk",
                "de",
                "fr",
                "it",
                "es",
                "nl",
                "com.be",
                "se",
                "pl",
                "in",
                "co.jp",
                "com.au",
                "sg"
              ],
              "enumTitles": [
                "amazon.com (US)",
                "amazon.ca (Canada)",
                "amazon.com.mx (Mexico)",
                "amazon.co.uk (UK)",
                "amazon.de (Germany)",
                "amazon.fr (France)",
                "amazon.it (Italy)",
                "amazon.es (Spain)",
                "amazon.nl (Netherlands)",
                "amazon.com.be (Belgium)",
                "amazon.se (Sweden)",
                "amazon.pl (Poland)",
                "amazon.in (India)",
                "amazon.co.jp (Japan)",
                "amazon.com.au (Australia)",
                "amazon.sg (Singapore)"
              ]
            },
            "default": []
          },
          "includeTitleMatches": {
            "title": "Include title-only matches",
            "type": "boolean",
            "description": "When no barcode or model number confirms the match, still show very close title matches (marked matchType \"title\"; never a Buy verdict).",
            "default": true
          },
          "fulfillment": {
            "title": "How you ship",
            "enum": [
              "FBA",
              "FBM"
            ],
            "type": "string",
            "description": "FBA = Amazon ships (fee estimated from size and weight). FBM = you ship (your shipping cost below).",
            "default": "FBA"
          },
          "extraCostPerUnit": {
            "title": "Extra cost per unit",
            "minimum": 0,
            "type": "number",
            "description": "Prep, labels and shipping to Amazon's warehouse per unit, in your Amazon store's currency.",
            "default": 1
          },
          "fbmShippingCost": {
            "title": "FBM shipping cost per unit",
            "minimum": 0,
            "type": "number",
            "description": "Only for FBM: what you pay to ship one order.",
            "default": 5
          },
          "buyTaxPercent": {
            "title": "Sales tax you pay when buying (%)",
            "minimum": 0,
            "maximum": 50,
            "type": "number",
            "description": "Added to the store price. 0 if you have a resale certificate.",
            "default": 0
          },
          "crossBorderCostPercent": {
            "title": "Import and shipping cost between countries (%)",
            "minimum": 0,
            "maximum": 200,
            "type": "number",
            "description": "Added to prices from other Amazon countries (shipping, duties, card fees).",
            "default": 15
          },
          "referralFeePercent": {
            "title": "Your referral fee (%)",
            "minimum": 0,
            "maximum": 50,
            "type": "number",
            "description": "Leave empty to use Amazon's category rate (most categories 15%, electronics 8%)."
          },
          "fbaFeePerUnit": {
            "title": "Your FBA fee per unit",
            "minimum": 0,
            "type": "number",
            "description": "Leave empty to estimate it from the product's size and weight (Amazon's 2026 US rate card)."
          },
          "vatRegistered": {
            "title": "VAT-registered seller (Europe, UK, Japan, Australia...)",
            "type": "boolean",
            "description": "On: the VAT/GST included in the Amazon price is removed before profit is worked out. No effect on amazon.com and amazon.ca.",
            "default": true
          },
          "minProfit": {
            "title": "Min profit per unit for Buy",
            "type": "number",
            "description": "A product gets the Buy verdict only at or above this profit per unit (your Amazon currency).",
            "default": 3
          },
          "minRoi": {
            "title": "Min ROI (%) for Buy",
            "type": "number",
            "description": "Return on investment = profit / (buy price + extra cost).",
            "default": 30
          },
          "onlyDeals": {
            "title": "Only show Buy and Maybe",
            "type": "boolean",
            "description": "Hide Skip rows from the results (they are still charged as products checked, at the lower price).",
            "default": false
          },
          "minPrice": {
            "title": "Min price of products to check",
            "minimum": 0,
            "type": "number",
            "description": "Skip products on the list cheaper than this (not charged)."
          },
          "maxPrice": {
            "title": "Max price of products to check",
            "minimum": 0,
            "type": "number",
            "description": "Skip products on the list more expensive than this (not charged)."
          },
          "maxConcurrency": {
            "title": "Products checked at the same time",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Higher is faster.",
            "default": 8
          },
          "useResidentialFallback": {
            "title": "Retry blocked Walmart pages on residential IPs",
            "type": "boolean",
            "description": "When Walmart's bot check blocks a page several times, retry it on US residential IPs (included in the price).",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify datacenter proxy works for all three stores and is the default.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}