Skip to content
Zhou Hao edited this page Jan 5, 2017 · 3 revisions

PAPI works()

GET https://public-api.secure.pixiv.net/v1/works/60518582.json?profile_image_sizes=px_170x170%2Cpx_50x50&include_sanity_level=true&image_sizes=px_128x128%2Cpx_480mw%2Clarge&include_stats=true HTTP/1.1
Host: public-api.secure.pixiv.net
Referer: http://spapi.pixiv-app.net/
Authorization: Bearer KUUqO9rOxFm3pDLGV07s3v2KmxCGXsg65DtbvfGQb-A
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: zh-cn
Connection: keep-alive
Proxy-Connection: keep-alive
User-Agent: PixivIOSApp/5.8.7
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 04 Jan 2017 14:44:56 GMT
Content-Type: application/json
Content-Length: 1914
Connection: keep-alive
X-Content-Type-Options: nosniff
Vary: Accept-Encoding

{
    "status": "success", 
    "response": [
        {
            "id": 60518582, 
            "title": "Fiatな二人", 
            "caption": "映画サスペリア2の好きなシーンをデフォルメしました。
(アップ先を間違えたので再投稿です。)", 
            "tags": [
                "うごイラ", 
                "GIF", 
                "ホラー", 
                "サスペリア2", 
                "ファンアート", 
                "フィアット"
            ], 
            "tools": [
                "CLIP STUDIO PAINT"
            ], 
            "image_urls": {
                "px_128x128": "http://i3.pixiv.net/c/128x128/img-master/img/2016/12/24/09/08/39/60518582_square1200.jpg", 
                "px_480mw": "http://i3.pixiv.net/c/480x960/img-master/img/2016/12/24/09/08/39/60518582_master1200.jpg", 
                "large": "http://i3.pixiv.net/img-original/img/2016/12/24/09/08/39/60518582_ugoira0.jpg"
            }, 
            "width": 378, 
            "height": 560, 
            "stats": {
                "scored_count": 6, 
                "score": 60, 
                "views_count": 108, 
                "favorited_count": {
                    "public": 4, 
                    "private": 0
                }, 
                "commented_count": 0
            }, 
            "publicity": 0, 
            "age_limit": "all-age", 
            "created_time": "2016-12-24 09:08:39", 
            "reuploaded_time": "2016-12-24 09:08:39", 
            "user": {
                "id": 21322520, 
                "account": "user_hua5486", 
                "name": "lanpel", 
                "is_following": false, 
                "is_follower": false, 
                "is_friend": false, 
                "is_premium": null, 
                "profile_image_urls": {
                    "px_50x50": "http://i1.pixiv.net/user-profile/img/2016/12/24/02/09/13/11905500_a242db816fbd586ec4149e849a1d8962_50.png"
                }, 
                "stats": null, 
                "profile": null
            }, 
            "is_manga": false, 
            "is_liked": false, 
            "favorite_id": 2867577453, 
            "page_count": 1, 
            "book_style": "none", 
            "type": "ugoira", 
            "metadata": {
                "zip_urls": {
                    "ugoira600x600": "http://i3.pixiv.net/img-zip-ugoira/img/2016/12/24/09/08/39/60518582_ugoira600x600.zip"
                }, 
                "frames": [
                    {
                        "delay_msec": 120
                    }, 
                    {
                        "delay_msec": 130
                    }, 
                    {
                        "delay_msec": 120
                    }, 
                    {
                        "delay_msec": 130
                    }, 
                    {
                        "delay_msec": 120
                    }, 
                    {
                        "delay_msec": 130
                    }, 
                    {
                        "delay_msec": 120
                    }, 
                    {
                        "delay_msec": 130
                    }, 
                    {
                        "delay_msec": 120
                    }, 
                    {
                        "delay_msec": 130
                    }, 
                    {
                        "delay_msec": 120
                    }, 
                    {
                        "delay_msec": 130
                    }, 
                    {
                        "delay_msec": 120
                    }, 
                    {
                        "delay_msec": 130
                    }, 
                    {
                        "delay_msec": 120
                    }, 
                    {
                        "delay_msec": 130
                    }, 
                    {
                        "delay_msec": 120
                    }, 
                    {
                        "delay_msec": 130
                    }, 
                    {
                        "delay_msec": 120
                    }, 
                    {
                        "delay_msec": 130
                    }
                ]
            }, 
            "content_type": null, 
            "sanity_level": "white"
        }
    ], 
    "count": 1
}

App-API user_illusts()

