HTTP API

웹 도구와 같은 점검을 HTTP로 부를 수 있습니다. 대상 서버에 공격하거나 데이터를 보내지 않습니다. 기록을 남기는 것은 감시·기대값 등록·페이지 제보·보고서뿐이고, 나머지는 모두 읽기 전용 조회입니다.

OpenAPI 문서

OpenAPI 3.1 형식의 전체 명세를 내려받아 API 도구(Postman, Swagger Editor 등)에 바로 불러올 수 있습니다.

openapi.json v2026-10-31

기본

  • 주소: https://dechonet.com — 응답은 모두 JSON입니다.
  • 인증: 없이 쓸 수 있습니다. API 키를 보내면 IP 대신 키별로 한도를 셉니다. 헤더 "Authorization: Bearer dn_…". 키는 보안 관제 계정 화면에서 만듭니다. 틀리거나 폐기된 키는 401입니다. 인프라 피벗(/api/util/pivot)만 키가 필요합니다.
  • 요청 한도: 클라이언트(IP 또는 키)마다 1분에 60회가 기본이고, 무거운 점검은 더 낮습니다. 넘으면 429와 Retry-After 헤더를 돌려줍니다. 응답마다 X-RateLimit-Limit·X-RateLimit-Remaining·X-RateLimit-Reset(유닉스 초) 헤더로 남은 횟수를 알려 줍니다. 도구 대상은 query·host·domain·url·target 어느 이름으로 보내도 됩니다.
  • POST 요청은 "Content-Type: application/json" 헤더가 있어야 합니다.
  • 해석 문구 언어: ?lang=ko 또는 ?lang=en.
  • 무료 이용은 비상업 용도입니다. 회사 업무나 서비스에 넣으려면 문의해 주세요.

응답 형식

모든 응답은 같은 형식(ok·data·error)으로 감싸져 옵니다. ok가 false면 error.code(INVALID_INPUT, RATE_LIMITED, UPSTREAM_ERROR 등)와 message를 보세요. 대부분의 점검은 data.raw(관측한 값)와 data.interpretation(상태·핵심 지표·이슈별 심각도·원인·조치)을 돌려줍니다. cached가 true면 최근에 저장된 결과입니다.

{
  "ok": true,
  "requestId": "…",
  "cached": false,
  "updatedAt": "2026-10-10T04:00:00.000Z",
  "data": { "raw": { … }, "interpretation": { "status": "…", "kpis": [ … ], "issues": [ … ] } },
  "error": null
}

엔드포인트

설명은 웹 도구·MCP 페이지와 같은 문구입니다. 매개변수의 자세한 설명은 openapi.json에 있습니다.

사이트 점검

GET /api/util/ssl

인증서·체인·TLS 버전을 서울에서 확인.

매개변수: host (필수), port

curl -s 'https://dechonet.com/api/util/ssl?host=example.com'

GET /api/util/http

리다이렉트와 보안 헤더, A~F 등급.

매개변수: url (필수)

curl -s 'https://dechonet.com/api/util/http?url=https://example.com/'

GET /api/util/owasp

밖에서 보이는 OWASP Top 10 항목.

매개변수: host (필수)

curl -s 'https://dechonet.com/api/util/owasp?host=example.com'

GET /api/util/golive

새 사이트 공개 준비 확인: DNS·TLS·HTTPS·헤더.

매개변수: query (필수)

curl -s 'https://dechonet.com/api/util/golive?query=example.com'

GET /api/util/pqc

양자내성 키 교환을 지원하는지.

매개변수: host (필수)

curl -s 'https://dechonet.com/api/util/pqc?host=example.com'

GET /api/util/mcp-check

MCP 서버를 연결하기 전에: 인증, 동작하는 도구, 조종 문구.

매개변수: url (필수)

curl -s 'https://dechonet.com/api/util/mcp-check?url=https://example.com/'

GET /api/util/exposure

관리자 화면·스테이징 노출 개수(호스트별 상세는 웹에서 소유 확인 후)

매개변수: domain (필수)

curl -s 'https://dechonet.com/api/util/exposure?domain=example.com'

피싱·사칭

GET /api/util/lookalike

내 도메인과 비슷한, 실제 등록된 이름.

매개변수: query (필수)

curl -s 'https://dechonet.com/api/util/lookalike?query=example.com'

POST /api/util/email-header

메일 헤더의 경로와 인증 결과 읽기.

JSON: headers

curl -s -X POST https://dechonet.com/api/util/email-header \
  -H 'Content-Type: application/json' \
  -d '{"headers":"Received: from …"}'

GET /api/util/impersonation

내 브랜드가 사칭에 얼마나 노출됐는지.

매개변수: query (필수)

curl -s 'https://dechonet.com/api/util/impersonation?query=example.com'

