{
  "openapi": "3.1.0",
  "info": {
    "title": "US SEC Filings Watch MCP",
    "description": "Latest 10-K, 10-Q and 8-K filings for any US-listed company, with 8-K red flags decoded.\n\nThis specification documents the HTTP x402 pay-per-call routes only (not the MCP /mcp transport). Unpaid calls return HTTP 402. Retry with a PAYMENT-SIGNATURE header (x402 v2, scheme exact, USDC on Base eip155:8453; legacy X-PAYMENT v1 also accepted). A payout address is included only in the live 402 challenge served by the Worker, not in this file. MCP endpoint: https://us-sec-filings-mcp.donniertf.workers.dev/mcp. Manifest: https://us-sec-filings-mcp.donniertf.workers.dev/.well-known/x402. Paper/free discovery routes are not billed.",
    "version": "1.0.0",
    "contact": {
      "name": "Donnie Morrison",
      "email": "dmorrisonwebdesign@gmail.com",
      "url": "https://us-sec-filings-mcp.donniertf.workers.dev/"
    },
    "license": {
      "name": "See product landing page and source licences"
    },
    "x-guidance": "Use the paid HTTP routes documented in paths (POST JSON, or GET with query args). Unpaid calls return HTTP 402; retry with a PAYMENT-SIGNATURE header (x402 v2, USDC on Base; legacy X-PAYMENT v1 also accepted). The MCP transport is at /mcp. Latest 10-K, 10-Q and 8-K filings for any US-listed company, with 8-K red flags decoded."
  },
  "servers": [
    {
      "url": "https://us-sec-filings-mcp.donniertf.workers.dev",
      "description": "US SEC Filings Watch MCP origin"
    }
  ],
  "tags": [
    {
      "name": "x402",
      "description": "USDC on Base pay-per-call routes"
    }
  ],
  "paths": {
    "/x402/latest_filings": {
      "post": {
        "summary": "PAID (x402). $0.03 USDC per call. Also free via /mcp (5 free calls/day per IP). Latest 5 SEC filings (10-K, 10-Q, 8-K, S-1, etc.) for a ticker, company name or CIK.",
        "description": "PAID (x402). $0.03 USDC per call. Also free via /mcp (5 free calls/day per IP). Latest 5 SEC filings (10-K, 10-Q, 8-K, S-1, etc.) for a ticker, company name or CIK.",
        "operationId": "post_x402_latest_filings",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.030000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "responses": {
          "200": {
            "description": "Paid request succeeded; JSON result of the tool or pack.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required. Retry with a PAYMENT-SIGNATURE header (x402 v2, exact scheme, USDC on Base eip155:8453; legacy X-PAYMENT v1 also accepted). The 402 body/header lists price and terms; payout address is only in the live 402 challenge, not in this spec."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "company": {
                    "type": "string"
                  }
                },
                "required": [
                  "company"
                ]
              }
            }
          }
        }
      },
      "get": {
        "summary": "PAID (x402). $0.03 USDC per call. Also free via /mcp (5 free calls/day per IP). Latest 5 SEC filings (10-K, 10-Q, 8-K, S-1, etc.) for a ticker, company name or CIK. (query or 402 probe)",
        "description": "PAID (x402). $0.03 USDC per call. Also free via /mcp (5 free calls/day per IP). Latest 5 SEC filings (10-K, 10-Q, 8-K, S-1, etc.) for a ticker, company name or CIK. Accepts query args; unpaid calls return 402.",
        "operationId": "get_x402_latest_filings",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.030000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "responses": {
          "200": {
            "description": "Paid request succeeded; JSON result of the tool or pack.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required. Retry with a PAYMENT-SIGNATURE header (x402 v2, exact scheme, USDC on Base eip155:8453; legacy X-PAYMENT v1 also accepted). The 402 body/header lists price and terms; payout address is only in the live 402 challenge, not in this spec."
          }
        },
        "parameters": [
          {
            "name": "company",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/x402/filings_by_form": {
      "post": {
        "summary": "PRO. Up to 100 recent filings for a company filtered by form types (e.g. ['8-K','10-Q']).",
        "description": "PRO. Up to 100 recent filings for a company filtered by form types (e.g. ['8-K','10-Q']).",
        "operationId": "post_x402_filings_by_form",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.030000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "responses": {
          "200": {
            "description": "Paid request succeeded; JSON result of the tool or pack.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required. Retry with a PAYMENT-SIGNATURE header (x402 v2, exact scheme, USDC on Base eip155:8453; legacy X-PAYMENT v1 also accepted). The 402 body/header lists price and terms; payout address is only in the live 402 challenge, not in this spec."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "company": {
                    "type": "string"
                  },
                  "forms": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "limit": {
                    "type": "number"
                  }
                },
                "required": [
                  "company"
                ]
              }
            }
          }
        }
      },
      "get": {
        "summary": "PRO. Up to 100 recent filings for a company filtered by form types (e.g. ['8-K','10-Q']). (query or 402 probe)",
        "description": "PRO. Up to 100 recent filings for a company filtered by form types (e.g. ['8-K','10-Q']). Accepts query args; unpaid calls return 402.",
        "operationId": "get_x402_filings_by_form",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.030000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "responses": {
          "200": {
            "description": "Paid request succeeded; JSON result of the tool or pack.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required. Retry with a PAYMENT-SIGNATURE header (x402 v2, exact scheme, USDC on Base eip155:8453; legacy X-PAYMENT v1 also accepted). The 402 body/header lists price and terms; payout address is only in the live 402 challenge, not in this spec."
          }
        },
        "parameters": [
          {
            "name": "company",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "forms",
            "in": "query",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            }
          }
        ]
      }
    },
    "/x402/red_flags": {
      "post": {
        "summary": "PRO. Decode recent 8-K item numbers into events and flag red flags (bankruptcy, delisting, auditor change, restatement, exec departures) for up to 25 companies.",
        "description": "PRO. Decode recent 8-K item numbers into events and flag red flags (bankruptcy, delisting, auditor change, restatement, exec departures) for up to 25 companies.",
        "operationId": "post_x402_red_flags",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.030000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "responses": {
          "200": {
            "description": "Paid request succeeded; JSON result of the tool or pack.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required. Retry with a PAYMENT-SIGNATURE header (x402 v2, exact scheme, USDC on Base eip155:8453; legacy X-PAYMENT v1 also accepted). The 402 body/header lists price and terms; payout address is only in the live 402 challenge, not in this spec."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "companies": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "days": {
                    "type": "number"
                  }
                },
                "required": [
                  "companies"
                ]
              }
            }
          }
        }
      },
      "get": {
        "summary": "PRO. Decode recent 8-K item numbers into events and flag red flags (bankruptcy, delisting, auditor change, restatement, exec departures) for up to 25 companies. (query or 402 probe)",
        "description": "PRO. Decode recent 8-K item numbers into events and flag red flags (bankruptcy, delisting, auditor change, restatement, exec departures) for up to 25 companies. Accepts query args; unpaid calls return 402.",
        "operationId": "get_x402_red_flags",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.030000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "responses": {
          "200": {
            "description": "Paid request succeeded; JSON result of the tool or pack.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required. Retry with a PAYMENT-SIGNATURE header (x402 v2, exact scheme, USDC on Base eip155:8453; legacy X-PAYMENT v1 also accepted). The 402 body/header lists price and terms; payout address is only in the live 402 challenge, not in this spec."
          }
        },
        "parameters": [
          {
            "name": "companies",
            "in": "query",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            }
          }
        ]
      }
    }
  }
}