{
 "openapi": "3.1.0",
 "info": {
  "title": "CoinBucha",
  "version": "2026-11-29",
  "description": "Dated, sourced, non-price Bitcoin indicators: sovereign reserves, listed bitcoin companies, hiring and hashrate. Bulk and history paid per call in USDC over x402. Not investment advice.",
  "x-guidance": "CoinBucha keeps dated, sourced, non-price Bitcoin indicators: sovereign bitcoin reserves by country, listed bitcoin companies, crypto hiring and hashrate. GET /api/paid/signal-history returns every signal's full daily strength series, /api/paid/sovereign-snapshots every frozen monthly snapshot of national bitcoin reserves, and /api/paid/calendar the listed-bitcoin investor calendar with every recorded outcome; each is one call, paid per call over x402 (USDC on Base). The CSVs at https://coinbucha.com/data, the bounded lookups and the MCP server at https://coinbucha.com/api/mcp stay free.",
  "contact": {
   "email": "hello@coinbucha.com"
  }
 },
 "servers": [
  {
   "url": "https://coinbucha.com"
  }
 ],
 "x-x402": {
  "asset": "USDC",
  "network": "base",
  "manifest": "https://coinbucha.com/.well-known/x402"
 },
 "paths": {
  "/api/paid/signal-history": {
   "get": {
    "operationId": "signalHistory",
    "summary": "Bitcoin leading indicators history: daily 0-100 strength and direction for sovereign adoption, crypto hiring, corporate treasuries and hashrate, full series, one call.",
    "description": "Bitcoin leading indicators history: daily 0-100 strength and direction for sovereign adoption, crypto hiring, corporate treasuries and hashrate, full series, one call. Not investment advice.",
    "tags": [
     "bitcoin",
     "indicators",
     "history",
     "backtest"
    ],
    "x-payment-info": {
     "price": {
      "mode": "fixed",
      "currency": "USD",
      "amount": "0.05"
     },
     "protocols": [
      {
       "x402": {}
      }
     ]
    },
    "parameters": [],
    "responses": {
     "200": {
      "description": "The paid answer (JSON), after an x402 payment settles.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "as_of": {
           "type": "string"
          },
          "series": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "signal_type": {
              "type": "string"
             },
             "title": {
              "type": "string"
             },
             "count": {
              "type": "integer"
             },
             "points": {
              "type": "array",
              "items": {
               "type": "object",
               "properties": {
                "date": {
                 "type": "string"
                },
                "signal_strength": {
                 "type": "integer"
                },
                "direction": {
                 "type": "string"
                }
               }
              }
             }
            }
           }
          },
          "data_contract": {
           "type": "object",
           "properties": {
            "source": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "id": {
                "type": "string"
               }
              }
             }
            },
            "as_of": {
             "type": "string"
            },
            "status": {
             "type": "string"
            }
           }
          }
         }
        },
        "example": {
         "as_of": "2026-10-16",
         "series": [
          {
           "signal_type": "sovereign_adoption",
           "title": "Sovereign Bitcoin adoption",
           "count": 90,
           "points": [
            {
             "date": "2026-10-16",
             "signal_strength": 76,
             "direction": "tailwind"
            }
           ]
          }
         ],
         "data_contract": {
          "source": [
           {
            "id": "coinbucha"
           }
          ],
          "as_of": "2026-10-16",
          "status": "published"
         }
        }
       }
      }
     },
     "402": {
      "description": "Payment Required"
     }
    }
   }
  },
  "/api/paid/sovereign-snapshots": {
   "get": {
    "operationId": "sovereignSnapshots",
    "summary": "Which countries hold bitcoin?",
    "description": "Which countries hold bitcoin? Every frozen monthly snapshot of national (sovereign) bitcoin reserves by country, with sources, in one call. Not investment advice.",
    "tags": [
     "bitcoin",
     "countries",
     "reserves",
     "government"
    ],
    "x-payment-info": {
     "price": {
      "mode": "fixed",
      "currency": "USD",
      "amount": "0.05"
     },
     "protocols": [
      {
       "x402": {}
      }
     ]
    },
    "parameters": [],
    "responses": {
     "200": {
      "description": "The paid answer (JSON), after an x402 payment settles.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "series": {
           "type": "string"
          },
          "count": {
           "type": "integer"
          },
          "snapshots": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "snapshot_date": {
              "type": "string"
             },
             "holders": {
              "type": "integer"
             },
             "total_held_btc": {
              "type": "integer"
             },
             "sovereigns": {
              "type": "array",
              "items": {
               "type": "object",
               "properties": {
                "country_code": {
                 "type": "string"
                },
                "holdings_btc": {
                 "type": "integer"
                }
               }
              }
             }
            }
           }
          },
          "data_contract": {
           "type": "object",
           "properties": {
            "source": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "id": {
                "type": "string"
               }
              }
             }
            },
            "status": {
             "type": "string"
            }
           }
          }
         }
        },
        "example": {
         "series": "State of Sovereign Bitcoin",
         "count": 2,
         "snapshots": [
          {
           "snapshot_date": "2026-10-01",
           "holders": 7,
           "total_held_btc": 630180,
           "sovereigns": [
            {
             "country_code": "US",
             "holdings_btc": 325000
            }
           ]
          }
         ],
         "data_contract": {
          "source": [
           {
            "id": "coinbucha"
           },
           {
            "id": "sovereign-press"
           }
          ],
          "status": "frozen"
         }
        }
       }
      }
     },
     "402": {
      "description": "Payment Required"
     }
    }
   }
  },
  "/api/paid/calendar": {
   "get": {
    "operationId": "calendar",
    "summary": "Bitcoin stocks earnings calendar: results dates and SEC 10-Q/10-K windows for MSTR, MARA, COIN, Metaplanet and other listed bitcoin companies, sourced, with outcome.",
    "description": "Bitcoin stocks earnings calendar: results dates and SEC 10-Q/10-K windows for MSTR, MARA, COIN, Metaplanet and other listed bitcoin companies, sourced, with outcome. Not investment advice.",
    "tags": [
     "bitcoin",
     "earnings",
     "calendar",
     "stocks"
    ],
    "x-payment-info": {
     "price": {
      "mode": "fixed",
      "currency": "USD",
      "amount": "0.01"
     },
     "protocols": [
      {
       "x402": {}
      }
     ]
    },
    "parameters": [],
    "responses": {
     "200": {
      "description": "The paid answer (JSON), after an x402 payment settles.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "as_of": {
           "type": "string"
          },
          "count": {
           "type": "integer"
          },
          "recorded": {
           "type": "integer"
          },
          "events": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "event_id": {
              "type": "string"
             },
             "ticker": {
              "type": "string"
             },
             "event_type": {
              "type": "string"
             },
             "event_name": {
              "type": "string"
             },
             "event_date": {
              "type": "string"
             },
             "date_status": {
              "type": "string"
             },
             "event_state": {
              "type": "string"
             },
             "source_url": {
              "type": "string"
             }
            }
           }
          },
          "data_contract": {
           "type": "object",
           "properties": {
            "source": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "id": {
                "type": "string"
               }
              }
             }
            },
            "as_of": {
             "type": "string"
            },
            "status": {
             "type": "string"
            }
           }
          }
         }
        },
        "example": {
         "as_of": "2026-10-21",
         "count": 31,
         "recorded": 6,
         "events": [
          {
           "event_id": "CBE-001",
           "ticker": "HOOD",
           "event_type": "results",
           "event_name": "Q2 2026 results",
           "event_date": "2026-07-29",
           "date_status": "occurred_primary_confirmed",
           "event_state": "recorded",
           "source_url": "https://investors.robinhood.com/news-releases/news-release-details/robinhood-reports-second-quarter-2026-results"
          }
         ],
         "data_contract": {
          "source": [
           {
            "id": "coinbucha"
           },
           {
            "id": "sec-edgar"
           },
           {
            "id": "issuer-and-exchange"
           }
          ],
          "as_of": "2026-10-21",
          "status": "published"
         }
        }
       }
      }
     },
     "402": {
      "description": "Payment Required"
     }
    }
   }
  }
 }
}