Price Battle Map
Pricing
Pay per usage
Price Battle Map
Shows where every brand sits on the shelf by price band: crowded bands, open bands, and the same model's price across shops. Reads retailer category pages or the results of other shop scrapers.
Price Battle Map
Pricing
Pay per usage
Shows where every brand sits on the shelf by price band: crowded bands, open bands, and the same model's price across shops. Reads retailer category pages or the results of other shop scrapers.
You can access the Price Battle Map programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in API & Integrations in Apify Console.
{ "openapi": "3.0.1", "info": { "version": "0.0", "x-build-id": "Irl2tDOhcp8tcGw5n" }, "servers": [ { "url": "https://api.apify.com/v2" } ], "paths": { "/acts/eastonkim_praha~price-battle-map/run-sync-get-dataset-items": { "post": { "operationId": "run-sync-get-dataset-items-eastonkim_praha-price-battle-map", "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/eastonkim_praha~price-battle-map/runs": { "post": { "operationId": "runs-sync-eastonkim_praha-price-battle-map", "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/eastonkim_praha~price-battle-map/run-sync": { "post": { "operationId": "run-sync-eastonkim_praha-price-battle-map", "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": "Category pages", "type": "array", "description": "Retailer category pages that list products with prices, for example a mobile phones category.", "items": { "type": "object", "required": [ "url" ], "properties": { "url": { "type": "string", "title": "URL of a web page", "format": "uri" } } } }, "datasets": { "title": "Results from other Actors (optional)", "type": "array", "description": "Datasets produced by shop scrapers from Apify Store, for example an Alza or Allegro scraper. Their products are added to the map." }, "maxPagesPerUrl": { "title": "Max pages per category", "minimum": 1, "maximum": 50, "type": "integer", "description": "How many result pages to read for each category URL.", "default": 5 }, "bandSize": { "title": "Price band size", "minimum": 100, "type": "integer", "description": "Width of one price band, in the shop's currency.", "default": 5000 }, "minPrice": { "title": "Ignore products cheaper than", "minimum": 0, "type": "integer", "description": "Filters out accessories that appear in the category.", "default": 3000 }, "mergeVariants": { "title": "Count colours as one model", "type": "boolean", "description": "The same phone in five colours counts once, at its lowest price.", "default": true }, "excludeUsed": { "title": "Leave out unboxed and used items", "type": "boolean", "description": "Skips listings marked as unboxed, used or refurbished, so the map shows new stock only.", "default": true }, "focusBrand": { "title": "Your brand (optional)", "type": "string", "description": "The report lists price bands where rivals sell and this brand does not." }, "currency": { "title": "Currency label", "type": "string", "description": "Shown in the output. Prices are not converted.", "default": "CZK" }, "brands": { "title": "Brands to recognise (optional)", "type": "array", "description": "Used when the shop does not declare the brand. Leave empty for the built-in list.", "items": { "type": "string" } }, "useApifyProxy": { "title": "Use Apify Proxy", "type": "boolean", "description": "Turn on if the shop refuses the request.", "default": false }, "productSelector": { "title": "Product box CSS selector (advanced)", "type": "string", "description": "Only needed when the shop has no structured product data. Fill all three selectors." }, "nameSelector": { "title": "Name CSS selector (advanced)", "type": "string", "description": "Inside the product box." }, "priceSelector": { "title": "Price CSS selector (advanced)", "type": "string", "description": "Inside the product box." } } }, "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 } } } } } } } } }}OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.
OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.
By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.
You can download the OpenAPI definitions for Price Battle Map from the options below:
If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.
You can also check out our other API clients: