{
  "schema": "ordstirr-agent-catalog/1",
  "publisher": "Ordstirr",
  "contact": "https://ordstirr.com",
  "page": "https://ordstirr.com/agents",
  "terms": "https://ordstirr.com/agents/terms",
  "payment": {
    "protocol": "x402",
    "asset": "USDC",
    "network": "eip155:8453 (Base mainnet)",
    "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
    "accounts": "none; no sign-up and no API key"
  },
  "note": "Pay-per-call services for AI agents. Prices are per request. Answers are rule-based and repeatable; nothing here is legal advice. Informational only, as is, no warranty; liability limited to a refund of the price of the call; see the terms of service (terms field). Every response includes terms_url and a one-line notice. Listings marked 'built, not deployed' go live only after the owner approves each deploy; until then the URLs will not answer. Public-Domain Checker v0.1 is live (single check, $0.03); its batch check and receipts are coming. Live Check v0.1.1 is also live ($0.01 per check, $0.04 for a batch of up to 5).",
  "generated_from": "each service's own /openapi.json (code and wrangler.toml production prices)",
  "services": [
    {
      "id": "live-checker",
      "name": "Live Check",
      "status": "live (v0.1.1)",
      "status_detail": "v0.1.1 is live: POST /v1/check ($0.01), POST /v1/check-batch ($0.04 for up to 5), signed receipts, and the free endpoints /health, /openapi.json, /llms.txt, /docs, /.well-known/x402, /v1/sample, /v1/receipts/{request_id} and /.well-known/ordstirr-receipt-keys.json.",
      "terms": "https://ordstirr.com/agents/terms",
      "base_url": "https://live.ordstirr.com",
      "description": "Is this URL live, and is its x402 payment request safe to pay right now? A fresh check from one Cloudflare location: reachability, HTTPS certificate trust and expiry when public logs have it, domain age from RDAP when published, and a sanity check of live x402 payment terms. Returns a live / degraded / down verdict and a safe_to_pay of yes, caution or no, with a signed receipt. Informational only: not a security audit, not a guarantee, and not a statement about the seller's honesty.",
      "free_endpoints": [
        "GET /v1/sample (a real, cached 5-minute check of https://pd.ordstirr.com/v1/check, same fields as a paid /v1/check, plus a signed receipt marked sample:true)",
        "GET /v1/receipts/{request_id} (signed settlement receipt with the payment transaction hash)",
        "GET /.well-known/ordstirr-receipt-keys.json (public Ed25519 receipt keys)",
        "GET /health",
        "GET /openapi.json",
        "GET /llms.txt",
        "GET /docs",
        "GET /.well-known/x402"
      ],
      "endpoints": [
        {
          "method": "POST",
          "path": "/v1/check",
          "url": "https://live.ordstirr.com/v1/check",
          "status": "live (v0.1.1)",
          "operation_id": "checkLiveSafeToPay",
          "summary": "Is this URL live, and is its x402 endpoint safe to pay right now?",
          "description": "Returns a structured verdict (status live / degraded / down, safe_to_pay yes / caution / no or not_applicable, and reasons) plus DNS, HTTP, TLS, domain age, x402 payment-term checks and a signed receipt. Unpaid calls receive HTTP 402 with x402 payment terms. Informational only: not a guarantee.",
          "price_usd": 0.01,
          "price_label": "$0.01",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "url"
            ],
            "properties": {
              "url": {
                "type": "string",
                "format": "uri",
                "description": "Public http(s) URL to check (ports 80/443 only; private, internal and IP-literal hosts are refused)."
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET",
                  "HEAD",
                  "POST"
                ],
                "default": "GET",
                "description": "POST is only allowed with x402:true and sends an empty {} body (the usual way to ask an x402 route for its price)."
              },
              "x402": {
                "type": "boolean",
                "default": false,
                "description": "Treat url as an x402 endpoint: expect an HTTP 402 challenge and judge safe_to_pay."
              },
              "x402_url": {
                "type": "string",
                "format": "uri",
                "description": "Optional separate x402 endpoint to read payment terms from (same safety rules)."
              },
              "x402_method": {
                "type": "string",
                "enum": [
                  "GET",
                  "POST"
                ],
                "default": "GET"
              },
              "expect": {
                "type": "object",
                "additionalProperties": false,
                "description": "Optional. What you expect to pay; mismatches make safe_to_pay 'no'.",
                "properties": {
                  "pay_to": {
                    "type": "string",
                    "description": "Expected payTo address"
                  },
                  "network": {
                    "type": "string",
                    "description": "Expected CAIP-2 network, e.g. eip155:8453"
                  },
                  "max_price_usd": {
                    "type": "string",
                    "description": "Highest acceptable price in USD, e.g. \"0.05\""
                  },
                  "asset": {
                    "type": "string",
                    "description": "Expected asset contract address, or \"USDC\""
                  }
                }
              }
            }
          },
          "example_input": {
            "url": "https://api.example-seller.com/v1/price",
            "method": "POST",
            "x402": true,
            "expect": {
              "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
              "network": "eip155:8453",
              "max_price_usd": "0.05"
            }
          },
          "example_output": {
            "target": {
              "url": "…",
              "final_url": "…",
              "redirects": 0,
              "method": "POST"
            },
            "checked_at": "2026-11-23T18:00:00.000Z",
            "vantage": {
              "provider": "cloudflare",
              "colo": "DFW"
            },
            "verdict": {
              "status": "live",
              "safe_to_pay": "yes",
              "reasons": []
            },
            "dns": {
              "resolved": true,
              "rcode": "NOERROR",
              "a": [
                "…"
              ],
              "aaaa": [],
              "cname": null,
              "dnssec_validated": false,
              "blocked": false
            },
            "http": {
              "up": true,
              "status": 402,
              "latency_ms": 120,
              "total_ms": 121,
              "redirects": 0,
              "chain": [
                {
                  "url": "…",
                  "status": 402,
                  "latency_ms": 120
                }
              ],
              "content_type": "application/json",
              "body_bytes_read": 312,
              "body_sha256_first_64kb": "…"
            },
            "tls": {
              "used": true,
              "trusted": true,
              "cert_not_after": "2027-01-30T23:59:59.000Z",
              "days_left": 68,
              "cert_source": "ct_log_newest_issued"
            },
            "domain": {
              "domain": "example-seller.com",
              "registered": "2019-04-01T00:00:00.000Z",
              "age_days": 2793,
              "source": "rdap"
            },
            "x402": {
              "challenge_valid": true,
              "version": 2,
              "source": "PAYMENT-REQUIRED header",
              "accepts": [
                {
                  "scheme": "exact",
                  "network": "eip155:8453",
                  "asset": "USDC",
                  "price_usd": "0.02",
                  "pay_to": "0x…",
                  "pay_to_format_ok": true,
                  "flags": []
                }
              ],
              "listing": {
                "found": true,
                "pay_to_matches": true
              },
              "expect": {
                "pay_to_matches": true,
                "network_matches": true,
                "price_within_max": true
              }
            },
            "checked": [
              "dns",
              "http",
              "redirects",
              "tls_trust",
              "cert_expiry_ct",
              "domain_age_rdap",
              "x402_challenge",
              "listing_match",
              "buyer_expectation"
            ],
            "not_checked": [
              "paid delivery (we never pay the target)",
              "uptime history",
              "seller identity or honesty",
              "served certificate (CT logs used)",
              "content correctness"
            ],
            "disclaimer": "One unpaid check from one Cloudflare location at the time shown. Informational only: not a security audit, not a guarantee of future availability, and not a statement about the seller's honesty.",
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Informational only, not a security guarantee. Review before relying on it.",
            "receipt": {
              "v": 1,
              "type": "answer",
              "request_id": "00000000-0000-4000-8000-000000000000",
              "tool": "live-checker",
              "tool_version": "0.1.1",
              "route": "POST /v1/check",
              "hash_alg": "sha256",
              "canonicalization": "RFC8785-JCS",
              "signer": {
                "alg": "Ed25519",
                "kid": "live-2026-11",
                "keys_url": "https://live.ordstirr.com/.well-known/ordstirr-receipt-keys.json"
              },
              "signature": "…"
            }
          },
          "errors": {
            "400": "invalid input or refused target (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "429": "rate limited (never charged)",
            "503": "our own check failed (never charged)"
          },
          "sample_call": "curl -i -X POST https://live.ordstirr.com/v1/check -H \"content-type: application/json\" -d '{\"url\":\"https://api.example-seller.com/v1/price\",\"method\":\"POST\",\"x402\":true,\"expect\":{\"pay_to\":\"0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6\",\"network\":\"eip155:8453\",\"max_price_usd\":\"0.05\"}}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically. Every paid 200 includes a signed Ed25519 receipt. A target that is down is a correct, paid answer."
        },
        {
          "method": "POST",
          "path": "/v1/check-batch",
          "url": "https://live.ordstirr.com/v1/check-batch",
          "status": "live (v0.1.1)",
          "operation_id": "checkLiveSafeToPayBatch",
          "summary": "Up to 5 checks in one call",
          "description": "Same checks as /v1/check, up to 5 URLs, one result per item in order, one signed receipt. Unpaid calls receive HTTP 402 with x402 payment terms. Informational only: not a guarantee.",
          "price_usd": 0.04,
          "price_label": "$0.04",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "minItems": 1,
                "maxItems": 5,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "url"
                  ],
                  "properties": {
                    "url": {
                      "type": "string",
                      "format": "uri",
                      "description": "Public http(s) URL to check (ports 80/443 only; private, internal and IP-literal hosts are refused)."
                    },
                    "method": {
                      "type": "string",
                      "enum": [
                        "GET",
                        "HEAD",
                        "POST"
                      ],
                      "default": "GET",
                      "description": "POST is only allowed with x402:true and sends an empty {} body (the usual way to ask an x402 route for its price)."
                    },
                    "x402": {
                      "type": "boolean",
                      "default": false,
                      "description": "Treat url as an x402 endpoint: expect an HTTP 402 challenge and judge safe_to_pay."
                    },
                    "x402_url": {
                      "type": "string",
                      "format": "uri",
                      "description": "Optional separate x402 endpoint to read payment terms from (same safety rules)."
                    },
                    "x402_method": {
                      "type": "string",
                      "enum": [
                        "GET",
                        "POST"
                      ],
                      "default": "GET"
                    },
                    "expect": {
                      "type": "object",
                      "additionalProperties": false,
                      "description": "Optional. What you expect to pay; mismatches make safe_to_pay 'no'.",
                      "properties": {
                        "pay_to": {
                          "type": "string",
                          "description": "Expected payTo address"
                        },
                        "network": {
                          "type": "string",
                          "description": "Expected CAIP-2 network, e.g. eip155:8453"
                        },
                        "max_price_usd": {
                          "type": "string",
                          "description": "Highest acceptable price in USD, e.g. \"0.05\""
                        },
                        "asset": {
                          "type": "string",
                          "description": "Expected asset contract address, or \"USDC\""
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "example_input": {
            "items": [
              {
                "url": "https://example.com/"
              },
              {
                "url": "https://api.example-seller.com/v1/price",
                "method": "POST",
                "x402": true
              }
            ]
          },
          "example_output": {
            "checked_at": "2026-11-23T18:00:00.000Z",
            "count": 2,
            "results": [
              {
                "index": 0,
                "target": {
                  "url": "https://example.com/",
                  "final_url": "https://example.com/",
                  "redirects": 0,
                  "method": "GET"
                },
                "checked_at": "2026-11-23T18:00:00.000Z",
                "vantage": {
                  "provider": "cloudflare",
                  "colo": "DFW"
                },
                "verdict": {
                  "status": "live",
                  "safe_to_pay": "not_applicable",
                  "reasons": []
                },
                "dns": {
                  "resolved": true,
                  "rcode": "NOERROR",
                  "a": [
                    "…"
                  ],
                  "aaaa": [],
                  "cname": null,
                  "dnssec_validated": false,
                  "blocked": false
                },
                "http": {
                  "up": true,
                  "status": 200,
                  "latency_ms": 80,
                  "total_ms": 81,
                  "redirects": 0,
                  "chain": [
                    {
                      "url": "https://example.com/",
                      "status": 200,
                      "latency_ms": 80
                    }
                  ],
                  "content_type": "text/html",
                  "body_bytes_read": 528,
                  "body_sha256_first_64kb": "…"
                },
                "tls": {
                  "used": true,
                  "trusted": true,
                  "cert_not_after": "2027-01-30T23:59:59.000Z",
                  "days_left": 68,
                  "cert_source": "ct_log_newest_issued"
                },
                "domain": {
                  "domain": "example.com",
                  "registered": "1995-08-14T04:00:00.000Z",
                  "age_days": 11424,
                  "source": "rdap"
                },
                "x402": {
                  "challenge_valid": false
                },
                "checked": [
                  "dns",
                  "http",
                  "redirects",
                  "tls_trust",
                  "cert_expiry_ct",
                  "domain_age_rdap"
                ],
                "not_checked": [
                  "paid delivery (we never pay the target)",
                  "uptime history",
                  "seller identity or honesty",
                  "served certificate (CT logs used)",
                  "content correctness",
                  "x402_challenge"
                ]
              },
              {
                "index": 1,
                "target": {
                  "url": "…",
                  "final_url": "…",
                  "redirects": 0,
                  "method": "POST"
                },
                "checked_at": "2026-11-23T18:00:00.000Z",
                "vantage": {
                  "provider": "cloudflare",
                  "colo": "DFW"
                },
                "verdict": {
                  "status": "live",
                  "safe_to_pay": "yes",
                  "reasons": []
                },
                "dns": {
                  "resolved": true,
                  "rcode": "NOERROR",
                  "a": [
                    "…"
                  ],
                  "aaaa": [],
                  "cname": null,
                  "dnssec_validated": false,
                  "blocked": false
                },
                "http": {
                  "up": true,
                  "status": 402,
                  "latency_ms": 120,
                  "total_ms": 121,
                  "redirects": 0,
                  "chain": [
                    {
                      "url": "…",
                      "status": 402,
                      "latency_ms": 120
                    }
                  ],
                  "content_type": "application/json",
                  "body_bytes_read": 312,
                  "body_sha256_first_64kb": "…"
                },
                "tls": {
                  "used": true,
                  "trusted": true,
                  "cert_not_after": "2027-01-30T23:59:59.000Z",
                  "days_left": 68,
                  "cert_source": "ct_log_newest_issued"
                },
                "domain": {
                  "domain": "example-seller.com",
                  "registered": "2019-04-01T00:00:00.000Z",
                  "age_days": 2793,
                  "source": "rdap"
                },
                "x402": {
                  "challenge_valid": true,
                  "version": 2,
                  "source": "PAYMENT-REQUIRED header",
                  "accepts": [
                    {
                      "scheme": "exact",
                      "network": "eip155:8453",
                      "asset": "USDC",
                      "price_usd": "0.02",
                      "pay_to": "0x…",
                      "pay_to_format_ok": true,
                      "flags": []
                    }
                  ],
                  "listing": {
                    "found": true,
                    "pay_to_matches": true
                  },
                  "expect": {
                    "pay_to_matches": true,
                    "network_matches": true,
                    "price_within_max": true
                  }
                },
                "checked": [
                  "dns",
                  "http",
                  "redirects",
                  "tls_trust",
                  "cert_expiry_ct",
                  "domain_age_rdap",
                  "x402_challenge",
                  "listing_match",
                  "buyer_expectation"
                ],
                "not_checked": [
                  "paid delivery (we never pay the target)",
                  "uptime history",
                  "seller identity or honesty",
                  "served certificate (CT logs used)",
                  "content correctness"
                ],
                "disclaimer": "One unpaid check from one Cloudflare location at the time shown. Informational only: not a security audit, not a guarantee of future availability, and not a statement about the seller's honesty."
              }
            ],
            "disclaimer": "One unpaid check from one Cloudflare location at the time shown. Informational only: not a security audit, not a guarantee of future availability, and not a statement about the seller's honesty.",
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Informational only, not a security guarantee. Review before relying on it.",
            "receipt": {
              "v": 1,
              "type": "answer",
              "request_id": "00000000-0000-4000-8000-000000000001",
              "tool": "live-checker",
              "tool_version": "0.1.1",
              "route": "POST /v1/check-batch",
              "hash_alg": "sha256",
              "canonicalization": "RFC8785-JCS",
              "signer": {
                "alg": "Ed25519",
                "kid": "live-2026-11",
                "keys_url": "https://live.ordstirr.com/.well-known/ordstirr-receipt-keys.json"
              },
              "signature": "…"
            }
          },
          "errors": {
            "400": "invalid input or refused target (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "429": "rate limited (never charged)",
            "503": "our own check failed (never charged)"
          },
          "sample_call": "curl -i -X POST https://live.ordstirr.com/v1/check-batch -H \"content-type: application/json\" -d '{\"items\":[{\"url\":\"https://example.com/\"},{\"url\":\"https://api.example-seller.com/v1/price\",\"method\":\"POST\",\"x402\":true}]}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically. Every paid 200 includes a signed Ed25519 receipt. A target that is down is a correct, paid answer."
        }
      ]
    },
    {
      "id": "pd-checker",
      "name": "Public-Domain Checker",
      "status": "live (v0.1)",
      "status_detail": "v0.1 is live: POST /v1/check ($0.03) and the free endpoints /health, /openapi.json, /llms.txt, /docs and /.well-known/x402. The batch check (/v1/check-batch) and signed receipts are coming; until then those do not answer.",
      "terms": "https://ordstirr.com/agents/terms",
      "base_url": "https://pd.ordstirr.com",
      "description": "Is this published work likely public domain in the US? Matches title, author and year against the Stanford/NYPL copyright renewal records and returns a verdict with the rule used. Not legal advice.",
      "free_endpoints": [
        "GET /v1/sample (same fields as a paid /v1/check response, fixed example work; coming, not live in v0.1)",
        "GET /v1/sample-batch (same fields as a paid /v1/check-batch response; coming with the batch check)",
        "GET /health",
        "GET /openapi.json",
        "GET /llms.txt",
        "GET /docs",
        "GET /.well-known/x402"
      ],
      "endpoints": [
        {
          "method": "POST",
          "path": "/v1/check",
          "url": "https://pd.ordstirr.com/v1/check",
          "status": "live (v0.1)",
          "operation_id": "checkCopyrightStatus",
          "summary": "Check the likely U.S. public-domain status of a published work",
          "description": "Returns a structured verdict (status, confidence, rule used, matching renewal records) plus a disclaimer. Unpaid calls receive HTTP 402 with x402 payment terms.",
          "price_usd": 0.03,
          "price_label": "$0.03",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "properties": {
              "title": {
                "type": "string",
                "minLength": 1,
                "maxLength": 300,
                "description": "Title of the work."
              },
              "author": {
                "type": "string",
                "maxLength": 200,
                "description": "Author or creator (recommended; improves match accuracy)."
              },
              "year": {
                "type": "integer",
                "minimum": 1400,
                "description": "Year of first U.S. publication."
              },
              "registration_number": {
                "type": "string",
                "maxLength": 30,
                "description": "Optional original copyright registration number, e.g. A41904."
              },
              "published": {
                "type": "boolean",
                "description": "Optional. Set false if the work was never published (returns needs_human_review, reason unpublished)."
              },
              "first_published_in": {
                "type": "string",
                "maxLength": 60,
                "description": "Optional country of first publication; anything other than the United States returns needs_human_review (reason foreign_work) for works inside the renewal-era window."
              },
              "year_is_approximate": {
                "type": "boolean",
                "description": "Optional. Set true if the year is a best guess; near a rule boundary this returns needs_human_review (reason unclear_date)."
              }
            },
            "required": [
              "title",
              "year"
            ],
            "additionalProperties": false
          },
          "input_example": {
            "title": "The Old Man and the Sea",
            "author": "Ernest Hemingway",
            "year": 1952
          },
          "output_example": {
            "disclaimer": "This is an automated research aid. It is not legal advice and not a certified U.S. Copyright Office search. Verify with the Copyright Office or a lawyer before relying on it.",
            "as_of": "2026-11-21",
            "checked_at": "2026-11-21T16:36:29.323Z",
            "input": {
              "title": "The Old Man and the Sea",
              "author": "Ernest Hemingway",
              "year": 1952
            },
            "rule_cutoff": {
              "public_domain_if_published_before": "1931-01-01",
              "renewal_window": "1931-1963"
            },
            "rule_fired": {
              "id": "renewal_required_cutoff_to_1963",
              "published_year": 1952,
              "statement": "Published 1931-1963 = a renewal had to be filed in year 28 or protection ended; no renewal found means likely public domain, a renewal found means protected for 95 years."
            },
            "sources_searched": [
              {
                "id": "publication_year_rules",
                "name": "U.S. copyright term rules by publication year (built in)",
                "kind": "rule_check",
                "searched": true,
                "coverage": "All publication years",
                "checked_at": "2026-11-21T16:36:29.323Z"
              },
              {
                "id": "nypl-cce-renewals",
                "name": "NYPL Catalog of Copyright Entries renewals dataset (CC0, Copyright Office records)",
                "kind": "record_database",
                "searched": true,
                "coverage": "Renewal records, original registrations from about 1923 to 1963",
                "checked_at": "2026-11-21T16:36:29.323Z"
              }
            ],
            "renewal_record_ids": [
              "R000000"
            ],
            "possible_renewal_record_ids": [],
            "verdict": {
              "status": "likely_under_copyright",
              "certified": false,
              "confidence": "high",
              "rule": "renewal_search",
              "summary": "A renewal record matches (score 1, title author). Works from 1952 that were renewed stay protected for 95 years from publication.",
              "flags": [
                "us_publication_assumed",
                "renewal_found"
              ],
              "review": {
                "needed": false,
                "reason_code": null,
                "reason": null
              },
              "public_domain_on": "2048-01-01",
              "best_match_score": 1
            },
            "matches": [
              {
                "score": 1,
                "title_score": 1,
                "author_score": 1,
                "year_gap": 0,
                "reason": "title_author",
                "registration_number": "A000000",
                "registration_date": "1952-01-01",
                "renewal_id": "R000000",
                "renewal_date": "1980-01-01",
                "title": "The old man and the sea (sample record)",
                "author": "HEMINGWAY, ERNEST (sample)",
                "claimant": "(sample claimant)"
              }
            ],
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Informational only, not legal advice. Review before relying on it."
          },
          "errors": {
            "400": "invalid input (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "503": "service not yet accepting payments"
          },
          "sample_call": "curl -i -X POST https://pd.ordstirr.com/v1/check -H \"content-type: application/json\" -d '{\"title\":\"The Old Man and the Sea\",\"author\":\"Ernest Hemingway\",\"year\":1952}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically."
        },
        {
          "method": "POST",
          "path": "/v1/check-batch",
          "url": "https://pd.ordstirr.com/v1/check-batch",
          "status": "coming, not live yet",
          "operation_id": "checkCopyrightStatusBatch",
          "summary": "Check up to 25 published works in one call",
          "description": "Same verdicts as /v1/check, one per item, in the order sent (each result carries its index). One payment covers the whole batch. If any item is invalid the whole request gets HTTP 400 and nothing is charged. Unpaid calls receive HTTP 402 with x402 payment terms.",
          "price_usd": 0.5,
          "price_label": "$0.50",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "properties": {
              "items": {
                "type": "array",
                "minItems": 1,
                "maxItems": 25,
                "description": "1 to 25 works. Each item has exactly the same fields as POST /v1/check.",
                "items": {
                  "type": "object",
                  "properties": {
                    "title": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 300,
                      "description": "Title of the work."
                    },
                    "author": {
                      "type": "string",
                      "maxLength": 200,
                      "description": "Author or creator (recommended; improves match accuracy)."
                    },
                    "year": {
                      "type": "integer",
                      "minimum": 1400,
                      "description": "Year of first U.S. publication."
                    },
                    "registration_number": {
                      "type": "string",
                      "maxLength": 30,
                      "description": "Optional original copyright registration number, e.g. A41904."
                    },
                    "published": {
                      "type": "boolean",
                      "description": "Optional. Set false if the work was never published (returns needs_human_review, reason unpublished)."
                    },
                    "first_published_in": {
                      "type": "string",
                      "maxLength": 60,
                      "description": "Optional country of first publication; anything other than the United States returns needs_human_review (reason foreign_work) for works inside the renewal-era window."
                    },
                    "year_is_approximate": {
                      "type": "boolean",
                      "description": "Optional. Set true if the year is a best guess; near a rule boundary this returns needs_human_review (reason unclear_date)."
                    }
                  },
                  "required": [
                    "title",
                    "year"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "items"
            ],
            "additionalProperties": false
          },
          "input_example": {
            "items": [
              {
                "title": "The Old Man and the Sea",
                "author": "Ernest Hemingway",
                "year": 1952
              },
              {
                "title": "Strangers on a Train",
                "author": "Patricia Highsmith",
                "year": 1950,
                "registration_number": "A41904"
              }
            ]
          },
          "output_example": {
            "disclaimer": "This is an automated research aid. It is not legal advice and not a certified U.S. Copyright Office search. Verify with the Copyright Office or a lawyer before relying on it.",
            "as_of": "2026-11-21",
            "checked_at": "2026-11-21T16:36:29.323Z",
            "count": 1,
            "results": [
              {
                "index": 0,
                "disclaimer": "This is an automated research aid. It is not legal advice and not a certified U.S. Copyright Office search. Verify with the Copyright Office or a lawyer before relying on it.",
                "as_of": "2026-11-21",
                "checked_at": "2026-11-21T16:36:29.323Z",
                "input": {
                  "title": "The Old Man and the Sea",
                  "author": "Ernest Hemingway",
                  "year": 1952
                },
                "rule_cutoff": {
                  "public_domain_if_published_before": "1931-01-01",
                  "renewal_window": "1931-1963"
                },
                "rule_fired": {
                  "id": "renewal_required_cutoff_to_1963",
                  "published_year": 1952,
                  "statement": "Published 1931-1963 = a renewal had to be filed in year 28 or protection ended; no renewal found means likely public domain, a renewal found means protected for 95 years."
                },
                "sources_searched": [
                  {
                    "id": "publication_year_rules",
                    "name": "U.S. copyright term rules by publication year (built in)",
                    "kind": "rule_check",
                    "searched": true,
                    "coverage": "All publication years",
                    "checked_at": "2026-11-21T16:36:29.323Z"
                  },
                  {
                    "id": "nypl-cce-renewals",
                    "name": "NYPL Catalog of Copyright Entries renewals dataset (CC0, Copyright Office records)",
                    "kind": "record_database",
                    "searched": true,
                    "coverage": "Renewal records, original registrations from about 1923 to 1963",
                    "checked_at": "2026-11-21T16:36:29.323Z"
                  }
                ],
                "renewal_record_ids": [
                  "R000000"
                ],
                "possible_renewal_record_ids": [],
                "verdict": {
                  "status": "likely_under_copyright",
                  "certified": false,
                  "confidence": "high",
                  "rule": "renewal_search",
                  "summary": "A renewal record matches (score 1, title author). Works from 1952 that were renewed stay protected for 95 years from publication.",
                  "flags": [
                    "us_publication_assumed",
                    "renewal_found"
                  ],
                  "review": {
                    "needed": false,
                    "reason_code": null,
                    "reason": null
                  },
                  "public_domain_on": "2048-01-01",
                  "best_match_score": 1
                },
                "matches": [
                  {
                    "score": 1,
                    "title_score": 1,
                    "author_score": 1,
                    "year_gap": 0,
                    "reason": "title_author",
                    "registration_number": "A000000",
                    "registration_date": "1952-01-01",
                    "renewal_id": "R000000",
                    "renewal_date": "1980-01-01",
                    "title": "The old man and the sea (sample record)",
                    "author": "HEMINGWAY, ERNEST (sample)",
                    "claimant": "(sample claimant)"
                  }
                ]
              }
            ],
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Informational only, not legal advice. Review before relying on it."
          },
          "errors": {
            "400": "invalid input (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "503": "service not yet accepting payments"
          },
          "sample_call": "curl -i -X POST https://pd.ordstirr.com/v1/check-batch -H \"content-type: application/json\" -d '{\"items\":[{\"title\":\"The Old Man and the Sea\",\"author\":\"Ernest Hemingway\",\"year\":1952},{\"title\":\"Strangers on a Train\",\"author\":\"Patricia Highsmith\",\"year\":1950,\"registration_number\":\"A41904\"}]}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically."
        }
      ]
    },
    {
      "id": "recipe-parser",
      "name": "Recipe Parser",
      "status": "built, not deployed",
      "terms": "https://ordstirr.com/agents/terms",
      "base_url": "https://recipes.ordstirr.com",
      "description": "Turns plain recipe text into structured ingredients, steps, times and USDA nutrition per serving. Also scales, converts units, and suggests substitutions with a public-domain citation. Rule-based, no AI model.",
      "free_endpoints": [
        "GET /health",
        "GET /openapi.json",
        "GET /llms.txt",
        "GET /docs",
        "GET /.well-known/x402"
      ],
      "endpoints": [
        {
          "method": "POST",
          "path": "/v1/parse",
          "url": "https://recipes.ordstirr.com/v1/parse",
          "operation_id": "parseRecipe",
          "summary": "Parse recipe text into structured ingredients, steps, times and nutrition per serving",
          "description": "Send plain recipe text (up to 20 KB). Returns ingredients (quantity, unit, name, notes), numbered steps with detected times and oven temperatures, prep/cook/total time, servings, and estimated nutrition per serving from USDA SR Legacy + Foundation Foods. No URL fetching, no AI model: rule-based and repeatable. Unpaid calls receive HTTP 402 with x402 payment terms. Invalid input is rejected with HTTP 400 and never charged.",
          "price_usd": 0.03,
          "price_label": "$0.03",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "properties": {
              "text": {
                "type": "string",
                "minLength": 1,
                "maxLength": 20000,
                "description": "Recipe as plain text (max 20,000 bytes UTF-8). Headings like Ingredients / Directions are used when present."
              },
              "servings": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 1000,
                "description": "Optional number of servings. Overrides any 'Serves 4' line in the text; needed for per-serving nutrition if the text does not say."
              }
            },
            "required": [
              "text"
            ],
            "additionalProperties": false
          },
          "input_example": {
            "text": "Pancakes\nServes 4\n\nIngredients\n1 1/2 cups all-purpose flour\n2 tbsp sugar\n1 cup milk\n1 large egg\n\nDirections\n1. Whisk everything together.\n2. Cook on a hot griddle 2 minutes per side.",
            "servings": 4
          },
          "output_example": {
            "title": "Pancakes",
            "servings": {
              "count": 4,
              "source": "request"
            },
            "ingredients": [
              {
                "index": 0,
                "raw": "1 1/2 cups all-purpose flour",
                "quantity": 1.5,
                "unit": "cup",
                "name": "all-purpose flour"
              }
            ],
            "steps": [
              {
                "number": 1,
                "text": "Whisk everything together."
              }
            ],
            "times": {
              "total_minutes": 4,
              "source": "estimated_from_steps"
            },
            "nutrition": {
              "basis": "per_serving",
              "per_serving": {
                "calories_kcal": 240
              }
            },
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Informational estimate, not medical or dietary advice. Review before relying on it."
          },
          "errors": {
            "400": "invalid input (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "503": "service not yet accepting payments"
          },
          "sample_call": "curl -i -X POST https://recipes.ordstirr.com/v1/parse -H \"content-type: application/json\" -d '{\"text\":\"Pancakes\\nServes 4\\n\\nIngredients\\n1 1/2 cups all-purpose flour\\n2 tbsp sugar\\n1 cup milk\\n1 large egg\\n\\nDirections\\n1. Whisk everything together.\\n2. Cook on a hot griddle 2 minutes per side.\",\"servings\":4}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically."
        },
        {
          "method": "POST",
          "path": "/v1/scale",
          "url": "https://recipes.ordstirr.com/v1/scale",
          "operation_id": "scaleRecipe",
          "summary": "Scale a list of recipe ingredient lines by a factor or from one serving count to another",
          "description": "Send ingredient lines (up to 100). Give either `factor`, or `from_servings` and `to_servings`. Returns each line with the new quantity in kitchen fractions. Lines without a quantity (to taste) are passed through unchanged. No nutrition lookup. Unpaid calls receive HTTP 402 with x402 payment terms. Invalid input is rejected with HTTP 400 and never charged.",
          "price_usd": 0.01,
          "price_label": "$0.01",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "properties": {
              "ingredients": {
                "type": "array",
                "minItems": 1,
                "maxItems": 100,
                "items": {
                  "type": "string",
                  "maxLength": 300
                },
                "description": "One ingredient per string, e.g. \"1 1/2 cups flour\"."
              },
              "factor": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 1000,
                "description": "Multiply every quantity by this."
              },
              "from_servings": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 1000
              },
              "to_servings": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 1000
              }
            },
            "required": [
              "ingredients"
            ],
            "additionalProperties": false
          },
          "input_example": {
            "ingredients": [
              "1 1/2 cups all-purpose flour",
              "2 large eggs",
              "salt to taste"
            ],
            "from_servings": 4,
            "to_servings": 6
          },
          "output_example": {
            "factor": 1.5,
            "ingredients": [
              {
                "index": 0,
                "original": "1 1/2 cups all-purpose flour",
                "scaled": "2 1/4 cup all-purpose flour",
                "quantity": 2.25,
                "unit": "cup",
                "name": "all-purpose flour"
              }
            ],
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Informational estimate, not medical or dietary advice. Review before relying on it."
          },
          "errors": {
            "400": "invalid input (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "503": "service not yet accepting payments"
          },
          "sample_call": "curl -i -X POST https://recipes.ordstirr.com/v1/scale -H \"content-type: application/json\" -d '{\"ingredients\":[\"1 1/2 cups all-purpose flour\",\"2 large eggs\",\"salt to taste\"],\"from_servings\":4,\"to_servings\":6}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically."
        },
        {
          "method": "POST",
          "path": "/v1/convert",
          "url": "https://recipes.ordstirr.com/v1/convert",
          "operation_id": "convertCookingUnits",
          "summary": "Convert cooking units: volume, weight and oven temperature (volume to weight needs an ingredient)",
          "description": "Convert between US/metric volume units, between weight units, and between F/C/K temperatures. To go between volume and weight, add `ingredient`; the density comes from that food's USDA portion data (SR Legacy + Foundation Foods, public domain). Use \"°C\"/\"celsius\" for Celsius (\"c\" means cup). Unpaid calls receive HTTP 402 with x402 payment terms. Invalid input is rejected with HTTP 400 and never charged.",
          "price_usd": 0.01,
          "price_label": "$0.01",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "properties": {
              "value": {
                "type": "number",
                "minimum": -1000000,
                "maximum": 1000000
              },
              "from": {
                "type": "string",
                "maxLength": 24,
                "description": "e.g. cup, tbsp, tsp, fl oz, ml, l, pint, quart, gallon, g, kg, oz, lb, F, °C"
              },
              "to": {
                "type": "string",
                "maxLength": 24
              },
              "ingredient": {
                "type": "string",
                "maxLength": 100,
                "description": "Needed only for volume <-> weight, e.g. \"all-purpose flour\"."
              }
            },
            "required": [
              "value",
              "from",
              "to"
            ],
            "additionalProperties": false
          },
          "input_example": {
            "value": 2,
            "from": "cup",
            "to": "g",
            "ingredient": "all-purpose flour"
          },
          "output_example": {
            "value": 2,
            "from": "cup",
            "to": "g",
            "result": 250,
            "method": "volume_to_mass_via_density",
            "ingredient_match": {
              "fdc_id": 169761,
              "description": "Wheat flour, white, all-purpose, enriched, bleached"
            },
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Informational estimate, not medical or dietary advice. Review before relying on it."
          },
          "errors": {
            "400": "invalid input (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "503": "service not yet accepting payments"
          },
          "sample_call": "curl -i -X POST https://recipes.ordstirr.com/v1/convert -H \"content-type: application/json\" -d '{\"value\":2,\"from\":\"cup\",\"to\":\"g\",\"ingredient\":\"all-purpose flour\"}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically."
        },
        {
          "method": "POST",
          "path": "/v1/substitute",
          "url": "https://recipes.ordstirr.com/v1/substitute",
          "operation_id": "substituteIngredient",
          "summary": "Ingredient substitutions with a citation from public-domain sources (Fannie Farmer, 1906)",
          "description": "Look up a replacement for an ingredient. Every suggestion quotes and cites a public-domain source (The Boston Cooking-School Cook Book, Fannie Merritt Farmer, 1906 (copyright 1896-1906)). Covers a small, hand-checked set: cream, baking powder, baking soda and cream of tartar, unsweetened chocolate, mace, nutmeg, butter for frying, bread crumbs, whole wheat flour, milk for hot chocolate. An ingredient with no source-backed answer is a 400 and is not charged. Unpaid calls receive HTTP 402 with x402 payment terms. Invalid input is rejected with HTTP 400 and never charged.",
          "price_usd": 0.01,
          "price_label": "$0.01",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "properties": {
              "ingredient": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80,
                "description": "Ingredient to replace. Covered: cream, baking powder, baking soda and cream of tartar, unsweetened chocolate, mace, nutmeg, butter for frying, bread crumbs, whole wheat flour, milk for hot chocolate."
              },
              "quantity": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 100000,
                "description": "Optional amount of the original; used only where the source supports a ratio."
              },
              "unit": {
                "type": "string",
                "maxLength": 24,
                "description": "Unit of `quantity` (tsp, tbsp, cup, oz, g...)."
              }
            },
            "required": [
              "ingredient"
            ],
            "additionalProperties": false
          },
          "input_example": {
            "ingredient": "baking powder",
            "quantity": 3,
            "unit": "tsp"
          },
          "output_example": {
            "ingredient": "baking powder",
            "suggestions": [
              {
                "substitute": "baking soda + cream of tartar",
                "how": "Mix one part baking soda with two parts cream of tartar",
                "amounts": [
                  {
                    "name": "baking soda",
                    "quantity": 1,
                    "unit": "tsp"
                  }
                ],
                "citation": {
                  "source": "The Boston Cooking-School Cook Book",
                  "chapter": "Chapter IV, Bread and Bread Making"
                }
              }
            ],
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Informational estimate, not medical or dietary advice. Review before relying on it."
          },
          "errors": {
            "400": "invalid input (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "503": "service not yet accepting payments"
          },
          "sample_call": "curl -i -X POST https://recipes.ordstirr.com/v1/substitute -H \"content-type: application/json\" -d '{\"ingredient\":\"baking powder\",\"quantity\":3,\"unit\":\"tsp\"}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically."
        }
      ]
    },
    {
      "id": "mahjong-hand-checker",
      "name": "Mahjong Hand Checker",
      "status": "built, not deployed",
      "terms": "https://ordstirr.com/agents/terms",
      "base_url": "https://mahjong.ordstirr.com",
      "description": "Checks and scores a mahjong hand under Babcock's 1923 Rules for Mah-Jongg (public domain), itemised, with page citations.",
      "free_endpoints": [
        "GET /health",
        "GET /openapi.json",
        "GET /llms.txt",
        "GET /docs",
        "GET /.well-known/x402"
      ],
      "endpoints": [
        {
          "method": "POST",
          "path": "/v1/check-hand",
          "url": "https://mahjong.ordstirr.com/v1/check-hand",
          "operation_id": "checkMahjongHand",
          "summary": "Check a mahjong hand: win or not, shape, waits, shanten and score (Hong Kong, Taiwanese, Riichi shape, Chinese Official shape)",
          "description": "Send a hand as tile codes. If the hand is complete (3n+2 tiles counting melds as 3), returns whether it is a win, every standard split, and a score for Hong Kong (faan) and Taiwanese 16-tile (tai). If it is one tile short (3n+1), returns the winning tiles it waits on. Always returns shanten. Our own rule sets only; no tournament card content. Unpaid calls receive HTTP 402 with x402 payment terms. Invalid input is rejected with HTTP 400 and never charged.",
          "price_usd": 0.02,
          "price_label": "$0.02",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "properties": {
              "rules": {
                "type": "string",
                "enum": [
                  "hk",
                  "tw",
                  "riichi",
                  "mcr"
                ],
                "description": "hk = Hong Kong Old Style (13 tiles), tw = Taiwanese 16-tile, riichi and mcr = shape check only."
              },
              "tiles": {
                "description": "Concealed tiles including the winning tile, as an array [\"1c\",\"2c\"...] or a string \"123c 456b 55d EEE\". 1c-9c characters, 1b-9b bamboo, 1d-9d dots, E S W N winds, Rd Gd Wd dragons.",
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ]
              },
              "melds": {
                "type": "array",
                "maxItems": 5,
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "enum": [
                        "chow",
                        "pung",
                        "kong"
                      ]
                    },
                    "tile": {
                      "type": "string",
                      "description": "chow: its lowest tile"
                    },
                    "concealed": {
                      "type": "boolean",
                      "description": "default false (claimed)"
                    }
                  },
                  "required": [
                    "type",
                    "tile"
                  ],
                  "additionalProperties": false
                }
              },
              "flowers": {
                "type": "array",
                "items": {
                  "type": "string",
                  "description": "F1-F4 flowers, S1-S4 seasons"
                },
                "maxItems": 8
              },
              "winning_tile": {
                "type": "string",
                "description": "The tile that completed the hand (must be among tiles). Needed for single-wait and concealed-pung rules."
              },
              "seat_wind": {
                "enum": [
                  "E",
                  "S",
                  "W",
                  "N"
                ]
              },
              "round_wind": {
                "enum": [
                  "E",
                  "S",
                  "W",
                  "N"
                ]
              },
              "self_drawn": {
                "type": "boolean"
              },
              "last_tile": {
                "type": "boolean"
              },
              "kong_replacement": {
                "type": "boolean"
              },
              "robbed_kong": {
                "type": "boolean"
              },
              "heavenly": {
                "type": "boolean"
              },
              "earthly": {
                "type": "boolean"
              },
              "dealer_streak": {
                "type": "integer",
                "minimum": 0,
                "maximum": 99,
                "description": "Taiwanese: times the dealer has kept the deal"
              }
            },
            "required": [
              "rules",
              "tiles"
            ],
            "additionalProperties": false
          },
          "input_example": {
            "rules": "hk",
            "tiles": "234c 567b 789d 555d 66b",
            "winning_tile": "6b",
            "self_drawn": true,
            "seat_wind": "E",
            "round_wind": "E"
          },
          "output_example": {
            "rules": "hk",
            "rule_name": "Hong Kong Old Style",
            "complete": true,
            "shape": "standard",
            "score": {
              "unit": "faan",
              "total": 3,
              "points": 8,
              "items": [
                {
                  "name": "Self-drawn",
                  "value": 1
                }
              ]
            },
            "waits": null,
            "shanten": -1,
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Informational only. Review before relying on it."
          },
          "errors": {
            "400": "invalid input (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "503": "service not yet accepting payments"
          },
          "sample_call": "curl -i -X POST https://mahjong.ordstirr.com/v1/check-hand -H \"content-type: application/json\" -d '{\"rules\":\"hk\",\"tiles\":\"234c 567b 789d 555d 66b\",\"winning_tile\":\"6b\",\"self_drawn\":true,\"seat_wind\":\"E\",\"round_wind\":\"E\"}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically."
        }
      ]
    },
    {
      "id": "game-rules-engine",
      "name": "Game Rules Engine",
      "status": "built, not deployed",
      "terms": "https://ordstirr.com/agents/terms",
      "base_url": "https://rules.ordstirr.com",
      "description": "A referee for public-domain games: Babcock 1923 mah-jongg scoring and settling, and Linnaeus 1732 Tablut legal moves and move checks.",
      "free_endpoints": [
        "GET /health",
        "GET /openapi.json",
        "GET /llms.txt",
        "GET /docs",
        "GET /.well-known/x402"
      ],
      "endpoints": [
        {
          "method": "POST",
          "path": "/v1/babcock/score",
          "url": "https://rules.ordstirr.com/v1/babcock/score",
          "operation_id": "scoreBabcockMahjongg",
          "summary": "Score a mahjong hand under Babcock's 1923 Rules for Mah-Jongg (public domain), with a page citation for every line",
          "description": "Send the concealed tiles and the sets on the table. For a MAH-JONGG hand (14 tiles, kongs counted as 3) it finds the best legal grouping and scores it by the 1923 Standard Score Sheet: combinations, special bonuses, doublings and the limit. For a hand that did not go out (13 tiles) it re-groups the concealed tiles for the best score, as the book allows, and lists the waits. Every line cites the page of the 1923 book. Unpaid calls receive HTTP 402 with x402 payment terms. Invalid input is rejected with HTTP 400 and never charged.",
          "price_usd": 0.02,
          "price_label": "$0.02",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "properties": {
              "tiles": {
                "description": "Concealed tiles (include the winning tile, even if it was claimed). String \"123c 55d EEE Rd Rd\" or array of codes. 1c-9c characters, 1b-9b bamboo, 1d-9d dots, E S W N winds, Rd Gd Wd dragons (Wd = the blank White Dragon).",
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ]
              },
              "table": {
                "type": "array",
                "maxItems": 4,
                "description": "Sets already on the table before the hand ended.",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "enum": [
                        "chow",
                        "pung",
                        "kong"
                      ]
                    },
                    "tile": {
                      "type": "string",
                      "description": "chow: its lowest tile"
                    },
                    "face_down": {
                      "type": "boolean",
                      "description": "kong only: declared from the wall with one tile face down, scores as concealed (p. 18)"
                    }
                  },
                  "required": [
                    "type",
                    "tile"
                  ],
                  "additionalProperties": false
                }
              },
              "seat_wind": {
                "enum": [
                  "E",
                  "S",
                  "W",
                  "N"
                ],
                "description": "The player's own wind. Default E."
              },
              "mahjong": {
                "type": "boolean",
                "description": "true = this hand went MAH-JONGG (won). Default false."
              },
              "winning_tile": {
                "type": "string",
                "description": "Winner only: the tile that completed the hand (must be in tiles)."
              },
              "win_by": {
                "enum": [
                  "drawn",
                  "discard",
                  "loose_tile",
                  "stolen_fourth"
                ],
                "description": "Winner only: drawn from the wall, claimed discard, loose tile after a kong, or stealing the fourth."
              },
              "last_tile": {
                "type": "boolean",
                "description": "Winner only: won on the last tile drawn from the live wall (win_by must be drawn)."
              },
              "special": {
                "enum": [
                  "heaven",
                  "earth",
                  "lucky_thirteen"
                ],
                "description": "Winner only: Hand From Heaven (East, original 14), Hand From Earth (non-East, East's first discard), Lucky Thirteen."
              },
              "limit": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000000,
                "description": "Score limit, default 300 (p. 29). 0 = no limit."
              }
            },
            "required": [
              "tiles"
            ],
            "additionalProperties": false
          },
          "input_example": {
            "tiles": "Gd Gd Gd Wd Wd EEE 234c",
            "table": [
              {
                "type": "kong",
                "tile": "8d"
              }
            ],
            "seat_wind": "E",
            "mahjong": true,
            "winning_tile": "Gd",
            "win_by": "discard"
          },
          "output_example": {
            "system": "babcock-1923",
            "mahjong": true,
            "points_before_doubling": 42,
            "doubling_factor": 4,
            "score": 168,
            "lines": [
              {
                "what": "Game (MAH-JONGG)",
                "points": 20,
                "cite": "Standard Score Sheet, Special Bonus Scores: Game or MAH-JONGG, p. 35"
              }
            ],
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Informational only. Review before relying on it."
          },
          "errors": {
            "400": "invalid input (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "503": "service not yet accepting payments"
          },
          "sample_call": "curl -i -X POST https://rules.ordstirr.com/v1/babcock/score -H \"content-type: application/json\" -d '{\"tiles\":\"Gd Gd Gd Wd Wd EEE 234c\",\"table\":[{\"type\":\"kong\",\"tile\":\"8d\"}],\"seat_wind\":\"E\",\"mahjong\":true,\"winning_tile\":\"Gd\",\"win_by\":\"discard\"}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically."
        },
        {
          "method": "POST",
          "path": "/v1/babcock/settle",
          "url": "https://rules.ordstirr.com/v1/babcock/settle",
          "operation_id": "settleBabcockHand",
          "summary": "Settle one hand of Babcock 1923 Mah-Jongg: who pays whom, with East paying and receiving double",
          "description": "Send the four players' scores (already limited) and the winner's seat (null for a Draw Game). Returns every payment and each seat's net, following Ch. II pp. 26-28. Unpaid calls receive HTTP 402 with x402 payment terms. Invalid input is rejected with HTTP 400 and never charged.",
          "price_usd": 0.01,
          "price_label": "$0.01",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "properties": {
              "scores": {
                "type": "object",
                "properties": {
                  "E": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "S": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "W": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "N": {
                    "type": "integer",
                    "minimum": 0
                  }
                },
                "required": [
                  "E",
                  "S",
                  "W",
                  "N"
                ],
                "additionalProperties": false
              },
              "winner": {
                "description": "Seat that went MAH-JONGG, or null for a Draw Game.",
                "oneOf": [
                  {
                    "enum": [
                      "E",
                      "S",
                      "W",
                      "N"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "scores",
              "winner"
            ],
            "additionalProperties": false
          },
          "input_example": {
            "scores": {
              "E": 48,
              "S": 16,
              "W": 4,
              "N": 0
            },
            "winner": "E"
          },
          "output_example": {
            "winner": "E",
            "net": {
              "E": 288,
              "S": -68,
              "W": -104,
              "N": -116
            },
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Informational only. Review before relying on it."
          },
          "errors": {
            "400": "invalid input (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "503": "service not yet accepting payments"
          },
          "sample_call": "curl -i -X POST https://rules.ordstirr.com/v1/babcock/settle -H \"content-type: application/json\" -d '{\"scores\":{\"E\":48,\"S\":16,\"W\":4,\"N\":0},\"winner\":\"E\"}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically."
        },
        {
          "method": "POST",
          "path": "/v1/tafl/moves",
          "url": "https://rules.ordstirr.com/v1/tafl/moves",
          "operation_id": "taflLegalMoves",
          "summary": "List every legal move in a Tablut position (Linnaeus 1732, public domain), with the king's open roads (raichi/tuichu)",
          "description": "Send a 9x9 Tablut position and the side to move; optionally one square to list only that piece's moves. Returns the legal moves in a1-i9 notation, counts, and the king's status. Unpaid calls receive HTTP 402 with x402 payment terms. Invalid input is rejected with HTTP 400 and never charged.",
          "price_usd": 0.02,
          "price_label": "$0.02",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "properties": {
              "rules": {
                "enum": [
                  "linnaeus_1811",
                  "linnaeus_latin"
                ],
                "description": "Default linnaeus_1811."
              },
              "board": {
                "description": "\"start\", or 9 rows of 9 (top row = rank 9): M Muscovite, S Swede, K king, \".\" empty. Array of strings or one string with \"/\" between rows.",
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "minItems": 9,
                    "maxItems": 9
                  }
                ]
              },
              "to_move": {
                "enum": [
                  "muscovites",
                  "swedes",
                  "attackers",
                  "defenders"
                ]
              },
              "from": {
                "type": "string",
                "description": "Only moves of the piece on this square, e.g. \"d9\"."
              }
            },
            "required": [
              "board",
              "to_move"
            ],
            "additionalProperties": false
          },
          "input_example": {
            "rules": "linnaeus_1811",
            "board": "start",
            "to_move": "muscovites",
            "from": "d9"
          },
          "output_example": {
            "rules": "linnaeus_1811",
            "to_move": "muscovites",
            "count": 6,
            "moves": [
              "d9-d8",
              "d9-d7",
              "d9-d6",
              "d9-c9",
              "d9-b9",
              "d9-a9"
            ],
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Informational only. Review before relying on it."
          },
          "errors": {
            "400": "invalid input (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "503": "service not yet accepting payments"
          },
          "sample_call": "curl -i -X POST https://rules.ordstirr.com/v1/tafl/moves -H \"content-type: application/json\" -d '{\"rules\":\"linnaeus_1811\",\"board\":\"start\",\"to_move\":\"muscovites\",\"from\":\"d9\"}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically."
        },
        {
          "method": "POST",
          "path": "/v1/tafl/check-move",
          "url": "https://rules.ordstirr.com/v1/tafl/check-move",
          "operation_id": "taflCheckMove",
          "summary": "Referee one Tablut move (Linnaeus 1732, public domain): legal or not and why, captures, king escaped or taken, the board after",
          "description": "Send a 9x9 Tablut position, the side to move and a move like \"e3-c3\". Returns whether it is legal (with the reason if not), the pieces captured, whether the game is over, the king's open roads (raichi/tuichu) and the board after the move, with the law cited. Unpaid calls receive HTTP 402 with x402 payment terms. Invalid input is rejected with HTTP 400 and never charged.",
          "price_usd": 0.02,
          "price_label": "$0.02",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "properties": {
              "rules": {
                "enum": [
                  "linnaeus_1811",
                  "linnaeus_latin"
                ],
                "description": "Default linnaeus_1811."
              },
              "board": {
                "description": "\"start\", or 9 rows of 9 (top row = rank 9): M Muscovite, S Swede, K king, \".\" empty. Array of strings or one string with \"/\" between rows.",
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "minItems": 9,
                    "maxItems": 9
                  }
                ]
              },
              "to_move": {
                "enum": [
                  "muscovites",
                  "swedes",
                  "attackers",
                  "defenders"
                ]
              },
              "move": {
                "type": "string",
                "description": "From-to, e.g. \"d9-d6\" (also \"d9d6\" or \"d9 d6\")."
              }
            },
            "required": [
              "board",
              "to_move",
              "move"
            ],
            "additionalProperties": false
          },
          "input_example": {
            "rules": "linnaeus_1811",
            "board": "start",
            "to_move": "muscovites",
            "move": "d9-d6"
          },
          "output_example": {
            "legal": true,
            "captured": [],
            "game_over": false,
            "next_to_move": "swedes",
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Informational only. Review before relying on it."
          },
          "errors": {
            "400": "invalid input (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "503": "service not yet accepting payments"
          },
          "sample_call": "curl -i -X POST https://rules.ordstirr.com/v1/tafl/check-move -H \"content-type: application/json\" -d '{\"rules\":\"linnaeus_1811\",\"board\":\"start\",\"to_move\":\"muscovites\",\"move\":\"d9-d6\"}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically."
        }
      ]
    },
    {
      "id": "quote-citation",
      "name": "Quote and Citation Checker",
      "status": "built, not deployed",
      "terms": "https://ordstirr.com/agents/terms",
      "base_url": "https://quotes.ordstirr.com",
      "description": "Exact quotations from hosted public-domain texts with citation and file hashes, and a checker that tells an agent whether a quotation really appears word for word. Covers Babcock's 1923 mah-jongg rules and Linnaeus on Tablut. No AI model.",
      "free_endpoints": [
        "GET /health",
        "GET /openapi.json",
        "GET /llms.txt",
        "GET /docs",
        "GET /.well-known/x402"
      ],
      "endpoints": [
        {
          "method": "POST",
          "path": "/v1/quote",
          "url": "https://quotes.ordstirr.com/v1/quote",
          "operation_id": "quotePublicDomainPassage",
          "summary": "Exact quotation from a hosted public-domain text, with citation, source-file hash and excerpt hash",
          "description": "Ask by locator (work + section + paragraph) or by words (query). Returns the passage text exactly as held, a citation (work, edition, chapter, paragraph, printed pages, source URL, licence) and SHA-256 hashes of the source file and of the excerpt. Works: Babcock's Rules for Mah-Jongg (1923, chapters II, IV, V, VI), Linnaeus's Tablut (English 1811, Latin 1889 OCR). A query that matches nothing is rejected with HTTP 400 and never charged. Unpaid calls receive HTTP 402 with x402 payment terms. Invalid input is rejected with HTTP 400 and never charged.",
          "price_usd": 0.02,
          "price_label": "$0.02",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "properties": {
              "work": {
                "type": "string",
                "enum": [
                  "babcock-1923",
                  "linnaeus-tablut-1811",
                  "linnaeus-tablut-latin-1889"
                ],
                "description": "Work id (GET /v1/works). Optional for a query (searches all works); required with paragraph."
              },
              "section": {
                "type": [
                  "string",
                  "integer"
                ],
                "description": "Chapter/section id, e.g. \"4\" or \"IV\". Needed with paragraph for Babcock; optional filter for a query."
              },
              "paragraph": {
                "type": "integer",
                "minimum": 1,
                "description": "1-based paragraph number within the section (use instead of query)."
              },
              "query": {
                "type": "string",
                "minLength": 3,
                "maxLength": 300,
                "description": "Words to find (use instead of paragraph)."
              },
              "max_chars": {
                "type": "integer",
                "minimum": 50,
                "maximum": 1200,
                "default": 600,
                "description": "Longest excerpt to return; cut at a sentence end where possible."
              }
            },
            "additionalProperties": false
          },
          "input_example": {
            "work": "babcock-1923",
            "query": "stealing the fourth to win"
          },
          "output_example": {
            "found": true,
            "mode": "search",
            "match_score": 1,
            "citation": {
              "passage_id": "babcock-1923:2:73",
              "work_id": "babcock-1923",
              "title": "Babcock's Rules for Mah-Jongg: The Red Book of Rules (second edition, revised and enlarged)",
              "author": "Joseph Park Babcock",
              "publisher": "Mah-Jongg Sales Company of America, San Francisco",
              "year": 1923,
              "edition": "1923 second edition",
              "language": "en",
              "ocr": false,
              "section": {
                "id": "2",
                "label": "Chapter II: Rules of Play",
                "printed_pages": "7-30"
              },
              "paragraph": 73,
              "paragraphs_in_section": 138,
              "source_file": "babcock-1923-chapter-2.txt",
              "source_sha256": "e779ed4e3f6f2b815a4c29b1bfef68e46367a873c265f0b7c2e90545fbf415a6",
              "source_url": "https://en.wikisource.org/wiki/Babcock%27s_Rules_for_Mah-Jongg",
              "license": "Public domain in the United States (published 1923; term ended 31 Dec 2018)."
            },
            "excerpt": {
              "text": "Stealing the Fourth to Win: Where a player who, having three of a kind Punged on the Table, declares the fourth one and exposes it on the table with the other three and this fourth one completes the hand of another player, the other player may Pung this tile for MAH-JONGG. This is called Stealing the Fourth to Win and entitles the winning player to a special bonus score of ten points. (See Score Sheet, Page 35.)",
              "char_start": 0,
              "char_end": 415,
              "truncated": false,
              "sha256": "e8279208834f637374e130f6cf73401d70f9210cb926decdec2afc863a43958f"
            },
            "alternates": [
              {
                "passage_id": "babcock-1923:2:74",
                "score": 1,
                "preview": "For example, West has three two's of characters, already Punged and exposed on the table, "
              },
              {
                "passage_id": "babcock-1923:2:76",
                "score": 1,
                "preview": "Where a player fails to declare the fourth for a set of fours, either overlooking it or de"
              },
              {
                "passage_id": "babcock-1923:2:77",
                "score": 1,
                "preview": "Where a discarded tile is Punged by a player for four of a kind, and this discarded tile c"
              }
            ],
            "disclaimer": "Excerpts are verbatim from public-domain source files held by Ordstirr (file hash shown); runs of whitespace are collapsed to one space. Wikisource transcriptions can differ from the printed page and the Latin text is OCR with misreadings. Check the original before quoting in print. Not legal advice.",
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Draft - check each quote against the source before publishing or citing."
          },
          "errors": {
            "400": "invalid input (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "503": "service not yet accepting payments"
          },
          "sample_call": "curl -i -X POST https://quotes.ordstirr.com/v1/quote -H \"content-type: application/json\" -d '{\"work\":\"babcock-1923\",\"query\":\"stealing the fourth to win\"}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically."
        },
        {
          "method": "POST",
          "path": "/v1/verify",
          "url": "https://quotes.ordstirr.com/v1/verify",
          "operation_id": "verifyQuotation",
          "summary": "Check whether a quotation really appears word for word in the hosted public-domain texts",
          "description": "Send a quotation (8 to 2,000 characters). Case, curly quotes, dashes and line breaks are ignored when comparing. Use ... or an ellipsis character to skip words (the pieces must appear in order in one paragraph). Returns verbatim true/false; when true, the exact original wording and where it is. When false, the closest paragraph so the quote can be corrected. Always answers 200 for well-formed input. Unpaid calls receive HTTP 402 with x402 payment terms. Invalid input is rejected with HTTP 400 and never charged.",
          "price_usd": 0.02,
          "price_label": "$0.02",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "properties": {
              "quote": {
                "type": "string",
                "minLength": 8,
                "maxLength": 2000,
                "description": "The quotation to check."
              },
              "work": {
                "type": "string",
                "enum": [
                  "babcock-1923",
                  "linnaeus-tablut-1811",
                  "linnaeus-tablut-latin-1889"
                ],
                "description": "Optional: only check this work."
              },
              "section": {
                "type": [
                  "string",
                  "integer"
                ],
                "description": "Optional: only check this chapter/section (needs work)."
              }
            },
            "required": [
              "quote"
            ],
            "additionalProperties": false
          },
          "input_example": {
            "quote": "Stealing the Fourth to Win: This is fully explained on Page 22",
            "work": "babcock-1923"
          },
          "output_example": {
            "verbatim": true,
            "mode": "exact",
            "matched_text": "Stealing the Fourth to Win: This is fully explained on Page 22",
            "char_start": 0,
            "char_end": 62,
            "matched_sha256": "e31b0558f4a79804449824815beedab6b4a0a40bf16e2889f990b71cdea14ef3",
            "citation": {
              "passage_id": "babcock-1923:5:24",
              "work_id": "babcock-1923",
              "title": "Babcock's Rules for Mah-Jongg: The Red Book of Rules (second edition, revised and enlarged)",
              "author": "Joseph Park Babcock",
              "publisher": "Mah-Jongg Sales Company of America, San Francisco",
              "year": 1923,
              "edition": "1923 second edition",
              "language": "en",
              "ocr": false,
              "section": {
                "id": "5",
                "label": "Chapter V: Aids in Scoring for Mah-Jongg",
                "printed_pages": "38-40"
              },
              "paragraph": 24,
              "paragraphs_in_section": 25,
              "source_file": "babcock-1923-chapter-5.txt",
              "source_sha256": "fa3a6c1c184deeb213c55cf1dec97453ceeb36cab2a2b8d1169224f92ae0289c",
              "source_url": "https://en.wikisource.org/wiki/Babcock%27s_Rules_for_Mah-Jongg",
              "license": "Public domain in the United States (published 1923; term ended 31 Dec 2018)."
            },
            "closest": null,
            "note": "Compared without regard to case, curly quotes, dashes or line breaks. matched_text is the exact wording held in the source.",
            "disclaimer": "Excerpts are verbatim from public-domain source files held by Ordstirr (file hash shown); runs of whitespace are collapsed to one space. Wikisource transcriptions can differ from the printed page and the Latin text is OCR with misreadings. Check the original before quoting in print. Not legal advice.",
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Draft - check each quote against the source before publishing or citing."
          },
          "errors": {
            "400": "invalid input (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "503": "service not yet accepting payments"
          },
          "sample_call": "curl -i -X POST https://quotes.ordstirr.com/v1/verify -H \"content-type: application/json\" -d '{\"quote\":\"Stealing the Fourth to Win: This is fully explained on Page 22\",\"work\":\"babcock-1923\"}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically."
        }
      ]
    },
    {
      "id": "play-data-safety-mapper",
      "name": "Play Data Safety Mapper",
      "status": "built, not deployed",
      "terms": "https://ordstirr.com/agents/terms",
      "base_url": "https://datasafety.ordstirr.com",
      "description": "Turns an app's permissions, SDKs and data uses into a DRAFT Google Play Data Safety form answer set. A draft for a human to review, not legal advice. Rule-based, no AI model.",
      "free_endpoints": [
        "GET /health",
        "GET /openapi.json",
        "GET /llms.txt",
        "GET /docs",
        "GET /.well-known/x402"
      ],
      "endpoints": [
        {
          "method": "POST",
          "path": "/v1/map-data-safety",
          "url": "https://datasafety.ordstirr.com/v1/map-data-safety",
          "operation_id": "mapPlayDataSafety",
          "summary": "Draft Google Play Data safety answers and privacy-policy clauses from an Android app's permissions, SDKs and declared data",
          "description": "Send the Android permissions, SDK names and (optionally) what your app sends off the device. Returns a DRAFT Data safety mapping: which data types are collected or shared, purposes, security-practice answers, questions a human must settle, and draft privacy-policy sentences. Every answer is a draft for a human to review; it is not legal advice. Unpaid calls receive HTTP 402 with x402 payment terms. Invalid input is rejected with HTTP 400 and never charged.",
          "price_usd": 0.05,
          "price_label": "$0.05",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "properties": {
              "app_name": {
                "type": "string",
                "maxLength": 100
              },
              "permissions": {
                "type": "array",
                "maxItems": 120,
                "items": {
                  "type": "string",
                  "description": "Android permission, full (android.permission.CAMERA) or short (CAMERA)"
                }
              },
              "sdks": {
                "type": "array",
                "maxItems": 60,
                "items": {
                  "type": "string",
                  "enum": [
                    "admob",
                    "firebase_analytics",
                    "firebase_crashlytics",
                    "firebase_auth",
                    "firebase_messaging",
                    "google_sign_in",
                    "play_billing",
                    "play_integrity",
                    "facebook_sdk",
                    "sentry",
                    "onesignal",
                    "appsflyer",
                    "adjust",
                    "google_maps",
                    "mapbox"
                  ]
                },
                "description": "Known SDK ids"
              },
              "off_device": {
                "description": "What leaves the device: \"none\" (everything stays on the phone), \"all\" (everything the permissions allow is sent), \"unknown\" (default; the answer is marked confirm), or an array of data type ids (or categories such as \"location\").",
                "oneOf": [
                  {
                    "enum": [
                      "none",
                      "all",
                      "unknown"
                    ]
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "location.approx",
                        "location.precise",
                        "personal.name",
                        "personal.email",
                        "personal.user_ids",
                        "personal.address",
                        "personal.phone",
                        "personal.race",
                        "personal.political_religious",
                        "personal.sexual_orientation",
                        "personal.other",
                        "financial.payment_info",
                        "financial.purchase_history",
                        "financial.credit_info",
                        "financial.other",
                        "health.health_info",
                        "health.fitness_info",
                        "messages.emails",
                        "messages.sms_mms",
                        "messages.in_app",
                        "photos_videos.photos",
                        "photos_videos.videos",
                        "audio.voice_sound",
                        "audio.music",
                        "audio.other",
                        "files_docs.files",
                        "calendar.events",
                        "contacts.contacts",
                        "activity.app_interactions",
                        "activity.search_history",
                        "activity.installed_apps",
                        "activity.user_content",
                        "activity.other_actions",
                        "web.browsing_history",
                        "perf.crash_logs",
                        "perf.diagnostics",
                        "perf.other",
                        "device.ids"
                      ]
                    }
                  }
                ]
              },
              "features": {
                "type": "object",
                "properties": {
                  "has_accounts": {
                    "type": "boolean"
                  },
                  "ads": {
                    "type": "boolean"
                  },
                  "analytics": {
                    "type": "boolean"
                  },
                  "crash_reporting": {
                    "type": "boolean"
                  },
                  "in_app_purchases": {
                    "type": "boolean"
                  },
                  "user_generated_content": {
                    "type": "boolean"
                  },
                  "encrypted_in_transit": {
                    "type": "boolean"
                  },
                  "deletion_available": {
                    "type": "boolean"
                  },
                  "targets_children": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "collected_data": {
                "type": "array",
                "maxItems": 40,
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "location.approx",
                        "location.precise",
                        "personal.name",
                        "personal.email",
                        "personal.user_ids",
                        "personal.address",
                        "personal.phone",
                        "personal.race",
                        "personal.political_religious",
                        "personal.sexual_orientation",
                        "personal.other",
                        "financial.payment_info",
                        "financial.purchase_history",
                        "financial.credit_info",
                        "financial.other",
                        "health.health_info",
                        "health.fitness_info",
                        "messages.emails",
                        "messages.sms_mms",
                        "messages.in_app",
                        "photos_videos.photos",
                        "photos_videos.videos",
                        "audio.voice_sound",
                        "audio.music",
                        "audio.other",
                        "files_docs.files",
                        "calendar.events",
                        "contacts.contacts",
                        "activity.app_interactions",
                        "activity.search_history",
                        "activity.installed_apps",
                        "activity.user_content",
                        "activity.other_actions",
                        "web.browsing_history",
                        "perf.crash_logs",
                        "perf.diagnostics",
                        "perf.other",
                        "device.ids"
                      ]
                    },
                    "shared": {
                      "type": "boolean"
                    },
                    "purposes": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "enum": [
                          "app_functionality",
                          "analytics",
                          "developer_communications",
                          "advertising",
                          "fraud_security",
                          "personalization",
                          "account_management"
                        ]
                      }
                    },
                    "optional": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "permissions"
            ],
            "additionalProperties": false
          },
          "input_example": {
            "app_name": "Example Timer",
            "permissions": [
              "android.permission.INTERNET",
              "android.permission.VIBRATE",
              "com.google.android.gms.permission.AD_ID"
            ],
            "sdks": [
              "admob"
            ],
            "off_device": "none",
            "features": {
              "encrypted_in_transit": true,
              "deletion_available": false
            }
          },
          "output_example": {
            "draft_only": true,
            "summary": {
              "collects_or_shares_user_data": true,
              "collected_types": [
                "Device or other IDs"
              ],
              "shared_types": [
                "Device or other IDs"
              ],
              "needs_confirmation": []
            },
            "data_types": [
              {
                "id": "device.ids",
                "category": "Device or other IDs",
                "data_type": "Device or other IDs",
                "collected": true,
                "shared": true,
                "purposes": [
                  "Advertising or marketing"
                ]
              }
            ],
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Draft - review before submitting to Google Play. Not legal or compliance advice."
          },
          "errors": {
            "400": "invalid input (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "503": "service not yet accepting payments"
          },
          "sample_call": "curl -i -X POST https://datasafety.ordstirr.com/v1/map-data-safety -H \"content-type: application/json\" -d '{\"app_name\":\"Example Timer\",\"permissions\":[\"android.permission.INTERNET\",\"android.permission.VIBRATE\",\"com.google.android.gms.permission.AD_ID\"],\"sdks\":[\"admob\"],\"off_device\":\"none\",\"features\":{\"encrypted_in_transit\":true,\"deletion_available\":false}}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically."
        }
      ]
    },
    {
      "id": "receipt-to-ledger",
      "name": "Receipt to Ledger",
      "status": "built, not deployed",
      "terms": "https://ordstirr.com/agents/terms",
      "base_url": "https://receipts.ordstirr.com",
      "description": "Turns messy receipt text into ledger-ready JSON (vendor, date, total, tax, category). Strips card, account and SSN numbers; stores nothing but a hash. Rule-based, no AI model.",
      "free_endpoints": [
        "GET /health",
        "GET /openapi.json",
        "GET /llms.txt",
        "GET /docs",
        "GET /.well-known/x402"
      ],
      "endpoints": [
        {
          "method": "POST",
          "path": "/v1/parse-receipt",
          "url": "https://receipts.ordstirr.com/v1/parse-receipt",
          "operation_id": "parseReceiptToLedger",
          "summary": "Turn messy receipt text into ledger JSON (merchant, date, items, tax, tip, total, category, balanced entry) with card and account numbers stripped",
          "description": "Send the text of one receipt. Returns merchant, date, line items, subtotal, tax, tip, total, arithmetic checks, a suggested category and a balanced ledger entry. Card, account and Social Security numbers (plus emails and phone numbers) are removed before parsing and never returned. Suggestions are drafts for a person to confirm. Unpaid calls receive HTTP 402 with x402 payment terms. Invalid input is rejected with HTTP 400 and never charged.",
          "price_usd": 0.03,
          "price_label": "$0.03",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "properties": {
              "text": {
                "type": "string",
                "maxLength": 6000,
                "description": "The receipt as plain text, one line per line item. Amounts need cents (12.50)."
              },
              "currency": {
                "type": "string",
                "pattern": "^[A-Z]{3}$",
                "description": "ISO code; default is guessed from the symbols (USD if none)."
              },
              "year_hint": {
                "type": "integer",
                "minimum": 1990,
                "maximum": 2100,
                "description": "Year to use for dates printed without a year."
              },
              "date_order": {
                "enum": [
                  "mdy",
                  "dmy"
                ],
                "description": "How to read ambiguous 03/04/2026. Default mdy (US)."
              },
              "split_tax": {
                "type": "boolean",
                "description": "Post sales tax to its own account. Default false."
              },
              "payment_account": {
                "type": "string",
                "maxLength": 60,
                "description": "Ledger account to credit. Default is guessed from the payment method."
              },
              "expense_account": {
                "type": "string",
                "maxLength": 60,
                "description": "Ledger account to debit. Default Expenses:<suggested category>."
              }
            },
            "required": [
              "text"
            ],
            "additionalProperties": false
          },
          "input_example": {
            "text": "SHELL OIL 57444\n123 Main St\n11/20/2026 08:15\nUnleaded 12.500 gal  41.25\nTax 0.00\nTOTAL 41.25\nVISA ************1234\n",
            "split_tax": false
          },
          "output_example": {
            "merchant": "Shell Oil 57444",
            "date": "2026-11-20",
            "currency": "USD",
            "total_cents": 4125,
            "total": "41.25",
            "payment_method": "visa",
            "suggested_category": "Fuel",
            "ledger_entry": {
              "date": "2026-11-20",
              "payee": "Shell Oil 57444",
              "kind": "purchase",
              "postings": [
                {
                  "account": "Expenses:Fuel",
                  "amount_cents": 4125,
                  "amount": "41.25"
                },
                {
                  "account": "Liabilities:CreditCard",
                  "amount_cents": -4125,
                  "amount": "-41.25"
                }
              ],
              "balanced": true
            },
            "confidence": "high",
            "redactions": {
              "card_numbers": 1,
              "ssn": 0,
              "account_numbers": 0,
              "emails": 0,
              "phones": 0
            },
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Draft - review before filing or booking. Not tax or accounting advice."
          },
          "errors": {
            "400": "invalid input (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "503": "service not yet accepting payments"
          },
          "sample_call": "curl -i -X POST https://receipts.ordstirr.com/v1/parse-receipt -H \"content-type: application/json\" -d '{\"text\":\"SHELL OIL 57444\\n123 Main St\\n11/20/2026 08:15\\nUnleaded 12.500 gal  41.25\\nTax 0.00\\nTOTAL 41.25\\nVISA ************1234\\n\",\"split_tax\":false}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically."
        }
      ]
    },
    {
      "id": "contrast-checker",
      "name": "Colorblind-Safe Contrast Checker",
      "status": "built, not deployed",
      "terms": "https://ordstirr.com/agents/terms",
      "base_url": "https://contrast.ordstirr.com",
      "description": "Checks colour pairs against WCAG contrast levels and tests whether they still work with red-green, blue-yellow and total colour blindness; flags palette colours that are hard to tell apart. Plain arithmetic, no AI model; not a certified audit.",
      "free_endpoints": [
        "GET /health",
        "GET /openapi.json",
        "GET /llms.txt",
        "GET /docs",
        "GET /.well-known/x402"
      ],
      "endpoints": [
        {
          "method": "POST",
          "path": "/v1/check-contrast",
          "url": "https://contrast.ordstirr.com/v1/check-contrast",
          "operation_id": "checkColourContrast",
          "summary": "Check colour pairs for WCAG contrast and colour-blind safety, and a palette for colours that are hard to tell apart",
          "description": "Send foreground/background hex pairs and/or a palette of hex colours. Returns contrast ratios with AA/AAA results, the same checks under protanopia, deuteranopia, tritanopia and achromatopsia, and any palette colours that are hard to tell apart. Automated guidance, not a certified audit. Unpaid calls receive HTTP 402 with x402 payment terms. Invalid input is rejected with HTTP 400 and never charged.",
          "price_usd": 0.01,
          "price_label": "$0.01",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "properties": {
              "pairs": {
                "type": "array",
                "maxItems": 20,
                "description": "Colour pairs to check.",
                "items": {
                  "type": "object",
                  "properties": {
                    "foreground": {
                      "type": "string",
                      "pattern": "^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$"
                    },
                    "background": {
                      "type": "string",
                      "pattern": "^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$"
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 40
                    }
                  },
                  "required": [
                    "foreground",
                    "background"
                  ],
                  "additionalProperties": false
                }
              },
              "palette": {
                "type": "array",
                "maxItems": 12,
                "description": "Hex colours that must be told apart from each other (for charts, status colours, game pieces).",
                "items": {
                  "type": "string",
                  "pattern": "^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$"
                }
              },
              "simulate": {
                "type": "boolean",
                "description": "Include the colour-blindness checks. Default true."
              }
            },
            "additionalProperties": false
          },
          "input_example": {
            "pairs": [
              {
                "foreground": "#777777",
                "background": "#FFFFFF",
                "label": "grey body text"
              }
            ],
            "palette": [
              "#D55E00",
              "#009E73",
              "#0072B2"
            ]
          },
          "output_example": {
            "pairs": [
              {
                "label": "grey body text",
                "foreground": "#777777",
                "background": "#FFFFFF",
                "ratio": 4.47,
                "normal_text_AA": false,
                "normal_text_AAA": false,
                "large_text_AA": true,
                "large_text_AAA": false,
                "ui_and_graphics_AA": true
              }
            ],
            "palette": {
              "colours": [
                "#D55E00",
                "#009E73",
                "#0072B2"
              ],
              "confusable_pairs": [],
              "colourblind_safe": true
            },
            "summary": {
              "pairs_checked": 1,
              "pairs_failing_normal_text_AA": 1,
              "palette_colourblind_safe": true
            },
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Informational only, not a certified accessibility audit. Review before relying on it."
          },
          "errors": {
            "400": "invalid input (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "503": "service not yet accepting payments"
          },
          "sample_call": "curl -i -X POST https://contrast.ordstirr.com/v1/check-contrast -H \"content-type: application/json\" -d '{\"pairs\":[{\"foreground\":\"#777777\",\"background\":\"#FFFFFF\",\"label\":\"grey body text\"}],\"palette\":[\"#D55E00\",\"#009E73\",\"#0072B2\"]}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically."
        }
      ]
    },
    {
      "id": "data-cleaner",
      "name": "Small-Payload Data Cleaner",
      "status": "built, not deployed",
      "terms": "https://ordstirr.com/agents/terms",
      "base_url": "https://clean.ordstirr.com",
      "description": "Cleans a small CSV or JSON table: tidy headers, ISO dates, real numbers and currency, empty values, yes/no columns and duplicate rows, and lists every cell it changed or could not read. Up to 200 rows and 30 columns. Rule-based, no AI model.",
      "free_endpoints": [
        "GET /health",
        "GET /openapi.json",
        "GET /llms.txt",
        "GET /docs",
        "GET /.well-known/x402"
      ],
      "endpoints": [
        {
          "method": "POST",
          "path": "/v1/clean-data",
          "url": "https://clean.ordstirr.com/v1/clean-data",
          "operation_id": "cleanSmallTable",
          "summary": "Clean a small CSV or JSON table: headers, ISO dates, numbers, empties, duplicate rows, with a list of every issue",
          "description": "Send \"csv\" (text with a header row) or \"rows\" (array of objects), up to 200 rows and 30 columns. Returns cleaned rows, a type per column, and an issues list with the original text of anything it changed or could not read. Optional date_order (auto, mdy, dmy), dedupe, has_header, delimiter. Automated cleaning, check the issues before relying on it. Unpaid calls receive HTTP 402 with x402 payment terms. Invalid input is rejected with HTTP 400 and never charged.",
          "price_usd": 0.02,
          "price_label": "$0.02",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "properties": {
              "csv": {
                "type": "string",
                "maxLength": 14000,
                "description": "CSV text, first line is the header (unless has_header is false). Delimiter is detected (comma, semicolon, tab, pipe)."
              },
              "rows": {
                "type": "array",
                "maxItems": 200,
                "description": "Alternative to csv: array of flat objects with string, number, boolean or null values.",
                "items": {
                  "type": "object"
                }
              },
              "has_header": {
                "type": "boolean",
                "description": "CSV only. Default true."
              },
              "delimiter": {
                "type": "string",
                "maxLength": 1,
                "description": "CSV only. One character; default is detected."
              },
              "date_order": {
                "type": "string",
                "enum": [
                  "auto",
                  "mdy",
                  "dmy"
                ],
                "description": "How to read dates like 03/04/2024. Default auto: decided from the column, month-first if there is no evidence."
              },
              "dedupe": {
                "type": "boolean",
                "description": "Remove rows that repeat an earlier row. Default false (they are only reported)."
              }
            },
            "additionalProperties": false
          },
          "input_example": {
            "csv": "Order #, Order Date ,Total,Paid?\n1001,03/14/2024,\"$1,234.50\",Yes\n1002,3/15/24,$99.00,no\n1002,3/15/24,$99.00,no\n1003,N/A,(12.00),yes"
          },
          "output_example": {
            "headers": [
              {
                "original": "Order #",
                "name": "order_number"
              },
              {
                "original": " Order Date ",
                "name": "order_date"
              },
              {
                "original": "Total",
                "name": "total"
              },
              {
                "original": "Paid?",
                "name": "paid"
              }
            ],
            "columns": [
              {
                "name": "order_number",
                "type": "number",
                "non_null": 4,
                "nulls": 0,
                "notes": []
              },
              {
                "name": "order_date",
                "type": "date",
                "non_null": 3,
                "nulls": 1,
                "notes": [
                  "two_digit_years: 00-69 read as 2000s, 70-99 as 1900s",
                  "1 placeholder value(s) such as N/A or \"-\" became null"
                ]
              },
              {
                "name": "total",
                "type": "currency",
                "unit": "USD",
                "non_null": 4,
                "nulls": 0,
                "notes": []
              },
              {
                "name": "paid",
                "type": "boolean",
                "non_null": 4,
                "nulls": 0,
                "notes": []
              }
            ],
            "rows": [
              {
                "order_number": 1001,
                "order_date": "2024-03-14",
                "total": 1234.5,
                "paid": true
              },
              {
                "order_number": 1002,
                "order_date": "2024-03-15",
                "total": 99,
                "paid": false
              },
              {
                "order_number": 1002,
                "order_date": "2024-03-15",
                "total": 99,
                "paid": false
              },
              {
                "order_number": 1003,
                "order_date": null,
                "total": -12,
                "paid": true
              }
            ],
            "issues": [
              {
                "row": null,
                "column": null,
                "original": null,
                "code": "duplicate_rows",
                "detail": "1 row(s) repeat an earlier row (data rows 3). They were kept; send dedupe true to remove them."
              }
            ],
            "issues_total": 1,
            "issues_truncated": false,
            "summary": {
              "rows_in": 4,
              "rows_out": 4,
              "columns": 4,
              "duplicate_rows": 1,
              "cells_changed": 12,
              "nulls": 1,
              "delimiter": ","
            },
            "options_used": {
              "date_order": "auto",
              "dedupe": false,
              "has_header": true
            },
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Informational only, not a certified accessibility audit. Review before relying on it."
          },
          "errors": {
            "400": "invalid input (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "503": "service not yet accepting payments"
          },
          "sample_call": "curl -i -X POST https://clean.ordstirr.com/v1/clean-data -H \"content-type: application/json\" -d '{\"csv\":\"Order #, Order Date ,Total,Paid?\\n1001,03/14/2024,\\\"$1,234.50\\\",Yes\\n1002,3/15/24,$99.00,no\\n1002,3/15/24,$99.00,no\\n1003,N/A,(12.00),yes\"}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically."
        }
      ]
    },
    {
      "id": "word-list-check",
      "name": "Word-List Check",
      "status": "built, not deployed",
      "terms": "https://ordstirr.com/agents/terms",
      "base_url": "https://words.ordstirr.com",
      "description": "Tells an agent whether words are in the public-domain ENABLE word list (172,823 words), up to 100 per call, with a reason for each refusal. Not the official list of any game (no NWL, OWL or Collins). Plain lookup, no AI model.",
      "free_endpoints": [
        "GET /health",
        "GET /openapi.json",
        "GET /llms.txt",
        "GET /docs",
        "GET /.well-known/x402"
      ],
      "endpoints": [
        {
          "method": "POST",
          "path": "/v1/check-words",
          "url": "https://words.ordstirr.com/v1/check-words",
          "operation_id": "checkWordsInList",
          "summary": "Check whether words are in the public-domain ENABLE word list",
          "description": "Send up to 100 words. Returns valid true/false for each word against the ENABLE word list (public domain), with a reason for refused words and the list's credit. Not the official list of any game. Unpaid calls receive HTTP 402 with x402 payment terms. Invalid input is rejected with HTTP 400 and never charged.",
          "price_usd": 0.005,
          "price_label": "$0.005",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "properties": {
              "words": {
                "type": "array",
                "minItems": 1,
                "maxItems": 100,
                "description": "Words to check, letters a-z only (case ignored).",
                "items": {
                  "type": "string",
                  "maxLength": 30
                }
              }
            },
            "required": [
              "words"
            ],
            "additionalProperties": false
          },
          "input_example": {
            "words": [
              "quixotic",
              "zax",
              "xyzzy"
            ]
          },
          "output_example": {
            "list": {
              "name": "ENABLE (Enhanced North American Benchmark LExicon)",
              "words": 172823,
              "licence": "public domain",
              "credit": "Compiled by Alan Beale and M. Cooper",
              "not_used": "NWL, OWL, OSPD, TWL and Collins are proprietary and are not used"
            },
            "results": [
              {
                "word": "quixotic",
                "valid": true
              },
              {
                "word": "zax",
                "valid": true
              },
              {
                "word": "xyzzy",
                "valid": false,
                "reason": "not in the ENABLE list"
              }
            ],
            "summary": {
              "words_checked": 3,
              "valid": 2,
              "not_valid": 1
            },
            "disclaimer": "Answers show only whether a word is in the ENABLE list. A game or tournament may use a different list; this is not the official word list of any game.",
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Informational only, not an official game or tournament ruling. Review before relying on it."
          },
          "errors": {
            "400": "invalid input (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "503": "service not yet accepting payments"
          },
          "sample_call": "curl -i -X POST https://words.ordstirr.com/v1/check-words -H \"content-type: application/json\" -d '{\"words\":[\"quixotic\",\"zax\",\"xyzzy\"]}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically."
        }
      ]
    },
    {
      "id": "notation-parser",
      "name": "Notation Parser",
      "status": "built, not deployed",
      "terms": "https://ordstirr.com/agents/terms",
      "base_url": "https://notation.ordstirr.com",
      "description": "Reads compact game notation into structured JSON: mah-jongg hands (tile codes after Babcock 1923), 9x9 Tablut boards (Linnaeus 1732 layout) and playing cards, with warnings for oddities. Reads notation only; no legality check or scoring, and not an official notation standard. Rule-based, no AI model.",
      "free_endpoints": [
        "GET /health",
        "GET /openapi.json",
        "GET /llms.txt",
        "GET /docs",
        "GET /.well-known/x402"
      ],
      "endpoints": [
        {
          "method": "POST",
          "path": "/v1/parse-notation",
          "url": "https://notation.ordstirr.com/v1/parse-notation",
          "operation_id": "parseGameNotation",
          "summary": "Read mah-jongg hand, Tablut board or playing-card notation into structured JSON",
          "description": "Send a kind (mahjong-hand, tafl-board or playing-cards) and the notation as text (or an array of codes; for tafl-board, \"start\", 9 row strings, or one string with / between rows). Returns named pieces, counts, a canonical compact form and warnings. Reads notation only: it does not check legality, score, or referee. Not an official notation standard of any game. Unpaid calls receive HTTP 402 with x402 payment terms. Invalid input is rejected with HTTP 400 and never charged.",
          "price_usd": 0.01,
          "price_label": "$0.01",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "enum": [
                  "mahjong-hand",
                  "tafl-board",
                  "playing-cards"
                ],
                "description": "What the notation is."
              },
              "text": {
                "description": "The notation. A string (max 400 characters) or an array of codes/rows. Mahjong: \"123c 55d EEE RdRd\". Tafl: \"start\" or 9 rows of 9 joined with \"/\". Cards: \"As 10h Kd\".",
                "oneOf": [
                  {
                    "type": "string",
                    "maxLength": 400
                  },
                  {
                    "type": "array",
                    "maxItems": 80,
                    "items": {
                      "type": "string",
                      "maxLength": 40
                    }
                  }
                ]
              }
            },
            "required": [
              "kind",
              "text"
            ],
            "additionalProperties": false
          },
          "input_example": {
            "kind": "mahjong-hand",
            "text": "123c 55d EEE RdRd F1"
          },
          "output_example": {
            "kind": "mahjong-hand",
            "tiles": [
              {
                "code": "1c",
                "name": "1 Characters",
                "group": "characters"
              },
              {
                "code": "2c",
                "name": "2 Characters",
                "group": "characters"
              },
              {
                "code": "3c",
                "name": "3 Characters",
                "group": "characters"
              }
            ],
            "tile_count": 11,
            "playing_tile_count": 10,
            "bonus_tile_count": 1,
            "compact": "123c 55d EEE RdRd F1",
            "counts": {
              "1c": 1,
              "2c": 1,
              "3c": 1,
              "5d": 2,
              "E": 3,
              "Rd": 2,
              "F1": 1
            },
            "by_group": {
              "characters": 3,
              "bamboo": 0,
              "dots": 2,
              "winds": 3,
              "dragons": 2,
              "flowers": 1,
              "seasons": 0
            },
            "honour_tiles": 5,
            "warnings": [],
            "tile_codes": "1c-9c characters, 1b-9b bamboo, 1d-9d dots, E S W N winds, Rd Gd Wd dragons, F1-F4 flowers, S1-S4 seasons (S alone is South).",
            "note": "Reads notation only: it does not check that a hand, board or deal is legal, score it, or referee a move. The codes are Ordstirr's own documented conventions (tile names after Babcock 1923, board after Linnaeus 1732, standard 52-card deck); this is not an official notation standard of any game.",
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Informational only, not an official notation standard or game ruling. Review before relying on it."
          },
          "errors": {
            "400": "invalid input (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "503": "service not yet accepting payments"
          },
          "sample_call": "curl -i -X POST https://notation.ordstirr.com/v1/parse-notation -H \"content-type: application/json\" -d '{\"kind\":\"mahjong-hand\",\"text\":\"123c 55d EEE RdRd F1\"}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically."
        }
      ]
    },
    {
      "id": "pd-inventory",
      "name": "Public-Domain Card and Rule-Set Inventory",
      "status": "built, not deployed",
      "terms": "https://ordstirr.com/agents/terms",
      "base_url": "https://inventory.ordstirr.com",
      "description": "Searches a curated reference list of 24 traditional card decks and game rule sets (tarot, 52-card deck, chess, whist, mah-jongg, tablut and more) with the public-domain basis, what is free, what to watch out for and a reference. Reference only: no card art or copyrighted text. A draft for a human to review, not legal advice. Rule-based, no AI model.",
      "free_endpoints": [
        "GET /health",
        "GET /openapi.json",
        "GET /llms.txt",
        "GET /docs",
        "GET /.well-known/x402"
      ],
      "endpoints": [
        {
          "method": "POST",
          "path": "/v1/inventory-search",
          "url": "https://inventory.ordstirr.com/v1/inventory-search",
          "operation_id": "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.",
          "price_usd": 0.05,
          "price_label": "$0.05",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_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"
                ]
              }
            ]
          },
          "input_example": {
            "query": "tarot",
            "limit": 2
          },
          "output_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."
          },
          "errors": {
            "400": "invalid input (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "503": "service not yet accepting payments"
          },
          "sample_call": "curl -i -X POST https://inventory.ordstirr.com/v1/inventory-search -H \"content-type: application/json\" -d '{\"query\":\"tarot\",\"limit\":2}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically."
        }
      ]
    },
    {
      "id": "firearms-reference",
      "name": "U.S. Federal Firearms Regulation Reference",
      "status": "built, not deployed",
      "terms": "https://ordstirr.com/agents/terms",
      "base_url": "https://firearms.ordstirr.com",
      "description": "Searches a curated reference list of 24 U.S. federal firearms statutes, regulations, agency policies and Supreme Court decisions, each with a short summary, a source citation and link, and a source date. Reference only: not legal advice, federal law only, and personal \"is it legal for me\" questions are refused. Rule-based, no AI model.",
      "free_endpoints": [
        "GET /health",
        "GET /openapi.json",
        "GET /llms.txt",
        "GET /docs",
        "GET /.well-known/x402"
      ],
      "endpoints": [
        {
          "method": "POST",
          "path": "/v1/regulation-search",
          "url": "https://firearms.ordstirr.com/v1/regulation-search",
          "operation_id": "searchFirearmsRegulationReference",
          "summary": "Search the U.S. federal firearms regulation reference (not legal advice)",
          "description": "Send a query, a kind (statute, regulation, court_decision or agency_policy) or an entry id (at least one). Returns up to 10 matching reference entries, each with a short summary, a source citation, a source link, a source date and a review date. Reference only; not legal advice; U.S. federal law only. Unpaid calls receive HTTP 402 with x402 payment terms. Invalid input is rejected with HTTP 400 and never charged.",
          "price_usd": 0.03,
          "price_label": "$0.03",
          "currency": "USDC",
          "network": "eip155:8453",
          "pay_to": "0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6",
          "payment_protocol": "x402",
          "input_schema": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string",
                "maxLength": 100,
                "description": "Words to look for (topic, section, case name), e.g. suppressor or 922(g)."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "statute",
                  "regulation",
                  "court_decision",
                  "agency_policy"
                ],
                "description": "Limit to statutes, regulations, court decisions or agency policies."
              },
              "id": {
                "type": "string",
                "maxLength": 60,
                "description": "Exact entry id, e.g. nfa-1934."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 10,
                "description": "Max results (default 5)."
              }
            },
            "additionalProperties": false,
            "anyOf": [
              {
                "required": [
                  "query"
                ]
              },
              {
                "required": [
                  "kind"
                ]
              },
              {
                "required": [
                  "id"
                ]
              }
            ]
          },
          "input_example": {
            "query": "suppressor",
            "limit": 2
          },
          "output_example": {
            "register": {
              "name": "Ordstirr U.S. federal firearms regulation reference",
              "entries": 24,
              "as_of": "2026-11-21",
              "coverage": "U.S. federal law only. No state or local law. Short plain-language pointers with a source and a date on every entry; no legal text is copied."
            },
            "results": [
              {
                "id": "atf-nfa-enforcement-2026",
                "title": "ATF enforcement policy for untaxed NFA items",
                "kind": "agency_policy",
                "jurisdiction": "US federal",
                "source": "ATF guidance effective 2026-10-09, as summarized in CRS Insight IF13353 (2026-11-17)",
                "source_url": "https://www.congress.gov/crs-product/IF13353",
                "source_date": "2026-10-09",
                "last_reviewed": "2026-11-21",
                "summary": "Reported: following an August 5, 2026 federal district court ruling (Silencer Shop Foundation v. ATF, N.D. Tex.), ATF said it will not enforce the NFA approval, registration and marking requirements for suppressors, short-barreled rifles and shotguns, and AOWs. Machine guns and destructive devices stay fully regulated.",
                "watch_out": "This is an enforcement policy, not a repeal, and it is tied to ongoing litigation, so it can change quickly. Dealer transfers still need Form 4473 and NICS. Read the current ATF notice itself before relying on this entry.",
                "tags": [
                  "nfa",
                  "atf",
                  "enforcement",
                  "suppressor",
                  "registration",
                  "2026"
                ]
              },
              {
                "id": "nfa-1934",
                "title": "National Firearms Act (machine guns, short-barreled rifles and shotguns, suppressors, destructive devices, certain other weapons)",
                "kind": "statute",
                "jurisdiction": "US federal",
                "source": "26 U.S.C. Chapter 53 (sections 5801-5872); 27 CFR Part 479",
                "source_url": "https://www.ecfr.gov/current/title-27/part-479",
                "source_date": "1934-06-26",
                "last_reviewed": "2026-11-21",
                "summary": "Sets registration, approval and tax rules for certain regulated items. The law was enacted in 1934 and has been amended since; see the entries on the 2026 zero tax and ATF enforcement policy for recent changes.",
                "watch_out": "This area changed in 2025 and 2026 and may change again. Confirm against current ATF pages and the statute before acting.",
                "tags": [
                  "nfa",
                  "suppressor",
                  "silencer",
                  "sbr",
                  "short barreled",
                  "machine gun",
                  "form 4"
                ]
              }
            ],
            "summary": {
              "matched": 3,
              "returned": 2
            },
            "disclaimer": "Reference only, not legal advice. Summaries are short and may be out of date or incomplete; firearms law changes often and differs by state and city. Always read the cited source and its date, and ask a licensed attorney about your situation. No match does not mean something is allowed.",
            "terms_url": "https://ordstirr.com/agents/terms",
            "notice": "Reference only, not legal advice. U.S. federal law only; check the cited source and date, and your state law."
          },
          "errors": {
            "400": "invalid input (never charged)",
            "402": "payment required (x402 terms in PAYMENT-REQUIRED header)",
            "413": "body too large (never charged)",
            "503": "service not yet accepting payments"
          },
          "sample_call": "curl -i -X POST https://firearms.ordstirr.com/v1/regulation-search -H \"content-type: application/json\" -d '{\"query\":\"suppressor\",\"limit\":2}'",
          "sample_note": "The first call without payment returns HTTP 402 with payment terms; an x402 client (for example @x402/fetch) pays in USDC on Base and retries automatically."
        }
      ]
    }
  ]
}
