Public API v1
Catalog of flower seed varieties and the US sellers who sell them. Reads are public. Envelope { data, page, meta, error }; page holds next_cursor + has_more, meta holds catalog_seq + generated_at. No prices are published. Every listing carries provenance; every variety and seller carries rating ("not_yet_rated" until real reviews exist). Unknown values are explicit ("unknown" or null). New endpoints (sync, reports) answer errors as application/problem+json. Breaking changes ship as /api/v2.
- Base URL
- https://seeds.hues.flowers/api/v1
- Methods
- GET, HEAD, OPTIONS only — anything else returns 405.
- Rate limit
- 120 requests per minute per IP; 429 with Retry-After when exceeded.
- Caching
- ETag on every GET (send If-None-Match for 304). Catalog version is never cached.
- Pagination
- Opaque cursors: pass meta.nextCursor back as ?cursor=. limit 1–100 (default 24).
Envelope
{ "data": …, "page": { "next_cursor": "…" | null, "has_more": true },
"meta": { "nextCursor": "…" | null, "count": 24, "total": 68, "catalog_seq": 111, "generated_at": "…" }, "error": null }
{ "data": null, "meta": null, "error": { "code": "not_found", "message": "variety not found" } }
// /sync, /reports: application/problem+json
{ "type": "…", "title": "Gone", "status": 410, "detail": "…", "code": "resync_required" }Endpoints
GET/api/v1/crops
All crops with coverage counts
Parameters for /crops Parameter In Type season query cool | warmOnly crops whose crop is a Cool Season Hardy Annual (cool) or a Warm Season Tender Annual (warm). Unclassified crops never match; any other value returns 400. method query arrayOnly crops whose crop can be direct sown (direct) or started indoors and transplanted (trays). Repeat the parameter or comma-separate values; a crop with any selected method matches (a crop with both matches either). Crops without sowing-method data never match; any other value returns 400. life_cycle query arrayOnly crops whose crop is grown as an annual (annual), a biennial (biennial) or a perennial (perennial), as derived from the crop's life_cycle: a "grown as an annual" qualifier puts a tender or short-lived perennial under annual only, and "or" wordings (e.g. "Annual or biennial") count for each habit named. Repeat the parameter or comma-separate values; a crop in any selected bucket matches. Crops without a life cycle never match; any other value returns 400. cursor query stringOpaque cursor from meta.nextCursor. limit query integer (1–100), default 24Out-of-range values are clamped; non-numeric values return 400. GET/api/v1/crops/{slug}
One crop with its series and a page of its varieties
Parameters for /crops/{slug} Parameter In Type slug * path string cursor query stringOpaque cursor from meta.nextCursor. limit query integer (1–100), default 24Out-of-range values are clamped; non-numeric values return 400. GET/api/v1/varieties
Paged varieties
Parameters for /varieties Parameter In Type crop query stringCrop slug (comma-separated for several) series query stringSeries slug (comma-separated for several) color_family query stringHue: white | blush | pink | peach | orange | yellow | red | burgundy | purple | blue | green | chocolate | mix | unknown (comma-separated for several) pollination query stringopen_pollinated | f1_hybrid | unknown (comma-separated for several) season query cool | warmOnly varieties whose crop is a Cool Season Hardy Annual (cool) or a Warm Season Tender Annual (warm). Unclassified crops never match; any other value returns 400. method query arrayOnly varieties whose crop can be direct sown (direct) or started indoors and transplanted (trays). Repeat the parameter or comma-separate values; a crop with any selected method matches (a crop with both matches either). Crops without sowing-method data never match; any other value returns 400. life_cycle query arrayOnly varieties whose crop is grown as an annual (annual), a biennial (biennial) or a perennial (perennial), as derived from the crop's life_cycle: a "grown as an annual" qualifier puts a tender or short-lived perennial under annual only, and "or" wordings (e.g. "Annual or biennial") count for each habit named. Repeat the parameter or comma-separate values; a crop in any selected bucket matches. Crops without a life cycle never match; any other value returns 400. has_listings query boolean in_stock query boolean small_farm query booleantrue = only varieties with at least one listing from a seller carrying the Small farm badge category query stringCategory slug subcategory query stringSubcategory slug seller query stringSeller slug tag query stringTag sort query name | -name | recently_checked | -recently_checked | listing_count | -listing_count cursor query stringOpaque cursor from meta.nextCursor. limit query integer (1–100), default 24Out-of-range values are clamped; non-numeric values return 400. GET/api/v1/varieties/{slug}
One variety: names, facts, rating, listings
Parameters for /varieties/{slug} Parameter In Type slug * path string GET/api/v1/varieties/{slug}/listings
Published listings for a variety
Parameters for /varieties/{slug}/listings Parameter In Type slug * path string availability query stringin_stock | sold_out | preorder | shop_closed | unknown (comma-separated for several) ships_to query stringRegion code (comma-separated for several) small_farm query booleantrue = only listings from sellers carrying the Small farm badge GET/api/v1/series/{slug}
A series with its member varieties
Parameters for /series/{slug} Parameter In Type slug * path string GET/api/v1/sellers
Listed sellers
Parameters for /sellers Parameter In Type region query stringRegion code, e.g. WA (comma-separated for several) q query stringName contains small_farm query booleantrue = only sellers carrying the Small farm badge cursor query stringOpaque cursor from meta.nextCursor. limit query integer (1–100), default 24Out-of-range values are clamped; non-numeric values return 400. GET/api/v1/sellers/{slug}
One seller with profile, rating and listings (410 once removed at its request)
Parameters for /sellers/{slug} Parameter In Type slug * path string GET/api/v1/sellers/{slug}/listings
That seller's listings
Parameters for /sellers/{slug}/listings Parameter In Type slug * path string crop query stringCrop slug (comma-separated for several) availability query stringAvailability (comma-separated for several) GET/api/v1/categories
Categories with subcategories and variety counts
GET/api/v1/categories/{slug}
One category and a page of its varieties
Parameters for /categories/{slug} Parameter In Type slug * path string cursor query stringOpaque cursor from meta.nextCursor. limit query integer (1–100), default 24Out-of-range values are clamped; non-numeric values return 400. GET/api/v1/search
Mixed results: varieties, series, crops, sellers. Two characters search; synonyms match and are flagged (matchedAlias). 60/min/IP.
Parameters for /search Parameter In Type q * query string type query stringvariety | series | crop | seller (comma-separated for several) season query cool | warmOnly crops, series and varieties (sellers are unaffected) whose crop is a Cool Season Hardy Annual (cool) or a Warm Season Tender Annual (warm). Unclassified crops never match; any other value returns 400. method query arrayOnly crops, series and varieties (sellers are unaffected) whose crop can be direct sown (direct) or started indoors and transplanted (trays). Repeat the parameter or comma-separate values; a crop with any selected method matches (a crop with both matches either). Crops without sowing-method data never match; any other value returns 400. color_family query stringOnly varieties of this hue, white | blush | pink | peach | orange | yellow | red | burgundy | purple | blue | green | chocolate | mix (crops, series and sellers are unaffected) (comma-separated for several) limit query integer (1–50), default 10 GET/api/v1/coverage
Per crop: varieties, varieties with sellers, last updated
GET/api/v1/recent
Recently restocked and newly listed
Parameters for /recent Parameter In Type crop query stringCrop slug (comma-separated for several) since query stringISO date limit query integer (1–100), default 24Out-of-range values are clamped; non-numeric values return 400. GET/api/v1/sync/snapshot
The full public catalog for on-device storage. ETag derives from catalog_seq.
GET/api/v1/sync/changes
Upserts and tombstones after a catalog_seq (400 if since is ahead; 410 resync_required if out of range)
Parameters for /sync/changes Parameter In Type since * query integer limit query integer (1–1000), default 500 POST/api/v1/reports
A correction, claim or removal request (3/min/IP; Turnstile token when configured)
GET/api/v1/catalog/version
Current published catalog version (never cached: Cache-Control no-store)
GET/api/v1/catalog/snapshot/{version}.sqlite
Download the published SQLite snapshot of the public catalog tables for a version
Parameters for /catalog/snapshot/{version}.sqlite Parameter In Type version * path integer (1–) GET/api/v1/openapi.json
This OpenAPI 3.1 document
Examples
curl https://seeds.hues.flowers/api/v1/varieties?crop=sweet-pea&limit=5
curl https://seeds.hues.flowers/api/v1/varieties/sweet-pea-kings-ransom
curl "https://seeds.hues.flowers/api/v1/search?q=poppy"
curl https://seeds.hues.flowers/api/v1/catalog/versionNo prices are published. Every listing carries provenance (source_url, retrieved_at, method, confidence); every variety and seller carries a rating that reads “not_yet_rated” until real reviews exist.