Skip to main content gottem  — one API for every scraper.
Photography & Design
Verified

SmugMug Scraper

Extract photo galleries, album structures, photographer portfolios, and print pricing from SmugMug hosted sites. Built on spider-browser .

Get started Docs
target
smugmug.com
success rate
99.9%
latency
~4ms
Quick start

Extract data in minutes.

smugmug-scraper.ts
import { SpiderBrowser } from "spider-browser";

const spider = new SpiderBrowser({
  apiKey: process.env.SPIDER_API_KEY!,
});

await spider.connect();
const page = spider.page!;
await page.goto("https://www.smugmug.com/gallery-collection/");
await page.content();

const data = await page.evaluate(`(() => {
  const galleries = [];
  document.querySelectorAll(".sm-gallery-tile").forEach(el => {
    const title = el.querySelector(".sm-tile-title")?.textContent?.trim();
    const count = el.querySelector(".sm-tile-count")?.textContent?.trim();
    const img = el.querySelector("img")?.getAttribute("src");
    if (title) galleries.push({ title, count, img });
  });
  return JSON.stringify({ total: galleries.length, galleries: galleries.slice(0, 10) });
})()`);

console.log(JSON.parse(data));
await spider.close();
ready to run · spider-browser · TypeScript
Fetch API

One endpoint for smugmug.com.

Structured JSON from smugmug.com with a single POST. AI-resolved selectors, cached on the first call.

POST /fetch/smugmug.com/
Gallery titlePhotographerPhoto countAlbum nameDescriptionPrint prices
cURL
curl -X POST https://api.spider.cloud/fetch/smugmug.com/ \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_format": "json"}'
Python
import requests

resp = requests.post(
    "https://api.spider.cloud/fetch/smugmug.com/",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
    },
    json={"return_format": "json"},
)
print(resp.json())
Node.js
const resp = await fetch("https://api.spider.cloud/fetch/smugmug.com/", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ return_format: "json" }),
});
const data = await resp.json();
console.log(data);
Extraction

Fields you can pull.

Gallery titlePhotographerPhoto countAlbum nameDescriptionPrint prices
Content

Asset metadata

Extract image metadata, tags, and license info from smugmug.com.

Rendering

Gallery handling

Handle masonry grids, lightboxes, and lazy-loaded image galleries.

Scale

Collection scraping

Process entire collections and portfolios with automatic pagination.

Related

More Photography & Design scrapers.

Start

Start scraping smugmug.com.

Grab an API key and call the endpoint above. The first request resolves the config; every request after hits cache.