API Services

현재 제공 중인 API 서비스 목록입니다.

Web Scraping Service

웹 페이지를 가져오는 HTTP 클라이언트 마이크로서비스입니다.

Endpoints

MethodPathDescription
GET/web/getHTTP GET 요청 프록시 (httpx)
POST/web/postHTTP POST 요청 프록시 (httpx)
GET/web/browserUC 모드 브라우저 렌더링
POST/web/browserUC 모드 브라우저 POST
GET/web/screenshot스크린샷 캡처
GET/web/ninjaCloudFlare 우회 GET
POST/web/ninjaCloudFlare 우회 POST

사용 예시

# 일반 HTTP GET
curl -H 'apikey: YOUR_KEY' \
  'https://api.codesand.co.kr/web/get?url=https://example.com'

# 브라우저 렌더링 (JS 실행)
curl -H 'apikey: YOUR_KEY' \
  'https://api.codesand.co.kr/web/browser?url=https://example.com'

# CloudFlare 우회
curl -H 'apikey: YOUR_KEY' \
  'https://api.codesand.co.kr/web/ninja?url=https://example.com'

# 스크린샷
curl -H 'apikey: YOUR_KEY' \
  'https://api.codesand.co.kr/web/screenshot?url=https://example.com'

Echo Service

요청 정보를 그대로 반환하는 디버깅용 서비스입니다.

Endpoint

MethodPathDescription
ANY/echo요청 헤더, 바디 등을 그대로 반환

사용 예시

curl -H 'apikey: YOUR_KEY' https://api.codesand.co.kr/echo