{
  "openapi": "3.1.0",
  "info": {
    "title": "Korea Listing Signals",
    "version": "1.0.0",
    "description": "Structured, English-labelled feed of Upbit (Korea) crypto exchange trade notices for trading agents: new listings, KRW market additions, delistings, investment warnings. Korean listings often move prices within minutes; this turns Korean-language notices into machine-readable events.",
    "x-guidance": "Call GET /v1/upbit/latest-listing (optionally ?market=KRW) to get the newest Upbit listing with contract address and trading start time; poll it every few minutes to catch Korean listing announcements. Call GET /v1/upbit/events?type=new_listing,krw_market_added,delisting,warning&limit=20 for a filtered history of Upbit trade notices, or ?symbol=APE to check whether a token has warnings or a delisting scheduled before trading it. Times are UTC. Each event has summary.en and summary.zh (Chinese); title_ko is the original Korean title. Payment is x402, USDC on Base. 中文：轮询 /v1/upbit/latest-listing 获取 Upbit 最新上币（含合约地址和开盘时间）；用 /v1/upbit/events 按类型或代币筛选公告，交易前可查是否有警示或下架计划。每条事件附中文摘要 summary.zh。"
  },
  "servers": [
    {
      "url": "https://korea-listing-signals.manifester.workers.dev"
    }
  ],
  "paths": {
    "/v1/upbit/events": {
      "get": {
        "operationId": "upbitEvents",
        "summary": "Real-time Upbit (Korea's largest crypto exchange) trade notices as structured events: new listings, KRW market additions, delistings with dates, investment-warning designations/extensions/lifts, caution alerts",
        "description": "Real-time Upbit (Korea's largest crypto exchange) trade notices as structured events: new listings, KRW market additions, delistings with dates, investment-warning designations/extensions/lifts, caution alerts. Includes symbols, Korean names, markets, notice time (UTC), and for listings/delistings the deposit network, token contract, trading start or end time parsed from the notice body.",
        "tags": [
          "Upbit"
        ],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.010000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "required": false,
            "description": "Filter: new_listing, market_added, krw_market_added, delisting, warning, warning_extended, warning_lifted, caution, other. Comma-separated.",
            "schema": {
              "type": "string"
            },
            "example": "new_listing,krw_market_added"
          },
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "description": "Filter by ticker symbol, e.g. APE",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Max events (1-50, default 20)",
            "schema": {
              "type": "integer"
            },
            "example": 20
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "source": {
                      "type": "string"
                    },
                    "as_of_utc": {
                      "type": "string"
                    },
                    "count": {
                      "type": "integer"
                    },
                    "events": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer"
                          },
                          "exchange": {
                            "type": "string"
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "new_listing",
                              "market_added",
                              "krw_market_added",
                              "delisting",
                              "warning",
                              "warning_extended",
                              "warning_lifted",
                              "caution",
                              "other"
                            ]
                          },
                          "symbols": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "assets": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "symbol": {
                                  "type": "string"
                                },
                                "name_ko": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              }
                            }
                          },
                          "markets": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "amended": {
                            "type": "boolean"
                          },
                          "title_ko": {
                            "type": "string"
                          },
                          "summary": {
                            "type": "object",
                            "description": "One-line summary in English and Chinese",
                            "properties": {
                              "en": {
                                "type": "string"
                              },
                              "zh": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "en",
                              "zh"
                            ]
                          },
                          "notice_time_utc": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "url": {
                            "type": "string"
                          },
                          "contracts": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "networks": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "symbol": {
                                  "type": "string"
                                },
                                "network": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "trading_start_utc": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "trading_end_utc": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "pairs": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "required": [
                          "id",
                          "type",
                          "symbols",
                          "notice_time_utc",
                          "url"
                        ]
                      }
                    }
                  },
                  "required": [
                    "count",
                    "events"
                  ]
                }
              }
            }
          },
          "402": {
            "description": "Payment Required"
          }
        }
      }
    },
    "/v1/upbit/latest-listing": {
      "get": {
        "operationId": "upbitLatestListing",
        "summary": "The single most recent Upbit new listing or KRW market addition, with symbols, markets, deposit network, contract address and trading start time",
        "description": "The single most recent Upbit new listing or KRW market addition, with symbols, markets, deposit network, contract address and trading start time. Poll this to react to Korean listing pumps.",
        "tags": [
          "Upbit"
        ],
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.005000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "parameters": [
          {
            "name": "market",
            "in": "query",
            "required": false,
            "description": "Only listings that include this market: KRW, BTC or USDT. Omit for any.",
            "schema": {
              "type": "string"
            },
            "example": "KRW"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "source": {
                      "type": "string"
                    },
                    "as_of_utc": {
                      "type": "string"
                    },
                    "market": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "event": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "integer"
                            },
                            "exchange": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "new_listing",
                                "market_added",
                                "krw_market_added",
                                "delisting",
                                "warning",
                                "warning_extended",
                                "warning_lifted",
                                "caution",
                                "other"
                              ]
                            },
                            "symbols": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "assets": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "symbol": {
                                    "type": "string"
                                  },
                                  "name_ko": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                }
                              }
                            },
                            "markets": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "amended": {
                              "type": "boolean"
                            },
                            "title_ko": {
                              "type": "string"
                            },
                            "summary": {
                              "type": "object",
                              "description": "One-line summary in English and Chinese",
                              "properties": {
                                "en": {
                                  "type": "string"
                                },
                                "zh": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "en",
                                "zh"
                              ]
                            },
                            "notice_time_utc": {
                              "type": "string",
                              "format": "date-time"
                            },
                            "url": {
                              "type": "string"
                            },
                            "contracts": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "networks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "symbol": {
                                    "type": "string"
                                  },
                                  "network": {
                                    "type": "string"
                                  }
                                }
                              }
                            },
                            "trading_start_utc": {
                              "type": "string",
                              "format": "date-time"
                            },
                            "trading_end_utc": {
                              "type": "string",
                              "format": "date-time"
                            },
                            "pairs": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "id",
                            "type",
                            "symbols",
                            "notice_time_utc",
                            "url"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "event"
                  ]
                }
              }
            }
          },
          "402": {
            "description": "Payment Required"
          }
        }
      }
    }
  }
}