{
  "openapi": "3.0.1",
  "info": {
    "title": "nulled",
    "description": "Scalable Google Maps lead scraper for agencies and growth teams. Extracts clean business data with bulk mode, deduplication, and API-ready datasets. Built for reliable, low-cost lead generation and automation at scale.",
    "version": "0.0",
    "x-build-id": "wgUnsKggaMyOp0ZeH"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cyber_orbit~gmaps-scraper-apify-actor-v-3-bulk-queries-supported/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cyber_orbit-gmaps-scraper-apify-actor-v-3-bulk-queries-supported",
        "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/cyber_orbit~gmaps-scraper-apify-actor-v-3-bulk-queries-supported/runs": {
      "post": {
        "operationId": "runs-sync-cyber_orbit-gmaps-scraper-apify-actor-v-3-bulk-queries-supported",
        "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/cyber_orbit~gmaps-scraper-apify-actor-v-3-bulk-queries-supported/run-sync": {
      "post": {
        "operationId": "run-sync-cyber_orbit-gmaps-scraper-apify-actor-v-3-bulk-queries-supported",
        "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": {
          "mode": {
            "title": "Run mode",
            "enum": [
              "auto",
              "single",
              "bulk"
            ],
            "type": "string",
            "description": "Choose single-query or bulk mode. In 'bulk' mode provide `bulkQueries` (one per line); in 'single' mode provide `keyword` and `location`.",
            "default": "auto"
          },
          "keyword": {
            "title": "Search Keyword",
            "type": "string",
            "description": "What to search for (e.g., 'restaurants', 'plumbers', 'dentists')"
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Where to search (e.g., 'New York, NY', 'Seattle, WA', 'California, United States' or 'United States'). Use city, state, or country formats as desired."
          },
          "locationType": {
            "title": "Location type (optional)",
            "enum": [
              "auto",
              "city",
              "state",
              "country",
              "custom"
            ],
            "type": "string",
            "description": "Optional hint for UI about location granularity. Not required — 'auto' will work with typical city/state/country strings.",
            "default": "auto"
          },
          "maxResults": {
            "title": "Maximum Results",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of results to scrape",
            "default": 50
          },
          "niche": {
            "title": "Niche / Dataset Tag",
            "type": "string",
            "description": "Optional label for this scraping niche, used to group results into a named dataset (e.g., 'coffee-shops')"
          },
          "datasetName": {
            "title": "Dataset Name",
            "type": "string",
            "description": "Optional exact dataset name to save results into. If not set, dataset name is derived from keyword/location or niche."
          },
          "perRunDataset": {
            "title": "Create dataset per run",
            "type": "boolean",
            "description": "If true, a timestamped dataset will be created for this run (useful for snapshots)",
            "default": false
          },
          "dedupEnabled": {
            "title": "Enable deduplication",
            "type": "boolean",
            "description": "When enabled, previously seen leads are skipped according to deduplication scope and strategy.",
            "default": true
          },
          "dedupScope": {
            "title": "Deduplication scope",
            "enum": [
              "dataset",
              "global"
            ],
            "type": "string",
            "description": "Select whether deduplication applies per dataset or globally across all datasets.",
            "default": "dataset"
          },
          "dedupKeyStrategy": {
            "title": "Deduplication key strategy",
            "enum": [
              "place_id",
              "name_address"
            ],
            "type": "string",
            "description": "Primary key used for deduplication. 'place_id' is preferred when available; fallback to 'name_address' otherwise.",
            "default": "place_id"
          },
          "dedupTTLdays": {
            "title": "Deduplication TTL (days)",
            "minimum": 0,
            "type": "integer",
            "description": "Number of days after which seen entries are considered forgotten (0 = never expire)",
            "default": 0
          },
          "dedupAutoAdd": {
            "title": "Automatically add to dedup store",
            "type": "boolean",
            "description": "If true, newly scraped leads will be added to the dedup store automatically.",
            "default": true
          },
          "dedupSkip": {
            "title": "Skip duplicates automatically",
            "type": "boolean",
            "description": "If true, duplicates will be skipped (not saved) automatically. If false, duplicates are flagged in the dataset.",
            "default": true
          },
          "preset": {
            "title": "Preset",
            "enum": [
              "",
              "coffee_seattle",
              "restaurants_nyc",
              "plumbers_chicago",
              "agency_saas_ai",
              "bulk_sample"
            ],
            "type": "string",
            "description": "Optional preset to pre-fill common search inputs (examples: coffee_seattle, restaurants_nyc)",
            "default": ""
          },
          "bulkQueries": {
            "title": "Bulk queries (one per line)",
            "type": "string",
            "description": "Optional multiline input where each line is 'keyword | location | tag(optional)'. The actor will process each line as a separate query.",
            "default": ""
          },
          "autoCreateDatasets": {
            "title": "Auto-create datasets per query",
            "type": "boolean",
            "description": "If true, the actor will create or append to a dataset per query/tag automatically.",
            "default": true
          },
          "datasetNameTemplate": {
            "title": "Dataset name template",
            "type": "string",
            "description": "Template for per-query dataset names. Use {tag}, {keyword}, and {location} placeholders. Default: gmaps-{tag || keyword}-{location}",
            "default": "gmaps-{tag || keyword}-{location}"
          },
          "maxParallelQueries": {
            "title": "Max parallel queries",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum number of queries to process in parallel for a bulk run (useful for efficient compute).",
            "default": 3
          },
          "maxQueriesPerRun": {
            "title": "Max queries per run",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of bulk queries to process in a single run.",
            "default": 200
          },
          "saveRunSummary": {
            "title": "Save run summary",
            "type": "boolean",
            "description": "If true, a run summary (counts and metadata) will be saved to a dedicated dataset and KV store for the run.",
            "default": 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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}