Orðstírrᛟᚱᚦᛊᛏᛁᚱᚱ

Ordstirr services for AI agents

Pay-per-call tools. No account, no API key.

Small, repeatable tools that agents can buy by themselves. No account, no API key. Call an endpoint; it answers HTTP 402 with payment terms; an x402-capable client pays USDC on Base (network eip155:8453) and retries. Bad input is rejected with HTTP 400 and never charged. Answers are rule-based, not legal advice. Terms of service: informational only, as is, refund limited to the price of the call.

Machine-readable: services.json · llms.txt. Contact: ordstirr.com. Pay-to address: 0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6.

Services marked "built, not deployed" are not live yet; their addresses will not answer until each deploy is approved. Live Check v0.1.1 is live ($0.01 per check, $0.04 for up to 5). The Public-Domain Checker v0.1 is live (single check, $0.03); its batch check and receipts are coming.

Summary

Live Check v0.1.1 live

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.

Status: v0.1.1 is live: the single check (POST /v1/check, $0.01), the batch check (POST /v1/check-batch, $0.04 for up to 5), signed receipts, and the free endpoints below all answer now.

Base URL: https://live.ordstirr.com · Free: /health, /openapi.json, /llms.txt, /docs, /.well-known/x402, /v1/sample, /v1/receipts/{request_id}, /.well-known/ordstirr-receipt-keys.json

POST /v1/check $0.01 USDC

Is this URL live, and is its x402 endpoint safe to pay right now?

Input
{
  "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": "…"
  }
}

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"}}'

POST /v1/check-batch $0.04 USDC

Up to 5 checks in one call

Input
{
  "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": "…"
  }
}

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}]}'

Public-Domain Checker v0.1 live · batch and receipts coming

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.

Status: v0.1 is live: the single check (POST /v1/check, $0.03) and the free endpoints below answer now. The batch check (POST /v1/check-batch) and signed receipts are coming in a later update; until then the batch address does not answer.

Base URL: https://pd.ordstirr.com · Free: /health, /openapi.json, /llms.txt, /docs, /.well-known/x402

POST /v1/check $0.03 USDC

Check the likely U.S. public-domain status of a published work

Input
{
  "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
}

Example input

{
  "title": "The Old Man and the Sea",
  "author": "Ernest Hemingway",
  "year": 1952
}

Example output

{
  "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."
}

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}'

POST /v1/check-batch $0.50 USDC coming, not live yet

Check up to 25 published works in one call

Input
{
  "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
}

Example input

{
  "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"
    }
  ]
}

Example output

{
  "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."
}

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"}]}'

Recipe Parser built, not deployed

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.

Base URL: https://recipes.ordstirr.com · Free: /health, /openapi.json, /llms.txt, /docs, /.well-known/x402

POST /v1/parse $0.03 USDC

Parse recipe text into structured ingredients, steps, times and nutrition per serving

Input
{
  "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
}

Example input

{
  "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
}

Example output

{
  "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."
}

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}'

POST /v1/scale $0.01 USDC

Scale a list of recipe ingredient lines by a factor or from one serving count to another

Input
{
  "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
}

Example input

{
  "ingredients": [
    "1 1/2 cups all-purpose flour",
    "2 large eggs",
    "salt to taste"
  ],
  "from_servings": 4,
  "to_servings": 6
}

Example output

{
  "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."
}

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}'

POST /v1/convert $0.01 USDC

Convert cooking units: volume, weight and oven temperature (volume to weight needs an ingredient)

Input
{
  "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
}

Example input

{
  "value": 2,
  "from": "cup",
  "to": "g",
  "ingredient": "all-purpose flour"
}

Example output

{
  "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."
}

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"}'

POST /v1/substitute $0.01 USDC

Ingredient substitutions with a citation from public-domain sources (Fannie Farmer, 1906)

Input
{
  "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
}

Example input

{
  "ingredient": "baking powder",
  "quantity": 3,
  "unit": "tsp"
}

Example output

{
  "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."
}

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"}'

Mahjong Hand Checker built, not deployed

Checks and scores a mahjong hand under Babcock's 1923 Rules for Mah-Jongg (public domain), itemised, with page citations.

