{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Scraper | $1 per 1,000 places",
    "description": "Extract Google Maps business listings — name, address, phone, website,\nrating, coordinates, opening hours and Place ID. No browser, no proxy\nneeded. 190+ places per search, 500 places in under a minute.\nWorks worldwide: tested on Latin, Cyrillic and Thai scripts.",
    "version": "0.0",
    "x-build-id": "IkWElWAjdbjeaC02u"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fancyboeing~my-actor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fancyboeing-my-actor",
        "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/fancyboeing~my-actor/runs": {
      "post": {
        "operationId": "runs-sync-fancyboeing-my-actor",
        "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/fancyboeing~my-actor/run-sync": {
      "post": {
        "operationId": "run-sync-fancyboeing-my-actor",
        "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",
        "required": [
          "maxItemsPerQuery",
          "maxTotalItems"
        ],
        "properties": {
          "searchTerms": {
            "title": "🔍 Search term(s)",
            "type": "array",
            "description": "What you would type into Google Maps — <code>dentist</code>, <code>coffee shop</code>, <code>plumber</code>. One per line.<br><br><b>Leave the city out of the term</b> and put it in Location(s) below. A term that already names a place makes Google search for it twice and return fewer results.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "📍 Location(s)",
            "type": "array",
            "description": "One complete location per line — <code>Prague, Czechia</code>, <code>Brooklyn, New York, USA</code>. Every term is searched in every location, so 3 terms × 4 cities = 12 searches.",
            "items": {
              "type": "string"
            }
          },
          "maxItemsPerQuery": {
            "title": "💯 Max results per search",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Cap per term-and-location combination, enforced in code — the Actor stops the moment it is reached and never bills you for more. Use 20 for a quick test, 500+ for city-scale lead lists.<br><br>Google returns roughly 20 places per request and caps a single search at about 120; split a city into neighbourhoods to go past that.",
            "default": 50
          },
          "maxTotalItems": {
            "title": "🛑 Max results total",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Hard ceiling across every search. <b>This is your spend control.</b> When it is reached, remaining searches are skipped and never billed.",
            "default": 500
          },
          "language": {
            "title": "🌍 Language",
            "enum": [
              "en",
              "cs",
              "sk",
              "de",
              "es",
              "pt",
              "fr",
              "it",
              "nl",
              "pl",
              "ru",
              "uk",
              "kk",
              "tr",
              "ro",
              "hu",
              "el",
              "bg",
              "sr",
              "hr",
              "sv",
              "no",
              "da",
              "fi",
              "et",
              "lv",
              "lt",
              "ar",
              "he",
              "fa",
              "hi",
              "bn",
              "th",
              "vi",
              "id",
              "ms",
              "tl",
              "ja",
              "ko",
              "zh-CN",
              "zh-TW"
            ],
            "type": "string",
            "description": "Interface language Google answers in. It changes names, categories, addresses and the opening-status text — and it also changes which places Google ranks highly, so it is worth matching the local language of the target city.",
            "default": "en"
          },
          "additionalLanguages": {
            "title": "➕ Extra language passes (finds more places)",
            "type": "array",
            "description": "Optional. Runs each search again in these languages — and, crucially, <b>translates the search term</b> rather than only switching the interface language.<br><br>Measured on real runs: a Thai <i>term</i> over Hua Hin returned <b>27% more</b> businesses than English alone, while merely switching the interface language returned <b>zero</b> extra places. Translation is what works.<br><br>Built-in terms cover 12 languages (th, ru, es, de, fr, pt, it, pl, cs, tr, id, vi) for ~50 common business types. A term with no translation is <b>skipped, not repeated</b>, so you never pay for a duplicate pass. Overlap between languages is deduplicated and never billed twice.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "locationBias": {
            "title": "📡 Coordinate bias (optional)",
            "type": "string",
            "description": "Optional <code>latitude,longitude</code> to centre the search, e.g. <code>50.0755,14.4378</code>. Leave empty to let the Location text define the area.",
            "default": ""
          },
          "searchQueries": {
            "title": "🔗 Legacy: combined queries",
            "type": "array",
            "description": "Older single-field format, e.g. <code>coffee shop in Prague</code>. Still works, but Search term + Location returns more places.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "proxyConfiguration": {
            "title": "🌐 Proxy",
            "type": "object",
            "description": "Optional. This Actor sends plain HTTP requests rather than driving a browser, so it works without a proxy at low volume. Enable a proxy for large or repeated runs.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}