Developer Resources

API Documentation

Connect extn.ai actions to your product through straightforward REST APIs.

01 — Quick startQS.01

Three things worth knowing.

01

Authentication

Use Bearer token authentication with your API key in the Authorization header.

02

Rate Limits

Free: 100 req/min, Plus: 500 req/min, Max: 2000 req/min. Headers include remaining quota.

03

SDKs Available

Official SDKs for JavaScript/TypeScript, Python, and Go.

02 — BaseBASE.02

Every call starts here.

https://api.extn.ai/v1
03 — AuthAUTH.03

Bearer token.

All API requests require a valid API key. Include it in the Authorization header as a Bearer token.

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/analyze
05 — ExampleEX.05

Example: Schedule Delivery

curlRequest
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" }
  }'
jsonResponse
{
  "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"
    }
  }
}

Need integration help?