RESTful API,JSON 格式回傳。Base URL: https://wow.to
在 HTTP Header 中加入:
Authorization: Bearer wow_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/api/shorten將長網址轉為短網址
curl -X POST https://wow.to/api/shorten -H "Authorization: Bearer API_KEY" -H "Content-Type: application/json" -d '{"url":"https://example.com"}'{"short_url":"https://wow.to/abc123","short_code":"abc123"}/admin/?api=links取得使用者的所有短連結
curl -H "Authorization: Bearer API_KEY" https://wow.to/admin/?api=links[{"short_code":"abc123","long_url":"https://example.com","clicks":42,"created_at":"2026-06-01"}]/admin/?api=stats&code=abc123查看單一短網址的點擊數據
curl -H "Authorization: Bearer API_KEY" "https://wow.to/admin/?api=stats&code=abc123"{"short_code":"abc123","long_url":"https://example.com","total_clicks":42,"daily_clicks":{"2026-06-01":12,"2026-06-02":30}}/admin/刪除指定的短網址
curl -X POST https://wow.to/admin/ -H "Authorization: Bearer API_KEY" -d "action=delete_link&code=abc123"{"ok":true}