Base URL: https://mahjong.ordstirr.com · Free: /health, /openapi.json, /llms.txt, /docs, /.well-known/x402

POST /v1/check-hand $0.02 USDC

Check a mahjong hand: win or not, shape, waits, shanten and score (Hong Kong, Taiwanese, Riichi shape, Chinese Official shape)

Input
{
  "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
}

Example input

{
  "rules": "hk",
  "tiles": "234c 567b 789d 555d 66b",
  "winning_tile": "6b",
  "self_drawn": true,
  "seat_wind": "E",
  "round_wind": "E"
}

Example output

{
  "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."
}

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"}'

Game Rules Engine built, not deployed

A referee for public-domain games: Babcock 1923 mah-jongg scoring and settling, and Linnaeus 1732 Tablut legal moves and move checks.

Base URL: https://rules.ordstirr.com · Free: /health, /openapi.json, /llms.txt, /docs, /.well-known/x402

POST /v1/babcock/score $0.02 USDC

Score a mahjong hand under Babcock's 1923 Rules for Mah-Jongg (public domain), with a page citation for every line

Input
{
  "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
}

Example input

{
  "tiles": "Gd Gd Gd Wd Wd EEE 234c",
  "table": [
    {
      "type": "kong",
      "tile": "8d"
    }
  ],
  "seat_wind": "E",
  "mahjong": true,
  "winning_tile": "Gd",
  "win_by": "discard"
}

Example output

{
  "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."
}

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"}'

POST /v1/babcock/settle $0.01 USDC

Settle one hand of Babcock 1923 Mah-Jongg: who pays whom, with East paying and receiving double

Input
{
  "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
}

Example input

{
  "scores": {
    "E": 48,
    "S": 16,
    "W": 4,
    "N": 0
  },
  "winner": "E"
}

Example output

{
  "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."
}

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"}'

POST /v1/tafl/moves $0.02 USDC

List every legal move in a Tablut position (Linnaeus 1732, public domain), with the king's open roads (raichi/tuichu)

Input
{
  "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
}

Example input

{
  "rules": "linnaeus_1811",
  "board": "start",
  "to_move": "muscovites",
  "from": "d9"
}

Example output

{
  "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."
}

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"}'

POST /v1/tafl/check-move $0.02 USDC

Referee one Tablut move (Linnaeus 1732, public domain): legal or not and why, captures, king escaped or taken, the board after

Input
{
  "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
}

Example input

{
  "rules": "linnaeus_1811",
  "board": "start",
  "to_move": "muscovites",
  "move": "d9-d6"
}

Example output

{
  "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."
}

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"}'

Quote and Citation Checker built, not deployed

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.

Base URL: https://quotes.ordstirr.com · Free: /health, /openapi.json, /llms.txt, /docs, /.well-known/x402

POST /v1/quote $0.02 USDC

Exact quotation from a hosted public-domain text, with citation, source-file hash and excerpt hash

Input
{
  "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
}

Example input

{
  "work": "babcock-1923",
  "query": "stealing the fourth to win"
}

Example output

{
  "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."
}

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"}'

POST /v1/verify $0.02 USDC

Check whether a quotation really appears word for word in the hosted public-domain texts

Input
{
  "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
}

Example input

{
  "quote": "Stealing the Fourth to Win: This is fully explained on Page 22",
  "work": "babcock-1923"
}

Example output

{
  "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."
}

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"}'

Play Data Safety Mapper built, not deployed

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.

Base URL: https://datasafety.ordstirr.com · Free: /health, /openapi.json, /llms.txt, /docs, /.well-known/x402

POST /v1/map-data-safety $0.05 USDC

Draft Google Play Data safety answers and privacy-policy clauses from an Android app's permissions, SDKs and declared data

Input
{
  "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
}

Example input

{
  "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
  }
}

Example output

{
  "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."
}

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}}'

Receipt to Ledger built, not deployed

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.

Base URL: https://receipts.ordstirr.com · Free: /health, /openapi.json, /llms.txt, /docs, /.well-known/x402

POST /v1/parse-receipt $0.03 USDC

Turn messy receipt text into ledger JSON (merchant, date, items, tax, tip, total, category, balanced entry) with card and account numbers stripped

Input
{
  "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
}

