공개 API 문서
ASTRANTIS 공개 API를 사용하는 방법입니다.
API 접근 방법
공개 API를 사용하려면 API 키가 필요합니다.
- 회원가입 또는 로그인
- API 키 발급 요청
- API 키를 헤더에 포함해 요청
인증
모든 API 요청에는 인증 헤더가 필요합니다.
Authorization: Bearer YOUR_API_KEY
주요 엔드포인트
GET /api/developers개발자 목록 조회GET /api/organizations조직 목록 조회POST /api/commissions커미션 요청 생성
사용 예제
const response = await fetch('https://api.astrantis.site/api/developers', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
})
const data = await response.json()