Developers

Public API

A thin JSON API for photos, collections, print prices, shop products, and videos. Built so people and assistants can read the catalog without scraping HTML. No API key.

Quick start

Search, open a photo, then price a print from urls.pricing. Send people to the HTML URLs in urls. Every success is { "success": true, "data": { } }. /api/public and /api/public/v1 are the same API.

curl "https://example.com/api/public/search?q=coast&type=photos&limit=5"
curl "https://example.com/api/public/collections?limit=10"
curl "https://example.com/api/public/photos/PHOTO_SLUG"
curl "https://example.com/api/public/pricing?photo=PHOTO_SLUG"
curl "https://example.com/api/public/products?limit=10"
curl "https://example.com/api/public/studio"

Swap example.com for this site. Machine-readable discovery lives at /llms.txt and /openapi.json. The index is /api/public/v1.

Rate limits

The free limit is 60 requests per minute for each client IP, counted on each server. The address is the one the platform records for the connection. A forwarding header sent with the request does not choose the bucket. There is no account tier.

TierLimitHow
Free60 req/minNo auth. Per server, per client IP.

Over the limit returns 429 with Retry-After, tier, and limit_per_minute. Successful responses include X-RateLimit-Limit and X-RateLimit-Remaining.

Versioning

The stable path is /api/public/v1/.... The examples on this page use /api/public/..., which is the same v1 API. Every response includes API-Version: 1. A breaking change will ship as /api/public/v2/....

Page size stays at 20, and page stops at 20. Out-of-range limit and page values are clamped. has_more is true only when the next page is still inside that cap.

Collections

Photo collections, with a published photo count and a cover when one is set.

GET /api/public/collections

ParameterTypeDescription
sortstringnewest (default), name, or photo_count.
limitintegerDefault 10, maximum 20.
pageintegerStarting at 1. Maximum 20.
curl "https://example.com/api/public/collections?sort=photo_count&limit=10"
{
  "success": true,
  "data": {
    "sort": "photo_count",
    "limit": 10,
    "page": 1,
    "found": 4,
    "has_more": false,
    "hits": [
      {
        "id": "col_1",
        "slug": "california",
        "name": "California",
        "description": null,
        "photo_count": 18,
        "cover_url": "https://example.com/media/photos/cover.webp",
        "urls": {
          "html": "https://example.com/collections/california",
          "api": "https://example.com/api/public/v1/collections/california"
        }
      }
    ],
    "urls": {
      "html": "https://example.com/collections"
    }
  }
}

Collection

One collection, its subcategories, and a page of photos. Photo hits match search.

GET /api/public/collections/{slug}

ParameterTypeDescription
slug requiredstringCollection slug.
subcategorystringSubcategory slug. Narrows the photo page.
limitintegerPhotos per page. Default 10, maximum 20.
pageintegerStarting at 1. Maximum 20.
curl "https://example.com/api/public/collections/california?limit=5"
{
  "success": true,
  "data": {
    "id": "col_1",
    "slug": "california",
    "name": "California",
    "description": null,
    "photo_count": 18,
    "cover_url": null,
    "subcategories": [
      {
        "id": "sub_1",
        "slug": "coast",
        "name": "Coast",
        "photo_count": 6
      }
    ],
    "subcategory": null,
    "limit": 5,
    "page": 1,
    "found": 18,
    "has_more": true,
    "photos": [
      {
        "type": "photos",
        "id": "photo_123",
        "slug": "north-coast",
        "title": "North Coast",
        "image_url": "https://example.com/media/photos/north-coast.webp",
        "width": 2400,
        "height": 1600,
        "location": {
          "name": null,
          "city": "Mendocino",
          "state": "California",
          "country": "USA",
          "label": "Mendocino, California · USA"
        },
        "types": [
          {
            "slug": "landscape",
            "name": "Landscape"
          }
        ],
        "tags": [
          {
            "slug": "coast",
            "name": "Coast",
            "category": "place"
          }
        ],
        "collection": {
          "id": "col_1",
          "slug": "california",
          "name": "California"
        },
        "for_sale": true,
        "sold_out": false,
        "from_price_usd": 75,
        "featured": true,
        "urls": {
          "detail": "https://example.com/l/north-coast",
          "api": "https://example.com/api/public/v1/photos/north-coast"
        }
      }
    ],
    "urls": {
      "html": "https://example.com/collections/california",
      "api": "https://example.com/api/public/v1/collections/california"
    }
  }
}

