# Smart link > Smart link và pre-save của các bản phát hành, kèm lượt xem, lượt nhấp và lượt pre-save. Smart link và pre-save của các bản phát hành, kèm lượt xem, lượt nhấp và lượt pre-save. Base URL `https://api.hillsmusic.com/v1`. Mọi request đều gửi một API key: `Authorization: Bearer hm_live_…`. - Smart link ## Smart link `GET /v1/links` · Scope: `links:read` Smart link và pre-save của các bản phát hành, kèm lượt xem và lượt nhấp từ trước đến nay và trong 30 ngày gần nhất, cùng số lượt pre-save. ### Ví dụ request ```bash curl "https://api.hillsmusic.com/v1/links" \ -H "Authorization: Bearer $HILLS_API_KEY" ``` ### Phản hồi `200` ```json { "data": [ { "id": 77, "slug": "luna-midnight-run", "kind": "smartlink", "active": true, "title": "Midnight Run", "artist": "Luna", "release_id": 812, "upc": "0123456789012", "views": 5120, "clicks": 1830, "views_30d": 900, "clicks_30d": 310, "presaves": 0, "url": "https://presav.io/luna-midnight-run", "created_at": "2026-10-01T09:00:00Z", "updated_at": "2026-10-01T09:00:00Z" } ] } ``` ### Lỗi | Mã trạng thái | Khi nào | | --- | --- | | 401 | unauthenticated, invalid_key, key_revoked, key_expired hoặc test_keys_retired. | | 403 | insufficient_scope: key thiếu scope; scope cho biết scope nào. account_inactive hoặc api_not_in_plan. | | 429 | rate_limited: chờ số giây ghi trong Retry-After. | Nguồn: https://developer.hillsmusic.com/vi/reference/smartlinks/