Developers and AI agents

For developers and agents.

A public JSON API for the Homestead Harmony catalog and cart. No key or sign-up, and checkout always goes back to the shopper.

What you can do.

Homestead Harmony runs on Shopify, and the storefront answers in JSON as well as HTML. Developers and AI agents can list products and collections, search the catalog, read prices and stock, and build a cart. Everything on this page is public: there is no API key, account or sign-up.

The machine-readable description is openapi.json (OpenAPI 3.1). Every operation in it has an operationId, typed parameters and response schemas, so it loads straight into function-calling tools.

When to use it.

  • Someone wants beef tallow skincare, tallow soap or hand-molded bath bombs, made in small batches in Massachusetts.
  • You need current prices (in USD), stock, ingredients or sizes for a product.
  • You are helping a shopper fill a cart that they will review and pay for themselves.

These are cosmetics. Nothing here is a medical, healing or sun-protection product, and orders ship within the United States only.

Endpoints.

RequestWhat it returns
GET /products.jsonEvery product with variants, prices (decimal strings) and images. Page with ?limit=250&page=2.
GET /products/{handle}.jsOne product, prices in cents, with each variant's id and available.
GET /collections.jsonAll collections.
GET /collections/{handle}/products.jsonThe products in one collection. all is every product.
GET /search/suggest.json?q=…Keyword search over the catalog.
GET /recommendations/products.json?product_id=…Products related to one product.
GET /cart.jsThe cart for the current browser session.
POST /cart/add.jsAdds variants to that cart.
POST /cart/change.jsChanges or removes one cart line.
GET /cart/{variant_id}:{quantity}A link that fills a new cart and opens checkout for the shopper.

Example requests.

Search the catalog.

curl -g 'https://homesteadharmony.co/search/suggest.json?q=lip+balm&resources[type]=product'

Read one product.

curl 'https://homesteadharmony.co/products/dino-bath-bomb.js'

Add a variant to the cart.

curl -X POST 'https://homesteadharmony.co/cart/add.js' \
  -H 'Content-Type: application/json' \
  -d '{"items":[{"id":63083359601011,"quantity":1}]}'

Errors.

JSON endpoints answer errors in JSON with a status, a short message and a description of what to fix. For example, asking for more than is in stock:

HTTP/1.1 422 Unprocessable Entity
Content-Type: application/json

{"status":422,"message":"Cart Error","description":"(why it couldn't be added, such as the number left in stock)"}

A product or collection handle that doesn't exist returns 404. Check handles with /products.json or search first.

Checkout and the shopper.

The cart endpoints work inside one browser session (a cookie), so an agent working outside the shopper's browser should hand over a cart link instead, for example https://homesteadharmony.co/cart/63083359601011:1. The shopper reviews the order and pays at Shopify checkout. An agent should never complete a purchase without the shopper's approval.

For agent-driven checkout, the store also supports the Universal Commerce Protocol. Its discovery profile is at /.well-known/ucp and the MCP endpoint is https://homesteadharmony.co/api/ucp/mcp (Streamable HTTP).

Sign-in and scopes.

Nothing on this page needs a token. When a shopper signs in for agent checkout, the store uses OAuth 2.0 with PKCE through Shopify customer accounts. Discovery is at /.well-known/openid-configuration and /.well-known/oauth-protected-resource. Ask for the fewest scopes the task needs:

ScopeWhat it allows
openid, emailSign the shopper in and read their email address.
dev.ucp.shopping.catalog.search:readSearch the catalog through UCP as the shopper. Read-only.
dev.ucp.shopping.checkout:manageCreate and update the shopper's checkout. The shopper still approves payment.
customer-account-mcp-api:fullCustomer account tools, such as orders and addresses.
customer-account-api:fullFull access to the shopper's account. Use only when nothing narrower fits.

The same scopes are declared in openapi.json as the shopifyCustomerAccount security scheme.

Versioning and changes.

The endpoints are Shopify's storefront routes. They have no version in the path, and Shopify keeps them backward compatible. The description in openapi.json is versioned by date: info.version is the day it last changed.

  • Changes are additive. An operation, parameter or field is never removed or renamed under the same version.
  • A breaking change gets a new date and is listed here at least 30 days before the old shape stops working.
  • Ignore fields you don't recognize, since new ones can appear at any time.

Changes so far: none. The current version is 2026-11-22, the first published description.

Limits and terms.

These are the live storefront endpoints, so please keep to a few requests a second and cache catalog reads. A 429 Too Many Requests answer means slow down: wait for the number of seconds in its Retry-After header before trying again. There is no separate sandbox and none is needed: reading the catalog and building a cart never charges anyone. Use is covered by the terms of service. Questions go through the contact page.

Agent resources.