{"openapi":"3.1.0","info":{"title":"Public-Domain Card and Rule-Set Inventory API","version":"0.1.0","description":"Pay-per-call API (x402, USDC) that lists traditional card decks and game rule sets that are public domain, with what is free and what to watch out for, for game builders. Draft for a human to review; not legal advice.","x-guidance":"Use POST /v1/inventory-search with JSON bodies. Unpaid calls receive HTTP 402 with x402 payment terms. See /llms.txt.","termsOfService":"https://ordstirr.com/agents/terms","contact":{"url":"https://ordstirr.com"}},"servers":[{"url":"https://inventory.ordstirr.com"}],"paths":{"/health":{"get":{"operationId":"health","summary":"Free health check","security":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/v1/inventory-search":{"post":{"operationId":"searchPublicDomainInventory","summary":"Search the public-domain card deck and game rule-set inventory","description":"Send a query, a kind (card_deck or rule_set) or an entry id (at least one). Returns up to 20 matching inventory entries with the public-domain basis, what is free, what to watch out for and a reference. A draft for a human to review; not legal advice. Unpaid calls receive HTTP 402 with x402 payment terms. Invalid input is rejected with HTTP 400 and never charged.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","maxLength":100,"description":"Words to look for (name, alias, tag, place, game), e.g. tarot or whist."},"kind":{"type":"string","enum":["card_deck","rule_set"],"description":"Limit to card decks or rule sets."},"id":{"type":"string","maxLength":60,"description":"Exact entry id, e.g. rules-whist."},"limit":{"type":"integer","minimum":1,"maximum":20,"description":"Max results (default 10)."}},"additionalProperties":false,"anyOf":[{"required":["query"]},{"required":["kind"]},{"required":["id"]}]},"example":{"query":"tarot","limit":2}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object"},"example":{"inventory":{"name":"Ordstirr public-domain card and rule-set inventory","entries":24,"as_of":"2026-11-21","scope":"Reference only: names, dates, status, what is free and what to watch out for. No card art, card text or modern rule-book text is stored or served."},"results":[{"id":"rider-waite-smith","name":"Rider-Waite-Smith tarot (1909)","kind":"card_deck","aliases":["rws","rider waite","waite smith","smith-waite"],"origin":"London, 1909 (artist Pamela Colman Smith, text A. E. Waite)","pd_status":"public domain in the US (published before 1931)","pd_basis":"Published in 1909; US works published before 1931 are public domain. Both creators died long enough ago for life+70 countries as well (Waite 1942, Smith 1951).","what_is_free":"The original 1909 images and Waite's 1910 companion book.","watch_out":"Recoloured, cleaned-up, re-cut or re-named editions and modern guidebooks can be copyrighted, and brand names and clone-deck marks may be trademarks. Work from a 1909-era scan, not a modern edition.","reference":"Rider and Company, London, 1909 deck; Waite, The Pictorial Key to the Tarot (1910)","tags":["tarot","cards","1909","occult","smith","waite"]},{"id":"tarot-marseille","name":"Tarot de Marseille","kind":"card_deck","aliases":["marseilles tarot","conver tarot"],"origin":"France and northern Italy, 17th-18th century","pd_status":"traditional design, public domain","pd_basis":"Woodblock-era designs far past any copyright term.","what_is_free":"The 78-card structure (22 trumps, 56 suit cards) and the old woodblock pattern designs.","watch_out":"Modern restorations and redrawn editions carry their own new copyright. Use an old original as your source, not a recent re-issue.","reference":"Surviving historical decks held by museums and libraries (for example Conver, 1760)","tags":["tarot","cards","trumps","occult","france"]}],"summary":{"matched":3,"returned":2},"disclaimer":"Draft inventory for a human to review. Public-domain status depends on the country and on the exact edition, artwork or text. Trademarks can apply even when copyright has ended. Not legal advice. No match does not mean something is protected.","terms_url":"https://ordstirr.com/agents/terms","notice":"Draft for a human to review, not legal advice. Public-domain status depends on country and edition."}}}},"400":{"description":"Invalid input (never charged)"},"402":{"description":"Payment required (x402). See the PAYMENT-REQUIRED header."},"413":{"description":"Request body too large (never charged)"}}}}}}