개발자 리소스
API 문서
간단한 REST API로 extn.ai의 액션을 제품 안에 연결하세요.
01 — Quick startQS.01
Three things worth knowing.
01
인증
Authorization 헤더에 API 키를 Bearer 토큰 형식으로 포함하여 인증합니다.
02
요청 제한
Free: 100회/분, Plus: 500회/분, Max: 2000회/분. 응답 헤더에서 남은 할당량을 확인할 수 있습니다.
03
SDK 제공
JavaScript/TypeScript, Python, Go용 공식 SDK를 제공합니다.
02 — BaseBASE.02
Every call starts here.
https://api.extn.ai/v103 — AuthAUTH.03
Bearer token.
모든 API 요청은 유효한 API 키가 필요합니다.
curlREQUEST
curl -X GET "https://api.extn.ai/v1/user/profile" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"04 — EndpointsEP.04
Available endpoints.
POST
/api/v1/delivery/schedule픽업 및 배송 예약
GET
/api/v1/shopping/track상품 가격·재고 추적
POST
/api/v1/stock/quote실시간 주가 조회
POST
/api/v1/alerts/create새 태그 알림 생성
POST
/api/v1/detector/analyzeAI 생성 신호 확인
05 — ExampleEX.05
예시: 배송 예약
curl요청
curl -X POST "https://api.extn.ai/v1/delivery/schedule" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"pickup": { "address": "123 Home Street, Seoul", "time": "2025-01-15T15:00:00Z" },
"dropoff": { "address": "Gangnam Station Area" }
}'json응답
{
"success": true,
"data": {
"delivery_id": "del_abc123xyz",
"status": "scheduled",
"pickup": {
"address": "123 Home Street, Seoul",
"scheduled_time": "2025-01-15T15:00:00Z"
},
"dropoff": {
"address": "Gangnam Station Area",
"estimated_arrival": "2025-01-15T16:30:00Z"
}
}
}