# Atlas Obscura URLs Scraper (`martin0925/scraper-atlas-obscura-urls`) Actor

The Atlas Obscura URLs Scraper extracts links to individual place detail pages from Atlas Obscura's country, region, or city listing pages. This tool is perfect for developers, data analysts, and travel researchers who want to collect structured lists of unique locations.

- **URL**: https://apify.com/martin0925/scraper-atlas-obscura-urls.md
- **Developed by:** [Martin Janeček](https://apify.com/martin0925) (community)
- **Categories:** Travel, Developer tools, Other
- **Stats:** 16 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 🌍 Atlas Obscura URLs Scraper

**The Atlas Obscura URLs Scraper** is an Apify actor that automatically extracts links to individual place detail pages from Atlas Obscura's **country, region, or city listing pages**. This tool is perfect for developers, data analysts, and travel researchers who want to collect structured lists of unique locations. The obtained URLs can be used for further processing, for example for Apify actor Atlas Obscura Location Scraper.

***

### ✅ What It Does

- Starts from a listing page like `/things-to-do/japan/places`
- Automatically paginates using the “Next” button
- Collects all links to `/places/...` detail pages
- Stops once it reaches a specified number (`amount`) or no more pages remain
- Pushes results to a dataset as `{ "url": "..." }`

***

### 📥 Input

```json
{
  "startUrls": [
    { "url": "https://www.atlasobscura.com/things-to-do/czechia/places" }
  ],
  "amount": 75
}
```

#### Input Fields

| Field       | Type                 | Description                                                               |
| ----------- | -------------------- | ------------------------------------------------------------------------- |
| `startUrls` | `array`              | One or more Atlas Obscura *listing pages* to start from                   |
| `amount`    | `integer` (optional) | Maximum number of place URLs to collect. Leave empty to collect them all. |

> ⚠️ Only listing pages are supported. Do not use search results or `/places/...` detail URLs.

***

### 📤 Output

Each item in the dataset is a simple object:

```json
{
  "url": "https://www.atlasobscura.com/places/brno-dragon"
}
```

These URLs are ready to be passed into a detail scraper (e.g., [Atlas Obscura Location Detail Scraper](https://apify.com/martin0925/scraper-atlas-obscura-detail-location-from-url)).

***

### 🌐 Scrape Specific Countries or Cities

Want to gather place URLs for a specific location? Just input its official Atlas Obscura listing page:

#### 🔍 Example Start URLs

| Region        | URL Example                                                 |
| ------------- | ----------------------------------------------------------- |
| Czechia       | `https://www.atlasobscura.com/things-to-do/czechia/places`  |
| Japan         | `https://www.atlasobscura.com/things-to-do/japan/places`    |
| France        | `https://www.atlasobscura.com/things-to-do/france/places`   |
| New York City | `https://www.atlasobscura.com/things-to-do/new-york/places` |

***

### 🔗 Combine with Detail Scraper

Use this actor in combination with the [Atlas Obscura Location Detail Scraper](https://apify.com/martin0925/scraper-atlas-obscura-detail-location-from-url) to extract **full details** from every place URL collected — including:

- Rarity
- Visitor stats
- Coordinates
- Tags
- Images

***

### 💰 Usage & Pricing

Usage of this Apify scraper is available from **5 EUR per month**. With this subscription, you can scrape unlimited amount of URL. A three-day free trial is also available.

***

### 📣 Feedback

I would love to hear from you! If you have any feedback, suggestions, or issues, feel free to reach out. Your input helps me improve the tool and deliver the best experience for all users. Do not hesitate and write me an email in majanez78@gmail.com.

# Actor input Schema

## `startUrls` (type: `array`):

List of URLs to start scraping from.

## `amount` (type: `integer`):

Maximum number of URLs to extract. Leave empty to extract all.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.atlasobscura.com/things-to-do/czechia/places"
    }
  ]
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://www.atlasobscura.com/things-to-do/czechia/places"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("martin0925/scraper-atlas-obscura-urls").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startUrls": [{ "url": "https://www.atlasobscura.com/things-to-do/czechia/places" }] }

# Run the Actor and wait for it to finish
run = client.actor("martin0925/scraper-atlas-obscura-urls").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.atlasobscura.com/things-to-do/czechia/places"
    }
  ]
}' |
apify call martin0925/scraper-atlas-obscura-urls --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,martin0925/scraper-atlas-obscura-urls"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/l6A6P311jwHfs05VE/builds/sgccc76D284p0jlN1/openapi.json
