{
  "openapi": "3.1.0",
  "info": {
    "title": "kre8 Social API (public reads)",
    "version": "0.1.0",
    "summary": "Public reads of the kre8 social service on Gully Chain Testnet.",
    "description": "Read-only access to what is public on kre8: profiles, posts, creator pages, music, podcasts, price calls, feeds and counts. No key and no sign-in are needed for anything on this page.\n\n**Testnet.** This service runs on Gully Chain Testnet (chain 485590): test funds with no real value. Accounts, coins, prices and amounts are test data and can be reset. Money figures are in USD where the field name ends in `Usd`; tip amounts are in the smallest unit of USDC.e, a US dollar test token with 6 decimals.\n\n**What is not here.** Anything that writes, anything that needs the signature of an account, and the app's own page, card and embed endpoints.\n\n## Caching\n\nEvery answer carries `Cache-Control`. The default is `no-store`; a read that sets its own value says so on its operation. The busiest lists are kept in memory for 4 seconds and, for calls without a signature, are sent with `public, max-age=0, s-maxage=5, stale-while-revalidate=30` so that a shared cache in front of the service may keep one copy for everyone. Those answers carry `X-Cache: HIT` or `MISS`. Expect list answers to be a few seconds old.\n\n## Pagination\n\nLists that have pages return `next`. Pass it back as `cursor` to get the following page; `next` is `null` on the last page. Treat the value as opaque: on some lists it is a row marker, on others an offset. The release feed uses `after` with a sequence number in the same way. Lists without `next` return one page, sized by `limit` where the operation has it.\n\n## Limits\n\n600 requests per minute per caller by default. Every answer carries `X-RateLimit-Limit` and `X-RateLimit-Scope` (the per-minute number and whether it is counted per `ip` or per `key`); there is no header for what is left and no `Retry-After`. Over the limit the answer is HTTP 429: wait a minute before retrying. A kre8 API key sent as `X-Kre8-Key` is optional and has its own budget, 1200 per minute by default. Search and the name check have their own smaller per-minute limits, stated on the operation. The numbers in force are on `GET /v1/developers/limits`.\n\n## Errors\n\nAn error is JSON `{ \"error\": \"<plain words>\" }`, on a few errors with a short `code`.\n\n| HTTP | code | Meaning |\n|---|---|---|\n| 400 |  | A parameter is missing or malformed. The `error` text says which. |\n| 401 | api_key | An API key was sent and it is unknown or switched off. Calls without a key are not affected. |\n| 404 |  | Nothing with this id, or it is not public. |\n| 429 |  | Over the per-minute limit of the caller. |\n| 429 | rate_limited | Over the per-minute limit of the API key. |\n| 451 |  | The item was taken down after a report or a copyright notice. |\n| 500 |  | Something broke on our side. |\n\n## Calling from a browser\n\nThe reads marked as runnable in the developer hub answer any web origin. The other reads answer cross-origin requests only from the kre8 app's own origins, so call them from a server or a command line.",
    "x-generated-by": "services/social/scripts/gen-openapi.mjs"
  },
  "servers": [
    {
      "url": "https://social.kre8.fun",
      "description": "kre8 social service, Gully Chain Testnet (485590): test funds with no real value"
    }
  ],
  "tags": [
    {
      "name": "Trust",
      "description": "Which accounts proved a handle on another network."
    },
    {
      "name": "People",
      "description": "Profiles, followers, directories and badges."
    },
    {
      "name": "Posts",
      "description": "Posts, replies, reactions and the release feed."
    },
    {
      "name": "Creators",
      "description": "Creator pages, tracks, galleries, tips and plays."
    },
    {
      "name": "Music",
      "description": "Music home, search, artists, releases and playlists."
    },
    {
      "name": "Calls",
      "description": "Price calls, battles and the leaderboard."
    },
    {
      "name": "Coins",
      "description": "The pages creators wrote for their coins."
    },
    {
      "name": "Podcasts",
      "description": "Shows, episodes, RSS, chapters and transcripts."
    },
    {
      "name": "Feeds",
      "description": "Atom feeds per creator."
    },
    {
      "name": "Stats",
      "description": "Counts and programme numbers."
    },
    {
      "name": "Names",
      "description": "Protected-name lookup."
    }
  ],
  "paths": {
    "/v1/trust/{address}": {
      "get": {
        "operationId": "getTrust",
        "tags": [
          "Trust"
        ],
        "summary": "Trust level of one account",
        "description": "Whether the account proved a handle on another network (\"handle verified\"), and which networks.",
        "security": [],
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "Account address (0x + 40 hex).",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=30`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Trust"
                },
                "example": {
                  "address": "0x1111111111111111111111111111111111111111",
                  "trustLevel": "verified",
                  "connections": [
                    {
                      "provider": "telegram",
                      "handle": "example",
                      "verifiedAt": 1795000000
                    }
                  ],
                  "known": true
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=30"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/trust": {
      "get": {
        "operationId": "listTrust",
        "tags": [
          "Trust"
        ],
        "summary": "Trust levels of several accounts",
        "description": "Up to 50 accounts in one call.",
        "security": [],
        "parameters": [
          {
            "name": "addresses",
            "in": "query",
            "required": true,
            "description": "1 to 50 account addresses, comma separated.",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111,0x2222222222222222222222222222222222222222"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=30`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "object",
                      "description": "One entry per address.",
                      "additionalProperties": {
                        "type": "object",
                        "properties": {
                          "trustLevel": {
                            "type": "string",
                            "enum": [
                              "unverified",
                              "verified",
                              "business"
                            ]
                          },
                          "connections": {
                            "type": "array",
                            "items": {
                              "$ref": "#/components/schemas/Connection"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "example": {
                  "items": {
                    "0x1111111111111111111111111111111111111111": {
                      "trustLevel": "unverified",
                      "connections": []
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=30"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/profiles/{address}": {
      "get": {
        "operationId": "getProfile",
        "tags": [
          "People"
        ],
        "summary": "Profile counts and badges of one account",
        "description": "Followers, following, posts, points and badges. An address that never used kre8 answers with zeros.",
        "security": [],
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "Account address (0x + 40 hex).",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=0, s-maxage=5, stale-while-revalidate=30` on a call without a signature.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "X-Cache": {
                "$ref": "#/components/headers/X-Cache"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Profile"
                },
                "example": {
                  "address": "0x1111111111111111111111111111111111111111",
                  "followers": 12,
                  "following": 4,
                  "posts": 7,
                  "points": 120,
                  "early": true,
                  "invitedBy": null,
                  "invited": 2,
                  "verified": null,
                  "official": false,
                  "business": null,
                  "trustLevel": "unverified"
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=0, s-maxage=5, stale-while-revalidate=30"
          ],
          "inMemorySeconds": 4
        }
      }
    },
    "/v1/profiles/{address}/followers": {
      "get": {
        "operationId": "listFollowers",
        "tags": [
          "People"
        ],
        "summary": "Followers of an account",
        "description": "Newest first, 50 per page.",
        "security": [],
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "Account address (0x + 40 hex).",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The `next` value of the previous page.",
            "schema": {
              "type": "string"
            },
            "example": "1200"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=0, s-maxage=5, stale-while-revalidate=30` on a call without a signature.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "X-Cache": {
                "$ref": "#/components/headers/X-Cache"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "address": {
                            "type": "string",
                            "description": "Account address, lowercase.",
                            "pattern": "^0x[0-9a-f]{40}$"
                          },
                          "at": {
                            "type": "integer",
                            "description": "When the follow happened (Unix seconds)."
                          }
                        }
                      }
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Pass as `cursor` for the next page; null on the last page."
                    }
                  }
                },
                "example": {
                  "items": [
                    {
                      "address": "0x2222222222222222222222222222222222222222",
                      "at": 1795000000
                    }
                  ],
                  "next": null
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=0, s-maxage=5, stale-while-revalidate=30"
          ],
          "inMemorySeconds": 4
        },
        "x-pagination": {
          "style": "cursor",
          "parameter": "cursor",
          "nextField": "next",
          "pageSize": 50
        }
      }
    },
    "/v1/profiles/{address}/following": {
      "get": {
        "operationId": "listFollowing",
        "tags": [
          "People"
        ],
        "summary": "Accounts an account follows",
        "description": "Newest first, 50 per page.",
        "security": [],
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "Account address (0x + 40 hex).",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The `next` value of the previous page.",
            "schema": {
              "type": "string"
            },
            "example": "1200"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=0, s-maxage=5, stale-while-revalidate=30` on a call without a signature.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "X-Cache": {
                "$ref": "#/components/headers/X-Cache"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "address": {
                            "type": "string",
                            "description": "Account address, lowercase.",
                            "pattern": "^0x[0-9a-f]{40}$"
                          },
                          "at": {
                            "type": "integer",
                            "description": "When the follow happened (Unix seconds)."
                          }
                        }
                      }
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Pass as `cursor` for the next page; null on the last page."
                    }
                  }
                },
                "example": {
                  "items": [
                    {
                      "address": "0x2222222222222222222222222222222222222222",
                      "at": 1795000000
                    }
                  ],
                  "next": null
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=0, s-maxage=5, stale-while-revalidate=30"
          ],
          "inMemorySeconds": 4
        },
        "x-pagination": {
          "style": "cursor",
          "parameter": "cursor",
          "nextField": "next",
          "pageSize": 50
        }
      }
    },
    "/v1/profiles/{address}/follows/{target}": {
      "get": {
        "operationId": "getFollows",
        "tags": [
          "People"
        ],
        "summary": "Does one account follow another",
        "description": "A yes or no for one pair of accounts.",
        "security": [],
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "Account address (0x + 40 hex).",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          },
          {
            "name": "target",
            "in": "path",
            "required": true,
            "description": "The account that may be followed (0x + 40 hex).",
            "schema": {
              "type": "string"
            },
            "example": "0x2222222222222222222222222222222222222222"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "following": {
                      "type": "boolean"
                    }
                  }
                },
                "example": {
                  "following": true
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/people": {
      "get": {
        "operationId": "listPeople",
        "tags": [
          "People"
        ],
        "summary": "Accounts, ranked",
        "description": "A ranked list of accounts for directories and suggestions.",
        "security": [],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows to return, 1 to 50. Default 20.",
            "schema": {
              "type": "string"
            },
            "example": "20"
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "Ranking. Default followers.",
            "schema": {
              "type": "string",
              "enum": [
                "followers",
                "new",
                "verified",
                "points"
              ]
            },
            "example": "followers"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=0, s-maxage=5, stale-while-revalidate=30` on a call without a signature.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "X-Cache": {
                "$ref": "#/components/headers/X-Cache"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "address": {
                            "type": "string",
                            "description": "Account address, lowercase.",
                            "pattern": "^0x[0-9a-f]{40}$"
                          },
                          "followers": {
                            "type": "integer"
                          },
                          "verified": {
                            "type": "boolean",
                            "description": "Has a paid badge."
                          },
                          "early": {
                            "type": "boolean"
                          },
                          "official": {
                            "type": "boolean"
                          },
                          "business": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "points": {
                            "type": "integer"
                          },
                          "joinedAt": {
                            "type": "integer",
                            "description": "Joined (Unix seconds)."
                          }
                        }
                      }
                    }
                  }
                },
                "example": {
                  "items": [
                    {
                      "address": "0x1111111111111111111111111111111111111111",
                      "followers": 12,
                      "verified": false,
                      "early": true,
                      "official": false,
                      "business": null,
                      "points": 120,
                      "joinedAt": 1795000000
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=0, s-maxage=5, stale-while-revalidate=30"
          ],
          "inMemorySeconds": 4
        }
      }
    },
    "/v1/verified/{address}": {
      "get": {
        "operationId": "getBadge",
        "tags": [
          "People"
        ],
        "summary": "Paid badge of an account",
        "description": "The paid badge of an account with its signed record. 404 when the account never had one. `revoked` and `expiresAt` say whether it still counts.",
        "security": [],
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "Account address (0x + 40 hex).",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "The badge: account, xHandle, plan, issuedAt, expiresAt, revoked, onchain and the signed record. Shape not specified."
                },
                "example": {
                  "account": "0x1111111111111111111111111111111111111111",
                  "xHandle": "example",
                  "plan": "month",
                  "issuedAt": 1795000000,
                  "expiresAt": 1797592000,
                  "revoked": false,
                  "onchain": false
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Nothing with this id, or it is not public.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/official": {
      "get": {
        "operationId": "listOfficial",
        "tags": [
          "People"
        ],
        "summary": "Official kre8 accounts",
        "description": "The accounts kre8 itself runs.",
        "security": [],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=60`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "X-Cache": {
                "$ref": "#/components/headers/X-Cache"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "address": {
                            "type": "string",
                            "description": "Account address, lowercase.",
                            "pattern": "^0x[0-9a-f]{40}$"
                          },
                          "name": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "label": {
                            "type": "string"
                          },
                          "suggest": {
                            "type": "boolean",
                            "description": "Suggested to new accounts."
                          },
                          "rank": {
                            "type": "integer"
                          },
                          "grantedAt": {
                            "type": "integer",
                            "description": "Granted (Unix seconds)."
                          }
                        }
                      }
                    }
                  }
                },
                "example": {
                  "items": [
                    {
                      "address": "0x1111111111111111111111111111111111111111",
                      "name": "example",
                      "label": "Official",
                      "suggest": true,
                      "rank": 1,
                      "grantedAt": 1795000000
                    }
                  ]
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=60"
          ],
          "inMemorySeconds": 4
        }
      }
    },
    "/v1/featured": {
      "get": {
        "operationId": "listFeatured",
        "tags": [
          "People"
        ],
        "summary": "Featured items",
        "description": "Items the kre8 team features now, by slot.",
        "security": [],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=0, s-maxage=5, stale-while-revalidate=30` on a call without a signature.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "X-Cache": {
                "$ref": "#/components/headers/X-Cache"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "slot": {
                            "type": "string"
                          },
                          "item": {
                            "type": "string",
                            "description": "The featured item, for example \"track:<id>\"."
                          },
                          "title": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "until": {
                            "type": [
                              "integer",
                              "null"
                            ],
                            "description": "Featured until (Unix seconds)."
                          },
                          "createdAt": {
                            "type": "integer",
                            "description": "Created (Unix seconds)."
                          }
                        }
                      }
                    }
                  }
                },
                "example": {
                  "items": []
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=0, s-maxage=5, stale-while-revalidate=30"
          ],
          "inMemorySeconds": 4
        }
      }
    },
    "/v1/bio-links/{address}": {
      "get": {
        "operationId": "listBioLinks",
        "tags": [
          "People"
        ],
        "summary": "Bio links of an account",
        "description": "The links an account shows on its page. `verified` is true when the account proved it controls the link's domain.",
        "security": [],
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "Account address (0x + 40 hex).",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=30`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "host": {
                            "type": "string"
                          },
                          "known": {
                            "type": "boolean",
                            "description": "A well-known site."
                          },
                          "verified": {
                            "type": "boolean",
                            "description": "Domain control proven."
                          }
                        }
                      }
                    }
                  }
                },
                "example": {
                  "items": [
                    {
                      "id": "bl_example1",
                      "kind": "link",
                      "label": "Website",
                      "url": "https://example.com",
                      "host": "example.com",
                      "known": false,
                      "verified": false
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=30"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/invites/leaderboard": {
      "get": {
        "operationId": "getInviteLeaderboard",
        "tags": [
          "People"
        ],
        "summary": "Who invited the most accounts",
        "description": "Accounts ranked by invites that were used.",
        "security": [],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows to return, 1 to 50. Default 20.",
            "schema": {
              "type": "string"
            },
            "example": "20"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=0, s-maxage=5, stale-while-revalidate=30` on a call without a signature.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "X-Cache": {
                "$ref": "#/components/headers/X-Cache"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "address": {
                            "type": "string",
                            "description": "Account address, lowercase.",
                            "pattern": "^0x[0-9a-f]{40}$"
                          },
                          "invited": {
                            "type": "integer"
                          },
                          "points": {
                            "type": "integer"
                          }
                        }
                      }
                    }
                  }
                },
                "example": {
                  "items": [
                    {
                      "address": "0x1111111111111111111111111111111111111111",
                      "invited": 5,
                      "points": 300
                    }
                  ]
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=0, s-maxage=5, stale-while-revalidate=30"
          ],
          "inMemorySeconds": 4
        }
      }
    },
    "/v1/posts": {
      "get": {
        "operationId": "listPosts",
        "tags": [
          "Posts"
        ],
        "summary": "Posts, newest first",
        "description": "All posts, the posts of one author, or the home feed of one account. 30 per page. A locked post comes without its text and image.",
        "security": [],
        "parameters": [
          {
            "name": "author",
            "in": "query",
            "required": false,
            "description": "Only posts by this account.",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The `next` value of the previous page.",
            "schema": {
              "type": "string"
            },
            "example": "5100"
          },
          {
            "name": "feed",
            "in": "query",
            "required": false,
            "description": "The home feed of this account: posts by the accounts it follows.",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=0, s-maxage=5, stale-while-revalidate=30` on a call without a signature.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "X-Cache": {
                "$ref": "#/components/headers/X-Cache"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostPage"
                },
                "example": {
                  "items": [
                    {
                      "id": "p_example01",
                      "author": "0x1111111111111111111111111111111111111111",
                      "body": "Hello from the testnet.",
                      "media": null,
                      "replyTo": null,
                      "createdAt": 1795000000,
                      "likes": 3,
                      "replies": 1,
                      "liked": false
                    }
                  ],
                  "next": null
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=0, s-maxage=5, stale-while-revalidate=30"
          ],
          "inMemorySeconds": 4
        },
        "x-pagination": {
          "style": "cursor",
          "parameter": "cursor",
          "nextField": "next",
          "pageSize": 30
        }
      }
    },
    "/v1/posts/{id}": {
      "get": {
        "operationId": "getPost",
        "tags": [
          "Posts"
        ],
        "summary": "One post with its replies",
        "description": "The post and up to 100 replies.",
        "security": [],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Post id.",
            "schema": {
              "type": "string"
            },
            "example": "p_example01"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "post": {
                      "$ref": "#/components/schemas/Post"
                    },
                    "replies": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Post"
                      }
                    }
                  }
                },
                "example": {
                  "post": {
                    "id": "p_example01",
                    "author": "0x1111111111111111111111111111111111111111",
                    "body": "Hello from the testnet.",
                    "media": null,
                    "replyTo": null,
                    "createdAt": 1795000000,
                    "likes": 3,
                    "replies": 1,
                    "liked": false
                  },
                  "replies": []
                }
              }
            }
          },
          "404": {
            "description": "Nothing with this id, or it is not public.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/replies": {
      "get": {
        "operationId": "listReplies",
        "tags": [
          "Posts"
        ],
        "summary": "Replies to an item",
        "description": "Replies to a post, a transaction, a quest, a coin or a video. 50 per page.",
        "security": [],
        "parameters": [
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The `next` value of the previous page.",
            "schema": {
              "type": "string"
            },
            "example": "5100"
          },
          {
            "name": "item",
            "in": "query",
            "required": true,
            "description": "The item: `post:<id>`, `tx:<hash>`, `quest:<id>`, `token:<address>` or `video:<id>`.",
            "schema": {
              "type": "string"
            },
            "example": "post:p_example01"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=0, s-maxage=5, stale-while-revalidate=30` on a call without a signature.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "X-Cache": {
                "$ref": "#/components/headers/X-Cache"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostPage"
                },
                "example": {
                  "items": [],
                  "next": null
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=0, s-maxage=5, stale-while-revalidate=30"
          ],
          "inMemorySeconds": 4
        },
        "x-pagination": {
          "style": "cursor",
          "parameter": "cursor",
          "nextField": "next",
          "pageSize": 50
        }
      }
    },
    "/v1/reactions": {
      "get": {
        "operationId": "getReactions",
        "tags": [
          "Posts"
        ],
        "summary": "Like and reply counts of several items",
        "description": "Counts for up to 100 items in one call.",
        "security": [],
        "parameters": [
          {
            "name": "ids",
            "in": "query",
            "required": false,
            "description": "Up to 100 item ids, comma separated (same forms as `item` on the replies read).",
            "schema": {
              "type": "string"
            },
            "example": "post:p_example01"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=0, s-maxage=5, stale-while-revalidate=30` on a call without a signature.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "X-Cache": {
                "$ref": "#/components/headers/X-Cache"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "One entry per id.",
                  "additionalProperties": {
                    "type": "object",
                    "properties": {
                      "likes": {
                        "type": "integer"
                      },
                      "replies": {
                        "type": "integer"
                      },
                      "liked": {
                        "type": "boolean",
                        "description": "Always false without a signature."
                      }
                    }
                  }
                },
                "example": {
                  "post:p_example01": {
                    "likes": 3,
                    "replies": 1,
                    "liked": false
                  }
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=0, s-maxage=5, stale-while-revalidate=30"
          ],
          "inMemorySeconds": 4
        }
      }
    },
    "/v1/drops/feed": {
      "get": {
        "operationId": "listDrops",
        "tags": [
          "Posts"
        ],
        "summary": "New releases, oldest first",
        "description": "Every release creators announced (tracks, videos, coins and more), in order. Keep the last `next` and pass it as `after` to read only what is new.",
        "security": [],
        "parameters": [
          {
            "name": "after",
            "in": "query",
            "required": false,
            "description": "Return releases after this sequence number. Default 0.",
            "schema": {
              "type": "string"
            },
            "example": "0"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows to return, 1 to 100. Default 50.",
            "schema": {
              "type": "string"
            },
            "example": "50"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "seq": {
                            "type": "integer",
                            "description": "Sequence number."
                          },
                          "kind": {
                            "type": "string"
                          },
                          "id": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "creator": {
                            "type": "string",
                            "description": "Account address, lowercase.",
                            "pattern": "^0x[0-9a-f]{40}$"
                          },
                          "creatorName": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The creator's .gully name."
                          },
                          "coin": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "Coin contract address.",
                            "pattern": "^0x[0-9a-f]{40}$"
                          },
                          "url": {
                            "type": "string",
                            "description": "Page of the release in the app."
                          },
                          "cardUrl": {
                            "type": "string",
                            "description": "Share card image."
                          },
                          "at": {
                            "type": "integer",
                            "description": "Announced (Unix seconds)."
                          }
                        },
                        "additionalProperties": true
                      }
                    },
                    "next": {
                      "type": "integer",
                      "description": "Pass as `after` next time."
                    }
                  }
                },
                "example": {
                  "items": [
                    {
                      "seq": 1,
                      "kind": "track",
                      "id": "trk_example1",
                      "title": "Example track",
                      "creator": "0x1111111111111111111111111111111111111111",
                      "creatorName": "example.gully",
                      "coin": null,
                      "url": "https://testnet.kre8.fun/track/example-track-trk_example1",
                      "cardUrl": "https://testnet.kre8.fun/s/t/trk_example1.png",
                      "at": 1795000000
                    }
                  ],
                  "next": 1
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        },
        "x-pagination": {
          "style": "sequence",
          "parameter": "after",
          "nextField": "next"
        }
      }
    },
    "/v1/creators/{address}": {
      "get": {
        "operationId": "getCreator",
        "tags": [
          "Creators"
        ],
        "summary": "Creator page of an account",
        "description": "Headline, bio, links, theme, profile song and totals. 404 when the account has not turned on creator mode.",
        "security": [],
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "Account address (0x + 40 hex).",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          },
          {
            "name": "soft",
            "in": "query",
            "required": false,
            "description": "Send 1 to get `null` with status 200 in place of the 404.",
            "schema": {
              "type": "string"
            },
            "example": "1"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "additionalProperties": true,
                  "description": "address, enabled, theme, accent, banner, headline, bio, links, blocks, top8, song, royaltyBps, updatedAt and stats { tracks, plays, supporters, tips, tipsTotal }. Shape not specified."
                },
                "example": {
                  "address": "0x1111111111111111111111111111111111111111",
                  "enabled": true,
                  "theme": "midnight",
                  "accent": "amber",
                  "banner": null,
                  "headline": "Example creator",
                  "bio": "",
                  "links": [],
                  "blocks": [],
                  "top8": [],
                  "song": null,
                  "royaltyBps": 500,
                  "updatedAt": 1795000000,
                  "stats": {
                    "tracks": 1,
                    "plays": 42,
                    "supporters": 0,
                    "tips": 0,
                    "tipsTotal": "0"
                  }
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Nothing with this id, or it is not public.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/creators/{address}/tracks": {
      "get": {
        "operationId": "listCreatorTracks",
        "tags": [
          "Creators"
        ],
        "summary": "Tracks of a creator",
        "description": "Up to 100 published tracks, newest first.",
        "security": [],
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "Account address (0x + 40 hex).",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Track"
                      }
                    }
                  }
                },
                "example": {
                  "items": [
                    {
                      "id": "trk_example1",
                      "owner": "0x1111111111111111111111111111111111111111",
                      "title": "Example track",
                      "genre": "Electronic",
                      "mood": "Chill",
                      "description": "",
                      "credits": [],
                      "cover": null,
                      "audio": null,
                      "peaks": null,
                      "plays": 42,
                      "tips": {
                        "count": 0,
                        "total": "0"
                      },
                      "createdAt": 1795000000,
                      "status": "published"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/creators/{address}/art": {
      "get": {
        "operationId": "listCreatorArt",
        "tags": [
          "Creators"
        ],
        "summary": "Gallery of a creator",
        "description": "Up to 200 published artworks, newest first. A locked artwork comes without its image.",
        "security": [],
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "Account address (0x + 40 hex).",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Art"
                      }
                    }
                  }
                },
                "example": {
                  "items": [
                    {
                      "id": "art_example1",
                      "owner": "0x1111111111111111111111111111111111111111",
                      "image": "https://social.kre8.fun/m/example.png",
                      "title": "Example art",
                      "createdAt": 1795000000,
                      "status": "published"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/creators/{address}/supporters": {
      "get": {
        "operationId": "getCreatorSupporters",
        "tags": [
          "Creators"
        ],
        "summary": "Tips a creator received",
        "description": "Totals, the ten largest supporters and daily totals for the last 30 days. Amounts are in the smallest unit of USDC.e (6 decimals), a US dollar test token: 1000000 = $1.",
        "security": [],
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "Account address (0x + 40 hex).",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "token": {
                      "type": "object",
                      "properties": {
                        "symbol": {
                          "type": "string"
                        },
                        "decimals": {
                          "type": "integer"
                        }
                      }
                    },
                    "total": {
                      "type": "string"
                    },
                    "supporters": {
                      "type": "integer"
                    },
                    "top": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "address": {
                            "type": "string",
                            "description": "Account address, lowercase.",
                            "pattern": "^0x[0-9a-f]{40}$"
                          },
                          "total": {
                            "type": "string"
                          },
                          "count": {
                            "type": "integer"
                          }
                        }
                      }
                    },
                    "series": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "day": {
                            "type": "integer",
                            "description": "Start of the UTC day (Unix seconds)."
                          },
                          "total": {
                            "type": "string"
                          },
                          "count": {
                            "type": "integer"
                          }
                        }
                      }
                    }
                  }
                },
                "example": {
                  "token": {
                    "symbol": "USDC.e",
                    "decimals": 6
                  },
                  "total": "2000000",
                  "supporters": 1,
                  "top": [
                    {
                      "address": "0x2222222222222222222222222222222222222222",
                      "total": "2000000",
                      "count": 1
                    }
                  ],
                  "series": [
                    {
                      "day": 1794960000,
                      "total": "2000000",
                      "count": 1
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/creators/{address}/plays": {
      "get": {
        "operationId": "getCreatorPlays",
        "tags": [
          "Creators"
        ],
        "summary": "Daily plays of a creator",
        "description": "Plays per UTC day across all tracks of the creator.",
        "security": [],
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "Account address (0x + 40 hex).",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "description": "Days to return, 1 to 90. Default 30.",
            "schema": {
              "type": "string"
            },
            "example": "30"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlaySeries"
                },
                "example": {
                  "plays": 3,
                  "series": [
                    {
                      "day": 1794960000,
                      "plays": 1
                    },
                    {
                      "day": 1795046400,
                      "plays": 2
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/creators/trending": {
      "get": {
        "operationId": "listTrendingCreators",
        "tags": [
          "Creators"
        ],
        "summary": "Creators trending this week",
        "description": "Creators ranked by plays and tips of the last 7 days.",
        "security": [],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows to return, 1 to 30. Default 12.",
            "schema": {
              "type": "string"
            },
            "example": "12"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "address": {
                            "type": "string",
                            "description": "Account address, lowercase.",
                            "pattern": "^0x[0-9a-f]{40}$"
                          },
                          "plays7d": {
                            "type": "integer"
                          },
                          "tips7d": {
                            "type": "integer"
                          },
                          "tippers7d": {
                            "type": "integer"
                          },
                          "tipsTotal7d": {
                            "type": "string",
                            "description": "Smallest unit of USDC.e (6 decimals)."
                          },
                          "tracks": {
                            "type": "integer"
                          },
                          "accent": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "score": {
                            "type": "number"
                          }
                        }
                      }
                    },
                    "window": {
                      "type": "string"
                    }
                  }
                },
                "example": {
                  "items": [
                    {
                      "address": "0x1111111111111111111111111111111111111111",
                      "plays7d": 42,
                      "tips7d": 1,
                      "tippers7d": 1,
                      "tipsTotal7d": "2000000",
                      "tracks": 1,
                      "accent": "amber",
                      "score": 49
                    }
                  ],
                  "window": "7d"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/tracks": {
      "get": {
        "operationId": "listTracks",
        "tags": [
          "Creators"
        ],
        "summary": "Tracks",
        "description": "Published tracks, newest or most played this week.",
        "security": [],
        "parameters": [
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The `next` value of the previous page (sort=new).",
            "schema": {
              "type": "string"
            },
            "example": "310"
          },
          {
            "name": "genre",
            "in": "query",
            "required": false,
            "description": "Only this genre.",
            "schema": {
              "type": "string",
              "enum": [
                "Hip-hop",
                "Electronic",
                "Pop",
                "Rock",
                "R&B",
                "Lo-fi",
                "Ambient",
                "Jazz",
                "Classical",
                "Folk",
                "Metal",
                "Experimental",
                "Soundtrack",
                "Spoken word",
                "Other"
              ]
            },
            "example": "Electronic"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows per page, 1 to 50. Default 20.",
            "schema": {
              "type": "string"
            },
            "example": "20"
          },
          {
            "name": "owner",
            "in": "query",
            "required": false,
            "description": "Only tracks of this creator.",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "new (default) or top. Only new has pages.",
            "schema": {
              "type": "string",
              "enum": [
                "new",
                "top"
              ]
            },
            "example": "new"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Track"
                      }
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Pass as `cursor` for the next page; null on the last page and with sort=top."
                    }
                  }
                },
                "example": {
                  "items": [
                    {
                      "id": "trk_example1",
                      "owner": "0x1111111111111111111111111111111111111111",
                      "title": "Example track",
                      "genre": "Electronic",
                      "mood": "Chill",
                      "description": "",
                      "credits": [],
                      "cover": null,
                      "audio": null,
                      "peaks": null,
                      "plays": 42,
                      "tips": {
                        "count": 0,
                        "total": "0"
                      },
                      "createdAt": 1795000000,
                      "status": "published"
                    }
                  ],
                  "next": null
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        },
        "x-pagination": {
          "style": "cursor",
          "parameter": "cursor",
          "nextField": "next",
          "pageSize": {
            "default": 20,
            "max": 50
          }
        }
      }
    },
    "/v1/tracks/{id}": {
      "get": {
        "operationId": "getTrack",
        "tags": [
          "Creators"
        ],
        "summary": "One track",
        "description": "A published track. 451 when it was taken down. A locked track comes without its audio.",
        "security": [],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Track id.",
            "schema": {
              "type": "string"
            },
            "example": "trk_example1"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Track"
                },
                "example": {
                  "id": "trk_example1",
                  "owner": "0x1111111111111111111111111111111111111111",
                  "title": "Example track",
                  "genre": "Electronic",
                  "mood": "Chill",
                  "description": "",
                  "credits": [],
                  "cover": null,
                  "audio": null,
                  "peaks": null,
                  "plays": 42,
                  "tips": {
                    "count": 0,
                    "total": "0"
                  },
                  "createdAt": 1795000000,
                  "status": "published"
                }
              }
            }
          },
          "404": {
            "description": "Nothing with this id, or it is not public.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "451": {
            "description": "The item was taken down after a report or a copyright notice.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/tracks/{id}/plays": {
      "get": {
        "operationId": "getTrackPlays",
        "tags": [
          "Creators"
        ],
        "summary": "Daily plays of a track",
        "description": "Plays per UTC day.",
        "security": [],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Track id.",
            "schema": {
              "type": "string"
            },
            "example": "trk_example1"
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "description": "Days to return, 1 to 90. Default 30.",
            "schema": {
              "type": "string"
            },
            "example": "30"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlaySeries"
                },
                "example": {
                  "plays": 3,
                  "series": [
                    {
                      "day": 1794960000,
                      "plays": 1
                    },
                    {
                      "day": 1795046400,
                      "plays": 2
                    }
                  ]
                }
              }
            }
          },
          "404": {
            "description": "Nothing with this id, or it is not public.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/music/home": {
      "get": {
        "operationId": "getMusicHome",
        "tags": [
          "Music"
        ],
        "summary": "Music home",
        "description": "New releases, the tracks trending this week with the formula used, and counts per genre and mood.",
        "security": [],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=0, s-maxage=5, stale-while-revalidate=30` on a call without a signature.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "X-Cache": {
                "$ref": "#/components/headers/X-Cache"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "empty": {
                      "type": "boolean"
                    },
                    "newReleases": {
                      "type": "object",
                      "properties": {
                        "albums": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/Album"
                          }
                        },
                        "tracks": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/Track"
                          }
                        }
                      }
                    },
                    "trending": {
                      "type": "object",
                      "properties": {
                        "window": {
                          "type": "string"
                        },
                        "formula": {
                          "type": "string",
                          "description": "How the score is computed, in words."
                        },
                        "items": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/Track"
                          }
                        }
                      }
                    },
                    "genres": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "count": {
                            "type": "integer"
                          }
                        }
                      }
                    },
                    "moods": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "count": {
                            "type": "integer"
                          }
                        }
                      }
                    }
                  },
                  "additionalProperties": true
                },
                "example": {
                  "empty": false,
                  "newReleases": {
                    "albums": [],
                    "tracks": [
                      {
                        "id": "trk_example1",
                        "owner": "0x1111111111111111111111111111111111111111",
                        "title": "Example track",
                        "genre": "Electronic",
                        "mood": "Chill",
                        "description": "",
                        "credits": [],
                        "cover": null,
                        "audio": null,
                        "peaks": null,
                        "plays": 42,
                        "tips": {
                          "count": 0,
                          "total": "0"
                        },
                        "createdAt": 1795000000,
                        "status": "published"
                      }
                    ]
                  },
                  "trending": {
                    "window": "7d",
                    "formula": "plays + 3 x likes + listening minutes, last 7 days",
                    "items": []
                  },
                  "genres": [
                    {
                      "name": "Electronic",
                      "count": 1
                    }
                  ],
                  "moods": [
                    {
                      "name": "Chill",
                      "count": 1
                    }
                  ]
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=0, s-maxage=5, stale-while-revalidate=30"
          ],
          "inMemorySeconds": 4
        }
      }
    },
    "/v1/music/tracks": {
      "get": {
        "operationId": "listMusicTracks",
        "tags": [
          "Music"
        ],
        "summary": "Tracks by genre or mood",
        "description": "Published tracks of one genre or mood.",
        "security": [],
        "parameters": [
          {
            "name": "genre",
            "in": "query",
            "required": false,
            "description": "Only this genre.",
            "schema": {
              "type": "string",
              "enum": [
                "Hip-hop",
                "Electronic",
                "Pop",
                "Rock",
                "R&B",
                "Lo-fi",
                "Ambient",
                "Jazz",
                "Classical",
                "Folk",
                "Metal",
                "Experimental",
                "Soundtrack",
                "Spoken word",
                "Other"
              ]
            },
            "example": "Electronic"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows to return, 1 to 100. Default 50.",
            "schema": {
              "type": "string"
            },
            "example": "50"
          },
          {
            "name": "mood",
            "in": "query",
            "required": false,
            "description": "Only this mood.",
            "schema": {
              "type": "string",
              "enum": [
                "Chill",
                "Energetic",
                "Happy",
                "Sad",
                "Focus",
                "Party",
                "Romantic",
                "Dark",
                "Dreamy",
                "Workout",
                "Late night",
                "Uplifting"
              ]
            },
            "example": "Chill"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Track"
                      }
                    }
                  }
                },
                "example": {
                  "items": [
                    {
                      "id": "trk_example1",
                      "owner": "0x1111111111111111111111111111111111111111",
                      "title": "Example track",
                      "genre": "Electronic",
                      "mood": "Chill",
                      "description": "",
                      "credits": [],
                      "cover": null,
                      "audio": null,
                      "peaks": null,
                      "plays": 42,
                      "tips": {
                        "count": 0,
                        "total": "0"
                      },
                      "createdAt": 1795000000,
                      "status": "published"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/music/artists/{address}": {
      "get": {
        "operationId": "getArtist",
        "tags": [
          "Music"
        ],
        "summary": "Artist page",
        "description": "The artist card, totals, top and latest tracks, releases and public playlists. 404 when the account has not turned on creator mode.",
        "security": [],
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "Account address (0x + 40 hex).",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "The artist card plus bio, links, theme, stats { tracks, plays, monthlyListeners }, top, latest, albums and playlists. Shape not specified."
                },
                "example": {
                  "address": "0x1111111111111111111111111111111111111111",
                  "headline": "Example creator",
                  "banner": null,
                  "accent": "amber",
                  "tracks": 1,
                  "followers": 12,
                  "followed": false,
                  "bio": "",
                  "links": [],
                  "theme": "midnight",
                  "stats": {
                    "tracks": 1,
                    "plays": 42,
                    "monthlyListeners": 9
                  },
                  "top": [],
                  "latest": [],
                  "albums": [],
                  "playlists": []
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Nothing with this id, or it is not public.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/music/search": {
      "get": {
        "operationId": "searchMusic",
        "tags": [
          "Music"
        ],
        "summary": "Search tracks, artists, releases and playlists",
        "description": "Search by title or name. A .gully name or an address finds its account. Limited to 60 searches per minute per caller.",
        "security": [],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows per kind, 1 to 30. Default 10.",
            "schema": {
              "type": "string"
            },
            "example": "10"
          },
          {
            "name": "q",
            "in": "query",
            "required": true,
            "description": "Search text, 1 to 100 characters.",
            "schema": {
              "type": "string"
            },
            "example": "example"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "q": {
                      "type": "string",
                      "description": "The text as searched."
                    },
                    "tracks": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Track"
                      }
                    },
                    "artists": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ArtistCard"
                      }
                    },
                    "albums": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Album"
                      }
                    },
                    "playlists": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Playlist"
                      }
                    }
                  }
                },
                "example": {
                  "q": "example",
                  "tracks": [
                    {
                      "id": "trk_example1",
                      "owner": "0x1111111111111111111111111111111111111111",
                      "title": "Example track",
                      "genre": "Electronic",
                      "mood": "Chill",
                      "description": "",
                      "credits": [],
                      "cover": null,
                      "audio": null,
                      "peaks": null,
                      "plays": 42,
                      "tips": {
                        "count": 0,
                        "total": "0"
                      },
                      "createdAt": 1795000000,
                      "status": "published"
                    }
                  ],
                  "artists": [],
                  "albums": [],
                  "playlists": []
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/albums/{id}": {
      "get": {
        "operationId": "getAlbum",
        "tags": [
          "Music"
        ],
        "summary": "One release with its tracks",
        "description": "An album, EP or single. 451 when it was taken down; a release that is not out yet answers 404.",
        "security": [],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Release id.",
            "schema": {
              "type": "string"
            },
            "example": "alb_example1"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Album"
                },
                "example": {
                  "id": "alb_example1",
                  "owner": "0x1111111111111111111111111111111111111111",
                  "title": "Example release",
                  "kind": "single",
                  "cover": null,
                  "description": "",
                  "releaseAt": 1795000000,
                  "released": true,
                  "trackCount": 1,
                  "durationMs": 180000,
                  "saved": false,
                  "createdAt": 1795000000,
                  "updatedAt": 1795000000,
                  "tracks": [
                    {
                      "id": "trk_example1",
                      "owner": "0x1111111111111111111111111111111111111111",
                      "title": "Example track",
                      "genre": "Electronic",
                      "mood": "Chill",
                      "description": "",
                      "credits": [],
                      "cover": null,
                      "audio": null,
                      "peaks": null,
                      "plays": 42,
                      "tips": {
                        "count": 0,
                        "total": "0"
                      },
                      "createdAt": 1795000000,
                      "status": "published"
                    }
                  ]
                }
              }
            }
          },
          "404": {
            "description": "Nothing with this id, or it is not public.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "451": {
            "description": "The item was taken down after a report or a copyright notice.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/playlists/{id}": {
      "get": {
        "operationId": "getPlaylist",
        "tags": [
          "Music"
        ],
        "summary": "One public playlist with its tracks",
        "description": "A public playlist. A private playlist answers 404 without the signature of its owner or a collaborator.",
        "security": [],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Playlist id.",
            "schema": {
              "type": "string"
            },
            "example": "pl_example01"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Playlist"
                },
                "example": {
                  "id": "pl_example01",
                  "owner": "0x1111111111111111111111111111111111111111",
                  "title": "Example playlist",
                  "description": "",
                  "cover": null,
                  "public": true,
                  "collaborative": false,
                  "collaborators": [],
                  "itemCount": 1,
                  "durationMs": 180000,
                  "isOwner": false,
                  "canEdit": false,
                  "createdAt": 1795000000,
                  "updatedAt": 1795000000,
                  "items": [
                    {
                      "track": {
                        "id": "trk_example1",
                        "owner": "0x1111111111111111111111111111111111111111",
                        "title": "Example track",
                        "genre": "Electronic",
                        "mood": "Chill",
                        "description": "",
                        "credits": [],
                        "cover": null,
                        "audio": null,
                        "peaks": null,
                        "plays": 42,
                        "tips": {
                          "count": 0,
                          "total": "0"
                        },
                        "createdAt": 1795000000,
                        "status": "published"
                      },
                      "addedBy": "0x1111111111111111111111111111111111111111",
                      "addedAt": 1795000000
                    }
                  ]
                }
              }
            }
          },
          "404": {
            "description": "Nothing with this id, or it is not public.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "451": {
            "description": "The item was taken down after a report or a copyright notice.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/calls/config": {
      "get": {
        "operationId": "getCallsConfig",
        "tags": [
          "Calls"
        ],
        "summary": "Rules of calls and battles",
        "description": "The numbers the ranking uses: the liquidity floor in USD, how many counted calls an account needs, the return cap and the leaderboard windows.",
        "security": [],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=0, s-maxage=5, stale-while-revalidate=30` on a call without a signature.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "X-Cache": {
                "$ref": "#/components/headers/X-Cache"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "minLiquidityUsd": {
                      "type": "number"
                    },
                    "minRanked": {
                      "type": "integer"
                    },
                    "minAgeSeconds": {
                      "type": "integer"
                    },
                    "returnCapPct": {
                      "type": "number"
                    },
                    "callsPerDay": {
                      "type": "integer"
                    },
                    "battleHours": {
                      "type": "array",
                      "items": {
                        "type": "integer"
                      }
                    },
                    "windows": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                },
                "example": {
                  "minAgeSeconds": 3600,
                  "callsPerDay": 10,
                  "battleHours": [
                    1,
                    6,
                    24,
                    72
                  ]
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=0, s-maxage=5, stale-while-revalidate=30"
          ],
          "inMemorySeconds": 4
        }
      }
    },
    "/v1/calls": {
      "get": {
        "operationId": "listCalls",
        "tags": [
          "Calls"
        ],
        "summary": "Calls, newest first",
        "description": "Public price calls on coins, each with the price in USD at the call and now.",
        "security": [],
        "parameters": [
          {
            "name": "author",
            "in": "query",
            "required": false,
            "description": "Only calls by this account.",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows to return, 1 to 50. Default 20.",
            "schema": {
              "type": "string"
            },
            "example": "20"
          },
          {
            "name": "token",
            "in": "query",
            "required": false,
            "description": "Only calls on this coin.",
            "schema": {
              "type": "string"
            },
            "example": "0x3333333333333333333333333333333333333333"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=10`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "X-Cache": {
                "$ref": "#/components/headers/X-Cache"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "calls": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Call"
                      }
                    }
                  }
                },
                "example": {
                  "calls": [
                    {
                      "id": "AbCdEf123456",
                      "author": "0x1111111111111111111111111111111111111111",
                      "token": "0x3333333333333333333333333333333333333333",
                      "symbol": "EXMPL",
                      "priceAtCallUsd": 0.0012,
                      "mcAtCallUsd": 12000,
                      "priceNowUsd": 0.0015,
                      "mcNowUsd": 15000,
                      "liquidityNowUsd": 4200,
                      "thin": false,
                      "returnPct": 25,
                      "rawPct": 25,
                      "targetUsd": null,
                      "deadline": null,
                      "note": null,
                      "byCreator": false,
                      "status": "live",
                      "createdAt": 1795000000
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=10"
          ],
          "inMemorySeconds": 4
        }
      }
    },
    "/v1/calls/{id}": {
      "get": {
        "operationId": "getCall",
        "tags": [
          "Calls"
        ],
        "summary": "One call with its price series",
        "description": "The call plus a percent series since it was made.",
        "security": [],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Call id (12 characters).",
            "schema": {
              "type": "string"
            },
            "example": "AbCdEf123456"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Call"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "series": {
                          "description": "Percent since the call over time. Shape not specified."
                        }
                      }
                    }
                  ]
                },
                "example": {
                  "id": "AbCdEf123456",
                  "author": "0x1111111111111111111111111111111111111111",
                  "token": "0x3333333333333333333333333333333333333333",
                  "symbol": "EXMPL",
                  "priceAtCallUsd": 0.0012,
                  "mcAtCallUsd": 12000,
                  "priceNowUsd": 0.0015,
                  "mcNowUsd": 15000,
                  "liquidityNowUsd": 4200,
                  "thin": false,
                  "returnPct": 25,
                  "rawPct": 25,
                  "targetUsd": null,
                  "deadline": null,
                  "note": null,
                  "byCreator": false,
                  "status": "live",
                  "createdAt": 1795000000,
                  "series": []
                }
              }
            }
          },
          "404": {
            "description": "Nothing with this id, or it is not public.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/leaderboard/calls": {
      "get": {
        "operationId": "getCallsLeaderboard",
        "tags": [
          "Calls"
        ],
        "summary": "Leaderboard of callers",
        "description": "Accounts ranked by the average capped return of their counted calls. A call counts when the coin has at least $500 of liquidity, the caller did not create the coin and the call is at least one hour old; an account appears after 3 counted calls.",
        "security": [],
        "parameters": [
          {
            "name": "window",
            "in": "query",
            "required": false,
            "description": "Time window. Default 7d.",
            "schema": {
              "type": "string",
              "enum": [
                "7d",
                "30d",
                "all"
              ]
            },
            "example": "7d"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=15`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "X-Cache": {
                "$ref": "#/components/headers/X-Cache"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "window": {
                      "type": "string"
                    },
                    "minRanked": {
                      "type": "integer"
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true,
                        "description": "One ranked account: address and its numbers. Shape not specified."
                      }
                    },
                    "considered": {
                      "type": "integer",
                      "description": "Calls looked at."
                    },
                    "excluded": {
                      "type": "integer",
                      "description": "Calls that did not count."
                    },
                    "updatedAt": {
                      "type": "integer",
                      "description": "Computed (Unix seconds)."
                    }
                  }
                },
                "example": {
                  "window": "7d",
                  "rows": [],
                  "considered": 0,
                  "excluded": 0,
                  "updatedAt": 1795000000
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=15"
          ],
          "inMemorySeconds": 4
        }
      }
    },
    "/v1/calls/record/{address}": {
      "get": {
        "operationId": "getCallRecord",
        "tags": [
          "Calls"
        ],
        "summary": "Call record of one account",
        "description": "How the calls of one account did: counted calls, average return, win rate, best call and rank.",
        "security": [],
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "Account address (0x + 40 hex).",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string",
                      "description": "Account address, lowercase.",
                      "pattern": "^0x[0-9a-f]{40}$"
                    },
                    "calls": {
                      "type": "integer"
                    },
                    "ranked": {
                      "type": "integer",
                      "description": "Calls that count."
                    },
                    "avgReturnPct": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "winRate": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "0 to 1."
                    },
                    "bestPct": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "rank": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "needs": {
                      "type": "integer",
                      "description": "Counted calls still needed to appear on the leaderboard."
                    },
                    "curve": {
                      "type": "array",
                      "items": {
                        "type": "number"
                      },
                      "description": "Running sum of returns, oldest first."
                    }
                  }
                },
                "example": {
                  "address": "0x1111111111111111111111111111111111111111",
                  "calls": 4,
                  "ranked": 3,
                  "avgReturnPct": 12.5,
                  "winRate": 0.67,
                  "bestPct": 40,
                  "rank": 7,
                  "needs": 0,
                  "curve": [
                    10,
                    -2.5,
                    37.5
                  ]
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/battles": {
      "get": {
        "operationId": "listBattles",
        "tags": [
          "Calls"
        ],
        "summary": "Coin battles",
        "description": "Head-to-head contests between two coins over a fixed number of hours.",
        "security": [],
        "parameters": [
          {
            "name": "coin",
            "in": "query",
            "required": false,
            "description": "Only battles with this coin.",
            "schema": {
              "type": "string"
            },
            "example": "0x3333333333333333333333333333333333333333"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows to return, 1 to 30. Default 12.",
            "schema": {
              "type": "string"
            },
            "example": "12"
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "live (default), ended or all.",
            "schema": {
              "type": "string",
              "enum": [
                "live",
                "ended",
                "all"
              ]
            },
            "example": "live"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=10`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "battles": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Battle"
                      }
                    }
                  }
                },
                "example": {
                  "battles": []
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=10"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/battles/{id}": {
      "get": {
        "operationId": "getBattle",
        "tags": [
          "Calls"
        ],
        "summary": "One battle with its series",
        "description": "The battle plus the percent series of both coins.",
        "security": [],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Battle id (12 characters).",
            "schema": {
              "type": "string"
            },
            "example": "AbCdEf123456"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Battle"
                },
                "example": {
                  "id": "AbCdEf123456",
                  "creator": "0x1111111111111111111111111111111111111111",
                  "start": 1795000000,
                  "end": 1795003600,
                  "hours": 1,
                  "status": "live",
                  "result": null,
                  "leader": "a",
                  "a": {
                    "token": "0x3333333333333333333333333333333333333333",
                    "symbol": "EXMPL",
                    "priceAtStartUsd": 0.0012,
                    "priceNowUsd": 0.0015,
                    "mcNowUsd": 15000,
                    "pct": 25
                  },
                  "b": {
                    "token": "0x2222222222222222222222222222222222222222",
                    "symbol": "OTHER",
                    "priceAtStartUsd": 0.02,
                    "priceNowUsd": 0.021,
                    "mcNowUsd": 21000,
                    "pct": 5
                  },
                  "createdAt": 1795000000,
                  "series": {
                    "a": [],
                    "b": []
                  }
                }
              }
            }
          },
          "404": {
            "description": "Nothing with this id, or it is not public.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/coins": {
      "get": {
        "operationId": "listCoins",
        "tags": [
          "Coins"
        ],
        "summary": "Coins with a kre8 page",
        "description": "Coins whose creator filled in a page, most recently updated first. Prices are not part of this read.",
        "security": [],
        "parameters": [
          {
            "name": "kind",
            "in": "query",
            "required": false,
            "description": "One or more kinds, comma separated. One of: movie, music, series, short, creator.",
            "schema": {
              "type": "string"
            },
            "example": "music"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows to return, 1 to 500. Default 200.",
            "schema": {
              "type": "string"
            },
            "example": "200"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=15`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "X-Cache": {
                "$ref": "#/components/headers/X-Cache"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "token": {
                            "type": "string",
                            "description": "Coin contract address.",
                            "pattern": "^0x[0-9a-f]{40}$"
                          },
                          "kind": {
                            "type": "string"
                          },
                          "updatedAt": {
                            "type": "integer",
                            "description": "Updated (Unix seconds)."
                          }
                        }
                      }
                    }
                  }
                },
                "example": {
                  "items": [
                    {
                      "token": "0x3333333333333333333333333333333333333333",
                      "kind": "music",
                      "updatedAt": 1795000000
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=15"
          ],
          "inMemorySeconds": 4
        }
      }
    },
    "/v1/coins/{token}": {
      "get": {
        "operationId": "getCoin",
        "tags": [
          "Coins"
        ],
        "summary": "The kre8 page of one coin",
        "description": "What the creator wrote about the coin: kind, description, links, art and holder perks. 404 when the coin has no page.",
        "security": [],
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "description": "Coin contract address (0x + 40 hex).",
            "schema": {
              "type": "string"
            },
            "example": "0x3333333333333333333333333333333333333333"
          },
          {
            "name": "soft",
            "in": "query",
            "required": false,
            "description": "Send 1 to get `{ token, none: true }` with status 200 in place of the 404.",
            "schema": {
              "type": "string"
            },
            "example": "1"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=60` or `public, max-age=15`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "The coin page as the creator saved it, with `perks`; or `{ token, none: true }`. Shape not specified."
                },
                "example": {
                  "token": "0x3333333333333333333333333333333333333333",
                  "none": true
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Nothing with this id, or it is not public.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=60",
            "public, max-age=15"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/podcasts/categories": {
      "get": {
        "operationId": "listPodcastCategories",
        "tags": [
          "Podcasts"
        ],
        "summary": "Podcast categories",
        "description": "The categories a show can have.",
        "security": [],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                },
                "example": {}
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/podcasts/shows": {
      "get": {
        "operationId": "listShows",
        "tags": [
          "Podcasts"
        ],
        "summary": "Podcast shows",
        "description": "Published shows, newest or most played.",
        "security": [],
        "parameters": [
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "Only this category.",
            "schema": {
              "type": "string",
              "enum": [
                "Arts",
                "Business",
                "Comedy",
                "Education",
                "Fiction",
                "Government",
                "History",
                "Health & Fitness",
                "Kids & Family",
                "Leisure",
                "Music",
                "News",
                "Religion & Spirituality",
                "Science",
                "Society & Culture",
                "Sports",
                "Technology",
                "True Crime",
                "TV & Film"
              ]
            },
            "example": "Technology"
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The `next` value of the previous page.",
            "schema": {
              "type": "string"
            },
            "example": "20"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows per page, 1 to 50. Default 20.",
            "schema": {
              "type": "string"
            },
            "example": "20"
          },
          {
            "name": "owner",
            "in": "query",
            "required": false,
            "description": "Only shows of this account.",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "new (default) or popular.",
            "schema": {
              "type": "string",
              "enum": [
                "new",
                "popular"
              ]
            },
            "example": "new"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Show"
                      }
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Pass as `cursor` for the next page; null on the last page."
                    }
                  }
                },
                "example": {
                  "items": [
                    {
                      "id": "shw_example00001",
                      "slug": "example-show",
                      "path": "/show/example-show-shw_example00001",
                      "owner": "0x1111111111111111111111111111111111111111",
                      "title": "Example show",
                      "description": "A show about examples.",
                      "cover": null,
                      "category": "Technology",
                      "language": "en",
                      "explicit": false,
                      "author": "Example",
                      "website": null,
                      "episodes": 2,
                      "followers": 5,
                      "plays": 120,
                      "feed": "https://social.kre8.fun/v1/podcasts/shows/shw_example00001/feed.xml",
                      "createdAt": 1795000000,
                      "updatedAt": 1795000000,
                      "following": false
                    }
                  ],
                  "next": null
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        },
        "x-pagination": {
          "style": "cursor",
          "parameter": "cursor",
          "nextField": "next",
          "pageSize": {
            "default": 20,
            "max": 50
          }
        }
      }
    },
    "/v1/podcasts/shows/{id}": {
      "get": {
        "operationId": "getShow",
        "tags": [
          "Podcasts"
        ],
        "summary": "One show",
        "description": "A published show.",
        "security": [],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Show id.",
            "schema": {
              "type": "string"
            },
            "example": "shw_example00001"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Show"
                },
                "example": {
                  "id": "shw_example00001",
                  "slug": "example-show",
                  "path": "/show/example-show-shw_example00001",
                  "owner": "0x1111111111111111111111111111111111111111",
                  "title": "Example show",
                  "description": "A show about examples.",
                  "cover": null,
                  "category": "Technology",
                  "language": "en",
                  "explicit": false,
                  "author": "Example",
                  "website": null,
                  "episodes": 2,
                  "followers": 5,
                  "plays": 120,
                  "feed": "https://social.kre8.fun/v1/podcasts/shows/shw_example00001/feed.xml",
                  "createdAt": 1795000000,
                  "updatedAt": 1795000000,
                  "following": false
                }
              }
            }
          },
          "404": {
            "description": "Nothing with this id, or it is not public.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/podcasts/shows/{id}/episodes": {
      "get": {
        "operationId": "listEpisodes",
        "tags": [
          "Podcasts"
        ],
        "summary": "Episodes of a show",
        "description": "Published episodes. A members-only episode comes without its audio.",
        "security": [],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Show id.",
            "schema": {
              "type": "string"
            },
            "example": "shw_example00001"
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The `next` value of the previous page.",
            "schema": {
              "type": "string"
            },
            "example": "30"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows per page, 1 to 100. Default 30.",
            "schema": {
              "type": "string"
            },
            "example": "30"
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "new (default, newest first) or old.",
            "schema": {
              "type": "string",
              "enum": [
                "new",
                "old"
              ]
            },
            "example": "new"
          },
          {
            "name": "season",
            "in": "query",
            "required": false,
            "description": "Only this season number.",
            "schema": {
              "type": "string"
            },
            "example": "1"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Episode"
                      }
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Pass as `cursor` for the next page; null on the last page."
                    }
                  }
                },
                "example": {
                  "items": [],
                  "next": null
                }
              }
            }
          },
          "404": {
            "description": "Nothing with this id, or it is not public.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        },
        "x-pagination": {
          "style": "cursor",
          "parameter": "cursor",
          "nextField": "next",
          "pageSize": {
            "default": 30,
            "max": 100
          }
        }
      }
    },
    "/v1/podcasts/episodes/{id}": {
      "get": {
        "operationId": "getEpisode",
        "tags": [
          "Podcasts"
        ],
        "summary": "One episode",
        "description": "The episode, its show, and the ids of the episodes before and after it.",
        "security": [],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Episode id.",
            "schema": {
              "type": "string"
            },
            "example": "ep_example00001"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Episode"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "show": {
                          "$ref": "#/components/schemas/Show"
                        },
                        "previous": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    }
                  ]
                },
                "example": {
                  "id": "ep_example00001",
                  "showTitle": "Example show",
                  "slug": "example-episode",
                  "path": "/show/example-show-shw_example00001/example-episode-ep_example00001",
                  "title": "Example episode",
                  "notes": "",
                  "season": 1,
                  "number": 1,
                  "kind": "full",
                  "explicit": false,
                  "publishedAt": 1795000000,
                  "status": "published",
                  "scheduled": false,
                  "audio": null,
                  "membersOnly": false,
                  "lock": null,
                  "chapters": [],
                  "spots": [],
                  "plays": 60,
                  "transcript": null,
                  "show": {
                    "id": "shw_example00001",
                    "slug": "example-show",
                    "path": "/show/example-show-shw_example00001",
                    "owner": "0x1111111111111111111111111111111111111111",
                    "title": "Example show",
                    "description": "A show about examples.",
                    "cover": null,
                    "category": "Technology",
                    "language": "en",
                    "explicit": false,
                    "author": "Example",
                    "website": null,
                    "episodes": 2,
                    "followers": 5,
                    "plays": 120,
                    "feed": "https://social.kre8.fun/v1/podcasts/shows/shw_example00001/feed.xml",
                    "createdAt": 1795000000,
                    "updatedAt": 1795000000,
                    "following": false
                  },
                  "previous": null,
                  "next": null
                }
              }
            }
          },
          "404": {
            "description": "Nothing with this id, or it is not public.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/podcasts/shows/{id}/plays": {
      "get": {
        "operationId": "getShowPlays",
        "tags": [
          "Podcasts"
        ],
        "summary": "Daily plays and new followers of a show",
        "description": "Plays per UTC day, followers gained per day and plays of the latest episodes.",
        "security": [],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Show id.",
            "schema": {
              "type": "string"
            },
            "example": "shw_example00001"
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "description": "Days to return, 1 to 90. Default 30.",
            "schema": {
              "type": "string"
            },
            "example": "30"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/PlaySeries"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "followers": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "day": {
                                "type": "integer",
                                "description": "Start of the UTC day (Unix seconds)."
                              },
                              "joined": {
                                "type": "integer"
                              }
                            }
                          }
                        },
                        "perEpisode": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "plays": {
                                "type": "integer"
                              }
                            }
                          }
                        }
                      }
                    }
                  ]
                },
                "example": {
                  "plays": 3,
                  "series": [
                    {
                      "day": 1794960000,
                      "plays": 1
                    },
                    {
                      "day": 1795046400,
                      "plays": 2
                    }
                  ],
                  "followers": [],
                  "perEpisode": []
                }
              }
            }
          },
          "404": {
            "description": "Nothing with this id, or it is not public.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/podcasts/episodes/{id}/plays": {
      "get": {
        "operationId": "getEpisodePlays",
        "tags": [
          "Podcasts"
        ],
        "summary": "Daily plays of an episode",
        "description": "Plays per UTC day.",
        "security": [],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Episode id.",
            "schema": {
              "type": "string"
            },
            "example": "ep_example00001"
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "description": "Days to return, 1 to 90. Default 30.",
            "schema": {
              "type": "string"
            },
            "example": "30"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlaySeries"
                },
                "example": {
                  "plays": 3,
                  "series": [
                    {
                      "day": 1794960000,
                      "plays": 1
                    },
                    {
                      "day": 1795046400,
                      "plays": 2
                    }
                  ]
                }
              }
            }
          },
          "404": {
            "description": "Nothing with this id, or it is not public.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/podcasts/shows/{id}/feed.xml": {
      "get": {
        "operationId": "getShowRss",
        "tags": [
          "Podcasts"
        ],
        "summary": "RSS feed of a show",
        "description": "The feed podcast apps subscribe to: every published episode that is open to everyone, each with its audio enclosure. Sends `ETag` and `Last-Modified`; a matching `If-None-Match` answers 304.",
        "security": [],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Show id.",
            "schema": {
              "type": "string"
            },
            "example": "shw_example00001"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=300`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/rss+xml": {
                "schema": {
                  "type": "string",
                  "description": "RSS 2.0 document."
                },
                "example": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><rss version=\"2.0\"><channel><title>Example show</title></channel></rss>"
              }
            }
          },
          "404": {
            "description": "Nothing with this id, or it is not public.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=300"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/podcasts/episodes/{id}/chapters.json": {
      "get": {
        "operationId": "getEpisodeChapters",
        "tags": [
          "Podcasts"
        ],
        "summary": "Chapters of an episode",
        "description": "Chapters in the Podcasting 2.0 JSON chapters form. 404 for a members-only episode.",
        "security": [],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Episode id.",
            "schema": {
              "type": "string"
            },
            "example": "ep_example00001"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=300`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json+chapters": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "A JSON chapters document: version, title and chapters [{ startTime, title }]. Shape not specified."
                },
                "example": {
                  "version": "1.2.0",
                  "title": "Example episode",
                  "chapters": [
                    {
                      "startTime": 0,
                      "title": "Intro"
                    }
                  ]
                }
              }
            }
          },
          "404": {
            "description": "Nothing with this id, or it is not public.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=300"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/podcasts/episodes/{id}/transcript": {
      "get": {
        "operationId": "getEpisodeTranscript",
        "tags": [
          "Podcasts"
        ],
        "summary": "Transcript of an episode",
        "description": "The published transcript as timed cues. 404 when there is none.",
        "security": [],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Episode id.",
            "schema": {
              "type": "string"
            },
            "example": "ep_example00001"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=300`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string"
                    },
                    "language": {
                      "type": "string"
                    },
                    "source": {
                      "type": "string"
                    },
                    "updatedAt": {
                      "type": "integer",
                      "description": "Updated (Unix seconds)."
                    },
                    "cues": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true,
                        "description": "Shape not specified."
                      },
                      "description": "Timed lines."
                    }
                  }
                },
                "example": {
                  "status": "published",
                  "language": "en",
                  "source": "upload",
                  "updatedAt": 1795000000,
                  "cues": []
                }
              }
            }
          },
          "404": {
            "description": "Nothing with this id, or it is not public.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=300"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/podcasts/episodes/{id}/transcript.vtt": {
      "get": {
        "operationId": "getEpisodeTranscriptVtt",
        "tags": [
          "Podcasts"
        ],
        "summary": "Transcript of an episode as WebVTT",
        "description": "The published transcript as a WebVTT file for players.",
        "security": [],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Episode id.",
            "schema": {
              "type": "string"
            },
            "example": "ep_example00001"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=300`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "text/vtt": {
                "schema": {
                  "type": "string",
                  "description": "WebVTT text."
                },
                "example": "WEBVTT\n\n00:00:00.000 --> 00:00:04.000\nWelcome to the example episode.\n"
              }
            }
          },
          "404": {
            "description": "Nothing with this id, or it is not public.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=300"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/s/feed/{handle}/{file}": {
      "get": {
        "operationId": "getCreatorFeed",
        "tags": [
          "Feeds"
        ],
        "summary": "Atom feed of a creator",
        "description": "What a creator published, newest first, at most 50 entries: everything, or only posts, videos, music or podcast episodes. Members-only episodes are left out. Built at most once every 5 minutes.",
        "security": [],
        "parameters": [
          {
            "name": "handle",
            "in": "path",
            "required": true,
            "description": "A .gully name without the ending, or an account address.",
            "schema": {
              "type": "string"
            },
            "example": "example"
          },
          {
            "name": "file",
            "in": "path",
            "required": true,
            "description": "Which feed.",
            "schema": {
              "type": "string",
              "enum": [
                "all.atom",
                "posts.atom",
                "videos.atom",
                "music.atom",
                "podcasts.atom"
              ]
            },
            "example": "all.atom"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=300`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/atom+xml": {
                "schema": {
                  "type": "string",
                  "description": "Atom 1.0 document."
                },
                "example": "<?xml version=\"1.0\" encoding=\"utf-8\"?><feed xmlns=\"http://www.w3.org/2005/Atom\"><title>example on kre8: everything</title></feed>"
              }
            }
          },
          "404": {
            "description": "Nothing with this id, or it is not public.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=300"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/growth/stats": {
      "get": {
        "operationId": "getGrowthStats",
        "tags": [
          "Stats"
        ],
        "summary": "Visitors and holders of a creator",
        "description": "Daily unique visitors of the creator's pages by source, the links that brought them, and holders of up to 20 of the creator's coins. Counts only: no visitor is identified.",
        "security": [],
        "parameters": [
          {
            "name": "coins",
            "in": "query",
            "required": false,
            "description": "Up to 20 coin addresses, comma separated, to add holder counts.",
            "schema": {
              "type": "string"
            },
            "example": "0x3333333333333333333333333333333333333333"
          },
          {
            "name": "creator",
            "in": "query",
            "required": true,
            "description": "The creator's account address.",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "description": "Days to return, 1 to 90. Default 30.",
            "schema": {
              "type": "string"
            },
            "example": "30"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=30`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "days": {
                      "type": "integer"
                    },
                    "visitors": {
                      "type": "object",
                      "properties": {
                        "total": {
                          "type": "integer"
                        },
                        "series": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "day": {
                                "type": "string",
                                "description": "UTC day, YYYY-MM-DD."
                              },
                              "n": {
                                "type": "integer"
                              }
                            }
                          }
                        },
                        "bySource": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "source": {
                                "type": "string"
                              },
                              "n": {
                                "type": "integer"
                              }
                            }
                          }
                        }
                      }
                    },
                    "links": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "link",
                              "placement"
                            ]
                          },
                          "visits": {
                            "type": "integer"
                          },
                          "conversions": {
                            "type": "integer"
                          },
                          "rate": {
                            "type": "number",
                            "description": "0 to 1."
                          }
                        }
                      }
                    },
                    "holders": {
                      "type": "object",
                      "properties": {
                        "coins": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "coin": {
                                "type": "string",
                                "description": "Coin contract address.",
                                "pattern": "^0x[0-9a-f]{40}$"
                              },
                              "now": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "gained": {
                                "type": "integer"
                              }
                            }
                          }
                        },
                        "series": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "day": {
                                "type": "string"
                              },
                              "n": {
                                "type": "integer"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "example": {
                  "days": 30,
                  "visitors": {
                    "total": 18,
                    "series": [
                      {
                        "day": "2026-11-20",
                        "n": 18
                      }
                    ],
                    "bySource": [
                      {
                        "source": "direct",
                        "n": 18
                      }
                    ]
                  },
                  "links": [],
                  "holders": {
                    "coins": [],
                    "series": []
                  }
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=30"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/developers/stats": {
      "get": {
        "operationId": "getDeveloperStats",
        "tags": [
          "Stats"
        ],
        "summary": "API use in the last 24 hours",
        "description": "Requests made with API keys and webhook deliveries, as totals. Refreshed every 30 seconds.",
        "security": [],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=30`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "hours": {
                      "type": "integer"
                    },
                    "requests": {
                      "type": "integer"
                    },
                    "delivered": {
                      "type": "integer"
                    },
                    "queued": {
                      "type": "integer"
                    },
                    "activeKeys": {
                      "type": "integer"
                    },
                    "activeWebhooks": {
                      "type": "integer"
                    },
                    "at": {
                      "type": "integer",
                      "description": "Computed (Unix seconds)."
                    }
                  }
                },
                "example": {
                  "hours": 24,
                  "requests": 1200,
                  "delivered": 40,
                  "queued": 0,
                  "activeKeys": 3,
                  "activeWebhooks": 1,
                  "at": 1795000000
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=30"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/developers/limits": {
      "get": {
        "operationId": "getDeveloperLimits",
        "tags": [
          "Stats"
        ],
        "summary": "The limits in force now",
        "description": "The per-minute numbers this service applies right now, and the webhook rules. Read this in place of hard-coding the numbers on this page.",
        "security": [],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=300`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "social { anonymous, withKey, signedWrites, postsPerHour }, keysPerAccount, webhooks and network { name, chainId, testnet }. Shape not specified."
                },
                "example": {
                  "social": {
                    "anonymous": {
                      "perMinute": 600,
                      "per": "ip"
                    },
                    "withKey": {
                      "perMinute": 1200,
                      "per": "key",
                      "header": "X-Kre8-Key"
                    }
                  },
                  "network": {
                    "name": "gully-chain-testnet",
                    "chainId": 485590,
                    "testnet": true
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=300"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/share/counts": {
      "get": {
        "operationId": "getShareCounts",
        "tags": [
          "Stats"
        ],
        "summary": "Shares and visits of one item",
        "description": "How often an item was shared and how many visits the shares brought, by network.",
        "security": [],
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "description": "Id of the item.",
            "schema": {
              "type": "string"
            },
            "example": "trk_example1"
          },
          {
            "name": "kind",
            "in": "query",
            "required": true,
            "description": "Kind of item.",
            "schema": {
              "type": "string",
              "enum": [
                "p",
                "t",
                "w",
                "q",
                "n",
                "v",
                "a",
                "i",
                "post",
                "track",
                "video",
                "short",
                "live",
                "quest",
                "tip",
                "launch",
                "win",
                "earn",
                "call",
                "battle"
              ]
            },
            "example": "track"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "shares": {
                      "type": "integer"
                    },
                    "visits": {
                      "type": "integer"
                    },
                    "byNetwork": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "integer"
                      }
                    },
                    "visitsBySource": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "integer"
                      }
                    }
                  }
                },
                "example": {
                  "shares": 4,
                  "visits": 9,
                  "byNetwork": {
                    "x": 3,
                    "telegram": 1
                  },
                  "visitsBySource": {
                    "x": 9
                  }
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/referrals/params": {
      "get": {
        "operationId": "getReferralParams",
        "tags": [
          "Stats"
        ],
        "summary": "Referral programme numbers",
        "description": "The share a referrer earns in basis points, the window in days and the daily caps in USD, plus changes already scheduled.",
        "security": [],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=60`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "shareBps": {
                      "type": "integer"
                    },
                    "windowDays": {
                      "type": "integer"
                    },
                    "dailyCapUsd": {
                      "type": "number"
                    },
                    "unverifiedDailyCapUsd": {
                      "type": "number"
                    },
                    "platformBps": {
                      "type": "integer"
                    },
                    "upcoming": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "shareBps": {
                            "type": "integer"
                          },
                          "windowDays": {
                            "type": "integer"
                          },
                          "effectiveAt": {
                            "type": "integer",
                            "description": "Takes effect (Unix seconds)."
                          },
                          "note": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        }
                      }
                    },
                    "program": {
                      "description": "Shape not specified."
                    }
                  },
                  "additionalProperties": true
                },
                "example": {
                  "shareBps": 1000,
                  "windowDays": 30,
                  "dailyCapUsd": 50,
                  "unverifiedDailyCapUsd": 5,
                  "platformBps": 100,
                  "upcoming": [],
                  "program": null
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=60"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/referrals/stats/{address}": {
      "get": {
        "operationId": "getReferralStats",
        "tags": [
          "Stats"
        ],
        "summary": "Referral results of one account",
        "description": "Clicks, referred accounts and earnings of an account's referral link, without the buyers.",
        "security": [],
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "Account address (0x + 40 hex).",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `public, max-age=30`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Shape not specified."
                },
                "example": {}
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "public, max-age=30"
          ],
          "inMemorySeconds": 0
        }
      }
    },
    "/v1/protected/check": {
      "post": {
        "operationId": "checkProtectedName",
        "tags": [
          "Names"
        ],
        "summary": "Is a name or ticker protected",
        "description": "A lookup, nothing is stored: tells whether a coin name or ticker is too close to a protected brand name. Limited to 120 checks per minute per caller.",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "Coin name, up to 120 characters."
                  },
                  "ticker": {
                    "type": "string",
                    "description": "Ticker, up to 40 characters."
                  }
                },
                "description": "Send a name, a ticker or both."
              },
              "example": {
                "name": "Example Coin",
                "ticker": "EXMPL"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "headers": {
              "Cache-Control": {
                "description": "Sent as: `no-store`.",
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "blocked": {
                      "type": "boolean"
                    },
                    "field": {
                      "type": "string",
                      "description": "Which field matched: name or ticker."
                    },
                    "brand": {
                      "type": "string",
                      "description": "The protected brand."
                    },
                    "message": {
                      "type": "string",
                      "description": "Why, in plain words."
                    }
                  },
                  "required": [
                    "blocked"
                  ]
                },
                "example": {
                  "blocked": false
                }
              }
            }
          },
          "400": {
            "description": "A parameter is missing or malformed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Slow down and retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-cache": {
          "cacheControl": [
            "no-store"
          ],
          "inMemorySeconds": 0
        }
      }
    }
  },
  "components": {
    "headers": {
      "X-RateLimit-Limit": {
        "description": "Requests per minute allowed for this caller.",
        "schema": {
          "type": "integer"
        }
      },
      "X-RateLimit-Scope": {
        "description": "How the caller is counted: `ip` without a key, `key` with one.",
        "schema": {
          "type": "string",
          "enum": [
            "ip",
            "key"
          ]
        }
      },
      "X-Cache": {
        "description": "HIT when the answer came from the short in-memory cache, MISS when it was just computed.",
        "schema": {
          "type": "string",
          "enum": [
            "HIT",
            "MISS"
          ]
        }
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string",
            "description": "What went wrong, in plain words."
          },
          "code": {
            "type": "string",
            "description": "A short stable code, on some errors only."
          }
        },
        "required": [
          "error"
        ]
      },
      "Connection": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "description": "The network, for example \"telegram\"."
          },
          "handle": {
            "type": [
              "string",
              "null"
            ],
            "description": "The handle on that network."
          },
          "verifiedAt": {
            "type": [
              "integer",
              "null"
            ],
            "description": "When the handle was proven (Unix seconds)."
          }
        }
      },
      "Trust": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string",
            "description": "Account address, lowercase.",
            "pattern": "^0x[0-9a-f]{40}$"
          },
          "trustLevel": {
            "type": "string",
            "description": "\"verified\" means the account proved at least one handle on another network; \"business\" is a business account.",
            "enum": [
              "unverified",
              "verified",
              "business"
            ]
          },
          "connections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Connection"
            }
          },
          "known": {
            "type": "boolean",
            "description": "false when the identity service could not be reached and nothing was cached."
          }
        }
      },
      "Profile": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string",
            "description": "Account address, lowercase.",
            "pattern": "^0x[0-9a-f]{40}$"
          },
          "followers": {
            "type": "integer",
            "description": "Number of followers."
          },
          "following": {
            "type": "integer",
            "description": "Number of accounts followed."
          },
          "posts": {
            "type": "integer",
            "description": "Number of posts."
          },
          "points": {
            "type": "integer"
          },
          "early": {
            "type": "boolean",
            "description": "An early account."
          },
          "invitedBy": {
            "type": [
              "string",
              "null"
            ],
            "description": "The account whose invite was used.",
            "pattern": "^0x[0-9a-f]{40}$"
          },
          "invited": {
            "type": "integer",
            "description": "Accounts that joined with this account's invites."
          },
          "verified": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "The paid badge of the account, or null. Shape not specified."
          },
          "official": {
            "type": "boolean",
            "description": "An official kre8 account."
          },
          "business": {
            "type": [
              "string",
              "null"
            ],
            "description": "The domain of the business account, or null."
          },
          "trustLevel": {
            "type": "string",
            "enum": [
              "unverified",
              "verified",
              "business"
            ]
          }
        },
        "additionalProperties": true
      },
      "Post": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Post id."
          },
          "author": {
            "type": "string",
            "description": "Account address, lowercase.",
            "pattern": "^0x[0-9a-f]{40}$"
          },
          "body": {
            "type": "string",
            "description": "Text. Empty when the post is locked for the caller."
          },
          "media": {
            "type": [
              "string",
              "null"
            ],
            "description": "Image URL, or null."
          },
          "replyTo": {
            "type": [
              "string",
              "null"
            ],
            "description": "The item this post replies to, or null."
          },
          "createdAt": {
            "type": "integer",
            "description": "When it was posted (Unix seconds)."
          },
          "likes": {
            "type": "integer"
          },
          "replies": {
            "type": "integer"
          },
          "liked": {
            "type": "boolean",
            "description": "Always false without a signature."
          },
          "lock": {
            "type": "object",
            "additionalProperties": true,
            "description": "Present on a locked post: who may open it. Shape not specified."
          }
        },
        "additionalProperties": true
      },
      "PostPage": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Post"
            }
          },
          "next": {
            "type": [
              "string",
              "null"
            ],
            "description": "Pass as `cursor` for the next page; null on the last page."
          }
        }
      },
      "Call": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "author": {
            "type": "string",
            "description": "Account address, lowercase.",
            "pattern": "^0x[0-9a-f]{40}$"
          },
          "token": {
            "type": "string",
            "description": "Coin contract address.",
            "pattern": "^0x[0-9a-f]{40}$"
          },
          "symbol": {
            "type": [
              "string",
              "null"
            ]
          },
          "priceAtCallUsd": {
            "type": "number",
            "description": "Price in USD when the call was made."
          },
          "mcAtCallUsd": {
            "type": [
              "number",
              "null"
            ],
            "description": "Market cap in USD when the call was made."
          },
          "priceNowUsd": {
            "type": [
              "number",
              "null"
            ],
            "description": "Price in USD now."
          },
          "mcNowUsd": {
            "type": [
              "number",
              "null"
            ],
            "description": "Market cap in USD now."
          },
          "liquidityNowUsd": {
            "type": [
              "number",
              "null"
            ],
            "description": "Pool liquidity in USD now."
          },
          "thin": {
            "type": "boolean",
            "description": "true when liquidity is under $500."
          },
          "returnPct": {
            "type": [
              "number",
              "null"
            ],
            "description": "Return since the call in percent, capped at +1000."
          },
          "rawPct": {
            "type": [
              "number",
              "null"
            ],
            "description": "Return since the call in percent, not capped."
          },
          "targetUsd": {
            "type": [
              "number",
              "null"
            ],
            "description": "Target price in USD."
          },
          "deadline": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Deadline of the call (Unix seconds)."
          },
          "note": {
            "type": [
              "string",
              "null"
            ]
          },
          "byCreator": {
            "type": "boolean",
            "description": "The caller created the coin; such calls are never ranked."
          },
          "status": {
            "type": "string",
            "enum": [
              "live",
              "hit",
              "ended"
            ]
          },
          "createdAt": {
            "type": "integer",
            "description": "When the call was made (Unix seconds)."
          }
        },
        "additionalProperties": true
      },
      "BattleSide": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "description": "Coin contract address.",
            "pattern": "^0x[0-9a-f]{40}$"
          },
          "symbol": {
            "type": [
              "string",
              "null"
            ]
          },
          "priceAtStartUsd": {
            "type": "number"
          },
          "priceNowUsd": {
            "type": [
              "number",
              "null"
            ]
          },
          "mcNowUsd": {
            "type": [
              "number",
              "null"
            ]
          },
          "pct": {
            "type": [
              "number",
              "null"
            ],
            "description": "Change since the start in percent."
          }
        }
      },
      "Battle": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "creator": {
            "type": "string",
            "description": "Account address, lowercase.",
            "pattern": "^0x[0-9a-f]{40}$"
          },
          "start": {
            "type": "integer",
            "description": "Start (Unix seconds)."
          },
          "end": {
            "type": "integer",
            "description": "End (Unix seconds)."
          },
          "hours": {
            "type": "integer"
          },
          "status": {
            "type": "string",
            "enum": [
              "live",
              "ended"
            ]
          },
          "result": {
            "type": [
              "string",
              "null"
            ],
            "description": "Outcome once ended."
          },
          "leader": {
            "type": [
              "string",
              "null"
            ],
            "description": "Which side leads now."
          },
          "a": {
            "$ref": "#/components/schemas/BattleSide"
          },
          "b": {
            "$ref": "#/components/schemas/BattleSide"
          },
          "createdAt": {
            "type": "integer",
            "description": "When it was started (Unix seconds)."
          },
          "series": {
            "type": "object",
            "additionalProperties": true,
            "description": "Percent series of both sides; on the single-battle read only. Shape not specified."
          }
        },
        "additionalProperties": true
      },
      "Track": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "owner": {
            "type": "string",
            "description": "Account address, lowercase.",
            "pattern": "^0x[0-9a-f]{40}$"
          },
          "title": {
            "type": "string"
          },
          "genre": {
            "type": [
              "string",
              "null"
            ]
          },
          "mood": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "credits": {
            "description": "Credits as entered by the creator. Shape not specified."
          },
          "cover": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cover image URL."
          },
          "audio": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "The audio file (url, stream, mime, durationMs, bytes); null on a locked track. Shape not specified."
          },
          "peaks": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "number"
            },
            "description": "Waveform peaks."
          },
          "plays": {
            "type": "integer"
          },
          "tips": {
            "type": "object",
            "properties": {
              "count": {
                "type": "integer"
              },
              "total": {
                "type": "string",
                "description": "Sum of tips in the smallest unit of USDC.e (6 decimals)."
              }
            }
          },
          "createdAt": {
            "type": "integer",
            "description": "When it was published (Unix seconds)."
          },
          "status": {
            "type": "string"
          },
          "lock": {
            "type": "object",
            "additionalProperties": true,
            "description": "Present on a locked track. Shape not specified."
          }
        },
        "additionalProperties": true
      },
      "Art": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "owner": {
            "type": "string",
            "description": "Account address, lowercase.",
            "pattern": "^0x[0-9a-f]{40}$"
          },
          "image": {
            "type": [
              "string",
              "null"
            ],
            "description": "Image URL; null when locked."
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "createdAt": {
            "type": "integer",
            "description": "When it was published (Unix seconds)."
          },
          "status": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "PlaySeries": {
        "type": "object",
        "properties": {
          "plays": {
            "type": "integer",
            "description": "Total plays in the window."
          },
          "series": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "day": {
                  "type": "integer",
                  "description": "Start of the UTC day (Unix seconds)."
                },
                "plays": {
                  "type": "integer"
                }
              }
            }
          }
        },
        "additionalProperties": true
      },
      "Show": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "path": {
            "type": "string",
            "description": "Path of the show page in the app."
          },
          "owner": {
            "type": "string",
            "description": "Account address, lowercase.",
            "pattern": "^0x[0-9a-f]{40}$"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "cover": {
            "type": [
              "string",
              "null"
            ]
          },
          "category": {
            "type": "string"
          },
          "language": {
            "type": "string"
          },
          "explicit": {
            "type": "boolean"
          },
          "author": {
            "type": [
              "string",
              "null"
            ]
          },
          "website": {
            "type": [
              "string",
              "null"
            ]
          },
          "episodes": {
            "type": "integer",
            "description": "Published episodes."
          },
          "followers": {
            "type": "integer"
          },
          "plays": {
            "type": "integer"
          },
          "feed": {
            "type": "string",
            "description": "URL of the show's RSS feed."
          },
          "createdAt": {
            "type": "integer",
            "description": "Created (Unix seconds)."
          },
          "updatedAt": {
            "type": "integer",
            "description": "Updated (Unix seconds)."
          },
          "following": {
            "type": "boolean",
            "description": "Always false without a signature."
          }
        },
        "additionalProperties": true
      },
      "Episode": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "show": {
            "description": "The show id on lists; the whole show on the single-episode read."
          },
          "showTitle": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "path": {
            "type": "string",
            "description": "Path of the episode page in the app."
          },
          "title": {
            "type": "string"
          },
          "notes": {
            "type": [
              "string",
              "null"
            ]
          },
          "season": {
            "type": [
              "integer",
              "null"
            ]
          },
          "number": {
            "type": [
              "integer",
              "null"
            ]
          },
          "kind": {
            "type": "string"
          },
          "explicit": {
            "type": "boolean"
          },
          "publishedAt": {
            "type": "integer",
            "description": "Published (Unix seconds)."
          },
          "status": {
            "type": "string"
          },
          "audio": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "The audio file; null on a members-only episode. Shape not specified."
          },
          "membersOnly": {
            "type": "boolean"
          },
          "chapters": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "Shape not specified."
            }
          },
          "plays": {
            "type": "integer"
          },
          "transcript": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "status": {
                "type": "string"
              },
              "language": {
                "type": "string"
              }
            }
          }
        },
        "additionalProperties": true
      },
      "Album": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "owner": {
            "type": "string",
            "description": "Account address, lowercase.",
            "pattern": "^0x[0-9a-f]{40}$"
          },
          "title": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "cover": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "releaseAt": {
            "type": "integer",
            "description": "Release time (Unix seconds)."
          },
          "released": {
            "type": "boolean"
          },
          "trackCount": {
            "type": "integer"
          },
          "durationMs": {
            "type": "integer"
          },
          "createdAt": {
            "type": "integer",
            "description": "Created (Unix seconds)."
          },
          "updatedAt": {
            "type": "integer",
            "description": "Updated (Unix seconds)."
          },
          "tracks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Track"
            },
            "description": "On the single-release read only."
          }
        },
        "additionalProperties": true
      },
      "Playlist": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "owner": {
            "type": "string",
            "description": "Account address, lowercase.",
            "pattern": "^0x[0-9a-f]{40}$"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "cover": {
            "type": [
              "string",
              "null"
            ]
          },
          "public": {
            "type": "boolean"
          },
          "collaborative": {
            "type": "boolean"
          },
          "collaborators": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "Account address, lowercase.",
              "pattern": "^0x[0-9a-f]{40}$"
            }
          },
          "itemCount": {
            "type": "integer"
          },
          "durationMs": {
            "type": "integer"
          },
          "createdAt": {
            "type": "integer",
            "description": "Created (Unix seconds)."
          },
          "updatedAt": {
            "type": "integer",
            "description": "Updated (Unix seconds)."
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "track": {
                  "$ref": "#/components/schemas/Track"
                },
                "addedBy": {
                  "type": "string",
                  "description": "Account address, lowercase.",
                  "pattern": "^0x[0-9a-f]{40}$"
                },
                "addedAt": {
                  "type": "integer",
                  "description": "Added (Unix seconds)."
                }
              }
            }
          }
        },
        "additionalProperties": true
      },
      "ArtistCard": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string",
            "description": "Account address, lowercase.",
            "pattern": "^0x[0-9a-f]{40}$"
          },
          "headline": {
            "type": [
              "string",
              "null"
            ]
          },
          "banner": {
            "type": [
              "string",
              "null"
            ]
          },
          "accent": {
            "type": [
              "string",
              "null"
            ]
          },
          "tracks": {
            "type": "integer"
          },
          "followers": {
            "type": "integer"
          },
          "followed": {
            "type": "boolean",
            "description": "Always false without a signature."
          }
        },
        "additionalProperties": true
      }
    }
  },
  "x-rate-limit": {
    "headers": [
      "X-RateLimit-Limit",
      "X-RateLimit-Scope"
    ],
    "perMinute": {
      "caller": 600,
      "apiKey": 1200,
      "search": 60,
      "nameCheck": 120
    },
    "note": "Per-minute limits; these are the defaults in the code and GET /v1/developers/limits reports the numbers in force. No remaining-count header and no Retry-After are sent."
  },
  "x-errors": [
    {
      "code": null,
      "http": 400,
      "meaning": "A parameter is missing or malformed. The `error` text says which."
    },
    {
      "code": "api_key",
      "http": 401,
      "meaning": "An API key was sent and it is unknown or switched off. Calls without a key are not affected."
    },
    {
      "code": null,
      "http": 404,
      "meaning": "Nothing with this id, or it is not public."
    },
    {
      "code": null,
      "http": 429,
      "meaning": "Over the per-minute limit of the caller."
    },
    {
      "code": "rate_limited",
      "http": 429,
      "meaning": "Over the per-minute limit of the API key."
    },
    {
      "code": null,
      "http": 451,
      "meaning": "The item was taken down after a report or a copyright notice."
    },
    {
      "code": null,
      "http": 500,
      "meaning": "Something broke on our side."
    }
  ],
  "x-try-it": {
    "keyless": true,
    "operations": [
      "getDeveloperLimits",
      "getDeveloperStats",
      "getEpisodeChapters",
      "getEpisodeTranscriptVtt"
    ],
    "note": "Testnet data. Runs without any key.",
    "crossOrigin": "Only the listed operations answer every web origin. The others answer the kre8 app origins only; the hub shows curl for them."
  }
}
