{
 "openapi": "3.1.0",
 "info": {
  "title": "NamadaTrade public API",
  "version": "2026-11-10",
  "description": "NAM price, who holds it, how much is staked, shielded or on Osmosis, and what a trade costs. Every number shows its source and age. NamadaTrade reports public on-chain and exchange data. It is not investment advice and is not affiliated with Namada or the Anoma Foundation. Every route is read-only and needs no key. The reference in plain words: https://namada.trade/developers",
  "license": {
   "name": "MIT",
   "identifier": "MIT"
  }
 },
 "servers": [
  {
   "url": "https://namada.trade"
  }
 ],
 "externalDocs": {
  "description": "The API page",
  "url": "https://namada.trade/developers"
 },
 "tags": [
  {
   "name": "Price and pools",
   "description": "What NAM costs now, what a trade of a given size returns and what the pools hold."
  },
  {
   "name": "Depth",
   "description": "What rests at every price for NAM on Osmosis, from the chain’s own state of every pool."
  },
  {
   "name": "Moves",
   "description": "Every recorded move of NAM on Namada and Osmosis, and the search over them."
  },
  {
   "name": "Holders and addresses",
   "description": "Who holds NAM, and what one address holds and did."
  },
  {
   "name": "Supply and the shielded pool",
   "description": "What could reach the market, what is being unlocked and what sits in the shielded pool."
  },
  {
   "name": "Series",
   "description": "The stored history behind every chart, each series with the day its record begins."
  },
  {
   "name": "Alerts and votes",
   "description": "The moves that crossed an alert size, the sizes themselves, and the votes and forum posts the site reads."
  },
  {
   "name": "The site itself",
   "description": "The checks the site runs on its own figures and whether its last reading completed."
  }
 ],
 "paths": {
  "/api/overview": {
   "get": {
    "summary": "Overview",
    "description": "The site’s headline figures in one answer: the price, all NAM and where it sits, the pools’ totals, the last day’s trading and the holder counts on both chains, each with its stamp.",
    "tags": [
     "Price and pools"
    ],
    "parameters": [
     {
      "name": "at",
      "in": "query",
      "required": false,
      "description": "Answers as of that moment (Rewind). Left out, or a time that is not in the past: now.",
      "schema": {
       "type": "integer",
       "description": "A time in unix milliseconds."
      }
     }
    ],
    "responses": {
     "200": {
      "description": "The site’s headline figures in one answer: the price, all NAM and where it sits, the pools’ totals, the last day’s trading and the holder counts on both chains, each with its stamp.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "generatedAt": {
           "description": "When the answer was made."
          },
          "network": {
           "description": "While the Namada network is halted: the notice the site shows, with what the Namada team said, who said it and what it means here. Null when it is not halted."
          },
          "asOf": {
           "description": "The rewound moment every figure is as of, or null for a live answer."
          },
          "price": {
           "description": "The quoted NAM price from the Osmosis router and the hourly median of executed NAM for USDC trades, each with its stamp, and the change of the quoted price over the last day in percent."
          },
          "supply": {
           "description": "All NAM in existence and where it sits: staked, in the staking account but not staked, in public funding, in the shielded pool, in the bridge account, on Osmosis and in ordinary accounts on Namada, with stamps. A live answer adds the chain’s running total of shielded rewards and the staking inflation of the newest epoch read."
          },
          "heads": {
           "description": "The newest block the site has read on Osmosis and on Namada, each with its stamp, and the Namada epoch. While the newest Namada block is old (no block is being made, or the reading cannot tell), its stamp is dated by that block's own time and marked stale, with the reason; when no node gave a usable newest block, the stamp is the reading's, marked stale, with the reason."
          },
          "dex": {
           "description": "The Osmosis side: the number of pools that hold NAM, the money in them, holders on Osmosis, the last day’s volume, buys and sells with bot trades left out, and the net NAM that crossed the bridge, with a stamp for the pools and one for the record of moves."
          },
          "namada": {
           "description": "The Namada side: holders, how many of them hold under one NAM, and over the last day the recorded moves and the NAM staked, withdrawn from staking, moved into the shielded pool and moved out of it, with the stamp of the record of moves."
          },
          "concentration": {
           "description": "The share of NAM the ten largest holders hold on each chain, in percent, each with the stamp of the balances behind it."
          },
          "checks": {
           "description": "The site’s cross-checks, each with its status, title, detail and the time it last ran. Empty under Rewind."
          },
          "sources": {
           "description": "Each outside source the site reads, with whether its last read answered and when. Empty under Rewind."
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/pools": {
   "get": {
    "summary": "Pools",
    "description": "The pools on Osmosis that hold NAM, as the Osmosis router lists them, each with its reserves and its size.",
    "tags": [
     "Price and pools"
    ],
    "parameters": [],
    "responses": {
     "200": {
      "description": "The pools on Osmosis that hold NAM, as the Osmosis router lists them, each with its reserves and its size.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "pools": {
           "description": "Every pool on Osmosis that holds NAM: its id, its kind, its two coins and what it holds of each, its fee, its size in dollars and its share of the total."
          },
          "prov": {
           "description": "Where the list came from and when it was read (a stamp)."
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/quote": {
   "get": {
    "summary": "Quote",
    "description": "What selling or buying a given amount of NAM returns right now, asked of the Osmosis router: the coins in and out, the price per NAM against the reference price, the fee and the route.",
    "tags": [
     "Price and pools"
    ],
    "parameters": [
     {
      "name": "amount",
      "in": "query",
      "required": false,
      "description": "The amount of NAM to sell or to buy. An amount that is not above zero is refused. Left out: 1000.",
      "schema": {
       "type": "number",
       "maximum": 1000000000000
      }
     },
     {
      "name": "side",
      "in": "query",
      "required": false,
      "description": "Whether the NAM is bought or sold. Any other value is refused. Left out: sell.",
      "schema": {
       "type": "string",
       "enum": [
        "buy",
        "sell"
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "What selling or buying a given amount of NAM returns right now, asked of the Osmosis router: the coins in and out, the price per NAM against the reference price, the fee and the route.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "quote": {
           "description": "The quote: the coins in and out, the reference price it is measured against, the price per NAM the trade would get, the price move and the fee in percent, the pools on the route and a stamp. Null when no quote could be made."
          },
          "error": {
           "description": "Why there is no quote, in plain words. Absent when there is one."
          },
          "code": {
           "description": "The same reason as one fixed word (busy, unavailable, no_route or no_price), when the Osmosis router gave no quote."
          }
         }
        }
       }
      }
     },
     "400": {
      "description": "A value outside what a parameter takes.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/quote/curve": {
   "get": {
    "summary": "Size table",
    "description": "The size table the site builds once a minute from the Osmosis router: what selling and buying each listed amount of NAM returns, and the sizes at which the price moves by one and by three percent.",
    "tags": [
     "Price and pools"
    ],
    "parameters": [],
    "responses": {
     "200": {
      "description": "The size table the site builds once a minute from the Osmosis router: what selling and buying each listed amount of NAM returns, and the sizes at which the price moves by one and by three percent.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "spotUsd": {
           "description": "The reference price the table is measured against, in dollars per NAM; null when there is none."
          },
          "poolsCount": {
           "description": "How many pools on Osmosis hold NAM; null when the pool list was not read."
          },
          "totalLiquidityUsd": {
           "description": "The money in the pools that can be priced, in dollars; null when none is priced."
          },
          "refPoolLiquidityUsd": {
           "description": "The money in the reference pool, in dollars."
          },
          "maxSafeClip1PctNam": {
           "description": "The trade size in NAM at which the price move reaches one percent on the worse of buying and selling: an estimate between the listed sizes. Null when no size has both sides quoted, or when the smallest size already moves the price more."
          },
          "maxSafeClip3PctNam": {
           "description": "The same at three percent."
          },
          "safeClip1Pct": {
           "description": "The one percent figure with how it was made: between two listed sizes, at least the largest listed size, or below the smallest."
          },
          "safeClip3Pct": {
           "description": "The same for the three percent figure."
          },
          "liquidityCliffNam": {
           "description": "The trade size in NAM above which the price of each further NAM jumps; null when it worsens smoothly across the listed sizes."
          },
          "cliffNote": {
           "description": "That jump in words; null when there is none."
          },
          "curve": {
           "description": "The size table: for each listed amount of NAM, what selling it returns and what buying it costs in USDC, the price per NAM each way and the price move in percent."
          },
          "prov": {
           "description": "Where the table came from and when it was built (a stamp)."
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/depth": {
   "get": {
    "summary": "Newest minute",
    "description": "The newest stored minute of depth: what rests at every price for NAM across every Osmosis pool that holds it, merged into one ladder and one curve, with what the fixed sizes would return.",
    "tags": [
     "Depth"
    ],
    "parameters": [],
    "responses": {
     "200": {
      "description": "The newest stored minute of depth: what rests at every price for NAM across every Osmosis pool that holds it, merged into one ladder and one curve, with what the fixed sizes would return.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "at": {
           "description": "The start of the minute the reading is of."
          },
          "generatedAt": {
           "description": "When the reading was written."
          },
          "ref": {
           "description": "The reference price in dollars per NAM: the pool it is read from, its block and time, and whether the reading is live or old."
          },
          "pools": {
           "description": "Every pool read: its kind, its pair, the other coin’s price and how that price was set, its fees, what it holds of each coin and its own read with time and block. A concentrated pool adds its tick and liquidity, the order book its levels."
          },
          "unpriced": {
           "description": "The pools that are listed but not summed, each with the reason."
          },
          "answer": {
           "description": "What selling and what buying each of the fixed sizes returns across every priced pool, best price first: dollars, the average and the last price, whether the size fills, and the split by pool."
          },
          "touch": {
           "description": "The effective price of the first coins each way, with the pool that gives it and the size it is read at."
          },
          "within": {
           "description": "Dollars of bids and NAM of asks resting within fixed distances of the reference price, and each side’s total."
          },
          "offsets": {
           "description": "Dollars resting within each stored distance of the reference price, one list for bids and one for asks."
          },
          "book": {
           "description": "The raw ladder: every tick range of a concentrated pool, every level of the order book and every weighted pool’s reserves, each with its price range, its coins and its fees."
          },
          "curve": {
           "description": "The merged curve: a list of prices with the dollars and NAM of bids and of asks that add up to each, for every pool together and for each pool."
          },
          "checks": {
           "description": "How the site’s own walk of the pools compares with the chain’s own swap estimate, with the Osmosis router’s direct quote and with recent executed trades."
          },
          "prov": {
           "description": "One stamp for every read behind the minute: what was read, where, when, at what block and how many bytes."
          },
          "cost": {
           "description": "How many reads the minute made, their bytes and their time."
          },
          "note": {
           "description": "A remark on the minute when there is one, for example that the newest stored minute is old."
          }
         }
        }
       }
      }
     },
     "404": {
      "description": "No minute of depth has been stored yet.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/depth/quote": {
   "get": {
    "summary": "Quote on the stored minute",
    "description": "What selling or buying a given size of NAM returns on the newest stored minute, walked across every priced pool with no outside request: dollars, the average price, the split by pool and how far the average sits from the reference price.",
    "tags": [
     "Depth"
    ],
    "parameters": [
     {
      "name": "side",
      "in": "query",
      "required": true,
      "description": "Whether the NAM is sold or bought.",
      "schema": {
       "type": "string",
       "enum": [
        "sell",
        "buy"
       ]
      }
     },
     {
      "name": "nam",
      "in": "query",
      "required": true,
      "description": "The size in NAM. The answer is for the size rounded, as its `nam` field states.",
      "schema": {
       "type": "number",
       "minimum": 1,
       "maximum": 10000000
      }
     }
    ],
    "responses": {
     "200": {
      "description": "What selling or buying a given size of NAM returns on the newest stored minute, walked across every priced pool with no outside request: dollars, the average price, the split by pool and how far the average sits from the reference price.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "nam": {
           "description": "The size answered, in NAM: the size asked, rounded."
          },
          "usd": {
           "description": "Dollars out for a sale, dollars in for a buy."
          },
          "avgPrice": {
           "description": "The average price of the fill in dollars per NAM; null when there is none."
          },
          "marginalPrice": {
           "description": "The price of the last NAM filled."
          },
          "complete": {
           "description": "Whether the pools fill the whole size."
          },
          "filledNam": {
           "description": "The NAM that does fill."
          },
          "split": {
           "description": "The fill by pool: NAM and dollars in each. Empty when only the merged curve was walked."
          },
          "side": {
           "description": "The side asked: sell or buy."
          },
          "ref": {
           "description": "The minute’s reference price, with its pool, block and time and whether it is live or old."
          },
          "vsRef": {
           "description": "The average price against the reference price, in percent; null when there is no average."
          },
          "at": {
           "description": "The minute the quote was walked on."
          },
          "height": {
           "description": "The block of that minute’s reference reading."
          },
          "how": {
           "description": "What was walked, in words: the pool models rebuilt from the minute’s stored states, or the stored merged curve alone."
          },
          "note": {
           "description": "Present when the size does not fill whole, with how much does."
          },
          "prov": {
           "description": "The stamps of the reads behind the minute."
          }
         }
        }
       }
      }
     },
     "400": {
      "description": "A value outside what a parameter takes.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "404": {
      "description": "No minute of depth has been stored yet.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/depth/history": {
   "get": {
    "summary": "History",
    "description": "The stored depth figures over a range, at steps of one minute or one hour, for one pool or for every pool summed, with the gaps listed.",
    "tags": [
     "Depth"
    ],
    "parameters": [
     {
      "name": "pool",
      "in": "query",
      "required": false,
      "description": "A pool’s number, or `all` for every pool summed. Anything else is refused. Left out: all.",
      "schema": {
       "type": "string",
       "maxLength": 12
      }
     },
     {
      "name": "from",
      "in": "query",
      "required": false,
      "description": "The start of the range. Left out: one day before `to`; a start that is not before `to` is refused.",
      "schema": {
       "oneOf": [
        {
         "type": "integer",
         "description": "A time in unix milliseconds."
        },
        {
         "type": "string",
         "format": "date",
         "description": "A UTC day."
        }
       ]
      }
     },
     {
      "name": "to",
      "in": "query",
      "required": false,
      "description": "The end of the range, not included; a day means its end. Left out, or later than the moment the answer is as of: that moment.",
      "schema": {
       "oneOf": [
        {
         "type": "integer",
         "description": "A time in unix milliseconds."
        },
        {
         "type": "string",
         "format": "date",
         "description": "A UTC day."
        }
       ]
      }
     },
     {
      "name": "step",
      "in": "query",
      "required": false,
      "description": "The step of the points: one minute or one hour. Any other value is refused. Left out: 1m.",
      "schema": {
       "type": "string",
       "enum": [
        "1m",
        "1h"
       ]
      }
     },
     {
      "name": "at",
      "in": "query",
      "required": false,
      "description": "Answers as of that moment (Rewind). Left out, or a time that is not in the past: now.",
      "schema": {
       "type": "integer",
       "description": "A time in unix milliseconds."
      }
     }
    ],
    "responses": {
     "200": {
      "description": "The stored depth figures over a range, at steps of one minute or one hour, for one pool or for every pool summed, with the gaps listed.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "pool": {
           "description": "The pool the rows are of, or `all` for every pool summed."
          },
          "refPool": {
           "description": "The pool the reference price of each point is read from."
          },
          "step": {
           "description": "The step of the points: one minute or one hour."
          },
          "from": {
           "description": "The start of the range answered."
          },
          "to": {
           "description": "The end of the range answered, not included."
          },
          "asOf": {
           "description": "The moment the answer is as of."
          },
          "points": {
           "description": "One point per stored step, oldest first: the reference and spot price, the dollars resting within each stored distance on each side, what the fixed sizes sold and bought return, and the best bid and ask. An hourly point adds the hour’s lowest and highest figures."
          },
          "gaps": {
           "description": "Runs of steps with no stored row, each with the reason. Nothing is filled in."
          },
          "start": {
           "description": "The first stored step of this pool at this step; null when nothing is stored."
          },
          "recordedSince": {
           "description": "When depth was first recorded for this pool at any step; null when nothing is stored."
          },
          "cut": {
           "description": "True when the range held more rows than one answer takes and the answer stops there."
          },
          "note": {
           "description": "A remark in words when there is one: how long minute rows are kept, that the answer was cut, or where the stored rows start."
          },
          "prov": {
           "description": "The stamp of the read: the table and range read, and the newest row’s time and block."
          }
         }
        }
       }
      }
     },
     "400": {
      "description": "A value outside what a parameter takes.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/depth/heat": {
   "get": {
    "summary": "Heat bands",
    "description": "For every pool summed, the dollars resting in each price band around the reference price at each stored step of a window.",
    "tags": [
     "Depth"
    ],
    "parameters": [
     {
      "name": "days",
      "in": "query",
      "required": false,
      "description": "The length of the window in days; each length is read at its own step. Any other value is refused. Left out: 7.",
      "schema": {
       "type": "string",
       "enum": [
        "1",
        "7",
        "30"
       ]
      }
     },
     {
      "name": "at",
      "in": "query",
      "required": false,
      "description": "Answers as of that moment (Rewind). Left out, or a time that is not in the past: now.",
      "schema": {
       "type": "integer",
       "description": "A time in unix milliseconds."
      }
     }
    ],
    "responses": {
     "200": {
      "description": "For every pool summed, the dollars resting in each price band around the reference price at each stored step of a window.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "days": {
           "description": "The length of the window in days."
          },
          "from": {
           "description": "The start of the window."
          },
          "to": {
           "description": "The end of the window."
          },
          "asOf": {
           "description": "The moment the answer is as of."
          },
          "bands": {
           "description": "The price bands: their edges as ratios of the reference price, and the width of a band in percent."
          },
          "columns": {
           "description": "One column per stored step: its time, its reference price, its block, and the dollars resting in each band on the bid side and on the ask side, as base64 of single-precision numbers, one per band. A step with no row has no column."
          },
          "step": {
           "description": "The step the window is read at: one minute, five minutes or one hour."
          },
          "max": {
           "description": "The largest band value over every column."
          },
          "how": {
           "description": "How the columns were picked, in words."
          },
          "prov": {
           "description": "The stamp of the read: the table and range read, and the newest row’s time and block."
          }
         }
        }
       }
      }
     },
     "400": {
      "description": "A value outside what a parameter takes.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/depth/owners": {
   "get": {
    "summary": "Position and order owners",
    "description": "The newest hourly reading of the positions and resting orders behind the depth, grouped by the address that holds them, with their sizes and shares.",
    "tags": [
     "Depth"
    ],
    "parameters": [],
    "responses": {
     "200": {
      "description": "The newest hourly reading of the positions and resting orders behind the depth, grouped by the address that holds them, with their sizes and shares.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "at": {
           "description": "When the hour’s reading was taken."
          },
          "height": {
           "description": "The block it was read at; null when not known."
          },
          "owners": {
           "description": "Each address with a position or an order in the pools read: its positions and orders with their price ranges, the NAM and dollars in them, its share of the total and its label where the site has one."
          },
          "totals": {
           "description": "NAM, dollars, positions and orders over every owner."
          },
          "prov": {
           "description": "The stamps of the reads behind the hour."
          },
          "hour": {
           "description": "The hour the reading belongs to."
          },
          "positions": {
           "description": "The positions’ reading: its time and block, whether it was read, the pools it covers and, when it was not read, why."
          },
          "orders": {
           "description": "The orders’ reading: its time and block, whether it was read and, when it was not, why."
          },
          "invariants": {
           "description": "Three facts the hourly reading is held to, each with whether it held and a note."
          },
          "notes": {
           "description": "What the hour left out or could not read, in words."
          },
          "labelled": {
           "description": "How many of the owners carry a label."
          }
         }
        }
       }
      }
     },
     "404": {
      "description": "No hourly reading of the owners has been stored yet.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/depth/changes": {
   "get": {
    "summary": "Changes",
    "description": "Liquidity that appeared, left or filled, as the difference between two readings of the pools, newest first.",
    "tags": [
     "Depth"
    ],
    "parameters": [
     {
      "name": "pool",
      "in": "query",
      "required": false,
      "description": "A pool’s number, for that pool’s changes only. Left out: every pool; anything else is refused.",
      "schema": {
       "type": "string",
       "maxLength": 12
      }
     },
     {
      "name": "before",
      "in": "query",
      "required": false,
      "description": "The `next` of the page before, for the rows after it. Anything that is not such a cursor is refused.",
      "schema": {
       "type": "string",
       "maxLength": 200
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "description": "Rows per page. A value outside the range is refused. Left out: 200.",
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 200
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Liquidity that appeared, left or filled, as the difference between two readings of the pools, newest first.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "pool": {
           "description": "The pool asked for, or null for every pool."
          },
          "rows": {
           "description": "The changes, newest first: when, in which pool, what changed, whether it was added, removed, filled, grew or shrank, its side, its price range, its NAM and dollars, the owner when known and the block."
          },
          "next": {
           "description": "The cursor of the page after; null at the end."
          },
          "limit": {
           "description": "The rows per page answered."
          },
          "prov": {
           "description": "The stamp of the read: the table and range read, and the newest row’s time and block."
          }
         }
        }
       }
      }
     },
     "400": {
      "description": "A value outside what a parameter takes.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/flows": {
   "get": {
    "summary": "Moves",
    "description": "Recorded moves of NAM on Namada and Osmosis, newest first, filtered by chain, kind, size, address, record or block and paged by cursor.",
    "tags": [
     "Moves"
    ],
    "parameters": [
     {
      "name": "chain",
      "in": "query",
      "required": false,
      "description": "The chain the moves were recorded on. Any other value is refused. Left out: all.",
      "schema": {
       "type": "string",
       "enum": [
        "all",
        "namada",
        "osmosis"
       ]
      }
     },
     {
      "name": "kind",
      "in": "query",
      "required": false,
      "description": "One kind of move as a move’s own `kind` names it, or a group: the three group values stand, in the order listed, for trades and pool moves, for both records of a bridge crossing, and for the Namada kinds of staking, withdrawing from staking, staking rewards, staking account transfers and moves into and out of the shielded pool. Any other value matches no move; with every kind, the shielded pool’s fee rows are left out unless an address, a record, a block or a text is asked for. Left out: all.",
      "schema": {
       "type": "string",
       "enum": [
        "all",
        "dex",
        "ibc",
        "native",
        "buy",
        "sell",
        "shield",
        "unshield",
        "bond",
        "unbond",
        "withdraw",
        "ibc_in",
        "ibc_out",
        "lp_add",
        "lp_remove",
        "other",
        "pgf",
        "transfer",
        "rewards",
        "pos_balance",
        "masp_fee"
       ]
      }
     },
     {
      "name": "whale",
      "in": "query",
      "required": false,
      "description": "Only moves of the site’s whale size or more, in NAM. Any other value is refused.",
      "schema": {
       "type": "string",
       "enum": [
        "true"
       ]
      }
     },
     {
      "name": "minNam",
      "in": "query",
      "required": false,
      "description": "Only moves of at least this many NAM; a move in another coin never counts. A value that is not a number above zero is ignored.",
      "schema": {
       "type": "number"
      }
     },
     {
      "name": "arb",
      "in": "query",
      "required": false,
      "description": "Leaves out bot trades. Any other value is refused.",
      "schema": {
       "type": "string",
       "enum": [
        "false"
       ]
      }
     },
     {
      "name": "pairs",
      "in": "query",
      "required": false,
      "description": "Lists each bridge crossing once: a crossing is recorded on both chains, and the receiving chain’s record is left out when the sending chain’s is there. Any other value is refused.",
      "schema": {
       "type": "string",
       "enum": [
        "one"
       ]
      }
     },
     {
      "name": "search",
      "in": "query",
      "required": false,
      "description": "Only moves whose sender, receiver or record hash contains this text; text no address or hash can hold matches nothing. Longer text is refused.",
      "schema": {
       "type": "string",
       "maxLength": 300
      }
     },
     {
      "name": "at",
      "in": "query",
      "required": false,
      "description": "Answers as of that moment (Rewind). Left out, or a time that is not in the past: now.",
      "schema": {
       "type": "integer",
       "description": "A time in unix milliseconds."
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "description": "A page by number, for older links; `before` wins when both are sent. A number above the largest is refused, and so is a page past the first of a text search without `before`. Left out: 1.",
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 100000
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "description": "Rows per page. A whole number outside the range is read as the nearest end of it. Left out: 50.",
      "schema": {
       "type": "integer",
       "minimum": 10,
       "maximum": 100
      }
     },
     {
      "name": "before",
      "in": "query",
      "required": false,
      "description": "The `next` of the page before, for the rows after it; or a time in unix milliseconds, for the moves older than it. Anything else reads as the first page.",
      "schema": {
       "type": "string",
       "maxLength": 400
      }
     },
     {
      "name": "since",
      "in": "query",
      "required": false,
      "description": "Only moves at or after this time. A value that is not a time in unix milliseconds is refused.",
      "schema": {
       "type": "integer",
       "description": "A time in unix milliseconds."
      }
     },
     {
      "name": "addr",
      "in": "query",
      "required": false,
      "description": "Only moves with this address on either side: a whole address, or the first characters of one, in lower case. Anything else is refused.",
      "schema": {
       "type": "string",
       "minLength": 8
      }
     },
     {
      "name": "hash",
      "in": "query",
      "required": false,
      "description": "Only the moves of the record whose hash starts with these hexadecimal characters. Anything else is refused.",
      "schema": {
       "type": "string",
       "minLength": 8,
       "maxLength": 64
      }
     },
     {
      "name": "height",
      "in": "query",
      "required": false,
      "description": "Only the moves of this block. Anything that is not a block number is refused.",
      "schema": {
       "type": "integer",
       "minimum": 1
      }
     },
     {
      "name": "count",
      "in": "query",
      "required": false,
      "description": "Rows only: no count is taken and `total` is null. Any other value is refused.",
      "schema": {
       "type": "string",
       "enum": [
        "none"
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Recorded moves of NAM on Namada and Osmosis, newest first, filtered by chain, kind, size, address, record or block and paged by cursor.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "total": {
           "description": "How many moves match the filters, counted on the first page only. Null behind a cursor, with `count=none`, and when more match than the route counts."
          },
          "page": {
           "description": "The page number answered; behind a cursor it stays at the first."
          },
          "limit": {
           "description": "The rows per page answered."
          },
          "flows": {
           "description": "The moves, newest first: chain, block, time, record hash, kind, sender and receiver with their labels, NAM and, for a trade, the other coin, the price and the value."
          },
          "next": {
           "description": "The cursor for the older rows; null on the last page. A text search can answer fewer rows than a page and still carry it."
          },
          "asOf": {
           "description": "When the page was read; with `at`, that moment."
          },
          "firstTs": {
           "description": "The time of the oldest recorded move for the chain asked. On the first page and on a jump to a date only."
          },
          "totalNote": {
           "description": "Present when the count takes Osmosis moves from before the stored Osmosis record is complete: a sentence that says so."
          },
          "last": {
           "description": "On an empty first page: the newest move that matches every filter but the time window, or null when none is recorded. Absent when it was not looked for."
          },
          "totalOver": {
           "description": "Present when more moves match than the route counts: the bound the count stopped at, with `total` null."
          }
         }
        }
       }
      }
     },
     "400": {
      "description": "A value outside what a parameter takes.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/search": {
   "get": {
    "summary": "Search",
    "description": "Addresses, records, names, pools and blocks that match a text, grouped and ranked, from current data.",
    "tags": [
     "Moves"
    ],
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": false,
      "description": "The text to look for: the start or end of an address, the start of a record’s hash, a block height, a pool number or words of a name. Longer text is cut at the largest length; left out, the answer is empty.",
      "schema": {
       "type": "string",
       "maxLength": 300
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "description": "Results per group. A larger number is read as the largest; anything else that is not a whole number in the range reads as left out. Left out: 6.",
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 10
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Addresses, records, names, pools and blocks that match a text, grouped and ranked, from current data.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "results": {
           "description": "Every group’s results in the order addresses, records, names, pools, blocks, best match first inside a group: what each is, its value, a title and subtitle in plain words, the site path that shows it and, where the subtitle states a figure, its stamp."
          },
          "asOf": {
           "description": "When the answer was read."
          },
          "groups": {
           "description": "For each group, how many results are listed and whether more matched than the limit."
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/export/flows": {
   "get": {
    "summary": "Moves as a file",
    "description": "The moves a set of filters selects, newest first, as a CSV file with the columns time_utc, chain, kind, nam, value_usd, price_usd, from, from_label, from_label_source, from_label_author, to, to_label, to_label_source, to_label_author, tx_hash, time_source, price_source, settle_usd_per_nam, settle_usd and price_basis. The X-Total-Count header says how many moves match, when they were counted, and X-Truncated whether the file holds fewer.",
    "tags": [
     "Moves"
    ],
    "parameters": [
     {
      "name": "chain",
      "in": "query",
      "required": false,
      "description": "The chain the moves were recorded on. Any other value is refused. Left out: all.",
      "schema": {
       "type": "string",
       "enum": [
        "all",
        "namada",
        "osmosis"
       ]
      }
     },
     {
      "name": "kind",
      "in": "query",
      "required": false,
      "description": "One kind of move as a move’s own `kind` names it, or a group: the three group values stand, in the order listed, for trades and pool moves, for both records of a bridge crossing, and for the Namada kinds of staking, withdrawing from staking, staking rewards, staking account transfers and moves into and out of the shielded pool. Any other value matches no move; with every kind, the shielded pool’s fee rows are left out unless an address, a record, a block or a text is asked for. Left out: all.",
      "schema": {
       "type": "string",
       "enum": [
        "all",
        "dex",
        "ibc",
        "native",
        "buy",
        "sell",
        "shield",
        "unshield",
        "bond",
        "unbond",
        "withdraw",
        "ibc_in",
        "ibc_out",
        "lp_add",
        "lp_remove",
        "other",
        "pgf",
        "transfer",
        "rewards",
        "pos_balance",
        "masp_fee"
       ]
      }
     },
     {
      "name": "whale",
      "in": "query",
      "required": false,
      "description": "Only moves of the site’s whale size or more, in NAM. Any other value is refused.",
      "schema": {
       "type": "string",
       "enum": [
        "true"
       ]
      }
     },
     {
      "name": "minNam",
      "in": "query",
      "required": false,
      "description": "Only moves of at least this many NAM; a move in another coin never counts. A value that is not a number above zero is ignored.",
      "schema": {
       "type": "number"
      }
     },
     {
      "name": "arb",
      "in": "query",
      "required": false,
      "description": "Leaves out bot trades. Any other value is refused.",
      "schema": {
       "type": "string",
       "enum": [
        "false"
       ]
      }
     },
     {
      "name": "pairs",
      "in": "query",
      "required": false,
      "description": "Lists each bridge crossing once: a crossing is recorded on both chains, and the receiving chain’s record is left out when the sending chain’s is there. Any other value is refused.",
      "schema": {
       "type": "string",
       "enum": [
        "one"
       ]
      }
     },
     {
      "name": "search",
      "in": "query",
      "required": false,
      "description": "Only moves whose sender, receiver or record hash contains this text; text no address or hash can hold matches nothing. Longer text is refused.",
      "schema": {
       "type": "string",
       "maxLength": 300
      }
     },
     {
      "name": "at",
      "in": "query",
      "required": false,
      "description": "Answers as of that moment (Rewind). Left out, or a time that is not in the past: now.",
      "schema": {
       "type": "integer",
       "description": "A time in unix milliseconds."
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "description": "The most rows in the file. A number outside the range is read as the nearest end of it; zero, and a value that is not a number, read as left out. Left out: 5000.",
      "schema": {
       "type": "integer",
       "minimum": 100,
       "maximum": 5000
      }
     },
     {
      "name": "format",
      "in": "query",
      "required": false,
      "description": "The file as CSV, or the same rows as JSON. Any other value is refused. Left out: csv.",
      "schema": {
       "type": "string",
       "enum": [
        "csv",
        "json"
       ]
      }
     },
     {
      "name": "since",
      "in": "query",
      "required": false,
      "description": "Only moves at or after this time. A value that is not a time in unix milliseconds is refused.",
      "schema": {
       "type": "integer",
       "description": "A time in unix milliseconds."
      }
     },
     {
      "name": "addr",
      "in": "query",
      "required": false,
      "description": "Only moves with this address on either side: a whole address, or the first characters of one, in lower case. Anything else is refused.",
      "schema": {
       "type": "string",
       "minLength": 8
      }
     },
     {
      "name": "hash",
      "in": "query",
      "required": false,
      "description": "Only the moves of the record whose hash starts with these hexadecimal characters. Anything else is refused.",
      "schema": {
       "type": "string",
       "minLength": 8,
       "maxLength": 64
      }
     },
     {
      "name": "height",
      "in": "query",
      "required": false,
      "description": "Only the moves of this block. Anything that is not a block number is refused.",
      "schema": {
       "type": "integer",
       "minimum": 1
      }
     }
    ],
    "responses": {
     "200": {
      "description": "A file of rows: CSV, or the same rows as JSON when the format parameter asks for it.",
      "content": {
       "text/csv": {
        "schema": {
         "type": "string"
        }
       },
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "400": {
      "description": "A value outside what a parameter takes.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/holders": {
   "get": {
    "summary": "Holders",
    "description": "Addresses that hold spendable or staked NAM on Namada, or NAM on Osmosis, largest first, with protocol accounts and pools left out. Balances are current: this route does not rewind.",
    "tags": [
     "Holders and addresses"
    ],
    "parameters": [
     {
      "name": "chain",
      "in": "query",
      "required": false,
      "description": "The chain the holders are on. Any other value is refused. Left out: all.",
      "schema": {
       "type": "string",
       "enum": [
        "all",
        "namada",
        "osmosis"
       ]
      }
     },
     {
      "name": "by",
      "in": "query",
      "required": false,
      "description": "The figure the list is ordered by: total, spendable or staked NAM. Any other value is refused. Left out: total.",
      "schema": {
       "type": "string",
       "enum": [
        "total",
        "liquid",
        "bonded"
       ]
      }
     },
     {
      "name": "category",
      "in": "query",
      "required": false,
      "description": "One category of label, as the list’s own `categories` names them, or `none` for holders with no label. A value that is not letters and underscores is ignored.",
      "schema": {
       "type": "string",
       "maxLength": 24
      }
     },
     {
      "name": "search",
      "in": "query",
      "required": false,
      "description": "Narrows the list by text: the start or end of an address, words of a name, a chain, a group of holders or a size. Longer text is cut at the largest length.",
      "schema": {
       "type": "string",
       "maxLength": 300
      }
     },
     {
      "name": "page",
      "in": "query",
      "required": false,
      "description": "A page by number; `after` wins when both are sent. A number above the largest is refused. Left out: 1.",
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 100000
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "description": "Rows per page. A whole number outside the range is read as the nearest end of it. Left out: 50.",
      "schema": {
       "type": "integer",
       "minimum": 10,
       "maximum": 100
      }
     },
     {
      "name": "after",
      "in": "query",
      "required": false,
      "description": "The `next` of the page before, for the rows after it; anything that is not such a cursor is ignored. A cursor further down the list than the route pages through is refused.",
      "schema": {
       "type": "string",
       "maxLength": 400
      }
     },
     {
      "name": "min",
      "in": "query",
      "required": false,
      "description": "Only holders with at least this many NAM on the figure the list is ordered by. A value that is not an amount is refused.",
      "schema": {
       "type": "number",
       "minimum": 0
      }
     },
     {
      "name": "max",
      "in": "query",
      "required": false,
      "description": "Only holders with at most this many NAM on the figure the list is ordered by. A value that is not an amount is refused.",
      "schema": {
       "type": "number",
       "minimum": 0
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Addresses that hold spendable or staked NAM on Namada, or NAM on Osmosis, largest first, with protocol accounts and pools left out. Balances are current: this route does not rewind.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "total": {
           "description": "How many holders the chain, category, size and search select. Null when more match than the route counts."
          },
          "totalOver": {
           "description": "Present when more holders match a size range than the route counts: the bound the count stopped at, with `total` null."
          },
          "pagedTo": {
           "description": "Present when more holders match than the route pages through: the rank the list is served to."
          },
          "page": {
           "description": "The page these rows are; behind a cursor, the page the cursor’s rank falls on."
          },
          "limit": {
           "description": "The rows per page answered."
          },
          "holders": {
           "description": "The holders in the list’s order: rank, chain, address, spendable and staked NAM, the total and its share of all NAM, the change of the spendable balance over a day and over a week, the label and where it came from, and whether the reading is fresh, old or in disagreement."
          },
          "next": {
           "description": "The cursor for the rows after the last one here; null on the last page served."
          },
          "asOf": {
           "description": "When the list was read: every rank is as of this time."
          },
          "countsAt": {
           "description": "When `total` and `categories` were counted; null when they were counted in this request."
          },
          "categories": {
           "description": "Holders by category over the same chain, size and search, the category filter itself left out: the total, and a count per category with `none` for no label. Null when not counted."
          }
         }
        }
       }
      }
     },
     "400": {
      "description": "A value outside what a parameter takes.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/address/{address}": {
   "get": {
    "summary": "Address",
    "description": "One address: what it holds and has staked, its place among holders, its label, its newest moves and the addresses it moved NAM with.",
    "tags": [
     "Holders and addresses"
    ],
    "parameters": [
     {
      "name": "address",
      "in": "path",
      "required": true,
      "description": "A whole Namada or Osmosis address. Anything else is refused.",
      "schema": {
       "type": "string",
       "pattern": "^(tnam1|osmo1)[02-9ac-hj-np-z]+$"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "One address: what it holds and has staked, its place among holders, its label, its newest moves and the addresses it moved NAM with.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "address": {
           "description": "The address asked for."
          },
          "chain": {
           "description": "The chain it is on: namada or osmosis."
          },
          "label": {
           "description": "The label the site has for it, as written and in plain words, with its category and where it came from. Null when it has none."
          },
          "balance": {
           "description": "Its spendable NAM with a stamp: a live read from the chain for a Namada address, the last stored reading when that fails and for an Osmosis address."
          },
          "indexedBalance": {
           "description": "The spendable NAM the holder list holds for it; null when the list has no reading."
          },
          "staking": {
           "description": "For a Namada address: NAM staked, the validators it is staked with and the amount with each, the estimate from its staking history and a stamp. Null when there is none."
          },
          "rank": {
           "description": "Its place among its chain’s holders by spendable NAM; null when not ranked."
          },
          "rankTotal": {
           "description": "Its place by total NAM, spendable and staked; null when not ranked."
          },
          "change24h": {
           "description": "The change of its spendable balance over the last day, from recorded chain reads; null when not known."
          },
          "change7d": {
           "description": "The same over the last seven days."
          },
          "firstSeen": {
           "description": "When the site first listed the address with NAM; null when the record carries no such time."
          },
          "links": {
           "description": "The addresses on the other chain it has exchanged NAM with over the bridge: for each, the number of transfers, their NAM and the time of the last."
          },
          "totalFlowsCount": {
           "description": "How many recorded moves the address is part of."
          },
          "flowsNote": {
           "description": "Present when the count and the list may be short: a sentence that says why."
          },
          "flows": {
           "description": "Its newest recorded moves, in the shape of the moves list."
          },
          "counterparties": {
           "description": "The addresses it moved NAM with over those moves: NAM in, NAM out and a count for each, with labels, each bridge crossing counted once."
          }
         }
        }
       }
      }
     },
     "400": {
      "description": "A value outside what a parameter takes.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/export/holders": {
   "get": {
    "summary": "Holders as a file",
    "description": "The holder list a set of filters selects, in the list’s order, as a CSV file with the columns rank, chain, address, spendable_nam, staked_nam, staked_is_estimate, total_nam, pct_total_supply, label, category, label_source, spendable_checked_at and stake_checked_at. The X-Total-Count header says how many holders match, when they were counted, and X-Truncated whether the file holds fewer.",
    "tags": [
     "Holders and addresses"
    ],
    "parameters": [
     {
      "name": "chain",
      "in": "query",
      "required": false,
      "description": "The chain the holders are on. Any other value is refused. Left out: all.",
      "schema": {
       "type": "string",
       "enum": [
        "all",
        "namada",
        "osmosis"
       ]
      }
     },
     {
      "name": "by",
      "in": "query",
      "required": false,
      "description": "The figure the list is ordered by: total, spendable or staked NAM. Any other value is refused. Left out: total.",
      "schema": {
       "type": "string",
       "enum": [
        "total",
        "liquid",
        "bonded"
       ]
      }
     },
     {
      "name": "category",
      "in": "query",
      "required": false,
      "description": "One category of label, as the list’s own `categories` names them, or `none` for holders with no label. A value that is not letters and underscores is ignored.",
      "schema": {
       "type": "string",
       "maxLength": 24
      }
     },
     {
      "name": "search",
      "in": "query",
      "required": false,
      "description": "Narrows the list by text: the start or end of an address, words of a name, a chain, a group of holders or a size. Longer text is cut at the largest length.",
      "schema": {
       "type": "string",
       "maxLength": 300
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "description": "The most rows in the file. A number outside the range is read as the nearest end of it; zero, and a value that is not a number, read as left out. Left out: 10000.",
      "schema": {
       "type": "integer",
       "minimum": 100,
       "maximum": 10000
      }
     },
     {
      "name": "format",
      "in": "query",
      "required": false,
      "description": "The file as CSV, or the same rows as JSON. Any other value is refused. Left out: csv.",
      "schema": {
       "type": "string",
       "enum": [
        "csv",
        "json"
       ]
      }
     },
     {
      "name": "min",
      "in": "query",
      "required": false,
      "description": "Only holders with at least this many NAM on the figure the list is ordered by. A value that is not an amount is refused.",
      "schema": {
       "type": "number",
       "minimum": 0
      }
     },
     {
      "name": "max",
      "in": "query",
      "required": false,
      "description": "Only holders with at most this many NAM on the figure the list is ordered by. A value that is not an amount is refused.",
      "schema": {
       "type": "number",
       "minimum": 0
      }
     }
    ],
    "responses": {
     "200": {
      "description": "A file of rows: CSV, or the same rows as JSON when the format parameter asks for it.",
      "content": {
       "text/csv": {
        "schema": {
         "type": "string"
        }
       },
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "400": {
      "description": "A value outside what a parameter takes.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/validators": {
   "get": {
    "summary": "Validators",
    "description": "Every validator with NAM staked with it on one UTC day, largest stake first, with how that stake is spread across them. The stakes are the first complete listing of each day, read from a Namada node; names, commission and state are the Namada indexer’s.",
    "tags": [
     "Holders and addresses"
    ],
    "parameters": [
     {
      "name": "day",
      "in": "query",
      "required": false,
      "description": "The day to answer for. Left out: the newest day on record. A value that is not a day, and a day with no listing on record, is refused.",
      "schema": {
       "type": "string",
       "format": "date"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Every validator with NAM staked with it on one UTC day, largest stake first, with how that stake is spread across them. The stakes are the first complete listing of each day, read from a Namada node; names, commission and state are the Namada indexer’s.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "asOf": {
           "description": "When the answer was made."
          },
          "day": {
           "description": "The UTC day the rows are of; null when no day is on record."
          },
          "days": {
           "description": "The newest days on record, newest first."
          },
          "validators": {
           "description": "Every validator with stake on that day, largest stake first: its address, the name the Namada indexer gives it, the NAM staked with it and that stake’s share of the day’s total as a fraction, the number of addresses staked with it, its commission as a fraction, its state in the indexer’s own word, and the change of its stake since the previous day on record. Name, commission and state are null where the indexer’s list did not have them; the change is null where the previous day has no row for the validator."
          },
          "totalNam": {
           "description": "The NAM staked with every validator on that day, added up; null when the day has no row."
          },
          "count": {
           "description": "How many validators have stake on that day; null when the day has no row."
          },
          "third": {
           "description": "The smallest number of validators, largest first, whose stake together is more than one third of the total: a statement of how the staked NAM is spread. Null when the day has no row."
          },
          "twoThirds": {
           "description": "The same for more than two thirds of the total."
          },
          "prev": {
           "description": "The previous day on record, which the change of each stake is measured against; null when there is none."
          },
          "prov": {
           "description": "The stamp of the stakes: the Namada node’s listing they were read from, its time and its block. Its note says so when no listing of a newer day is on record, and why when nothing could be read."
          },
          "namesProv": {
           "description": "The stamp of names, commission and state: when the indexer’s list was read. Its note says so when that list was not read for the day."
          }
         }
        }
       }
      }
     },
     "400": {
      "description": "A value outside what a parameter takes.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/validators/history": {
   "get": {
    "summary": "One validator over time",
    "description": "One validator’s stake, the number of addresses staked with it, its commission and its state on each of its newest days on record, oldest first.",
    "tags": [
     "Holders and addresses"
    ],
    "parameters": [
     {
      "name": "validator",
      "in": "query",
      "required": true,
      "description": "The validator’s whole Namada address. Anything else is refused.",
      "schema": {
       "type": "string",
       "pattern": "^(tnam1|osmo1)[02-9ac-hj-np-z]+$"
      }
     },
     {
      "name": "days",
      "in": "query",
      "required": false,
      "description": "How many of its newest days to answer with. Anything but a plain whole number in the range is refused. Left out: 30.",
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 90
      }
     }
    ],
    "responses": {
     "200": {
      "description": "One validator’s stake, the number of addresses staked with it, its commission and its state on each of its newest days on record, oldest first.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "validator": {
           "description": "The validator asked for."
          },
          "name": {
           "description": "The newest name the Namada indexer gave it among the days answered; null when none of them has one."
          },
          "days": {
           "description": "Its days on record, oldest first: the day, the NAM staked with it, the number of addresses staked with it, its commission as a fraction and its state in the indexer’s own word, the last two null where the indexer’s list did not have them."
          },
          "prov": {
           "description": "The stamp of the newest day answered: the Namada node’s listing it was read from, its time and its block."
          }
         }
        }
       }
      }
     },
     "400": {
      "description": "A value outside what a parameter takes.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "404": {
      "description": "A validator with no row on record.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/pressure": {
   "get": {
    "summary": "Supply on its way",
    "description": "NAM that could reach the market: what crossed the bridge to Osmosis in the window and what its receivers still hold, the staking moves and the schedule of NAM leaving staking, the largest net buyers and sellers, and the open governance proposals.",
    "tags": [
     "Supply and the shielded pool"
    ],
    "parameters": [
     {
      "name": "at",
      "in": "query",
      "required": false,
      "description": "Answers as of that moment (Rewind). Left out, or a time that is not in the past: now.",
      "schema": {
       "type": "integer",
       "description": "A time in unix milliseconds."
      }
     },
     {
      "name": "days",
      "in": "query",
      "required": false,
      "description": "The length of the window in days. A number outside the range is read as the nearest end of it, and a value that is not a number as left out. Left out: 7.",
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 365
      }
     }
    ],
    "responses": {
     "200": {
      "description": "NAM that could reach the market: what crossed the bridge to Osmosis in the window and what its receivers still hold, the staking moves and the schedule of NAM leaving staking, the largest net buyers and sellers, and the open governance proposals.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "asOf": {
           "description": "The moment the answer is as of."
          },
          "windowDays": {
           "description": "The length of the window in days."
          },
          "onDeck": {
           "description": "The Osmosis addresses that received the most NAM over the bridge in the window: for each, what crossed, what it has since sold or sent back, what remains, and its label and linked Namada address where known."
          },
          "onDeckTotal": {
           "description": "The NAM that remains with those addresses, in all."
          },
          "ibcIn7d": {
           "description": "NAM bridged to Osmosis over the window, whatever its length."
          },
          "ibcOut7d": {
           "description": "NAM bridged back to Namada over the window, refunded sends left out."
          },
          "unlocks": {
           "description": "Recent staking moves of a set size or more on Namada: withdrawals, new stakes and requests to unstake, each with its address, NAM and time. A request carries when its NAM becomes withdrawable, a withdrawal what was done with the NAM after."
          },
          "unlocksWindowDays": {
           "description": "The number of days that list covers."
          },
          "unlocksMinNam": {
           "description": "The smallest move that list holds, in NAM."
          },
          "unbondingAll": {
           "description": "Every request to unstake still in its wait, of any size: the NAM, the number of requests and the time they are counted from. Null when the wait is not known or the count failed."
          },
          "unbondingDays": {
           "description": "The unstaking wait in days: an estimate from the measured length of an epoch. Null when not known."
          },
          "unbondingEpochs": {
           "description": "The unstaking wait in epochs."
          },
          "epochHours": {
           "description": "The measured length of an epoch in hours."
          },
          "unbondingProv": {
           "description": "When the chain settings behind the wait were read (a stamp)."
          },
          "chainParams": {
           "description": "The chain’s staking settings as read; null when they could not be read."
          },
          "unbondTermStructure": {
           "description": "The schedule of NAM leaving staking, epoch by epoch, from the chain’s own list: what is withdrawable now and what is still waiting."
          },
          "unbondTermStructureProv": {
           "description": "When that schedule was read and whether it is current (a stamp)."
          },
          "unbondWithdrawProv": {
           "description": "When the withdraw times behind the staking moves were read, and from which source (a stamp)."
          },
          "pipelineSummary": {
           "description": "NAM bridged to the listed addresses, split into groups by where it came from, and the NAM remaining with the addresses that sell most of what reaches them."
          },
          "bondedTrend": {
           "description": "NAM staked over time: the last reading of each period, oldest first."
          },
          "movers": {
           "description": "The Osmosis addresses with the largest net buying or selling over the window, bot trades left out: net NAM over the window and over the last day, counts of buys and sells, and the time of the last trade."
          },
          "proposals": {
           "description": "The governance proposals in voting or waiting to start, with their votes in NAM."
          },
          "proposalsProv": {
           "description": "When the proposals were read (a stamp)."
          },
          "decided": {
           "description": "The latest proposals that passed or were rejected, newest first."
          },
          "ibcRefunded7d": {
           "description": "NAM in sends to Namada over the window that timed out and were refunded; left out of the NAM bridged back."
          },
          "onDeckTotals": {
           "description": "Totals over the listed receivers: NAM that crossed, sold, sent back and remaining."
          },
          "coverage": {
           "description": "How far the record of moves reaches on both chains together (a stamp)."
          },
          "coverageByChain": {
           "description": "The same for each chain on its own."
          },
          "onDeckProv": {
           "description": "The stamp of the Osmosis record behind what each receiver has left."
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/blindspot": {
   "get": {
    "summary": "Shielded pool",
    "description": "The shielded pool seen from outside: how much NAM it holds and its share of all NAM, what went in and came out over the last day and week, the largest moves out, and the pool as a ledger since the record began.",
    "tags": [
     "Supply and the shielded pool"
    ],
    "parameters": [
     {
      "name": "at",
      "in": "query",
      "required": false,
      "description": "Answers as of that moment (Rewind). Left out, or a time that is not in the past: now.",
      "schema": {
       "type": "integer",
       "description": "A time in unix milliseconds."
      }
     }
    ],
    "responses": {
     "200": {
      "description": "The shielded pool seen from outside: how much NAM it holds and its share of all NAM, what went in and came out over the last day and week, the largest moves out, and the pool as a ledger since the record began.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "asOf": {
           "description": "The moment the answer is as of."
          },
          "shielded": {
           "description": "NAM in the shielded pool, with its stamp."
          },
          "total": {
           "description": "All NAM in existence; null when not read."
          },
          "sharePct": {
           "description": "The shielded pool’s share of all NAM, in percent."
          },
          "trend": {
           "description": "NAM in the shielded pool over time, oldest first."
          },
          "shields24h": {
           "description": "NAM into the shielded pool over the last day, every leg counted once: shielding on Namada and bridge crossings straight into the pool."
          },
          "unshields24h": {
           "description": "NAM out of the shielded pool over the last day, counted the same way."
          },
          "shields7d": {
           "description": "NAM into the shielded pool over the last seven days."
          },
          "unshields7d": {
           "description": "NAM out of the shielded pool over the last seven days."
          },
          "bridgeIn24h": {
           "description": "The part of the last day’s NAM in that came straight over the bridge."
          },
          "bridgeOut24h": {
           "description": "The part of the last day’s NAM out that left straight over the bridge."
          },
          "bridgeIn7d": {
           "description": "The part of the seven days’ NAM in that came straight over the bridge."
          },
          "bridgeOut7d": {
           "description": "The part of the seven days’ NAM out that left straight over the bridge."
          },
          "lastBridgeAt": {
           "description": "The time of the newest bridge crossing into or out of the pool in the last seven days; null when there is none."
          },
          "ibcShielded7d": {
           "description": "The two seven-day bridge figures added up, kept for older readers."
          },
          "unshields": {
           "description": "The largest recent moves out of the pool, in the shape of the moves list: moves to an address, and crossings straight out over the bridge."
          },
          "outGroups": {
           "description": "The recipients of the window’s moves out, ranked by their total: for each, its label, the number of moves, their NAM, the first and last time, and its largest move."
          },
          "outRead": {
           "description": "How many moves out the recipients and shares were counted over."
          },
          "outShares": {
           "description": "By move id, for the listed moves out: the pool’s NAM before the move and the move’s share of it, with a stamp."
          },
          "makeup": {
           "description": "The pool as a ledger since the record’s start: NAM in by shielding and by bridge, NAM out with the fees the pool paid, the chain’s running total of shielded rewards and the pool’s balance as last read. Null while never written."
          },
          "passthroughs7d": {
           "description": "Moves out of the pool in the last seven days that match an earlier move in by amount and time, each with how many moves in could match and a confidence. A match by amount and time is not proof that one owner made both."
          },
          "turnstileNam7d": {
           "description": "The NAM that went in and came out within a day as such a matched pair, over the last seven days."
          },
          "stickySharePct7d": {
           "description": "The share of the seven days’ moves that was not such a quick round trip, in percent."
          },
          "pulseSeries": {
           "description": "NAM in, NAM out and the net per period over time, with the running net and the bridge and matched parts."
          },
          "coverage": {
           "description": "How far the record of moves reaches on both chains together (a stamp)."
          },
          "coverageByChain": {
           "description": "The same for each chain on its own."
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/bridges": {
   "get": {
    "summary": "Bridges",
    "description": "Every bridge channel Namada has opened, the chain each leads to and the NAM that chain holds through it, set against the NAM in Namada’s bridge account. Current only: this route does not rewind.",
    "tags": [
     "Supply and the shielded pool"
    ],
    "parameters": [],
    "responses": {
     "200": {
      "description": "Every bridge channel Namada has opened, the chain each leads to and the NAM that chain holds through it, set against the NAM in Namada’s bridge account. Current only: this route does not rewind.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "asOf": {
           "description": "When the answer was made."
          },
          "account": {
           "description": "NAM in Namada’s bridge account, which holds the NAM sent out over every channel, with its stamp."
          },
          "channels": {
           "description": "Every bridge channel that names its other side, in the chain’s own order: Namada’s id of the channel and the other chain’s, the chain it leads to and its name, whether it is open, the name that chain gives NAM, and the NAM that chain holds through it with a stamp. A chain that is not read has no figure and the reason in its stamp’s note."
          },
          "held": {
           "description": "The NAM the chains with a current figure hold between them, with a stamp dated by the oldest of those readings; empty when no chain has one."
          },
          "unread": {
           "description": "The names of the chains with no current figure."
          },
          "stuck": {
           "description": "NAM in transfers that were refused or timed out on the other chain and never refunded, with a stamp dated by the oldest reading of a transfer’s status; empty when that list was not read."
          },
          "beyondNam": {
           "description": "The account less the NAM the chains read hold and less the NAM in such transfers. Null unless the account is current, that list was read and every chain that can be read has a current figure: it is never made with a part missing."
          },
          "prov": {
           "description": "The stamp of the channel list: the Namada node and block it was read from, and when."
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/series": {
   "get": {
    "summary": "One series",
    "description": "One stored series over a range at a chosen step, with its sources, the day its record begins and its gaps.",
    "tags": [
     "Series"
    ],
    "parameters": [
     {
      "name": "key",
      "in": "query",
      "required": true,
      "description": "The name of the stored series, for example `price.usd`. The series cover prices, hourly and daily trading, pool totals and single pools, staked and shielded NAM, how many addresses stake and with how many validators, staking inflation, counts of shielded transactions, holder counts and the genesis cohorts; an unknown name is answered as not found, with the names served.",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "from",
      "in": "query",
      "required": false,
      "description": "The start of the range. Left out: thirty days before `to`; a start that is not before `to` is refused.",
      "schema": {
       "oneOf": [
        {
         "type": "integer",
         "description": "A time in unix milliseconds."
        },
        {
         "type": "string",
         "format": "date",
         "description": "A UTC day."
        }
       ]
      }
     },
     {
      "name": "to",
      "in": "query",
      "required": false,
      "description": "The end of the range, not included; a day means its end. Left out, or later than the moment the answer is as of: that moment.",
      "schema": {
       "oneOf": [
        {
         "type": "integer",
         "description": "A time in unix milliseconds."
        },
        {
         "type": "string",
         "format": "date",
         "description": "A UTC day."
        }
       ]
      }
     },
     {
      "name": "step",
      "in": "query",
      "required": false,
      "description": "The length of a step. A step finer than the series is written at is raised to the series’ own, and one that would hold more points than one answer takes is refused; left out, the finest step that fits one answer.",
      "schema": {
       "type": "string",
       "enum": [
        "1m",
        "1h",
        "6h",
        "1d"
       ]
      }
     },
     {
      "name": "at",
      "in": "query",
      "required": false,
      "description": "Answers as of that moment (Rewind). Left out, or a time that is not in the past: now.",
      "schema": {
       "type": "integer",
       "description": "A time in unix milliseconds."
      }
     }
    ],
    "responses": {
     "200": {
      "description": "One stored series over a range at a chosen step, with its sources, the day its record begins and its gaps.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "key": {
           "description": "The series answered."
          },
          "from": {
           "description": "The start of the range answered."
          },
          "to": {
           "description": "The end of the range answered, not included."
          },
          "step": {
           "description": "The step of the points."
          },
          "stepMs": {
           "description": "The same step in milliseconds."
          },
          "agg": {
           "description": "How a step’s value is made from the readings inside it: the last one, or their sum."
          },
          "unit": {
           "description": "The unit of the values: dollars per NAM, NAM, dollars, a count or percent."
          },
          "points": {
           "description": "The points, oldest first: the start of the step, its value and, where the series keeps them, the step’s lowest and highest reading and how many readings it holds. A step with no reading has no point."
          },
          "sources": {
           "description": "The source or sources of the series, each with its first and last point in the answer, the first reading it ever recorded and what that start means in words."
          },
          "start": {
           "description": "The first reading the series ever recorded; null when it has none."
          },
          "sparse": {
           "description": "True for a series written only when something happened, such as a trade: a step without a point is then not a gap."
          },
          "coverage": {
           "description": "How many steps the range holds from the start on, and how many of them have a point."
          },
          "gaps": {
           "description": "Runs of steps with no reading on a series read on a clock, each with the reason. Empty for a sparse series."
          },
          "prov": {
           "description": "The newest point’s source, time and status (a stamp)."
          },
          "asOf": {
           "description": "The moment the answer is as of."
          }
         }
        }
       }
      }
     },
     "400": {
      "description": "A value outside what a parameter takes.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "404": {
      "description": "A name that is not a series this route serves.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/series/changes": {
   "get": {
    "summary": "Price changes",
    "description": "How far the NAM price moved over fixed windows, from the quoted price and from the pool price, each change with the two readings it is measured between.",
    "tags": [
     "Series"
    ],
    "parameters": [
     {
      "name": "at",
      "in": "query",
      "required": false,
      "description": "Answers as of that moment (Rewind). Left out, or a time that is not in the past: now.",
      "schema": {
       "type": "integer",
       "description": "A time in unix milliseconds."
      }
     }
    ],
    "responses": {
     "200": {
      "description": "How far the NAM price moved over fixed windows, from the quoted price and from the pool price, each change with the two readings it is measured between.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "asOf": {
           "description": "The moment the answer is as of."
          },
          "quoted": {
           "description": "The change of the quoted price over the last hour, six hours, day, seven days and thirty days: for each, the percent, the two readings it is measured between and a stamp. The percent is null, with the reason, when the record does not cover the window."
          },
          "pool": {
           "description": "The same for the reference pool’s own hourly price, over seven days, thirty days and a year."
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/series/volume": {
   "get": {
    "summary": "Volume",
    "description": "Executed NAM volume on Osmosis over fixed windows, with its definition, and the Osmosis app’s own figure beside it.",
    "tags": [
     "Series"
    ],
    "parameters": [
     {
      "name": "at",
      "in": "query",
      "required": false,
      "description": "Answers as of that moment (Rewind). Left out, or a time that is not in the past: now.",
      "schema": {
       "type": "integer",
       "description": "A time in unix milliseconds."
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Executed NAM volume on Osmosis over fixed windows, with its definition, and the Osmosis app’s own figure beside it.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "asOf": {
           "description": "The moment the answer is as of."
          },
          "definition": {
           "description": "What the figures count and how they are priced, in words."
          },
          "windows": {
           "description": "Executed volume over the last hour, six hours, day, seven days and thirty days: NAM bought and sold, trades, dollars at execution, buyers and sellers, and average prices. Null for a window the record does not cover."
          },
          "prov": {
           "description": "How far the Osmosis record of trades reaches (a stamp)."
          },
          "start": {
           "description": "The first hour with a recorded trade."
          },
          "osmosis": {
           "description": "Dollars traded over the last day and seven days as the Osmosis app’s pair summary counts them, with its own stamp."
          },
          "osmosisDefinition": {
           "description": "What that Osmosis figure counts, in words."
          },
          "disagree": {
           "description": "True when the site’s and the Osmosis app’s dollar figures for the last day both exist and are far apart."
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/series/pairs": {
   "get": {
    "summary": "Pairs",
    "description": "The pools on Osmosis that hold NAM, each with its size from its reserves and the Osmosis app’s volume for it. Current only: this route does not rewind.",
    "tags": [
     "Series"
    ],
    "parameters": [],
    "responses": {
     "200": {
      "description": "The pools on Osmosis that hold NAM, each with its size from its reserves and the Osmosis app’s volume for it. Current only: this route does not rewind.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "asOf": {
           "description": "When the answer was made."
          },
          "pairs": {
           "description": "The pools that hold NAM, largest first: the pair, the pool’s size and reserves, its fee, and the Osmosis app’s volume and size for it with their own stamp."
          },
          "prov": {
           "description": "The stamp of the stored pool list."
          },
          "osmosisProv": {
           "description": "The stamp of the Osmosis app’s pair summary."
          },
          "osmosisTotals": {
           "description": "The Osmosis app’s volume over a day and over seven days and its size figure, added up over the pools; null where no pool has the figure."
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/series/trades": {
   "get": {
    "summary": "Trades",
    "description": "Executed NAM trades on Osmosis, newest first, bot trades left out, each with its price, maker and route, and the same trades folded into groups.",
    "tags": [
     "Series"
    ],
    "parameters": [
     {
      "name": "before",
      "in": "query",
      "required": false,
      "description": "The `next` of the page before, for the older trades; or a time in unix milliseconds, for the trades older than it. Anything else reads as the first page.",
      "schema": {
       "type": "string",
       "maxLength": 400
      }
     },
     {
      "name": "maker",
      "in": "query",
      "required": false,
      "description": "Only one maker’s trades. Anything that is not a whole address is refused.",
      "schema": {
       "type": "string",
       "pattern": "^(tnam1|osmo1)[02-9ac-hj-np-z]+$"
      }
     },
     {
      "name": "min",
      "in": "query",
      "required": false,
      "description": "Only trades of at least this many NAM. A value that is not an amount is refused.",
      "schema": {
       "type": "number",
       "minimum": 0
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "description": "Rows per page. A whole number outside the range is read as the nearest end of it. Left out: 50.",
      "schema": {
       "type": "integer",
       "minimum": 10,
       "maximum": 100
      }
     },
     {
      "name": "at",
      "in": "query",
      "required": false,
      "description": "Answers as of that moment (Rewind). Left out, or a time that is not in the past: now.",
      "schema": {
       "type": "integer",
       "description": "A time in unix milliseconds."
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Executed NAM trades on Osmosis, newest first, bot trades left out, each with its price, maker and route, and the same trades folded into groups.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "rows": {
           "description": "The trades, newest first: time, block, buy or sell, NAM, the other coin, the price and where it came from, the value, the maker with its label and its counts of buys and sells, the pools on the route and the record hash."
          },
          "groups": {
           "description": "The same trades folded for a tape: consecutive small trades by one maker on one side close together are one group, with their count, NAM, dollars and average price."
          },
          "next": {
           "description": "The cursor for older trades; null at the end of the record."
          },
          "asOf": {
           "description": "The moment the answer is as of."
          },
          "foldMs": {
           "description": "How close together, in milliseconds, consecutive trades fold into one group."
          },
          "foldUnderNam": {
           "description": "Trades fold only when each is under this many NAM."
          },
          "patternRule": {
           "description": "The rule behind the repeated small buys mark: the fewest buys, the size each stays under and the window."
          },
          "prov": {
           "description": "How far the Osmosis record of trades reaches (a stamp)."
          },
          "firstTs": {
           "description": "The time of the first recorded trade."
          }
         }
        }
       }
      }
     },
     "400": {
      "description": "A value outside what a parameter takes.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/series/values": {
   "get": {
    "summary": "Derived values",
    "description": "Two derived dollar figures, each with its definition and its inputs: all NAM at today’s price, and spendable NAM at today’s price.",
    "tags": [
     "Series"
    ],
    "parameters": [
     {
      "name": "at",
      "in": "query",
      "required": false,
      "description": "Answers as of that moment (Rewind). Left out, or a time that is not in the past: now.",
      "schema": {
       "type": "integer",
       "description": "A time in unix milliseconds."
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Two derived dollar figures, each with its definition and its inputs: all NAM at today’s price, and spendable NAM at today’s price.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "asOf": {
           "description": "The moment the answer is as of."
          },
          "fdv": {
           "description": "All NAM in existence at today’s quoted price, in dollars, with its label, its definition, its inputs and a stamp. The value is null when an input is not recorded."
          },
          "spendable": {
           "description": "NAM in ordinary accounts on Namada plus NAM on Osmosis at today’s price, in dollars, in the same shape."
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/series/cohorts": {
   "get": {
    "summary": "Genesis cohorts",
    "description": "The genesis allocation cohorts on the newest daily snapshot: what each still holds of its NAM at genesis, and the largest allocations with what each holds now and what left it.",
    "tags": [
     "Series"
    ],
    "parameters": [
     {
      "name": "at",
      "in": "query",
      "required": false,
      "description": "Answers as of that moment (Rewind). Left out, or a time that is not in the past: now.",
      "schema": {
       "type": "integer",
       "description": "A time in unix milliseconds."
      }
     }
    ],
    "responses": {
     "200": {
      "description": "The genesis allocation cohorts on the newest daily snapshot: what each still holds of its NAM at genesis, and the largest allocations with what each holds now and what left it.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "asOf": {
           "description": "The moment the answer is as of."
          },
          "day": {
           "description": "The newest snapshot day at or before that moment; null when none is written."
          },
          "listings": {
           "description": "The time and blocks of the chain listings the snapshot’s holdings were read from."
          },
          "table": {
           "description": "The genesis allocation table as loaded: whether it is loaded, the genesis file’s digest and address, the day the copy was reviewed, how many allocations it holds and whether it is the pinned copy."
          },
          "cohorts": {
           "description": "One row per allocation cohort and one for all of them: its addresses, how many still hold NAM, spendable and staked NAM, NAM sent into the shielded pool, its NAM at genesis and the share of it still held."
          },
          "prov": {
           "description": "The snapshot’s stamp."
          },
          "large": {
           "description": "The largest genesis allocations, largest first: what each holds now, what it sent into the shielded pool and the addresses it sent NAM to in plain transfers. Empty under Rewind."
          },
          "largeMinNam": {
           "description": "The smallest allocation that list holds, in NAM."
          },
          "holdingsProv": {
           "description": "The stamp of the holder record behind those holdings."
          },
          "movesProv": {
           "description": "The stamp of the Namada record of moves behind what left them."
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/metrics/history": {
   "get": {
    "summary": "Charted history",
    "description": "The history of the series the site’s charts read from this route, the quoted price, the executed price and NAM staked, as the last reading of each period over a window of hours.",
    "tags": [
     "Series"
    ],
    "parameters": [
     {
      "name": "key",
      "in": "query",
      "required": false,
      "description": "The series: the executed price by the hour, the quoted price, or NAM staked. Any other name is answered as not found. Left out: price.usd.",
      "schema": {
       "type": "string",
       "enum": [
        "price.swap_1h",
        "price.usd",
        "supply.total_stake"
       ]
      }
     },
     {
      "name": "hours",
      "in": "query",
      "required": false,
      "description": "The length of the window in hours; the length of a period follows from it. Anything but a plain whole number in the range is refused. Left out: 24.",
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 28800
      }
     },
     {
      "name": "at",
      "in": "query",
      "required": false,
      "description": "Answers as of that moment (Rewind). Left out, or a time that is not in the past: now.",
      "schema": {
       "type": "integer",
       "description": "A time in unix milliseconds."
      }
     }
    ],
    "responses": {
     "200": {
      "description": "The history of the series the site’s charts read from this route, the quoted price, the executed price and NAM staked, as the last reading of each period over a window of hours.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "key": {
           "description": "The series answered."
          },
          "bucketMs": {
           "description": "The length of one period in milliseconds."
          },
          "history": {
           "description": "The points, oldest first: the last reading of each period with its time, the period’s lowest and highest reading and, where kept, how many readings it holds."
          },
          "note": {
           "description": "Present when the window reaches back before the stored Osmosis record is complete: a sentence that says so."
          }
         }
        }
       }
      }
     },
     "400": {
      "description": "A value outside what a parameter takes.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "404": {
      "description": "A name that is not a series this route serves.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/orderflow": {
   "get": {
    "summary": "Bought and sold",
    "description": "NAM bought and NAM sold on Osmosis per period over a window, bot trades left out, with the running difference and the average price paid in each period.",
    "tags": [
     "Series"
    ],
    "parameters": [
     {
      "name": "at",
      "in": "query",
      "required": false,
      "description": "Answers as of that moment (Rewind). Left out, or a time that is not in the past: now.",
      "schema": {
       "type": "integer",
       "description": "A time in unix milliseconds."
      }
     },
     {
      "name": "hours",
      "in": "query",
      "required": false,
      "description": "The length of the window in hours; the length of a period follows from it. A number above the largest is read as the largest. Left out: 720.",
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 36000
      }
     }
    ],
    "responses": {
     "200": {
      "description": "NAM bought and NAM sold on Osmosis per period over a window, bot trades left out, with the running difference and the average price paid in each period.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "asOf": {
           "description": "The moment the answer is as of."
          },
          "hours": {
           "description": "The length of the window in hours."
          },
          "bucketMs": {
           "description": "The length of one period in milliseconds."
          },
          "buckets": {
           "description": "One entry per period, oldest first: NAM bought, NAM sold, the difference, the running difference, the average price paid and the number of trades."
          },
          "netCvdNam": {
           "description": "NAM bought minus NAM sold over the window."
          },
          "grossVolumeNam": {
           "description": "NAM bought plus NAM sold over the window."
          },
          "buySharePct": {
           "description": "The bought share of that volume, in percent; null when there was none."
          },
          "priceChangePct": {
           "description": "The change of the average price paid from the first period with a price to the last, in percent."
          },
          "absorptionRegime": {
           "description": "One of five fixed words for how the net buying or selling and the price change compare: bid_absorption, ask_absorption, trend_up, trend_down or balanced."
          },
          "prov": {
           "description": "How far the Osmosis record of trades reaches (a stamp)."
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/alerts/rules": {
   "get": {
    "summary": "Alert rules",
    "description": "The alert rules and the size in NAM at which each fires, at the site’s own sizes or at sizes sent with the request.",
    "tags": [
     "Alerts and votes"
    ],
    "parameters": [
     {
      "name": "ibcInventory",
      "in": "query",
      "required": false,
      "description": "The smallest transfer of NAM from Namada to Osmosis the bridge rule fires on. A value that is not a number above zero reads as left out. Left out: 25000.",
      "schema": {
       "type": "number"
      }
     },
     {
      "name": "unlock",
      "in": "query",
      "required": false,
      "description": "The smallest amount of NAM starting to unstake, or withdrawn after unstaking, the unstaking rule fires on. A value that is not a number above zero reads as left out. Left out: 100000.",
      "schema": {
       "type": "number"
      }
     },
     {
      "name": "bigSwap",
      "in": "query",
      "required": false,
      "description": "The smallest single buy or sell of NAM on Osmosis the large trade rule fires on. A value that is not a number above zero reads as left out. Left out: 10000.",
      "schema": {
       "type": "number"
      }
     },
     {
      "name": "unshield",
      "in": "query",
      "required": false,
      "description": "The smallest move of NAM out of the shielded pool to a personal address the rule for it fires on. A value that is not a number above zero reads as left out. Left out: 50000.",
      "schema": {
       "type": "number"
      }
     },
     {
      "name": "bond",
      "in": "query",
      "required": false,
      "description": "The smallest amount of NAM staked in one transaction the staking rule fires on. A value that is not a number above zero reads as left out. Left out: 1000000.",
      "schema": {
       "type": "number"
      }
     },
     {
      "name": "exitBridge",
      "in": "query",
      "required": false,
      "description": "The smallest send of NAM to Osmosis, by the shielded pool itself or by an address that had at least half of it from the shielded pool in the hour before, the rule for it fires on. A value that is not a number above zero reads as left out. Left out: 100000.",
      "schema": {
       "type": "number"
      }
     },
     {
      "name": "liquidity",
      "in": "query",
      "required": false,
      "description": "The smallest amount of NAM added to or taken out of a NAM pool on Osmosis in one transaction the liquidity rule fires on. A value that is not a number above zero reads as left out. Left out: 100000.",
      "schema": {
       "type": "number"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "The alert rules and the size in NAM at which each fires, at the site’s own sizes or at sizes sent with the request.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "rules": {
           "description": "Every alert rule: its id, its title, its condition in words at the size asked, and that size in NAM."
          },
          "defaults": {
           "description": "The site’s own size for each rule, in NAM, by parameter name."
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/alerts/recent": {
   "get": {
    "summary": "Recent alerts",
    "description": "The moves that crossed one of the site’s alert sizes in a recent window, newest first, and the newest such move of any age.",
    "tags": [
     "Alerts and votes"
    ],
    "parameters": [
     {
      "name": "at",
      "in": "query",
      "required": false,
      "description": "Answers as of that moment (Rewind). Left out, or a time that is not in the past: now.",
      "schema": {
       "type": "integer",
       "description": "A time in unix milliseconds."
      }
     },
     {
      "name": "since",
      "in": "query",
      "required": false,
      "description": "An own start for the window, read no further back than the widest window `days` offers; anything that is not a time reads as left out. Sent together with `days`, the request is refused.",
      "schema": {
       "type": "integer",
       "description": "A time in unix milliseconds."
      }
     },
     {
      "name": "days",
      "in": "query",
      "required": false,
      "description": "The length of the window in days. Left out: the last day; any other value is refused.",
      "schema": {
       "type": "string",
       "enum": [
        "7",
        "31"
       ]
      }
     },
     {
      "name": "ibcInventory",
      "in": "query",
      "required": false,
      "description": "Not read here: recent alerts are answered at the site’s own sizes, and a request that sends this is refused.",
      "schema": {
       "type": "number"
      }
     },
     {
      "name": "unlock",
      "in": "query",
      "required": false,
      "description": "Not read here: recent alerts are answered at the site’s own sizes, and a request that sends this is refused.",
      "schema": {
       "type": "number"
      }
     },
     {
      "name": "bigSwap",
      "in": "query",
      "required": false,
      "description": "Not read here: recent alerts are answered at the site’s own sizes, and a request that sends this is refused.",
      "schema": {
       "type": "number"
      }
     },
     {
      "name": "unshield",
      "in": "query",
      "required": false,
      "description": "Not read here: recent alerts are answered at the site’s own sizes, and a request that sends this is refused.",
      "schema": {
       "type": "number"
      }
     },
     {
      "name": "bond",
      "in": "query",
      "required": false,
      "description": "Not read here: recent alerts are answered at the site’s own sizes, and a request that sends this is refused.",
      "schema": {
       "type": "number"
      }
     },
     {
      "name": "exitBridge",
      "in": "query",
      "required": false,
      "description": "Not read here: recent alerts are answered at the site’s own sizes, and a request that sends this is refused.",
      "schema": {
       "type": "number"
      }
     },
     {
      "name": "liquidity",
      "in": "query",
      "required": false,
      "description": "Not read here: recent alerts are answered at the site’s own sizes, and a request that sends this is refused.",
      "schema": {
       "type": "number"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "The moves that crossed one of the site’s alert sizes in a recent window, newest first, and the newest such move of any age.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "since": {
           "description": "Where the hits start: the start of the window, or later when the window held more moves than one read takes."
          },
          "until": {
           "description": "Where the window ends: now, or the rewound moment."
          },
          "hits": {
           "description": "The moves that crossed an alert size in the window, newest first: the rule, the time, the move, a title and detail in words, the NAM, the address and, for a trade, its price."
          },
          "last": {
           "description": "The newest hit before the window’s end, of any age. Null when the whole record holds none; absent when the search for it did not finish."
          }
         }
        }
       }
      }
     },
     "400": {
      "description": "A value outside what a parameter takes.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/intel": {
   "get": {
    "summary": "Votes and forum",
    "description": "The governance proposals, validators and forum posts the site reads, as its last stored copy with the time it was read.",
    "tags": [
     "Alerts and votes"
    ],
    "parameters": [],
    "responses": {
     "200": {
      "description": "The governance proposals, validators and forum posts the site reads, as its last stored copy with the time it was read.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "topics": {
           "description": "Recent topics on the Namada forum: title, link, category, counts of posts, replies, views and likes, and times."
          },
          "latestPosts": {
           "description": "The newest forum posts: the topic, the author’s name, the time and an excerpt."
          },
          "proposals": {
           "description": "Governance proposals as the Namada indexer lists them: title, kind, status, the epochs of the vote and the votes in NAM for, against and abstaining."
          },
          "validators": {
           "description": "Validators: address, name, voting power in NAM, commission and state."
          },
          "indexerEpoch": {
           "description": "The epoch the Namada indexer reported; null when not read."
          },
          "fetchedAt": {
           "description": "When this copy was read."
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/integrity": {
   "get": {
    "summary": "Cross-checks",
    "description": "The checks the site runs on its own figures against other sources, each with its result, the state of every source it reads and when its last reading of every source completed.",
    "tags": [
     "The site itself"
    ],
    "parameters": [],
    "responses": {
     "200": {
      "description": "The checks the site runs on its own figures against other sources, each with its result, the state of every source it reads and when its last reading of every source completed.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "checks": {
           "description": "The site’s cross-checks, newest first: each with its status, title, detail and the time it last ran. A check that has not run for a while is marked stale."
          },
          "sources": {
           "description": "Each outside source the site reads, with whether its last read answered, when, and a note in plain words."
          },
          "at": {
           "description": "When the answer was made."
          },
          "lastTickAt": {
           "description": "When the site’s last reading of every source completed; null when no completed reading is on record, and left out when that record could not be read."
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/api/health": {
   "get": {
    "summary": "Health",
    "description": "Whether the site’s last reading of its sources completed recently and no incident is open, with the names of what is failing. The same answer is sent with an error status when it is not.",
    "tags": [
     "The site itself"
    ],
    "parameters": [],
    "responses": {
     "200": {
      "description": "Whether the site’s last reading of its sources completed recently and no incident is open, with the names of what is failing. The same answer is sent with an error status when it is not.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "description": "True when the site completed a reading of its sources recently and no incident is open."
          },
          "lastTickAt": {
           "description": "When the last reading completed; null when none is on record."
          },
          "lastTickAgeMs": {
           "description": "How long ago that was, in milliseconds."
          },
          "failing": {
           "description": "The names of the reads and checks that failed at the last reading."
          },
          "incidents": {
           "description": "The names of the incidents now open."
          },
          "note": {
           "description": "Present only when the record of the last reading could not be read: a sentence that says so."
          }
         }
        }
       }
      }
     },
     "429": {
      "description": "Too many requests of this kind from one address; the Retry-After header says how many seconds to wait.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string",
           "description": "Why the request was refused, in plain words."
          }
         },
         "required": [
          "error"
         ]
        }
       }
      }
     },
     "503": {
      "description": "Not ok: the same fields as the 200 answer.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  }
 }
}