{"openapi":"3.1.0","info":{"title":"Bag of Satoshi API","version":"1.0.0","description":"Live tracker of the ~1.1M BTC attributed to Satoshi Nakamoto. Every Patoshi-mined coin checked on-chain around the clock, so you know the moment Satoshi’s bitcoin moves. Free, no key, CORS enabled. Data refreshes every 15 minutes. Agent guide: https://www.bagofsatoshi.com/agents.md. MCP: https://www.bagofsatoshi.com/mcp"},"servers":[{"url":"https://www.bagofsatoshi.com"}],"paths":{"/api/status":{"get":{"operationId":"getStatus","summary":"Have the coins attributed to Satoshi moved today?","description":"movedToday is yes, no, stale (data too old: unknown) or checking. satoshiEra lists other pre-2011 coins moving; they are NOT Satoshi's unless patoshi is true.","responses":{"200":{"description":"Live status","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/search":{"get":{"operationId":"search","summary":"Search coins, Satoshi-era moves and the FAQ","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","maxLength":120},"description":"Block height, txid, address or keywords"},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}}],"responses":{"200":{"description":"Results; type is coin, era_move, faq or section","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Missing q"}}}},"/api/coins":{"get":{"operationId":"listCoins","summary":"List Satoshi-attributed coins","parameters":[{"name":"filter","in":"query","schema":{"type":"string","enum":["all","moved","unmoved"]}},{"name":"q","in":"query","schema":{"type":"string"},"description":"Block prefix, address or txid prefix"},{"name":"page","in":"query","schema":{"type":"integer","minimum":1}},{"name":"pageSize","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}}],"responses":{"200":{"description":"Page of coins","content":{"application/json":{"schema":{"type":"object","properties":{"total":{"type":"integer"},"page":{"type":"integer"},"pages":{"type":"integer"},"coins":{"type":"array","items":{"type":"object","properties":{"height":{"type":"integer","description":"Block height that mined the coin"},"address":{"type":"string","description":"P2PK public key in 1… address form"},"btc":{"type":"number"},"coinbaseTxid":{"type":"string"},"status":{"type":"string","enum":["unmoved","moving","moved"]},"spend":{"nullable":true,"type":"object","properties":{"txid":{"type":"string"},"confirmed":{"type":"boolean"},"blockHeight":{"type":"integer"},"time":{"type":"integer","description":"Unix seconds"}}},"url":{"type":"string","format":"uri"},"explorer":{"type":"object","additionalProperties":{"type":"string","format":"uri"}}}}}}}}}}}}},"/api/coins/{height}":{"get":{"operationId":"getCoin","summary":"One coin by block height","parameters":[{"name":"height","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Coin","content":{"application/json":{"schema":{"type":"object","properties":{"height":{"type":"integer","description":"Block height that mined the coin"},"address":{"type":"string","description":"P2PK public key in 1… address form"},"btc":{"type":"number"},"coinbaseTxid":{"type":"string"},"status":{"type":"string","enum":["unmoved","moving","moved"]},"spend":{"nullable":true,"type":"object","properties":{"txid":{"type":"string"},"confirmed":{"type":"boolean"},"blockHeight":{"type":"integer"},"time":{"type":"integer","description":"Unix seconds"}}},"url":{"type":"string","format":"uri"},"explorer":{"type":"object","additionalProperties":{"type":"string","format":"uri"}}}}}}},"404":{"description":"Not a Patoshi block"}}}}}}