POST /api/precheck

로그인·결제 직전에 이 페이지가 주장하는 곳이 맞는지 확인합니다 — 사칭, 신규 도메인, 기존 위험 판정, 카드 입력칸 위치

JSON: url, action, expectedBrand, page

curl -s -X POST https://dechonet.com/api/precheck \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://example.com/","action":"login","expectedBrand":"example.com","page":{}}'

POST /api/page-report 기록을 남김

의심스러운 페이지를 제보합니다 — 피싱, 가짜 결제창, AI 대상 숨은 지시문, 악성 다운로드, 판정 오류. DechoNet이 직접 확인합니다

JSON: url, kind, observed

curl -s -X POST https://dechonet.com/api/page-report \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://example.com/","kind":"phishing","observed":{}}'

도메인·메일

GET /api/util/dns

모든 DNS 레코드와 SPF·DMARC·DNSSEC 점검.

매개변수: query (필수)

curl -s 'https://dechonet.com/api/util/dns?query=example.com'

GET /api/util/email

MX·SPF·DMARC·DKIM·블랙리스트.

매개변수: query (필수)

curl -s 'https://dechonet.com/api/util/email?query=example.com'

GET /api/util/propagation

같은 레코드를 공용 리졸버 6곳에서 비교.

매개변수: domain (필수), type

curl -s 'https://dechonet.com/api/util/propagation?domain=example.com'

GET /api/util/rdap

도메인의 등록기관·날짜·상태.

매개변수: query (필수)

curl -s 'https://dechonet.com/api/util/rdap?query=example.com'

GET /api/util/subdomains

인증서 기록에서 찾은 서브도메인.

매개변수: query (필수)

curl -s 'https://dechonet.com/api/util/subdomains?query=example.com'

네트워크

GET /api/util/port

주요 TCP 포트 응답 확인.

매개변수: host (필수)

curl -s 'https://dechonet.com/api/util/port?host=example.com'

GET /api/util/reverse-dns

IP의 PTR 이름과 정방향 일치 여부.

매개변수: query (필수)

curl -s 'https://dechonet.com/api/util/reverse-dns?query=8.8.8.8'

GET /api/util/asn

IP·네트워크 소유자와 대역.

매개변수: query (필수)

curl -s 'https://dechonet.com/api/util/asn?query=example.com'

GET /api/util/ip

내 공인 IP, 네트워크, 위치.

curl -s 'https://dechonet.com/api/util/ip'

가상자산

POST /api/util/crypto-presign

받는 주소·요청한 페이지·서명 요청을 함께 판정합니다. 무제한 토큰 승인, Permit 서명, setApprovalForAll처럼 자산을 넘겨줄 수 있는 요청을 알아봅니다.

JSON: to, url, request

curl -s -X POST https://dechonet.com/api/util/crypto-presign \
  -H 'Content-Type: application/json' \
  -d '{"to":"0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed","url":"https://example.com/","request":{"method":"eth_signTypedData_v4","params":[]}}'

GET /api/util/crypto-address

지갑 주소 하나의 체인·체크섬·OFAC 제재 목록 등재·DechoNet 기록.

매개변수: query (필수)

curl -s 'https://dechonet.com/api/util/crypto-address?query=0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed'

GET /api/util/crypto-dapp

dApp·받기 링크를 자산 없는 검사용 지갑으로 열어, 페이지가 지갑에 요구한 것(연결·토큰 승인·Permit 서명·송금)을 보여 줍니다.

매개변수: url (필수)

curl -s 'https://dechonet.com/api/util/crypto-dapp?url=https://example.com/'

GET /api/util/crypto-exchange

도메인이 거래소·지갑·dApp의 공식 주소인지, 이름만 쓴 도메인인지.

매개변수: query (필수)

curl -s 'https://dechonet.com/api/util/crypto-exchange?query=example.com'

감시·이력

GET /api/util/changes

지난 조회·감시 이후 바뀐 것만

매개변수: query (필수)

curl -s 'https://dechonet.com/api/util/changes?query=example.com'

GET /api/util/history

도메인·IP의 인프라가 시간에 따라 어떻게 바뀌었는지(네임서버·주소·MX·인증서 발급 기관·등록기관), 값마다 처음·마지막으로 본 때

매개변수: target (필수)

curl -s 'https://dechonet.com/api/util/history?target=example.com'

GET /api/util/pivot API 키 필요

같은 네임서버·IP·MX·발급 기관·등록기관을 쓰는 다른 도메인을 찾아 연관 인프라를 그립니다(API 키 필요)

매개변수: kind (필수), value (필수)

curl -s 'https://dechonet.com/api/util/pivot?kind=dns:a&value=example.com'

POST /api/expect 기록을 남김