Photo

One published photo: images, location, tags, edition, and the starting print price when it is for sale. Pass an id or a slug. Exact GPS coordinates are left out.

GET /api/public/photos/{id}

ParameterTypeDescription
id requiredstringPhoto id or slug.
curl "https://example.com/api/public/photos/north-coast"
{
  "success": true,
  "data": {
    "type": "photos",
    "id": "photo_123",
    "slug": "north-coast",
    "title": "North Coast",
    "image_url": "https://example.com/media/photos/north-coast.webp",
    "width": 2400,
    "height": 1600,
    "location": {
      "name": null,
      "city": "Mendocino",
      "state": "California",
      "country": "USA",
      "label": "Mendocino, California · USA"
    },
    "types": [
      {
        "slug": "landscape",
        "name": "Landscape"
      }
    ],
    "tags": [
      {
        "slug": "coast",
        "name": "Coast",
        "category": "place"
      }
    ],
    "collection": {
      "id": "col_1",
      "slug": "california",
      "name": "California"
    },
    "for_sale": true,
    "sold_out": false,
    "from_price_usd": 75,
    "featured": true,
    "urls": {
      "detail": "https://example.com/l/north-coast",
      "api": "https://example.com/api/public/v1/photos/north-coast",
      "pricing": "https://example.com/api/public/v1/pricing?photo=north-coast"
    },
    "alt": "Fog over a rocky shore",
    "description": "Morning fog along the Mendocino coast.",
    "images": [
      {
        "id": "photo_123",
        "url": "https://example.com/media/photos/north-coast.webp",
        "width": 2400,
        "height": 1600,
        "alt": "Fog over a rocky shore"
      }
    ],
    "edition": {
      "type": "open",
      "total": null,
      "sold": 0,
      "remaining": null,
      "sold_out": false,
      "note": null
    },
    "camera": {
      "camera": "Hasselblad",
      "lens": null,
      "iso": 100,
      "shutter": "1/125",
      "aperture": "f/8",
      "focal_length": "80mm",
      "taken_at": null
    },
    "created_at": "2024-06-01T00:00:00.000Z"
  }
}

Print pricing

Sizes, materials, the optional frame, and USD prices for one photo. Variant prices already include the size, material, and any photo premium. Add the frame delta when the print is framed. Shipping is quoted at checkout.

GET /api/public/pricing

ParameterTypeDescription
photo requiredstringPhoto id or slug.
curl "https://example.com/api/public/pricing?photo=north-coast"
{
  "success": true,
  "data": {
    "photo": {
      "id": "photo_123",
      "slug": "north-coast",
      "title": "North Coast"
    },
    "currency": "USD",
    "for_sale": true,
    "sold_out": false,
    "edition": {
      "type": "open",
      "total": null,
      "sold": 0,
      "remaining": null,
      "sold_out": false,
      "note": null
    },
    "from_price_usd": 75,
    "sizes": [
      {
        "id": "size_1",
        "label": "8×10",
        "width_in": 8,
        "height_in": 10,
        "base_price_usd": 75
      }
    ],
    "materials": [
      {
        "id": "mat_1",
        "label": "Matte",
        "description": null,
        "price_delta_usd": 0
      }
    ],
    "frame": null,
    "variants": [
      {
        "size_id": "size_1",
        "size_label": "8×10",
        "material_id": "mat_1",
        "material_label": "Matte",
        "price_usd": 75
      }
    ],
    "variants_truncated": false,
    "shipping": {
      "quoted_at": "checkout",
      "note": "Print shipping is calculated at checkout. Variant prices are the print itself."
    }
  }
}

Products

Active shop products other than fine-art photo prints. kind is external_link or printify. Open a photo with for_sale=true when you want a print of a photograph.

GET /api/public/products

