PicSee免費短網址API

PicSee短網址為台灣高穩定性服務,其中許多知名媒體、電商、網紅如聯合新聞網、蝦皮、蔡阿嘎等,都使用PicSee服務,對於瞬間流量處理、服務穩定性均受世界市場考驗。短網址API將是接續Google短網址API的本土最佳解決方案。


知名用戶


測試資訊

測試用access_token
20f07f91f3303b2f66ab6f61698d977d69b83d64

注意:測試使用者產生的連結產生10分鐘後會自動失效,僅提供轉址與分析測試用,若需要正式的access_token請於網頁下方申請




讀取連結成效

GET路徑
https://api.pics.ee/v1/links/encodeId/overview?access_token=20f07f91f3303b2f66ab6f61698d977d69b83d64

其中「encodeId」為產生出之短網址編碼,如短網址為「https://pics.ee/6SLU7」則「encodeId」用「6SLU7」取代

POST參數:不適用
回傳結果範例
{
    "data": {
        "url": "https://picsee.co/developers/",
        "picseeUrl": "https://pics.ee/6SLU7",
        "createTime": "2018-04-11T15:24:19+08:00",
        "externalId": "customer_test_1",
        "totalClicks": 1234,
        "uniqueClicks": 999
    },
    "meta": {
        "version": "1.0.0",
        "request": {
            "url": "/links/6SLU7/overview",
            "query": {
                "access_token": "20f07f91f3303b2f66ab6f61698d977d69b83d64"
            }
        }
    }
}

參數說明:
● totalClick:總點擊
● uniqueClick:不重複點擊,會去除已知機器人、未設定user_agent瀏覽器及重複閱讀瀏覽器

讀取整組連結成效

GET路徑
https://api.pics.ee/v1/links/overview?access_token=20f07f91f3303b2f66ab6f61698d977d69b83d64&search[externalId]=customer_test_1

其中「customer_test_1」為產生出之短網址externalId,使用情境如下:
● 提供Chatbot服務已有自己的客戶,針對不同客戶用不同externalId,就能查詢某位客戶的歷史紀錄
● 在不同檔期行銷活動使用不同的externalId,可以查詢特定檔期的整體成效

POST參數:不適用
回傳結果範例
{
    "data": {
        "totalClicks": 40,
        "uniqueClicks": 30,
        "links": [
            {
                "url": "https://picsee.co/developers/",
                "picseeUrl": "https://pics.ee/6TGZP",
                "externalId": "customer_test_1",
                "createTime": "2018-04-16T11:45:32+08:00",
                "totalClicks": 10,
                "uniqueClicks": 8
            },{
                "url": "https://picsee.co/developers/",
                "picseeUrl": "https://pics.ee/6TGZK",
                "externalId": "customer_test_1",
                "createTime": "2018-04-16T11:45:30+08:00",
                "totalClicks": 11,
                "uniqueClicks": 7
            },{
                "url": "https://picsee.co/developers/",
                "picseeUrl": "https://pics.ee/6TGZI",
                "externalId": "customer_test_1",
                "createTime": "2018-04-16T11:45:28+08:00",
                "totalClicks": 9,
                "uniqueClicks": 8
            },{
                "url": "https://picsee.co/developers/",
                "picseeUrl": "https://pics.ee/6TGZD",
                "externalId": "customer_test_1",
                "createTime": "2018-04-16T11:45:05+08:00",
                "totalClicks": 10,
                "uniqueClicks": 7
            }
        ]
    },
    "meta": {
        "version": "1.0.0",
        "request": {
            "url": "/links/overview",
            "query": {
                "access_token": "20f07f91f3303b2f66ab6f61698d977d69b83d64",
                "search[externalId]": "customer_test_1"
            }
        }
    }
}

參數說明:
● totalClicks:總點擊
● uniqueClicks:不重複點擊
● links:包含此externalId的連結詳細資訊


Free Apply

預計串接API的平台(必選)

After the approval, the trial provides 100 URL shortening per day within 30 days, and 20 URL shortening per day after 30 days. Trial users will have total 800 times of URL shortening quotas per year (excluding short URL tracking, editing, and viewing results.) For more details and price plan, please contact customer service.
免費註冊
Help
PicSee 皮克看見