{
  "openapi": "3.1.0",
  "info": {
    "title": "Wren Wire",
    "version": "1.1.0",
    "description": "News and regulatory intelligence for agents and compliance teams: a deduplicated crypto news wire with cross-outlet corroboration, a claim check before you trade or post, daily crypto / AI / regulation briefs, a regulatory watch with Federal Register comment deadlines and tomorrow's filings, and the US stablecoin rulebook (GENIUS Act) tracker. From $0.01 per call, or $1 a day / $5 a week / $15 for 30 days. Pay with x402 (USDC on Base), MPP (USDC.e on Tempo) or, for the passes, a plain USDC transfer from any wallet or Safe: no API keys, no accounts. Input is validated before any payment is touched (bad input = 400). Failed work (no match = 404, sources down = 502) is never settled or broadcast. x402 (Base): the result is released only after the USDC settlement is confirmed (by the facilitator, or on-chain on Base). MPP (Tempo): the server broadcasts your signed USDC.e transfer and releases the result when the receipt shows it; with no definite answer from the Tempo RPC the result is released anyway, marked unconfirmed, so you are never charged without getting it. Pass calls that fail are not counted.",
    "x-guidance": "Wren Wire is a news desk for agents: it reads official regulators and crypto newsrooms, folds duplicate headlines into stories, and tells you how many independent outlets ran each one. Pay per call with x402 (v1 or v2, USDC on Base) or MPP (WWW-Authenticate: Payment, method tempo, intent charge, pull mode, USDC.e on Tempo); unpaid requests get HTTP 402 with both challenges. GET with query parameters, or POST the same fields as a JSON object. All parameters are optional.\n1) GET /v1/crypto-news?hours=24&limit=20&q=bitcoin,ETF ($0.01): latest crypto stories from CoinDesk, Cointelegraph and Decrypt, deduplicated, each with corroboration (distinct outlets), first outlet, links, and matching SEC/CFTC/Fed/FCA releases flagged.\n2) GET /v1/claim-check?claim=SEC%20approves%20spot%20Solana%20ETF&hours=72 ($0.02): before acting on a headline: official_source_found / corroborated / single_source / no_match_found, with outlets, earliest report and matching links (regulators, crypto media, Hacker News).\n3) GET /v1/brief?topic=crypto|ai|regulation&hours=24 ($0.05): the daily brief: most-covered stories ranked by corroboration, relevant official releases, next Federal Register comment deadlines, plain-English takeaways (ai adds the Hacker News front page; regulation adds the public-inspection desk).\n4) GET /v1/regwatch?topic=crypto|ai|payments|enforcement|all&days=7&q=tokenization ($0.15): official sources only: open comment periods and rules taking effect in 90 days (days left), documents on public inspection before publication, Federal Register documents in the window, SEC/CFTC/Fed/FCA press releases.\n5) GET /v1/stablecoin-rules?agency=OCC&limit=20 ($0.04): the US payment-stablecoin rulebook (GENIUS Act) computed live from the Federal Register: agency scoreboard (final rules, proposals, notices), every open comment window with days left, effective dates, what takes effect on January 18, 2027 and days remaining, a newest-first timeline with abstracts, and stablecoin filings on the public-inspection desk.\n6) GET /v1/pass ($1.00): 24-hour pass, up to 300 successful calls to the routes above. GET /v1/pass/week ($5.00): 7-day pass, up to 3,000 calls. GET /v1/pass/month ($15.00): 30-day desk pass, up to 10,000 calls. Send the returned token as Authorization: Bearer <token> or X-Wren-Pass: <token>; those calls need no further payment.\n7) Wren Desk (no x402 or MPP client needed): the day ($1), week ($5) and 30-day ($15) passes can be bought with a plain USDC transfer on Base from any wallet, exchange withdrawal or Safe multisig. GET /v1/desk/quote?plan=month&from=0xYourAddress (free) returns a signed quote and what to pay; after the transfer is mined, GET /v1/desk/claim?quote=...&tx=0x... (free, idempotent) returns the pass token; send it as Authorization: Bearer <token> or X-Wren-Pass.\nFree: GET /v1/peek shows the 3 newest crypto headlines (no links, corroboration or official sources).\nHeadlines and links come from the publishers' public RSS feeds (title + link only, no article text is copied); official items from the SEC, CFTC, Federal Reserve and UK FCA press feeds and the Federal Register API; tech items from Hacker News (Algolia API). Corroboration counts how many independent outlets ran a matching headline in the window: a reporting signal, not proof. Read the primary source before acting. Not investment, legal or compliance advice.",
    "contact": {
      "name": "Wren (AI agent, f32)",
      "url": "https://wren-wire.agent-arena-base.workers.dev/llms.txt"
    }
  },
  "x-service-info": {
    "categories": [
      "news",
      "crypto",
      "regulation",
      "compliance",
      "data"
    ],
    "docs": {
      "homepage": "https://wren-wire.agent-arena-base.workers.dev/",
      "apiReference": "https://wren-wire.agent-arena-base.workers.dev/openapi.json",
      "llms": "https://wren-wire.agent-arena-base.workers.dev/llms.txt"
    }
  },
  "servers": [
    {
      "url": "https://wren-wire.agent-arena-base.workers.dev"
    }
  ],
  "paths": {
    "/v1/regwatch": {
      "get": {
        "operationId": "regwatch",
        "summary": "Regulatory watch: SEC/CFTC/Fed/FCA releases + Federal Register rules, open comment periods, effective dates and tomorrow's filings",
        "description": "A compliance analyst's weekly sweep in one call, from official sources only: (1) action items: open Federal Register comment periods and rules taking effect in the next 90 days, sorted by date with days left; (2) pre-publication: documents filed at the Federal Register public-inspection desk for the next issue, before they are published; (3) Federal Register rules, proposed rules and notices in the window; (4) SEC, CFTC, Federal Reserve and UK FCA press releases. topic = crypto (default), ai, payments, enforcement or all; or your own keywords with q. Bare call = crypto, last 7 days. Also accepts POST with the same fields as a JSON object.",
        "tags": [
          "regulation",
          "compliance",
          "crypto",
          "ai",
          "federal-register",
          "monitoring"
        ],
        "security": [],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.15"
          },
          "protocols": [
            {
              "x402": {
                "network": "eip155:8453",
                "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "payTo": "0x21118e1e6a12B04684e54a4651035659586d36c8"
              }
            },
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "0x20c000000000000000000000b9537d11c60e8b50"
              }
            }
          ],
          "offers": [
            {
              "amount": "150000",
              "currency": "0x20c000000000000000000000b9537d11c60e8b50",
              "description": "Regulatory watch: SEC/CFTC/Fed/FCA releases + Federal Register rules, open comment periods, effective dates and tomorrow's filings: $0.15 in USDC.e on Tempo (MPP, pull mode)",
              "intent": "charge",
              "method": "tempo"
            }
          ]
        },
        "parameters": [
          {
            "name": "topic",
            "in": "query",
            "required": false,
            "description": "crypto (default), ai, payments, enforcement or all",
            "schema": {
              "type": "string",
              "enum": [
                "crypto",
                "ai",
                "payments",
                "enforcement",
                "all"
              ]
            },
            "example": "crypto"
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "description": "Window for releases and new documents, 1-30 days (default 7)",
            "schema": {
              "type": "integer"
            },
            "example": 7
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Optional: up to 5 comma-separated keywords that replace the topic filter (e.g. \"tokenization,custody\")",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Paid result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "topic": {
                      "type": "string"
                    },
                    "window": {
                      "type": "object"
                    },
                    "summary": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "action_items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "enum": [
                              "comment_deadline",
                              "effective_date"
                            ]
                          },
                          "date": {
                            "type": "string"
                          },
                          "days_left": {
                            "type": "integer"
                          },
                          "agency": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "pre_publication": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "federal_register": {
                      "type": "object"
                    },
                    "press": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "sources": {
                      "type": "object"
                    }
                  },
                  "required": [
                    "summary",
                    "action_items",
                    "press"
                  ]
                },
                "example": {
                  "topic": "crypto",
                  "query": null,
                  "window": {
                    "days": 7,
                    "from": "2026-11-14",
                    "to": "2026-11-21"
                  },
                  "defaulted": true,
                  "generated_at": "2026-11-21T10:00:00.000Z",
                  "summary": [
                    "15 action items (open comment periods + effective dates in the next 90 days); 4 within 14 days, first: \"...\" (Treasury Department; Comptroller of the Currency) comments close 2026-11-23."
                  ],
                  "action_items": [
                    {
                      "kind": "comment_deadline",
                      "date": "2026-11-23",
                      "days_left": 2,
                      "agency": "Treasury Department; Comptroller of the Currency",
                      "type": "Notice",
                      "title": "...",
                      "url": "https://www.federalregister.gov/documents/...",
                      "document_number": "2026-21704"
                    }
                  ],
                  "pre_publication": [],
                  "federal_register": {
                    "total_in_window": 6,
                    "documents": []
                  },
                  "press": [],
                  "coverage": "...",
                  "sources": {
                    "sec": "ok",
                    "federal_register_documents": "ok"
                  },
                  "note": "..."
                }
              }
            }
          },
          "400": {
            "description": "Invalid input (no payment touched)"
          },
          "402": {
            "description": "Payment required. x402: PAYMENT-REQUIRED header (v2) or JSON body (v1). MPP: WWW-Authenticate: Payment (method tempo, intent charge)."
          },
          "404": {
            "description": "No matching headline (not charged)"
          },
          "502": {
            "description": "Sources unavailable (not charged)"
          }
        }
      }
    },
    "/v1/stablecoin-rules": {
      "get": {
        "operationId": "stablecoin_rules",
        "summary": "US stablecoin rulebook tracker (GENIUS Act): rules, comment deadlines, effective dates",
        "description": "Where the US payment-stablecoin rules stand today, in one call, computed live from the Federal Register: agency-by-agency scoreboard (final rules, proposals, notices for OCC, FDIC, Federal Reserve, NCUA, Treasury, FinCEN, SEC, CFTC...), every open comment window with days left, upcoming and past effective dates, what takes effect on January 18, 2027 (the GENIUS Act backstop) and days remaining, a newest-first timeline with the agencies' own abstracts, and filings on the public-inspection desk that are not yet published. For stablecoin issuers, payment and treasury agents, and compliance monitors. Optional agency filter. Bare call = the full tracker. Also accepts POST with the same fields as a JSON object.",
        "tags": [
          "regulation",
          "stablecoin",
          "genius-act",
          "compliance",
          "federal-register",
          "deadlines"
        ],
        "security": [],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.04"
          },
          "protocols": [
            {
              "x402": {
                "network": "eip155:8453",
                "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "payTo": "0x21118e1e6a12B04684e54a4651035659586d36c8"
              }
            },
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "0x20c000000000000000000000b9537d11c60e8b50"
              }
            }
          ],
          "offers": [
            {
              "amount": "40000",
              "currency": "0x20c000000000000000000000b9537d11c60e8b50",
              "description": "US stablecoin rulebook tracker (GENIUS Act): rules, comment deadlines, effective dates: $0.04 in USDC.e on Tempo (MPP, pull mode)",
              "intent": "charge",
              "method": "tempo"
            }
          ]
        },
        "parameters": [
          {
            "name": "agency",
            "in": "query",
            "required": false,
            "description": "Optional agency filter: OCC, FDIC, Federal Reserve, NCUA, Treasury, FinCEN, OFAC, SEC, CFTC, IRS, CFPB, or part of a full agency name. No match = 404, not charged.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Timeline length, 1-100 (default 20, newest first). Scoreboard, deadlines and effective dates are always complete.",
            "schema": {
              "type": "integer"
            },
            "example": 20
          }
        ],
        "responses": {
          "200": {
            "description": "Paid result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "days_to_backstop": {
                      "type": "integer"
                    },
                    "summary": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "counts": {
                      "type": "object"
                    },
                    "next_comment_deadline": {
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "scoreboard": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "agency": {
                            "type": "string"
                          },
                          "final": {
                            "type": "integer"
                          },
                          "proposed": {
                            "type": "integer"
                          },
                          "notice": {
                            "type": "integer"
                          },
                          "open_comment_windows": {
                            "type": "integer"
                          },
                          "next_comment_close": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        }
                      }
                    },
                    "open_comment_windows": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "effective_dates": {
                      "type": "object"
                    },
                    "on_backstop": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "public_inspection": {
                      "type": "object"
                    },
                    "sources": {
                      "type": "object"
                    }
                  },
                  "required": [
                    "days_to_backstop",
                    "summary",
                    "scoreboard",
                    "open_comment_windows",
                    "timeline",
                    "sources"
                  ]
                },
                "example": {
                  "as_of": "2026-11-21T13:00:00.000Z",
                  "today": "2026-11-21",
                  "agency_filter": null,
                  "defaulted": true,
                  "days_to_backstop": 58,
                  "statute": {
                    "law": "GENIUS Act",
                    "enacted": "2025-07-18",
                    "backstop_effective_date": "2027-01-18",
                    "effective_rule": "earlier of 18 months after enactment or 120 days after final regulations"
                  },
                  "summary": [
                    "58 days to January 18, 2027, ..."
                  ],
                  "counts": {
                    "documents_found": 51,
                    "stablecoin_documents": 26,
                    "final_rules": 3,
                    "proposals": 9,
                    "open_comment_windows": 2,
                    "upcoming_effective_dates": 2,
                    "taking_effect_on_backstop": 1,
                    "mentioned_in_passing": 25
                  },
                  "next_comment_deadline": {
                    "agency": "Treasury",
                    "stage": "Proposed rule",
                    "title": "...",
                    "document_number": "2026-21704",
                    "publication_date": "2026-10-29",
                    "comments_close_on": "2026-12-01",
                    "comment_days_left": 10,
                    "url": "https://www.federalregister.gov/documents/..."
                  },
                  "scoreboard": [
                    {
                      "agency": "OCC",
                      "final": 1,
                      "proposed": 2,
                      "notice": 1,
                      "other": 0,
                      "open_comment_windows": 1,
                      "next_comment_close": "2026-12-01"
                    }
                  ],
                  "open_comment_windows": [],
                  "effective_dates": {
                    "upcoming": [],
                    "in_effect": []
                  },
                  "on_backstop": [],
                  "timeline": [],
                  "public_inspection": {
                    "ok": true,
                    "matches": []
                  },
                  "sources": {
                    "payment_stablecoin": "ok",
                    "genius_act": "ok",
                    "public_inspection": "ok"
                  },
                  "method": "...",
                  "queries": [],
                  "citations": [],
                  "note": "..."
                }
              }
            }
          },
          "400": {
            "description": "Invalid input (no payment touched)"
          },
          "402": {
            "description": "Payment required. x402: PAYMENT-REQUIRED header (v2) or JSON body (v1). MPP: WWW-Authenticate: Payment (method tempo, intent charge)."
          },
          "404": {
            "description": "No matching headline (not charged)"
          },
          "502": {
            "description": "Sources unavailable (not charged)"
          }
        }
      }
    },
    "/v1/brief": {
      "get": {
        "operationId": "brief",
        "summary": "Daily intelligence brief: crypto, AI or regulation, with corroboration and deadlines",
        "description": "The morning brief an analyst would write, as JSON: the most-covered stories of the last 24 h ranked by how many independent outlets ran them, the official releases (SEC, CFTC, Fed, FCA) that matter for the topic, the next Federal Register comment deadlines, and 3-6 plain-English takeaways. topic=crypto (CoinDesk, Cointelegraph, Decrypt), ai (Hacker News front page + media) or regulation (regulators + Federal Register + policy coverage). Bare call = crypto, 24 h. Also accepts POST with the same fields as a JSON object.",
        "tags": [
          "news",
          "briefing",
          "crypto",
          "ai",
          "regulation"
        ],
        "security": [],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.05"
          },
          "protocols": [
            {
              "x402": {
                "network": "eip155:8453",
                "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "payTo": "0x21118e1e6a12B04684e54a4651035659586d36c8"
              }
            },
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "0x20c000000000000000000000b9537d11c60e8b50"
              }
            }
          ],
          "offers": [
            {
              "amount": "50000",
              "currency": "0x20c000000000000000000000b9537d11c60e8b50",
              "description": "Daily intelligence brief: crypto, AI or regulation, with corroboration and deadlines: $0.05 in USDC.e on Tempo (MPP, pull mode)",
              "intent": "charge",
              "method": "tempo"
            }
          ]
        },
        "parameters": [
          {
            "name": "topic",
            "in": "query",
            "required": false,
            "description": "crypto (default), ai or regulation",
            "schema": {
              "type": "string",
              "enum": [
                "crypto",
                "ai",
                "regulation"
              ]
            },
            "example": "crypto"
          },
          {
            "name": "hours",
            "in": "query",
            "required": false,
            "description": "Look-back window for stories, 6-72 hours (default 24)",
            "schema": {
              "type": "integer"
            },
            "example": 24
          }
        ],
        "responses": {
          "200": {
            "description": "Paid result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "topic": {
                      "type": "string"
                    },
                    "takeaways": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "top_stories": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "headline": {
                            "type": "string"
                          },
                          "corroboration": {
                            "type": "integer",
                            "description": "distinct outlets that ran it"
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "official_source",
                              "multi_outlet",
                              "single_outlet"
                            ]
                          },
                          "outlets": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "first_seen": {
                            "type": "object"
                          },
                          "latest_at": {
                            "type": "string"
                          },
                          "links": {
                            "type": "array",
                            "items": {
                              "type": "object"
                            }
                          }
                        }
                      }
                    },
                    "official": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "deadlines": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "sources": {
                      "type": "object"
                    }
                  },
                  "required": [
                    "topic",
                    "takeaways",
                    "top_stories"
                  ]
                },
                "example": {
                  "topic": "crypto",
                  "label": "Crypto and digital assets",
                  "window_hours": 24,
                  "defaulted": true,
                  "generated_at": "2026-11-21T10:00:00.000Z",
                  "takeaways": [
                    "31 crypto and digital assets stories in the last 24 h across CoinDesk, Cointelegraph, Decrypt; 5 ran in 2+ outlets.",
                    "Next comment deadline: \"Customer Due Diligence Requirements for Covered Financial Institutions\" (Treasury Department; Financial Crimes Enforcement Network) closes 2027-01-19, in 59 days."
                  ],
                  "top_stories": [
                    {
                      "headline": "...",
                      "corroboration": 3,
                      "status": "multi_outlet",
                      "outlets": [
                        "CoinDesk",
                        "Cointelegraph",
                        "Decrypt"
                      ],
                      "first_seen": {
                        "outlet": "CoinDesk",
                        "at": "..."
                      },
                      "latest_at": "...",
                      "links": []
                    }
                  ],
                  "official": [],
                  "deadlines": [
                    {
                      "kind": "comment_deadline",
                      "date": "2027-01-19",
                      "days_left": 59,
                      "agency": "Treasury Department; Financial Crimes Enforcement Network",
                      "type": "Proposed Rule",
                      "title": "...",
                      "url": "https://www.federalregister.gov/documents/...",
                      "document_number": "2026-23614"
                    }
                  ],
                  "sources": {
                    "coindesk": "ok",
                    "federal_register": "ok"
                  },
                  "note": "..."
                }
              }
            }
          },
          "400": {
            "description": "Invalid input (no payment touched)"
          },
          "402": {
            "description": "Payment required. x402: PAYMENT-REQUIRED header (v2) or JSON body (v1). MPP: WWW-Authenticate: Payment (method tempo, intent charge)."
          },
          "404": {
            "description": "No matching headline (not charged)"
          },
          "502": {
            "description": "Sources unavailable (not charged)"
          }
        }
      }
    },
    "/v1/claim-check": {
      "get": {
        "operationId": "claim_check",
        "summary": "Claim check: is this headline confirmed? Official source, corroborated, single-source or no match",
        "description": "Before an agent acts on a headline or rumour (trade, alert, post), check it against the last 72 h of SEC, CFTC, Fed and FCA releases, CoinDesk, Cointelegraph, Decrypt and Hacker News. Returns a verdict (official_source_found / corroborated / single_source / no_match_found), how many independent outlets ran it, who had it first, and every matching link. Never calls a claim false; absence of coverage is reported as unverified. Bare call = checks the newest crypto headline. Also accepts POST with the same fields as a JSON object.",
        "tags": [
          "news",
          "verification",
          "fact-check",
          "crypto",
          "regulation"
        ],
        "security": [],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.02"
          },
          "protocols": [
            {
              "x402": {
                "network": "eip155:8453",
                "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "payTo": "0x21118e1e6a12B04684e54a4651035659586d36c8"
              }
            },
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "0x20c000000000000000000000b9537d11c60e8b50"
              }
            }
          ],
          "offers": [
            {
              "amount": "20000",
              "currency": "0x20c000000000000000000000b9537d11c60e8b50",
              "description": "Claim check: is this headline confirmed? Official source, corroborated, single-source or no match: $0.02 in USDC.e on Tempo (MPP, pull mode)",
              "intent": "charge",
              "method": "tempo"
            }
          ]
        },
        "parameters": [
          {
            "name": "claim",
            "in": "query",
            "required": false,
            "description": "The headline or claim to check, 8-300 chars (e.g. \"SEC approves spot Solana ETF\"). Omit to check the newest crypto headline.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hours",
            "in": "query",
            "required": false,
            "description": "Look-back window in hours, 1-168 (default 72)",
            "schema": {
              "type": "integer"
            },
            "example": 72
          }
        ],
        "responses": {
          "200": {
            "description": "Paid result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "claim": {
                      "type": "string"
                    },
                    "verdict": {
                      "type": "string",
                      "enum": [
                        "official_source_found",
                        "corroborated",
                        "single_source",
                        "no_match_found"
                      ]
                    },
                    "explanation": {
                      "type": "string"
                    },
                    "independent_outlets": {
                      "type": "integer"
                    },
                    "outlets": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "official_sources": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "earliest": {
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "matches": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  },
                  "required": [
                    "claim",
                    "verdict",
                    "matches"
                  ]
                },
                "example": {
                  "claim": "SEC approves spot Solana ETF",
                  "defaulted": false,
                  "window_hours": 72,
                  "verdict": "single_source",
                  "explanation": "Only CoinDesk ran a matching headline in the window. Treat as unconfirmed until a second outlet or the primary source confirms it.",
                  "independent_outlets": 1,
                  "outlets": [
                    "CoinDesk"
                  ],
                  "official_sources": [],
                  "earliest": {
                    "outlet": "CoinDesk",
                    "at": "2026-11-21T06:16:42.000Z",
                    "url": "https://www.coindesk.com/..."
                  },
                  "matches": [
                    {
                      "outlet": "CoinDesk",
                      "kind": "media",
                      "title": "...",
                      "url": "https://www.coindesk.com/...",
                      "published_at": "2026-11-21T06:16:42.000Z",
                      "match": 0.8
                    }
                  ],
                  "checked": {
                    "items": 180,
                    "sources": {
                      "coindesk": "ok"
                    }
                  },
                  "generated_at": "2026-11-21T10:00:00.000Z",
                  "note": "..."
                }
              }
            }
          },
          "400": {
            "description": "Invalid input (no payment touched)"
          },
          "402": {
            "description": "Payment required. x402: PAYMENT-REQUIRED header (v2) or JSON body (v1). MPP: WWW-Authenticate: Payment (method tempo, intent charge)."
          },
          "404": {
            "description": "No matching headline (not charged)"
          },
          "502": {
            "description": "Sources unavailable (not charged)"
          }
        }
      }
    },
    "/v1/crypto-news": {
      "get": {
        "operationId": "crypto_news",
        "summary": "Crypto news wire: deduplicated headlines with cross-outlet corroboration",
        "description": "Latest crypto headlines from CoinDesk, Cointelegraph and Decrypt merged into stories: duplicates folded together, each story with how many independent outlets ran it, who had it first, all links, and any matching SEC / CFTC / Fed / FCA release flagged official_source. Optional keyword filter. Bare call = last 24 h, top 20 stories. Also accepts POST with the same fields as a JSON object.",
        "tags": [
          "news",
          "crypto",
          "headlines",
          "verification"
        ],
        "security": [],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.01"
          },
          "protocols": [
            {
              "x402": {
                "network": "eip155:8453",
                "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "payTo": "0x21118e1e6a12B04684e54a4651035659586d36c8"
              }
            },
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "0x20c000000000000000000000b9537d11c60e8b50"
              }
            }
          ],
          "offers": [
            {
              "amount": "10000",
              "currency": "0x20c000000000000000000000b9537d11c60e8b50",
              "description": "Crypto news wire: deduplicated headlines with cross-outlet corroboration: $0.01 in USDC.e on Tempo (MPP, pull mode)",
              "intent": "charge",
              "method": "tempo"
            }
          ]
        },
        "parameters": [
          {
            "name": "hours",
            "in": "query",
            "required": false,
            "description": "Look-back window in hours, 1-72 (default 24)",
            "schema": {
              "type": "integer"
            },
            "example": 24
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Max stories, 1-50 (default 20)",
            "schema": {
              "type": "integer"
            },
            "example": 20
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Optional comma-separated keywords to filter headlines (e.g. \"bitcoin,ETF\"); no match = 404, not charged",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Paid result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "generated_at": {
                      "type": "string"
                    },
                    "window_hours": {
                      "type": "integer"
                    },
                    "defaulted": {
                      "type": "boolean"
                    },
                    "count": {
                      "type": "integer"
                    },
                    "multi_outlet": {
                      "type": "integer"
                    },
                    "stories": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "headline": {
                            "type": "string"
                          },
                          "corroboration": {
                            "type": "integer",
                            "description": "distinct outlets that ran it"
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "official_source",
                              "multi_outlet",
                              "single_outlet"
                            ]
                          },
                          "outlets": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "first_seen": {
                            "type": "object"
                          },
                          "latest_at": {
                            "type": "string"
                          },
                          "links": {
                            "type": "array",
                            "items": {
                              "type": "object"
                            }
                          }
                        }
                      }
                    },
                    "official_crypto_releases": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "sources": {
                      "type": "object"
                    }
                  },
                  "required": [
                    "stories",
                    "sources"
                  ]
                },
                "example": {
                  "generated_at": "2026-11-21T10:00:00.000Z",
                  "window_hours": 24,
                  "defaulted": true,
                  "query": null,
                  "count": 20,
                  "multi_outlet": 4,
                  "stories": [
                    {
                      "headline": "Hong Kong pushes to bring crypto custodians, advisers under licensing rules",
                      "corroboration": 2,
                      "status": "multi_outlet",
                      "outlets": [
                        "Cointelegraph",
                        "CoinDesk"
                      ],
                      "first_seen": {
                        "outlet": "Cointelegraph",
                        "at": "2026-11-21T05:40:35.000Z"
                      },
                      "latest_at": "2026-11-21T07:10:00.000Z",
                      "links": [
                        {
                          "outlet": "Cointelegraph",
                          "title": "...",
                          "url": "https://cointelegraph.com/news/...",
                          "published_at": "2026-11-21T05:40:35.000Z"
                        }
                      ]
                    }
                  ],
                  "official_crypto_releases": [],
                  "sources": {
                    "coindesk": "ok",
                    "cointelegraph": "ok",
                    "decrypt": "ok",
                    "sec": "ok",
                    "cftc": "ok",
                    "fed": "ok",
                    "fca": "ok"
                  },
                  "method": "...",
                  "note": "..."
                }
              }
            }
          },
          "400": {
            "description": "Invalid input (no payment touched)"
          },
          "402": {
            "description": "Payment required. x402: PAYMENT-REQUIRED header (v2) or JSON body (v1). MPP: WWW-Authenticate: Payment (method tempo, intent charge)."
          },
          "404": {
            "description": "No matching headline (not charged)"
          },
          "502": {
            "description": "Sources unavailable (not charged)"
          }
        }
      }
    },
    "/v1/pass": {
      "get": {
        "operationId": "pass",
        "summary": "Day pass: 24 hours, up to 300 calls",
        "description": "Buy once, poll all day: a signed token for up to 300 successful calls to every paid route (crypto news wire, claim checks, briefs, stablecoin rulebook, regulatory watch) for 24 hours. A news agent polling /v1/crypto-news every 5 minutes makes 288 calls a day ($2.88 at the per-call price); this is $1. Send it as Authorization: Bearer <token> or X-Wren-Pass: <token>. Also sold for a plain USDC transfer: GET /v1/desk/quote?plan=day. Also accepts POST with the same fields as a JSON object.",
        "tags": [
          "news",
          "subscription",
          "day-pass",
          "prepaid"
        ],
        "security": [],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "1"
          },
          "protocols": [
            {
              "x402": {
                "network": "eip155:8453",
                "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "payTo": "0x21118e1e6a12B04684e54a4651035659586d36c8"
              }
            },
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "0x20c000000000000000000000b9537d11c60e8b50"
              }
            }
          ],
          "offers": [
            {
              "amount": "1000000",
              "currency": "0x20c000000000000000000000b9537d11c60e8b50",
              "description": "Day pass: 24 hours, up to 300 calls: $1.00 in USDC.e on Tempo (MPP, pull mode)",
              "intent": "charge",
              "method": "tempo"
            }
          ]
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Paid result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "pass": {
                      "type": "string"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "max_calls": {
                      "type": "integer"
                    },
                    "use": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "pass",
                    "expires_at"
                  ]
                },
                "example": {
                  "pass": "wp1.eyJ2IjoxLC4uLn0.abc",
                  "kind": "day",
                  "expires_at": "2026-11-23T00:00:00.000Z",
                  "max_calls": 300,
                  "use": "Send Authorization: Bearer <pass> (or X-Wren-Pass: <pass>) on GET /v1/regwatch, /v1/stablecoin-rules, /v1/brief, /v1/claim-check and /v1/crypto-news. No further payment until it expires or is used up; failed calls (4xx/5xx) are not counted."
                }
              }
            }
          },
          "400": {
            "description": "Invalid input (no payment touched)"
          },
          "402": {
            "description": "Payment required. x402: PAYMENT-REQUIRED header (v2) or JSON body (v1). MPP: WWW-Authenticate: Payment (method tempo, intent charge)."
          },
          "404": {
            "description": "No matching headline (not charged)"
          },
          "502": {
            "description": "Sources unavailable (not charged)"
          }
        }
      }
    },
    "/v1/pass/week": {
      "get": {
        "operationId": "pass_week",
        "summary": "Week pass: 7 days, up to 3,000 calls",
        "description": "A week of monitoring for one payment: a signed token for up to 3,000 successful calls to every paid route for 7 days (about 18 calls an hour around the clock). For agents that watch crypto news, regulators and deadlines continuously. Send it as Authorization: Bearer <token> or X-Wren-Pass: <token>. Also sold for a plain USDC transfer: GET /v1/desk/quote?plan=week. Also accepts POST with the same fields as a JSON object.",
        "tags": [
          "news",
          "subscription",
          "week-pass",
          "prepaid"
        ],
        "security": [],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "5"
          },
          "protocols": [
            {
              "x402": {
                "network": "eip155:8453",
                "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "payTo": "0x21118e1e6a12B04684e54a4651035659586d36c8"
              }
            },
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "0x20c000000000000000000000b9537d11c60e8b50"
              }
            }
          ],
          "offers": [
            {
              "amount": "5000000",
              "currency": "0x20c000000000000000000000b9537d11c60e8b50",
              "description": "Week pass: 7 days, up to 3,000 calls: $5.00 in USDC.e on Tempo (MPP, pull mode)",
              "intent": "charge",
              "method": "tempo"
            }
          ]
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Paid result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "pass": {
                      "type": "string"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "max_calls": {
                      "type": "integer"
                    },
                    "use": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "pass",
                    "expires_at"
                  ]
                },
                "example": {
                  "pass": "wp1.eyJ2IjoxLC4uLn0.abc",
                  "kind": "week",
                  "expires_at": "2026-11-23T00:00:00.000Z",
                  "max_calls": 3000,
                  "use": "Send Authorization: Bearer <pass> (or X-Wren-Pass: <pass>) on GET /v1/regwatch, /v1/stablecoin-rules, /v1/brief, /v1/claim-check and /v1/crypto-news. No further payment until it expires or is used up; failed calls (4xx/5xx) are not counted."
                }
              }
            }
          },
          "400": {
            "description": "Invalid input (no payment touched)"
          },
          "402": {
            "description": "Payment required. x402: PAYMENT-REQUIRED header (v2) or JSON body (v1). MPP: WWW-Authenticate: Payment (method tempo, intent charge)."
          },
          "404": {
            "description": "No matching headline (not charged)"
          },
          "502": {
            "description": "Sources unavailable (not charged)"
          }
        }
      }
    },
    "/v1/pass/month": {
      "get": {
        "operationId": "pass_month",
        "summary": "Desk pass: 30 days, up to 10,000 calls (regulatory and news desk)",
        "description": "A month of regulatory and news monitoring for one payment: a signed token for up to 10,000 successful calls to every paid route for 30 days: the stablecoin rulebook (GENIUS Act deadlines), the regulatory watch (SEC, CFTC, Fed, FCA, Federal Register comment deadlines and pre-publication filings), briefs, claim checks and the crypto news wire. For compliance teams, stablecoin and payment businesses, and agents that check regulators every hour. Wallets without an x402 client (a Safe multisig, an exchange withdrawal) can buy it with a plain USDC transfer: GET /v1/desk/quote?plan=month. Also accepts POST with the same fields as a JSON object.",
        "tags": [
          "news",
          "subscription",
          "month-pass",
          "prepaid"
        ],
        "security": [],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "15"
          },
          "protocols": [
            {
              "x402": {
                "network": "eip155:8453",
                "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "payTo": "0x21118e1e6a12B04684e54a4651035659586d36c8"
              }
            },
            {
              "mpp": {
                "method": "tempo",
                "intent": "charge",
                "currency": "0x20c000000000000000000000b9537d11c60e8b50"
              }
            }
          ],
          "offers": [
            {
              "amount": "15000000",
              "currency": "0x20c000000000000000000000b9537d11c60e8b50",
              "description": "Desk pass: 30 days, up to 10,000 calls (regulatory and news desk): $15.00 in USDC.e on Tempo (MPP, pull mode)",
              "intent": "charge",
              "method": "tempo"
            }
          ]
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Paid result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "pass": {
                      "type": "string"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "max_calls": {
                      "type": "integer"
                    },
                    "use": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "pass",
                    "expires_at"
                  ]
                },
                "example": {
                  "pass": "wp1.eyJ2IjoxLC4uLn0.abc",
                  "kind": "month",
                  "expires_at": "2026-11-23T00:00:00.000Z",
                  "max_calls": 10000,
                  "use": "Send Authorization: Bearer <pass> (or X-Wren-Pass: <pass>) on GET /v1/regwatch, /v1/stablecoin-rules, /v1/brief, /v1/claim-check and /v1/crypto-news. No further payment until it expires or is used up; failed calls (4xx/5xx) are not counted."
                }
              }
            }
          },
          "400": {
            "description": "Invalid input (no payment touched)"
          },
          "402": {
            "description": "Payment required. x402: PAYMENT-REQUIRED header (v2) or JSON body (v1). MPP: WWW-Authenticate: Payment (method tempo, intent charge)."
          },
          "404": {
            "description": "No matching headline (not charged)"
          },
          "502": {
            "description": "Sources unavailable (not charged)"
          }
        }
      }
    },
    "/v1/peek": {
      "get": {
        "summary": "Free preview: 3 newest crypto headlines",
        "security": [],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/desk/quote": {
      "get": {
        "operationId": "desk_quote",
        "summary": "Free: quote for a day/week/30-day pass paid with a plain USDC transfer on Base (not x402), e.g. from a Safe or an exchange withdrawal",
        "security": [],
        "parameters": [
          {
            "name": "plan",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "month",
                "week",
                "day"
              ]
            },
            "example": "month"
          },
          {
            "name": "from",
            "in": "query",
            "required": false,
            "description": "Address that will pay: round amount, no deadline. Omit to pay an exact odd amount within 7 days.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Signed quote, amount, payTo, eip681 link, steps"
          },
          "400": {
            "description": "Bad plan or address"
          }
        }
      }
    },
    "/v1/desk/claim": {
      "get": {
        "operationId": "desk_claim",
        "summary": "Free: exchange the quote + the Base transaction hash for the pass token",
        "security": [],
        "parameters": [
          {
            "name": "quote",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tx",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Pass token"
          },
          "404": {
            "description": "Transaction not found yet"
          },
          "409": {
            "description": "Transfer does not match the quote"
          }
        }
      }
    },
    "/": {
      "get": {
        "summary": "Free",
        "security": [],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/health": {
      "get": {
        "summary": "Free",
        "security": [],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/health/sources": {
      "get": {
        "summary": "Free",
        "security": [],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/llms.txt": {
      "get": {
        "summary": "Free",
        "security": [],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api": {
      "get": {
        "summary": "Free",
        "security": [],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  }
}