Example input

{
  "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
}

Example output

{
  "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."
}

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}'

Colorblind-Safe Contrast Checker built, not deployed

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.

Base URL: https://contrast.ordstirr.com · Free: /health, /openapi.json, /llms.txt, /docs, /.well-known/x402

POST /v1/check-contrast $0.01 USDC

Check colour pairs for WCAG contrast and colour-blind safety, and a palette for colours that are hard to tell apart

Input
{
  "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
}

Example input

{
  "pairs": [
    {
      "foreground": "#777777",
      "background": "#FFFFFF",
      "label": "grey body text"
    }
  ],
  "palette": [
    "#D55E00",
    "#009E73",
    "#0072B2"
  ]
}

Example output

{
  "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."
}

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"]}'

Small-Payload Data Cleaner built, not deployed

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.

Base URL: https://clean.ordstirr.com · Free: /health, /openapi.json, /llms.txt, /docs, /.well-known/x402

POST /v1/clean-data $0.02 USDC

Clean a small CSV or JSON table: headers, ISO dates, numbers, empties, duplicate rows, with a list of every issue

Input
{
  "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
}

Example input

{
  "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"
}

Example output

{
  "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."
}

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"}'

Word-List Check built, not deployed

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.

Base URL: https://words.ordstirr.com · Free: /health, /openapi.json, /llms.txt, /docs, /.well-known/x402

POST /v1/check-words $0.005 USDC

Check whether words are in the public-domain ENABLE word list

Input
{
  "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
}

Example input

{
  "words": [
    "quixotic",
    "zax",
    "xyzzy"
  ]
}

Example output

{
  "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."
}

Sample call

curl -i -X POST https://words.ordstirr.com/v1/check-words -H "content-type: application/json" -d '{"words":["quixotic","zax","xyzzy"]}'

Notation Parser built, not deployed

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.

Base URL: https://notation.ordstirr.com · Free: /health, /openapi.json, /llms.txt, /docs, /.well-known/x402

POST /v1/parse-notation $0.01 USDC

Read mah-jongg hand, Tablut board or playing-card notation into structured JSON

Input
{
  "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
}

Example input

{
  "kind": "mahjong-hand",
  "text": "123c 55d EEE RdRd F1"
}

Example output

{
  "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."
}

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"}'

Public-Domain Card and Rule-Set Inventory built, not deployed

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.

Base URL: https://inventory.ordstirr.com · Free: /health, /openapi.json, /llms.txt, /docs, /.well-known/x402

POST /v1/inventory-search $0.05 USDC

Search the public-domain card deck and game rule-set inventory

Input
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "maxLength": 100,
      "description": "Words to look for (name, alias, tag, place, game), e.g. tarot or whist."
    },
    "kind": {
      "type": "string",
      "enum": [
        "card_deck",
        "rule_set"
      ],
      "description": "Limit to card decks or rule sets."
    },
    "id": {
      "type": "string",
      "maxLength": 60,
      "description": "Exact entry id, e.g. rules-whist."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20,
      "description": "Max results (default 10)."
    }
  },
  "additionalProperties": false,
  "anyOf": [
    {
      "required": [
        "query"
      ]
    },
    {
      "required": [
        "kind"
      ]
    },
    {
      "required": [
        "id"
      ]
    }
  ]
}

Example input

{
  "query": "tarot",
  "limit": 2
}

Example output

{
  "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."
}

Sample call

curl -i -X POST https://inventory.ordstirr.com/v1/inventory-search -H "content-type: application/json" -d '{"query":"tarot","limit":2}'

U.S. Federal Firearms Regulation Reference built, not deployed

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.

Base URL: https://firearms.ordstirr.com · Free: /health, /openapi.json, /llms.txt, /docs, /.well-known/x402

POST /v1/regulation-search $0.03 USDC

Search the U.S. federal firearms regulation reference (not legal advice)

Input
{
  "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"
      ]
    }
  ]
}

Example input

{
  "query": "suppressor",
  "limit": 2
}

Example output

{
  "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."
}

Sample call

curl -i -X POST https://firearms.ordstirr.com/v1/regulation-search -H "content-type: application/json" -d '{"query":"suppressor","limit":2}'