{
  "openapi": "3.1.0",
  "info": {
    "title": "WeChat 공식 계정 계정 검색 API (V1)",
    "version": "v0",
    "description": "위챗 공식 계정을 키워드로 검색합니다. 페이지 번호로 이어서 조회하며 페이지당 결과는 한 건입니다. 프로필이나 글을 조회하기 전에 이름이나 관련 검색어로 계정을 찾을 때 사용하세요."
  },
  "servers": [
    {
      "url": "https://api.justoneapi.com",
      "description": "글로벌 프로덕션 API (기본)"
    }
  ],
  "tags": [
    {
      "name": "WeChat 공식 계정",
      "description": "콘텐츠 분석에 활용할 수 있는 WeChat 공식 계정 게시글, 참여 지표, 검색, 게시자 타임라인입니다.",
      "x-platform-id": "wechat-official-accounts",
      "x-platform-aliases": [
        "WeChat Official Accounts",
        "WeChat OA",
        "微信公众号",
        "公众号"
      ],
      "x-platform-detection-aliases": [
        "WeChat Official Accounts",
        "WeChat OA",
        "微信公众号",
        "公众号"
      ]
    }
  ],
  "paths": {
    "/api/weixin/search-account/v1": {
      "post": {
        "tags": [
          "WeChat 공식 계정"
        ],
        "summary": "계정 검색",
        "description": "위챗 공식 계정을 키워드로 검색합니다. 페이지 번호로 이어서 조회하며 페이지당 결과는 한 건입니다. 프로필이나 글을 조회하기 전에 이름이나 관련 검색어로 계정을 찾을 때 사용하세요.",
        "operationId": "postApiWeixinSearchAccountV1",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "이 API 서비스의 액세스 토큰입니다.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "keyword",
            "in": "query",
            "description": "위챗 공식 계정 프로필 검색에 사용할 키워드입니다.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "위챗 공식 계정 프로필 검색의 페이지 번호입니다. 1부터 시작합니다.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "정상 응답(OK)",
            "content": {
              "application/json": {
                "schema": {
                  "if": {
                    "properties": {
                      "code": {
                        "const": 0
                      }
                    },
                    "required": [
                      "code"
                    ]
                  },
                  "then": {
                    "properties": {
                      "data": {
                        "description": "요청된 키워드 및 페이지에 대해 반환된 공식 계정들.",
                        "properties": {
                          "data": {
                            "type": "array",
                            "description": "현재 결과 페이지에 있는 공개 계정 항목들.",
                            "items": {
                              "type": "object",
                              "description": "검색 결과로 반환된 공개 계정 항목.",
                              "properties": {
                                "name": {
                                  "type": "string",
                                  "description": "공식 계정의 표시 이름."
                                },
                                "biz": {
                                  "type": "string",
                                  "description": "공식 계정이 반환한 비즈니스 식별자."
                                },
                                "owner_name": {
                                  "type": "string",
                                  "description": "제공된 계정 엔티티의 이름."
                                },
                                "customer_type": {
                                  "type": "string",
                                  "description": "보고된 계정 카테고리 라벨."
                                },
                                "ghid": {
                                  "type": "string",
                                  "description": "공식 계정의 원본 식별자."
                                },
                                "fans": {
                                  "type": "integer",
                                  "description": "계정의 팔로워 수가 보고되었습니다."
                                },
                                "avg_top_read": {
                                  "type": "integer",
                                  "description": "리드 기사에 대한 보고된 평균 읽기 수."
                                },
                                "avg_top_zan": {
                                  "type": "integer",
                                  "description": "리드 기사에 대한 보고된 평균 ‘좋아요’ 수."
                                },
                                "avatar": {
                                  "type": "string",
                                  "description": "계정 아바타의 URL."
                                },
                                "qrcode": {
                                  "type": "string",
                                  "description": "공개 계정 QR 이미지의 URL."
                                },
                                "week_articles": {
                                  "type": [
                                    "integer",
                                    "string"
                                  ],
                                  "description": "주간 기사 수, 정수 또는 텍스트일 수 있음."
                                },
                                "lastest_publish": {
                                  "type": "integer",
                                  "description": "계정에 보고된 가장 최근의 출판 시간, 유닉스 에포크 초 단위로."
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "format": "int32",
                          "enum": [
                            0,
                            100,
                            101,
                            202,
                            300,
                            301,
                            302,
                            303,
                            400,
                            404,
                            500,
                            503,
                            600,
                            601,
                            602
                          ]
                        },
                        "message": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "data": {},
                        "recordTime": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "requestId": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        },
                        "requestParams": {
                          "type": "object",
                          "properties": {
                            "query": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "object"
                              }
                            },
                            "body": {
                              "type": "object",
                              "properties": {
                                "empty": {
                                  "type": "boolean"
                                },
                                "array": {
                                  "type": "boolean"
                                },
                                "null": {
                                  "type": "boolean"
                                },
                                "object": {
                                  "type": "boolean"
                                },
                                "float": {
                                  "type": "boolean"
                                },
                                "nodeType": {
                                  "type": "string",
                                  "enum": [
                                    "ARRAY",
                                    "BINARY",
                                    "BOOLEAN",
                                    "MISSING",
                                    "NULL",
                                    "NUMBER",
                                    "OBJECT",
                                    "POJO",
                                    "STRING"
                                  ]
                                },
                                "valueNode": {
                                  "type": "boolean"
                                },
                                "container": {
                                  "type": "boolean"
                                },
                                "missingNode": {
                                  "type": "boolean"
                                },
                                "string": {
                                  "type": "boolean"
                                },
                                "integralNumber": {
                                  "type": "boolean"
                                },
                                "floatingPointNumber": {
                                  "type": "boolean"
                                },
                                "pojo": {
                                  "type": "boolean"
                                },
                                "short": {
                                  "type": "boolean"
                                },
                                "int": {
                                  "type": "boolean"
                                },
                                "long": {
                                  "type": "boolean"
                                },
                                "double": {
                                  "type": "boolean"
                                },
                                "bigDecimal": {
                                  "type": "boolean"
                                },
                                "bigInteger": {
                                  "type": "boolean"
                                },
                                "textual": {
                                  "type": "boolean",
                                  "deprecated": true
                                },
                                "boolean": {
                                  "type": "boolean"
                                },
                                "binary": {
                                  "type": "boolean"
                                },
                                "number": {
                                  "type": "boolean"
                                },
                                "embeddedValue": {
                                  "type": "boolean"
                                }
                              }
                            }
                          }
                        }
                      },
                      "required": [
                        "code",
                        "data",
                        "message",
                        "recordTime"
                      ]
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "유효하지 않은 요청 매개변수 또는 본문",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "401": {
            "description": "유효하지 않거나 비활성화된 접근 토큰",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "403": {
            "description": "권한 거부",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "429": {
            "description": "요청 속도 또는 일일 할당량 한도 초과",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "500": {
            "description": "내부 서버 오류",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "503": {
            "description": "서비스 일시적으로 사용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          }
        },
        "x-order": "16101500",
        "x-api-version": "v1",
        "x-docs-slug": "account-search-v1",
        "x-search-aliases": [
          "WeChat Official Account search",
          "WeChat account name lookup",
          "WeChat publisher search by page",
          "微信公众号搜索",
          "微信公众账号查询",
          "公众号名称搜索"
        ],
        "x-highlights": [],
        "x-endpoint-family": "weixin_search_account"
      }
    }
  }
}