{"info":{"description":"Public read API for Kaspa covenants indexed by Covex (hightable.pro). All list endpoints are paginated with limit (max 200) and offset. The same API powers the explorer UI.","title":"Covex Covenant API","version":"1.1.0"},"openapi":"3.0.3","paths":{"/address/{addr}":{"get":{"parameters":[{"in":"path","name":"addr","required":true,"schema":{"type":"string"}}],"summary":"Public portfolio for an address"}},"/analytics":{"get":{"parameters":[{"in":"query","name":"creator","schema":{"type":"string"}}],"summary":"Creator or global analytics"}},"/balance/{addr}":{"get":{"parameters":[{"in":"path","name":"addr","required":true,"schema":{"type":"string"}}],"summary":"Address balance in sompi"}},"/compile":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"source":{"type":"string"}},"type":"object"}}}},"summary":"Compile Covex DSL or SilverScript to bytecode"}},"/covenants":{"get":{"parameters":[{"in":"query","name":"network","schema":{"enum":["testnet-12","testnet-10","mainnet"],"type":"string"}},{"in":"query","name":"limit","schema":{"default":60,"maximum":200,"type":"integer"}},{"in":"query","name":"offset","schema":{"default":0,"type":"integer"}},{"description":"Keyword search. Pipe separates OR alternatives (chess|fide).","in":"query","name":"q","schema":{"type":"string"}},{"in":"query","name":"category","schema":{"type":"string"}},{"in":"query","name":"creator","schema":{"type":"string"}}],"summary":"List covenants"}},"/covenants/{covenant_id}":{"get":{"parameters":[{"in":"path","name":"covenant_id","required":true,"schema":{"type":"string"}}],"summary":"Full covenant detail including script_hex and custom UI"}},"/events":{"get":{"parameters":[{"in":"query","name":"network","schema":{"type":"string"}},{"in":"query","name":"limit","schema":{"default":30,"maximum":200,"type":"integer"}}],"summary":"Recent activity feed (discoveries, tier upgrades, resolutions)"}},"/resolve/{query}":{"get":{"parameters":[{"description":"A .kas domain, a kaspa:/kaspatest: address, a 64-hex txid or covenant id, or a keyword.","in":"path","name":"query","required":true,"schema":{"type":"string"}},{"description":"KNS is indexed on mainnet and testnet-10 only (testnet-12 returns resolved:false).","in":"query","name":"network","schema":{"default":"mainnet","enum":["mainnet","testnet-10","testnet-12"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"address":{"nullable":true,"type":"string"},"covenant_id":{"nullable":true,"type":"string"},"kns":{"nullable":true,"properties":{"name":{"type":"string"},"owner":{"type":"string"}},"type":"object"},"network":{"type":"string"},"network_hint":{"enum":["mainnet","testnet"],"nullable":true,"type":"string"},"note":{"nullable":true,"type":"string"},"query":{"type":"string"},"resolved":{"type":"boolean"},"type":{"enum":["kns","address","txid","covenant","keyword"],"type":"string"}},"type":"object"}}},"description":"Resolution result"}},"summary":"Smart-resolve a free-form query. Classifies it as a KNS .kas domain, a Kaspa address, a txid/covenant, or a keyword, and resolves .kas ownership via KNS (fail-closed). Powers the explorer search bar and AI/API callers."}},"/stats":{"get":{"parameters":[{"in":"query","name":"network","schema":{"enum":["all","testnet-12","testnet-10","mainnet"],"type":"string"}}],"summary":"Public platform statistics (covenants, TVL, tiers, categories, activity timeline)"}},"/status":{"get":{"summary":"Indexer status, networks, commit"}},"/tiers":{"get":{"summary":"Tier definitions and pricing"}}},"servers":[{"url":"https://hightable.pro/api"}]}