API v1

Vidly REST API

Production-ready REST endpoints for videos, products, commerce and analytics. JSON over HTTPS, bearer-token auth.

Stable
OAuth 2.0
Edge runtime
Base URL
https://api.vidly.app/v1
Auth header
Authorization: Bearer <token>
Rate limit
1000 req / minute

Videos

GET
/v1/videosList published videos with filters
GET
/v1/videos/:idGet video details with attached products
POST
/v1/videosCreate a new video (creator)
PATCH
/v1/videos/:idUpdate video metadata
DELETE
/v1/videos/:idDelete a video
POST
/v1/videos/:id/eventsTrack view, click, conversion

Products

GET
/v1/productsBrowse marketplace catalog
GET
/v1/products/:idGet product details
POST
/v1/productsCreate product
PATCH
/v1/products/:idUpdate product
DELETE
/v1/products/:idArchive product

Creators

GET
/v1/creatorsList all creators
GET
/v1/creators/:handlePublic creator profile
POST
/v1/creators/:id/followFollow / unfollow

Commerce

GET
/v1/cartGet current cart
POST
/v1/cart/itemsAdd to cart
POST
/v1/checkoutCreate order from cart
GET
/v1/ordersList user orders

Analytics

GET
/v1/analytics/creator/:idViews, CTR, revenue rollup
GET
/v1/analytics/video/:idPer-video performance
GET
/v1/analytics/platformGMV, top creators (admin)

Example request

curl https://api.vidly.app/v1/videos/v1 \
  -H "Authorization: Bearer sk_live_••••••••" \
  -H "Content-Type: application/json"

{
  "id": "v1",
  "title": "My 3-step morning glow routine",
  "creator": { "id": "c1", "handle": "@siennareed" },
  "products": [
    { "id": "p1", "title": "Silk Glow Serum", "price": 48 }
  ],
  "metrics": { "views": 12000, "clicks": 450, "ctr": 3.75, "revenue": 800 }
}