도메인이 외부에서 충족해야 할 검증 항목을 등록하면 즉시 확인하고, 이후 매일 다시 확인합니다(서명된 관측 기록 포함)

JSON: domain, expect, label

curl -s -X POST https://dechonet.com/api/expect \
  -H 'Content-Type: application/json' \
  -d '{"domain":"example.com","expect":[{"check":"https_ok"},{"check":"header_present","name":"strict-transport-security"}],"label":"after the HSTS change"}'

POST /api/expect 기록을 남김

세트 ID를 주면 저장된 검사 결과를 갱신합니다. 도메인과 검사 항목을 주면 검증 세트를 저장하지 않고 한 번 검사합니다.

JSON: id

curl -s -X POST https://dechonet.com/api/expect \
  -H 'Content-Type: application/json' \
  -d '{"id":"ex_…"}'

POST /api/account/asm/vulnerability-assessment

공격 표면 관리 결과에서 확인된 런타임 버전을 PHP·Node.js 보안 권고와 대조합니다(새 요청 없음, 가능성·알 수 없음으로만 답함)

JSON: asmId, host, baselineAsmId, report

curl -s -X POST https://dechonet.com/api/account/asm/vulnerability-assessment \
  -H 'Content-Type: application/json' \
  -d '{"asmId":"example.com","host":"example.com","baselineAsmId":"example.com","report":{}}'

감시·기록·보고서

POST /api/watch 기록을 남김

도메인 하나를 도구 하나로 매일 다시 점검하는 감시를 만들고(이미 있으면 그대로) 공개 감시 페이지 주소를 돌려줍니다. 바뀐 것은 그 페이지와 domain_changes로 봅니다.

JSON: endpoint, target

curl -s -X POST https://dechonet.com/api/watch \
  -H 'Content-Type: application/json' \
  -d '{"endpoint":"util/ssl","target":"example.com"}'

GET /api/expect

등록한 기대값 묶음(POST /api/expect)의 저장된 상태와 확인 이력을 새 조회 없이 돌려줍니다.

매개변수: id (필수)

curl -s 'https://dechonet.com/api/expect?id=ex_…'

POST /api/report 기록을 남김

서버가 종합 진단을 직접 실행해 보고서 페이지로 90일 보관합니다(인쇄해 PDF로 저장). 숫자는 DechoNet이 잰 값이고 호출자가 보낸 값은 쓰지 않습니다. 1분에 3번까지.

JSON: domain

curl -s -X POST https://dechonet.com/api/report \
  -H 'Content-Type: application/json' \
  -d '{"domain":"example.com"}'

GET /api/receipt/{id}

MCP 도구 결과에 붙은 서명된 관측 영수증을 그대로 돌려주고, /.well-known/dechonet-receipts.json의 공개 키로 Ed25519 서명이 맞는지 알려 줍니다.

매개변수: id (필수)

curl -s 'https://dechonet.com/api/receipt/rc_…'

배포 전 점검

GET /api/util/gate

배포된 주소에 SSL·HTTP 점검을 돌려 항목마다 통과·실패를 답합니다. CI에서 배포를 멈추는 데 씁니다(GitHub Action node-man/dechonet-gate).

매개변수: url (필수), min_ssl, min_headers, min_days, require_https

curl -s 'https://dechonet.com/api/util/gate?url=https://example.com/'

로그인 필요 — 보안 관제 계정·수사기관 사건

POST /api/pilot/kit-observe 로그인 필요

사건에 든 대상을 조건부 렌더 규칙과 하루 한도 안에서 다시 관측합니다

JSON: case, target

curl -s -X POST https://dechonet.com/api/pilot/kit-observe \
  -H 'Content-Type: application/json' \
  -d '{"case":"example.com","target":"example.com"}'

POST /api/account/asm/nuclei-start 로그인 필요

공격 표면 관리 결과의 소유 확인 자산에 실제 요청 점검(Nuclei, 요청 수 제한)을 시작

JSON: asmId, target, confirm

curl -s -X POST https://dechonet.com/api/account/asm/nuclei-start \
  -H 'Content-Type: application/json' \
  -d '{"asmId":"example.com","target":"example.com","confirm":"example.com"}'

GET /api/account/asm/nuclei-status 로그인 필요

그 점검의 진행·범위·발견 내용 확인

매개변수: id (필수)

curl -s 'https://dechonet.com/api/account/asm/nuclei-status?id=ex_…'

POST /api/account/asm/nuclei-cancel 로그인 필요

점검 중지

JSON: id

curl -s -X POST https://dechonet.com/api/account/asm/nuclei-cancel \
  -H 'Content-Type: application/json' \
  -d '{"id":"ex_…"}'

AI 에이전트에서는 같은 점검을 MCP 도구로 쓸 수 있습니다: MCP →