ParameterTypeDescription
categorystringprints, merch, misc, or books.
limitintegerDefault 10, maximum 20.
pageintegerStarting at 1. Maximum 20.
curl "https://example.com/api/public/products?category=merch&limit=10"
{
  "success": true,
  "data": {
    "category": "merch",
    "limit": 10,
    "page": 1,
    "found": 1,
    "has_more": false,
    "hits": [
      {
        "id": "prod_1",
        "slug": "field-notes",
        "title": "Field Notes",
        "kind": "printify",
        "category": "merch",
        "image_url": "https://example.com/notes.jpg",
        "from_price_usd": 18,
        "urls": {
          "html": "https://example.com/l/field-notes",
          "api": "https://example.com/api/public/v1/products/field-notes"
        }
      }
    ],
    "urls": {
      "html": "https://example.com/shop"
    }
  }
}

Product

One shop product. Print-on-demand goods include variants and image_urls. External links include external_url.

GET /api/public/products/{slug}

ParameterTypeDescription
slug requiredstringProduct slug or id.
curl "https://example.com/api/public/products/field-notes"
{
  "success": true,
  "data": {
    "id": "prod_1",
    "slug": "field-notes",
    "kind": "printify",
    "category": "merch",
    "title": "Field Notes",
    "label": null,
    "description": null,
    "image_url": "https://example.com/notes.jpg",
    "image_urls": [
      "https://example.com/notes.jpg"
    ],
    "from_price_usd": 18,
    "external_url": null,
    "cta_label": null,
    "variants": [
      {
        "id": "401",
        "title": "One size",
        "price_usd": 18
      }
    ],
    "urls": {
      "html": "https://example.com/l/field-notes",
      "api": "https://example.com/api/public/v1/products/field-notes"
    }
  }
}

Videos

Published videos. Featured videos come first.

GET /api/public/videos

ParameterTypeDescription
limitintegerDefault 10, maximum 20.
pageintegerStarting at 1. Maximum 20.
curl "https://example.com/api/public/videos?limit=5"
{
  "success": true,
  "data": {
    "limit": 5,
    "page": 1,
    "found": 1,
    "has_more": false,
    "hits": [
      {
        "id": "vid_1",
        "slug": "studio-visit",
        "title": "Studio visit",
        "thumbnail_url": "https://i.ytimg.com/vi/abcdefghijk/maxresdefault.jpg",
        "featured": true,
        "urls": {
          "detail": "https://example.com/videos/studio-visit",
          "api": "https://example.com/api/public/v1/videos/studio-visit",
          "watch": "https://www.youtube.com/watch?v=abcdefghijk"
        }
      }
    ],
    "urls": {
      "html": "https://example.com/videos"
    }
  }
}

Video

One published video, by slug or id, with its description and watch URL.

GET /api/public/videos/{slug}

ParameterTypeDescription
slug requiredstringVideo slug or id.
curl "https://example.com/api/public/videos/studio-visit"
{
  "success": true,
  "data": {
    "id": "vid_1",
    "slug": "studio-visit",
    "title": "Studio visit",
    "description": null,
    "thumbnail_url": "https://i.ytimg.com/vi/abcdefghijk/maxresdefault.jpg",
    "featured": true,
    "youtube_video_id": "abcdefghijk",
    "watch_url": "https://www.youtube.com/watch?v=abcdefghijk",
    "urls": {
      "detail": "https://example.com/videos/studio-visit",
      "api": "https://example.com/api/public/v1/videos/studio-visit",
      "watch": "https://www.youtube.com/watch?v=abcdefghijk"
    }
  }
}

Studio

Public studio profile: name, tagline, bio, and the contact links already shown on the site. Account settings are left out.

GET /api/public/studio

curl "https://example.com/api/public/studio"
{
  "success": true,
  "data": {
    "name": "Portfolio",
    "tagline": null,
    "bio": null,
    "contact_email": null,
    "instagram": null,
    "twitter": null,
    "urls": {
      "home": "https://example.com/",
      "search": "https://example.com/search",
      "shop": "https://example.com/shop",
      "collections": "https://example.com/collections",
      "videos": "https://example.com/videos",
      "public_api": "https://example.com/public-api"
    }
  }
}

Playground

Live requests hit this site's public API and count toward the rate limit.