{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Enrichment – Match Business Lists to Places",
    "description": "Google Maps data enrichment and business lookup: match your business list (CRM export, lead list, stores) to Google Maps places, row by row. A bulk place ID finder with CID, phone, website, rating, reviews, categories, hours and a match confidence. Export to JSON, CSV or Excel, or via API.",
    "version": "1.0",
    "x-build-id": "z0h0VVxUYHSiVMcTI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyscrape~google-maps-enrichment/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyscrape-google-maps-enrichment",
        "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/steadyscrape~google-maps-enrichment/runs": {
      "post": {
        "operationId": "runs-sync-steadyscrape-google-maps-enrichment",
        "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/steadyscrape~google-maps-enrichment/run-sync": {
      "post": {
        "operationId": "run-sync-steadyscrape-google-maps-enrichment",
        "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": {
          "businesses": {
            "title": "Businesses",
            "maxItems": 100000,
            "type": "array",
            "description": "One business per line: its name first, then its address, as you would type it in Google Maps (<code>Joe's Pizza, 7 Carmine St, New York</code>). A phone number or a website in the line (<code>…, +1 212-366-1182, joespizzanyc.com</code>) is checked against the place too; columns pasted from a spreadsheet may be separated by tabs or <code>|</code>. Each line is one row, in this order; a line repeated in the run is looked up and charged once. Up to 100,000 rows per run, together with the dataset below.",
            "items": {
              "type": "string"
            }
          },
          "datasetId": {
            "title": "Or take the businesses from a dataset",
            "type": "string",
            "description": "Pick the dataset of another run or an imported list (a CRM export, a lead list, a store list) and every item is matched. Its columns are found by name (<code>company</code>, <code>name</code>, <code>address</code>, <code>street</code>, <code>city</code>, <code>zip</code>, <code>country</code>, <code>phone</code>, <code>website</code>, <code>lat</code>/<code>lng</code>…) unless you name them below. Each row keeps the whole item in <code>item</code>. Only the dataset you pick here can be read."
          },
          "nameField": {
            "title": "Business name column",
            "type": "string",
            "description": "Found by name when empty: company, company name, business name, organization, account, store, name, title…"
          },
          "addressField": {
            "title": "Street address column",
            "type": "string",
            "description": "Found by name when empty: full address, address, street, address line 1 and 2…"
          },
          "cityField": {
            "title": "City column",
            "type": "string",
            "description": "Found by name when empty: city, town, locality…"
          },
          "postcodeField": {
            "title": "Postcode column",
            "type": "string",
            "description": "Found by name when empty: zip, zip code, postal code, postcode, PLZ, CEP…"
          },
          "countryField": {
            "title": "Country column",
            "type": "string",
            "description": "A country name or two-letter code. Found by name when empty: country, country code…"
          },
          "phoneField": {
            "title": "Phone column",
            "type": "string",
            "description": "Found by name when empty: phone, phone number, telephone, mobile…"
          },
          "websiteField": {
            "title": "Website column",
            "type": "string",
            "description": "Found by name when empty: website, url, domain, homepage…"
          },
          "latitudeField": {
            "title": "Latitude column",
            "type": "string",
            "description": "Found by name when empty: lat or latitude, at the top or inside a location object."
          },
          "longitudeField": {
            "title": "Longitude column",
            "type": "string",
            "description": "Found by name when empty: lng, lon or longitude, at the top or inside a location object."
          },
          "includeDetails": {
            "title": "Include phone, website, rating and hours",
            "type": "boolean",
            "description": "On: each matched place also carries its phone, website, rating, review count, categories, opening hours, open or closed status, claimed status and plus code (place-match-with-details). Off: the place id, CID, Maps link, name, address, coordinates and the match evidence only (place-match, a third of the price).",
            "default": true
          },
          "country": {
            "title": "Country",
            "pattern": "^([A-Za-z]{2})?$",
            "type": "string",
            "description": "Optional two-letter code (<code>us</code>, <code>gb</code>, <code>de</code>…) for lists from one country. Google answers for it, its name is added to rows that do not name their own country, and a place in another country is not taken as the match. Leave empty for lists that span countries (a row's own country column or address still counts)."
          },
          "language": {
            "title": "Language",
            "pattern": "^[a-z]{2}(-[A-Za-z]{2})?$",
            "type": "string",
            "description": "The language of the names, categories and opening hours Google gives back (<code>en</code>, <code>de</code>, <code>es</code>, <code>pt-BR</code>…).",
            "default": "en"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}