{"openapi":"3.1.0","info":{"title":"Subnet Metrics Explore","version":"1.0.0","description":"Read-only subnet data. Public summaries and 7-day history; paid API keys unlock 90/365-day history and CSV with a monthly quota. Existing subscriber browser sessions retain their access. See /explore/api and /explore/method."},"paths":{"/api/v1/subnets":{"get":{"summary":"Api Subnets","operationId":"api_subnets_api_v1_subnets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubnetList"}}}},"429":{"description":"Billing-period request allowance exhausted. Retry-After and X-RateLimit-Reset identify the reset."}},"security":[{},{"ApiKey":[]},{"SubscriberSession":[]}]}},"/api/v1/subnets/{netuid}":{"get":{"summary":"Api Subnet","operationId":"api_subnet_api_v1_subnets__netuid__get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","title":"Netuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubnetDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Billing-period request allowance exhausted. Retry-After and X-RateLimit-Reset identify the reset."}},"security":[{},{"ApiKey":[]},{"SubscriberSession":[]}]}},"/api/v1/subnets/{netuid}/history":{"get":{"summary":"Api History","operationId":"api_history_api_v1_subnets__netuid__history_get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","title":"Netuid"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","enum":[7,90,365],"default":7,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubnetHistory"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Billing-period request allowance exhausted. Retry-After and X-RateLimit-Reset identify the reset."}},"security":[{},{"ApiKey":[]},{"SubscriberSession":[]}]}},"/api/v1/subnets/{netuid}/history.csv":{"get":{"summary":"Csv History","operationId":"csv_history_api_v1_subnets__netuid__history_csv_get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","title":"Netuid"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","enum":[7,90,365],"default":90,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}},"text/csv":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Billing-period request allowance exhausted. Retry-After and X-RateLimit-Reset identify the reset."}},"security":[{"ApiKey":[]},{"SubscriberSession":[]}]}}},"components":{"schemas":{"Claim":{"properties":{"text":{"type":"string","title":"Text"},"name_at_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name At Source"},"source":{"type":"string","title":"Source"},"reviewed":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reviewed"}},"type":"object","required":["text","name_at_source","source","reviewed"],"title":"Claim"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HistoryDay":{"properties":{"date":{"type":"string","title":"Date"},"alpha":{"type":"number","title":"Alpha"},"burns":{"type":"integer","title":"Burns"},"tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tao"},"unpriced_burns":{"type":"integer","title":"Unpriced Burns"},"partial_day":{"type":"boolean","title":"Partial Day"}},"type":"object","required":["date","alpha","burns","tao","unpriced_burns","partial_day"],"title":"HistoryDay"},"SubnetDetail":{"properties":{"as_of":{"type":"string","title":"As Of"},"freshness":{"type":"string","enum":["current","stale","unknown"],"title":"Freshness"},"burns_checked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Burns Checked At"},"valuation":{"type":"string","title":"Valuation"},"method_url":{"type":"string","title":"Method Url"},"subnet":{"$ref":"#/components/schemas/SubnetRow"}},"type":"object","required":["as_of","freshness","burns_checked_at","valuation","method_url","subnet"],"title":"SubnetDetail"},"SubnetHistory":{"properties":{"as_of":{"type":"string","title":"As Of"},"freshness":{"type":"string","enum":["current","stale","unknown"],"title":"Freshness"},"burns_checked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Burns Checked At"},"valuation":{"type":"string","title":"Valuation"},"method_url":{"type":"string","title":"Method Url"},"netuid":{"type":"integer","title":"Netuid"},"days":{"type":"integer","title":"Days"},"coverage":{"type":"string","title":"Coverage"},"rows":{"items":{"$ref":"#/components/schemas/HistoryDay"},"type":"array","title":"Rows"}},"type":"object","required":["as_of","freshness","burns_checked_at","valuation","method_url","netuid","days","coverage","rows"],"title":"SubnetHistory"},"SubnetList":{"properties":{"as_of":{"type":"string","title":"As Of"},"freshness":{"type":"string","enum":["current","stale","unknown"],"title":"Freshness"},"burns_checked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Burns Checked At"},"valuation":{"type":"string","title":"Valuation"},"method_url":{"type":"string","title":"Method Url"},"version":{"type":"string","title":"Version"},"panel_date":{"type":"string","title":"Panel Date"},"alerts_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alerts Date"},"rows":{"items":{"$ref":"#/components/schemas/SubnetRow"},"type":"array","title":"Rows"},"trend":{"additionalProperties":true,"type":"object","title":"Trend"}},"type":"object","required":["as_of","freshness","burns_checked_at","valuation","method_url","version","panel_date","alerts_date","rows","trend"],"title":"SubnetList"},"SubnetRow":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"name":{"type":"string","title":"Name"},"price_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Tao"},"panel_date":{"type":"string","title":"Panel Date"},"alpha_24h":{"type":"number","title":"Alpha 24H"},"alpha_7d":{"type":"number","title":"Alpha 7D"},"alpha_30d":{"type":"number","title":"Alpha 30D"},"tao_24h":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tao 24H"},"tao_7d":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tao 7D"},"tao_30d":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tao 30D"},"change_7d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Change 7D Pct"},"last_burn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Burn"},"claim":{"anyOf":[{"$ref":"#/components/schemas/Claim"},{"type":"null"}]},"first_burn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Burn"},"observed_burns":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Observed Burns"},"alpha_observed_total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Alpha Observed Total"},"spark7":{"items":{"type":"number"},"type":"array","title":"Spark7","default":[]}},"type":"object","required":["netuid","name","price_tao","panel_date","alpha_24h","alpha_7d","alpha_30d","tao_24h","tao_7d","tao_30d","change_7d_pct","last_burn","claim"],"title":"SubnetRow"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"securitySchemes":{"SubscriberSession":{"type":"apiKey","in":"cookie","name":"sm_explore"},"ApiKey":{"type":"http","scheme":"bearer","bearerFormat":"sm_live_…"}}},"servers":[{"url":"https://subnetmetrics.com"}]}