{
  "openapi": "3.0.1",
  "info": {
    "title": "App Listing and Change Tracker for Google Play",
    "description": "Android app rating, installs band, version, price and sample reviews in one feed, with a changes-since-last-run mode (rating drop, new version, price change, review spike).",
    "version": "0.1",
    "x-build-id": "LV2Obhu7EHxBtWAr0"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/volutiontech~app-listing-tracker-for-google-play/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-volutiontech-app-listing-tracker-for-google-play",
        "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/volutiontech~app-listing-tracker-for-google-play/runs": {
      "post": {
        "operationId": "runs-sync-volutiontech-app-listing-tracker-for-google-play",
        "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/volutiontech~app-listing-tracker-for-google-play/run-sync": {
      "post": {
        "operationId": "run-sync-volutiontech-app-listing-tracker-for-google-play",
        "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": {
          "apps": {
            "title": "Apps (package names or app links)",
            "type": "array",
            "description": "Package names (for example com.duolingo, the part after id= in the app's Google Play address) or full app page links. One detail row each. Up to 500.",
            "items": {
              "type": "string"
            }
          },
          "developers": {
            "title": "Developer pages (optional)",
            "type": "array",
            "description": "Developer page links (play.google.com/store/apps/dev?id=... or /developer?id=...), numeric developer ids, or developer names. Every app shown on the page is returned as a full row (each one counts as an app row). Up to 25.",
            "items": {
              "type": "string"
            }
          },
          "maxAppsPerDeveloper": {
            "title": "Max apps per developer page",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How many of the apps shown on a developer page to load (1 to 100). Also limits your cost. Google shows only the apps on the first page of the developer listing.",
            "default": 30
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Store country (two-letter code or name, for example us, gb, ae, pk). Price, availability and ratings can differ by country.",
            "default": "us"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language of the listing text (for example en, de, pt-BR).",
            "default": "en"
          },
          "includeReviews": {
            "title": "Include sample reviews",
            "type": "boolean",
            "description": "Also return the reviews that Google shows on each app page for the apps listed under \"Apps\" (about 20, 'most relevant'). Google Play's full review feed is not read, because its robots.txt disallows it.",
            "default": false
          },
          "reviewsPostedWithinDays": {
            "title": "Reviews posted within (days, optional)",
            "minimum": 1,
            "type": "integer",
            "description": "Only sample reviews from the last N days. Leave empty for no date limit."
          },
          "minReviewRating": {
            "title": "Min stars",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Keep reviews with at least this many stars (1 to 5).",
            "default": 1
          },
          "maxReviewRating": {
            "title": "Max stars",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Keep reviews with at most this many stars (1 to 5). Use 1 and 2 to find complaints.",
            "default": 5
          },
          "reviewKeywords": {
            "title": "Review keywords (optional)",
            "type": "array",
            "description": "Keep only reviews that contain one of these words (not case-sensitive), for example crash, login, subscription.",
            "items": {
              "type": "string"
            }
          },
          "ratingDropAlert": {
            "title": "Rating drop alert (stars)",
            "minimum": 0.01,
            "type": "number",
            "description": "Raise the ratingDrop alert when the rating falls by at least this many stars since the last run.",
            "default": 0.1
          },
          "reviewSpikePercent": {
            "title": "Review spike alert (percent)",
            "minimum": 0.1,
            "type": "number",
            "description": "Raise the reviewSpike alert when new ratings since the last run are at least this percent of the earlier total (and at least 20 new ratings).",
            "default": 10
          },
          "onlyChanged": {
            "title": "Only apps that changed",
            "type": "boolean",
            "description": "For scheduled runs: return (and pay for) only apps that are new to this watch or where something changed or an alert fired since the last run of the same input. The first run returns everything.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}