{
  "openapi": "3.1.0",
  "info": {
    "title": "Main.net Reference API",
    "version": "v1",
    "summary": "Static source-cited mainnet chain metadata API.",
    "description": "Main.net API v1 is a static, source-linked reference API for reviewed chain IDs, RPC URLs, explorers, wallet config JSON, and automated source snapshot provenance. The API does not publish live uptime, latency, block lag, price, TVL, or investment advice. Public RPC endpoints are setup references and should be verified against linked sources before production use. Deprecated lastVerified, verifiedAt*, updated, reviewCadence, and needsReviewAfter fields are compatibility aliases for automated source snapshots; they do not prove manual field review. Use chain urls.canonical, urls.rpcSection, and urls.chainIdSection for stable page links; urls.legacyRedirects preserves old helper URLs as redirects."
  },
  "servers": [
    {
      "url": "https://main.net",
      "description": "Production"
    }
  ],
  "paths": {
    "/api/v1/chains.json": {
      "get": {
        "summary": "Reviewed chain metadata, decimal and hex chain IDs, copy-ready config JSON, canonical status URLs, legacy helper redirects, RPC URLs, explorers, source snapshot provenance, safety notes, and chain ID probe evidence.",
        "operationId": "chains",
        "tags": [
          "chains"
        ],
        "responses": {
          "200": {
            "description": "Static source-cited JSON response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/chains.csv": {
      "get": {
        "summary": "CSV snapshot of reviewed chain metadata for spreadsheets and lightweight scripts.",
        "operationId": "chains_csv",
        "tags": [
          "chains-csv"
        ],
        "responses": {
          "200": {
            "description": "Static source-cited CSV response.",
            "content": {
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/launches.json": {
      "get": {
        "summary": "Reviewed launch records with primary source links and no stage labels.",
        "operationId": "launches",
        "tags": [
          "launches"
        ],
        "responses": {
          "200": {
            "description": "Static source-cited JSON response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/categories.json": {
      "get": {
        "summary": "Network category records and the chain IDs grouped under each category.",
        "operationId": "network_categories",
        "tags": [
          "network-categories"
        ],
        "responses": {
          "200": {
            "description": "Static source-cited JSON response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/glossary.json": {
      "get": {
        "summary": "Short mainnet, RPC endpoint, and chain ID definitions with related guide URLs.",
        "operationId": "glossary",
        "tags": [
          "glossary"
        ],
        "responses": {
          "200": {
            "description": "Static source-cited JSON response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/gas-tokens.json": {
      "get": {
        "summary": "Gas token groups derived from reviewed chain metadata.",
        "operationId": "gas_tokens",
        "tags": [
          "gas-tokens"
        ],
        "responses": {
          "200": {
            "description": "Static source-cited JSON response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/explorers.json": {
      "get": {
        "summary": "Block explorer hostnames and chain contexts from reviewed chain metadata.",
        "operationId": "explorers",
        "tags": [
          "explorers"
        ],
        "responses": {
          "200": {
            "description": "Static source-cited JSON response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/search-index.json": {
      "get": {
        "summary": "Static discovery index for chain, RPC, guide, launch, glossary, explorer, and gas-token pages.",
        "operationId": "search_index",
        "tags": [
          "search-index"
        ],
        "responses": {
          "200": {
            "description": "Static source-cited JSON response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/review-queue.json": {
      "get": {
        "summary": "Operator-facing queue derived from source changes, fetch failures, and chain ID probe failures.",
        "operationId": "review_queue",
        "tags": [
          "review-queue"
        ],
        "responses": {
          "200": {
            "description": "Static source-cited JSON response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/sources.json": {
      "get": {
        "summary": "Deduplicated public source registry with chain and launch page contexts.",
        "operationId": "sources",
        "tags": [
          "sources"
        ],
        "responses": {
          "200": {
            "description": "Static source-cited JSON response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/source-hashes.json": {
      "get": {
        "summary": "Source URL hash snapshot for deterministic change detection.",
        "operationId": "source_hashes",
        "tags": [
          "source-hashes"
        ],
        "responses": {
          "200": {
            "description": "Static source-cited JSON response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/source-changes.json": {
      "get": {
        "summary": "Source URL changes compared with the previous hash snapshot.",
        "operationId": "source_changes",
        "tags": [
          "source-changes"
        ],
        "responses": {
          "200": {
            "description": "Static source-cited JSON response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/rpc-probes.json": {
      "get": {
        "summary": "eth_chainId probe snapshot for EVM-style public RPC endpoints.",
        "operationId": "rpc_probes",
        "tags": [
          "rpc-probes"
        ],
        "responses": {
          "200": {
            "description": "Static source-cited JSON response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ai-source-extractions.json": {
      "get": {
        "summary": "Review-only AI source extraction report for changed source URLs. It does not edit reviewed chain metadata.",
        "operationId": "ai_source_extractions",
        "tags": [
          "ai-source-extractions"
        ],
        "responses": {
          "200": {
            "description": "Static source-cited JSON response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ai-candidate-drafts.json": {
      "get": {
        "summary": "Review-only AI candidate draft report. It does not publish candidate chains.",
        "operationId": "ai_candidate_drafts",
        "tags": [
          "ai-candidate-drafts"
        ],
        "responses": {
          "200": {
            "description": "Static source-cited JSON response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/upstream-reconciliation.json": {
      "get": {
        "summary": "Internal upstream registry comparison report. Differences are factual observations, not judgments about source quality.",
        "operationId": "upstream_reconciliation",
        "tags": [
          "upstream-reconciliation"
        ],
        "responses": {
          "200": {
            "description": "Static source-cited JSON response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "chains",
      "description": "Reviewed chain metadata, decimal and hex chain IDs, copy-ready config JSON, canonical status URLs, legacy helper redirects, RPC URLs, explorers, source snapshot provenance, safety notes, and chain ID probe evidence."
    },
    {
      "name": "chains-csv",
      "description": "CSV snapshot of reviewed chain metadata for spreadsheets and lightweight scripts."
    },
    {
      "name": "launches",
      "description": "Reviewed launch records with primary source links and no stage labels."
    },
    {
      "name": "network-categories",
      "description": "Network category records and the chain IDs grouped under each category."
    },
    {
      "name": "glossary",
      "description": "Short mainnet, RPC endpoint, and chain ID definitions with related guide URLs."
    },
    {
      "name": "gas-tokens",
      "description": "Gas token groups derived from reviewed chain metadata."
    },
    {
      "name": "explorers",
      "description": "Block explorer hostnames and chain contexts from reviewed chain metadata."
    },
    {
      "name": "search-index",
      "description": "Static discovery index for chain, RPC, guide, launch, glossary, explorer, and gas-token pages."
    },
    {
      "name": "review-queue",
      "description": "Operator-facing queue derived from source changes, fetch failures, and chain ID probe failures."
    },
    {
      "name": "sources",
      "description": "Deduplicated public source registry with chain and launch page contexts."
    },
    {
      "name": "source-hashes",
      "description": "Source URL hash snapshot for deterministic change detection."
    },
    {
      "name": "source-changes",
      "description": "Source URL changes compared with the previous hash snapshot."
    },
    {
      "name": "rpc-probes",
      "description": "eth_chainId probe snapshot for EVM-style public RPC endpoints."
    },
    {
      "name": "ai-source-extractions",
      "description": "Review-only AI source extraction report for changed source URLs. It does not edit reviewed chain metadata."
    },
    {
      "name": "ai-candidate-drafts",
      "description": "Review-only AI candidate draft report. It does not publish candidate chains."
    },
    {
      "name": "upstream-reconciliation",
      "description": "Internal upstream registry comparison report. Differences are factual observations, not judgments about source quality."
    }
  ],
  "x-mainnet": {
    "mode": "static-source-cited",
    "schema_version": "1.0.0",
    "updated": "July 4, 2026",
    "chainSourceSnapshotAt": "July 4, 2026",
    "freshnessSemantics": {
      "sourceSnapshot": "sourceSnapshot* fields describe automated source-monitoring evidence and do not prove manual review of every field.",
      "legacyAliases": {
        "verifiedAt": "sourceSnapshotAt",
        "verifiedAtIso": "sourceSnapshotAtIso",
        "verifiedByTool": "sourceSnapshotByTool",
        "verificationRunId": "sourceSnapshotRunId",
        "lastVerified": "sourceSnapshotAt",
        "updated": "sourceSnapshotAt",
        "reviewCadence": "legacy automated source-snapshot schedule",
        "needsReviewAfter": "legacy automated source-snapshot schedule"
      },
      "deprecation": "Legacy lastVerified, verifiedAt*, updated, reviewCadence, and needsReviewAfter fields remain compatibility aliases and are not proof of manual field review."
    },
    "boundaries": [
      "No custody",
      "No swaps",
      "No bridge execution",
      "No token sales",
      "No investment advice",
      "No live uptime or latency claims"
    ]
  }
}