{
  "openapi": "3.0.1",
  "info": {
    "title": "OpenStreetMap Points of Interest Scraper",
    "description": "Turn any city into a clean list of places from OpenStreetMap. Pick a place name or a coordinate with a radius, choose from 45 categories, and gather names, addresses, phones, websites, opening hours, and coordinates. Great for lead generation, competitor mapping, and location datasets.",
    "version": "0.1",
    "x-build-id": "2FKQx4c8F66hDMAaq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parseforge~overpass-osm-poi-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parseforge-overpass-osm-poi-scraper",
        "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/parseforge~overpass-osm-poi-scraper/runs": {
      "post": {
        "operationId": "runs-sync-parseforge-overpass-osm-poi-scraper",
        "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/parseforge~overpass-osm-poi-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-parseforge-overpass-osm-poi-scraper",
        "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": {
          "place": {
            "title": "Place",
            "type": "string",
            "description": "City, neighborhood, or area to search, for example 'Berlin, Germany' or 'Manhattan, New York'. Resolved to a map area automatically. Leave empty to search around a coordinate instead."
          },
          "latitude": {
            "title": "Latitude",
            "type": "string",
            "description": "Center latitude when no place is set, for example 52.5174. Used together with longitude and radius."
          },
          "longitude": {
            "title": "Longitude",
            "type": "string",
            "description": "Center longitude when no place is set, for example 13.3951. Used together with latitude and radius."
          },
          "radiusMeters": {
            "title": "Radius (meters)",
            "minimum": 50,
            "maximum": 50000,
            "type": "integer",
            "description": "Search radius around the coordinate, in meters. Only used when searching around a coordinate."
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Types of place to collect. Pick one or more.",
            "items": {
              "type": "string",
              "enum": [
                "restaurant",
                "cafe",
                "bar",
                "pub",
                "fast_food",
                "hotel",
                "guest_house",
                "hostel",
                "pharmacy",
                "hospital",
                "clinic",
                "doctors",
                "dentist",
                "veterinary",
                "bank",
                "atm",
                "fuel",
                "charging_station",
                "parking",
                "school",
                "university",
                "library",
                "police",
                "post_office",
                "place_of_worship",
                "cinema",
                "theatre",
                "supermarket",
                "convenience",
                "bakery",
                "butcher",
                "clothes",
                "hairdresser",
                "beauty",
                "car_repair",
                "car_dealer",
                "furniture",
                "electronics",
                "hardware",
                "florist",
                "gym",
                "park",
                "museum",
                "attraction",
                "gallery"
              ],
              "enumTitles": [
                "Restaurant",
                "Cafe",
                "Bar",
                "Pub",
                "Fast food",
                "Hotel",
                "Guest house",
                "Hostel",
                "Pharmacy",
                "Hospital",
                "Clinic",
                "Doctors",
                "Dentist",
                "Veterinary",
                "Bank",
                "ATM",
                "Fuel station",
                "EV charging",
                "Parking",
                "School",
                "University",
                "Library",
                "Police",
                "Post office",
                "Place of worship",
                "Cinema",
                "Theatre",
                "Supermarket",
                "Convenience store",
                "Bakery",
                "Butcher",
                "Clothes shop",
                "Hairdresser",
                "Beauty salon",
                "Car repair",
                "Car dealer",
                "Furniture shop",
                "Electronics shop",
                "Hardware shop",
                "Florist",
                "Gym",
                "Park",
                "Museum",
                "Tourist attraction",
                "Art gallery"
              ]
            }
          },
          "customFilters": {
            "title": "Custom OSM filters (advanced)",
            "type": "array",
            "description": "Raw OpenStreetMap tag filters, one per line, for example 'amenity=cinema', 'shop=bicycle', or 'office' to match any office. Combined with the categories above.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}