GET https://app-api.pixiv.net/v1/user/illusts?user_id=12992067&filter=for_ios&type=illust HTTP/1.1
Host: app-api.pixiv.net
Accept: */*
Accept-Encoding: gzip, deflate
Connection: keep-alive
Proxy-Connection: keep-alive
App-OS-Version: 9.3.3
App-OS: ios
User-Agent: PixivIOSApp/6.4.0 (iOS 9.3.3; iPhone6,1)
Authorization: Bearer 7ANtCDI0gQOlAZCv5m-EDK0b95d6BD1ykWtqk3clF6g
App-Version: 6.4.0
Accept-Language: zh-cn
HTTP/1.1 200 OK
Server: nginx
Date: Thu, 05 Jan 2017 13:44:57 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 13863
Connection: keep-alive
X-Content-Type-Options: nosniff
Vary: Accept-Encoding

{
    "illusts": [
        {
            "id": 51815717, 
            "title": "メイクアップする月野さん", 
            "type": "ugoira", 
            "image_urls": {
                "square_medium": "https://i.pximg.net/c/360x360_70/img-master/img/2015/08/06/19/05/44/51815717_square1200.jpg", 
                "medium": "https://i.pximg.net/c/540x540_70/img-master/img/2015/08/06/19/05/44/51815717_master1200.jpg", 
                "large": "https://i.pximg.net/c/600x1200_90/img-master/img/2015/08/06/19/05/44/51815717_master1200.jpg"
            }, 
            "caption": "クリスタル記念で作りました(今更)。<br /><span style=\"color:#867c2f;\">【フレーム数:18】</span>", 
            "restrict": 0, 
            "user": {
                "id": 12992067, 
                "name": "小粒ニッケル", 
                "account": "nickeldrops", 
                "profile_image_urls": {
                    "medium": "https://i2.pixiv.net/user-profile/img/2014/12/06/08/30/11/8692205_4a67e07a54640275bcb071498a9e3ad3_170.jpg"
                }, 
                "is_followed": false
            }, 
            "tags": [
                {
                    "name": "うごイラ"
                }, 
                {
                    "name": "gif"
                }, 
                {
                    "name": "GIF動画"
                }, 
                {
                    "name": "美少女戦士セーラームーン"
                }, 
                {
                    "name": "月野うさぎ"
                }, 
                {
                    "name": "なにこれかわいい"
                }
            ], 
            "tools": [ ], 
            "create_date": "2015-08-06T19:05:44+09:00", 
            "page_count": 1, 
            "width": 400, 
            "height": 505, 
            "sanity_level": 2, 
            "meta_single_page": {
                "original_image_url": "https://i2.pixiv.net/img-original/img/2015/08/06/19/05/44/51815717_ugoira0.jpg"
            }, 
            "meta_pages": [ ], 
            "total_view": 1376, 
            "total_bookmarks": 57, 
            "is_bookmarked": false, 
            "visible": true, 
            "is_muted": false, 
            "total_comments": 2
        }
    ], 
    "next_url": null
}

App-API ugoira_metadata()

GET https://app-api.pixiv.net/v1/ugoira/metadata?illust_id=51815717 HTTP/1.1
Host: app-api.pixiv.net
Accept: */*
Accept-Encoding: gzip, deflate
Connection: keep-alive
Proxy-Connection: keep-alive
App-OS-Version: 9.3.3
App-OS: ios
User-Agent: PixivIOSApp/6.4.0 (iOS 9.3.3; iPhone6,1)
Authorization: Bearer 7ANtCDI0gQOlAZCv5m-EDK0b95d6BD1ykWtqk3clF6g
App-Version: 6.4.0
Accept-Language: zh-cn
HTTP/1.1 200 OK
Server: nginx
Date: Thu, 05 Jan 2017 13:49:19 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 766
Connection: keep-alive
X-Content-Type-Options: nosniff
Vary: Accept-Encoding

{
    "ugoira_metadata": {
        "zip_urls": {
            "medium": "https://i2.pixiv.net/img-zip-ugoira/img/2015/08/06/19/05/44/51815717_ugoira600x600.zip"
        }, 
        "frames": [
            {
                "file": "000000.jpg", 
                "delay": 130
            }, 
            {
                "file": "000001.jpg", 
                "delay": 100
            }, 
            {
                "file": "000002.jpg", 
                "delay": 100
            }, 
            {
                "file": "000003.jpg", 
                "delay": 100
            }, 
            {
                "file": "000004.jpg", 
                "delay": 120
            }, 
            {
                "file": "000005.jpg", 
                "delay": 100
            }, 
            {
                "file": "000006.jpg", 
                "delay": 100
            }, 
            {
                "file": "000007.jpg", 
                "delay": 100
            }, 
            {
                "file": "000008.jpg", 
                "delay": 100
            }, 
            {
                "file": "000009.jpg", 
                "delay": 130
            }, 
            {
                "file": "000010.jpg", 
                "delay": 100
            }, 
            {
                "file": "000011.jpg", 
                "delay": 100
            }, 
            {
                "file": "000012.jpg", 
                "delay": 100
            }, 
            {
                "file": "000013.jpg", 
                "delay": 120
            }, 
            {
                "file": "000014.jpg", 
                "delay": 100
            }, 
            {
                "file": "000015.jpg", 
                "delay": 100
            }, 
            {
                "file": "000016.jpg", 
                "delay": 100
            }, 
            {
                "file": "000017.jpg", 
                "delay": 100
            }
        ]
    }
}