Skip to content
Zhou Hao edited this page Jan 24, 2016 · 7 revisions

Sniffer / Sniffer2

  1. /ranking/all
  2. /me/following/works.json
  3. /trends/works.json
  4. /search/works.json
  5. /users/{UID}/favorite_works.json
  6. /users/{UID}/works.json

GET /v1/ranking/all

GET https://public-api.secure.pixiv.net/v1/ranking/all?image_sizes=px_128x128%2Cpx_480mw%2Clarge&include_stats=true&page=1&profile_image_sizes=px_170x170%2Cpx_50x50&mode=daily&include_sanity_level=true&per_page=50 HTTP/1.1
Host: public-api.secure.pixiv.net
Referer: http://spapi.pixiv.net/
Authorization: Bearer WHDWCGnwWA2C8PRfQSdXJxjXp0G6ULRaRkkd6t5B6h8
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: zh-cn
Connection: keep-alive
Proxy-Connection: keep-alive
User-Agent: PixivIOSApp/5.6.0
GET https://public-api.secure.pixiv.net/v1/ranking/all?image_sizes=px_128x128%2Cpx_480mw%2Clarge&include_stats=true&page=1&profile_image_sizes=px_170x170%2Cpx_50x50&date=2015-04-13&mode=daily_r18&include_sanity_level=true&per_page=50 HTTP/1.1
Host: public-api.secure.pixiv.net
Referer: http://spapi.pixiv.net/
Authorization: Bearer vSc34eIxgTu14317lBBj3NoRc4vE11EMW0hiQszrpWY
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: zh-cn
Connection: keep-alive
Proxy-Connection: keep-alive
User-Agent: PixivIOSApp/5.6.0
HTTP/1.1 200 OK
Server: nginx
Date: Thu, 14 May 2015 14:38:39 GMT
Content-Type: application/json
Connection: keep-alive
X-Content-Type-Options: nosniff
Content-Length: 65415

{
    "status": "success", 
    "response": [
        {
            "content": "all", 
            "mode": "daily", 
            "date": "2015-05-13", 
            "works": [
                {
                    "rank": 51, 
                    "previous_rank": 134, 
                    "work": {
                        "id": 50332933, 
                        "title": "何か用かしら", 
                        "caption": null, 
                        "tags": [
                            "やはり俺の青春ラブコメはまちがっている。", 
                            "俺ガイル", 
                            "雪ノ下雪乃", 
                            "見せない構図", 
                            "俺ガイル1000users入り"
                        ], 
                        "tools": null, 
                        "image_urls": {
                            "px_128x128": "http://i2.pixiv.net/c/128x128/img-master/img/2015/05/12/00/01/19/50332933_p0_square1200.jpg", 
                            "px_480mw": "http://i2.pixiv.net/c/480x960/img-master/img/2015/05/12/00/01/19/50332933_p0_master1200.jpg", 
                            "large": "http://i2.pixiv.net/img-original/img/2015/05/12/00/01/19/50332933_p0.png"
                        }, 
                        "width": 875, 
                        "height": 775, 
                        "stats": {
                            "scored_count": 230, 
                            "score": 2283, 
                            "views_count": 16325, 
                            "favorited_count": {
                                "public": null, 
                                "private": null
                            }, 
                            "commented_count": null
                        }, 
                        "publicity": 0, 
                        "age_limit": "all-age", 
                        "created_time": "2015-05-12 00:01:00", 
                        "reuploaded_time": "2015-05-12 00:01:19", 
                        "user": {
                            "id": 3145937, 
                            "account": "37193719", 
                            "name": "コ゛りぼて", 
                            "is_following": null, 
                            "is_follower": null, 
                            "is_friend": null, 
                            "is_premium": null, 
                            "profile_image_urls": {
                                "px_170x170": "http://i3.pixiv.net/img77/profile/37193719/8134423.jpg", 
                                "px_50x50": "http://i3.pixiv.net/img77/profile/37193719/8134423_s.jpg"
                            }, 
                            "stats": null, 
                            "profile": null
                        }, 
                        "is_manga": null, 
                        "is_liked": null, 
                        "favorite_id": null, 
                        "page_count": 1, 
                        "book_style": "right_to_left", 
                        "type": "illustration", 
                        "metadata": null, 
                        "content_type": null, 
                        "sanity_level": "white"
                    }
                }
            ]
        }
    ], 
    "count": 1, 
    "pagination": {
        "previous": 1, 
        "next": 3, 
        "current": 2, 
        "per_page": 50, 
        "total": 500, 
        "pages": 10
    }
}

GET /v1/me/following/works.json

GET https://public-api.secure.pixiv.net/v1/me/following/works.json?profile_image_sizes=px_170x170%2Cpx_50x50&include_sanity_level=true&per_page=30&page=1&include_stats=true&image_sizes=px_128x128%2Cpx_480mw%2Clarge HTTP/1.1
Host: public-api.secure.pixiv.net
Referer: http://spapi.pixiv.net/
Authorization: Bearer vSc34eIxgTu14317lBBj3NoRc4vE11EMW0hiQszrpWY
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: zh-cn
Connection: keep-alive
Proxy-Connection: keep-alive
User-Agent: PixivIOSApp/5.6.0
HTTP/1.1 200 OK
Server: nginx
Date: Thu, 14 May 2015 14:40:38 GMT
Content-Type: application/json
Connection: keep-alive
X-Content-Type-Options: nosniff
Content-Length: 43904

{
    "status": "success", 
    "response": [
        {
            "id": 50373321, 
            "title": "ミクさん♪", 
            "caption": null, 
            "tags": [
                "VOCALOID", 
                "初音ミク"
            ], 
            "tools": [
                "IllustStudio"
            ], 
            "image_urls": {
                "px_128x128": "http://i2.pixiv.net/c/128x128/img-master/img/2015/05/14/21/50/01/50373321_128x128.jpg", 
                "px_480mw": "http://i2.pixiv.net/c/480x960/img-master/img/2015/05/14/21/50/01/50373321_480mw.jpg", 
                "large": "http://i2.pixiv.net/img-original/img/2015/05/14/21/50/01/50373321_p0.jpg"
            }, 
            "width": 493, 
            "height": 892, 
            "stats": {
                "scored_count": 75, 
                "score": 747, 
                "views_count": 946, 
                "favorited_count": {
                    "public": 63, 
                    "private": 8
                }, 
                "commented_count": 7
            }, 
            "publicity": 0, 
            "age_limit": "all-age", 
            "created_time": "2015-05-14 21:50:01", 
            "reuploaded_time": "2015-05-14 21:50:01", 
            "user": {
                "id": 2449916, 
                "account": "hirohiro31", 
                "name": "ひろ@お仕事募集中", 
                "is_following": true, 
                "is_follower": false, 
                "is_friend": false, 
                "is_premium": null, 
                "profile_image_urls": {
                    "px_50x50": "http://i3.pixiv.net/img63/profile/hirohiro31/9275218_s.jpg"
                }, 
                "stats": null, 
                "profile": null
            }, 
            "is_manga": false, 
            "is_liked": false, 
            "favorite_id": 0, 
            "page_count": 1, 
            "book_style": "none", 
            "type": "illustration", 
            "metadata": null, 
            "content_type": null, 
            "sanity_level": "white"
        }
    ], 
    "count": 30, 
    "pagination": {
        "previous": null, 
        "next": 2, 
        "current": 1, 
        "per_page": 30, 
        "total": 2000, 
        "pages": 67
    }
}

GET /v1/trends/works.json

GET https://public-api.secure.pixiv.net/v1/trends/works.json?profile_image_sizes=px_170x170%2Cpx_50x50&include_sanity_level=true&per_page=30&page=1&include_stats=true&image_sizes=px_128x128%2Cpx_480mw%2Clarge HTTP/1.1
Host: public-api.secure.pixiv.net
Referer: http://spapi.pixiv.net/
Authorization: Bearer WHDWCGnwWA2C8PRfQSdXJxjXp0G6ULRaRkkd6t5B6h8
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: zh-cn
Connection: keep-alive
Proxy-Connection: keep-alive
User-Agent: PixivIOSApp/5.6.0
HTTP/1.1 200 OK
Server: nginx
Date: Thu, 14 May 2015 14:38:39 GMT
Content-Type: application/json
Connection: keep-alive
X-Content-Type-Options: nosniff
Content-Length: 37185

{
    "status": "success", 
    "response": [
        {
            "id": 50375159, 
            "title": "ドスこれつめつめ5", 
            "caption": "みっちゃんは全部ちっちゃいです 趣味です", 
            "tags": [
                "刀剣乱舞", 
                "腐向け", 
                "燭台切光忠"
            ], 
            "tools": [
                "SAI"
            ], 
            "image_urls": {
                "px_128x128": "http://i4.pixiv.net/c/128x128/img-master/img/2015/05/14/23/08/42/50375159_128x128.jpg", 
                "px_480mw": "http://i4.pixiv.net/c/480x960/img-master/img/2015/05/14/23/08/42/50375159_480mw.jpg", 
                "large": "http://i4.pixiv.net/img-original/img/2015/05/14/23/08/42/50375159_p0.png"
            }, 
            "width": 595, 
            "height": 840, 
            "stats": null, 
            "publicity": 0, 
            "age_limit": "all-age", 
            "created_time": "2015-05-14 23:08:42", 
            "reuploaded_time": "2015-05-14 23:08:42", 
            "user": {
                "id": 390174, 
                "account": "stippie", 
                "name": "相馬", 
                "is_following": false, 
                "is_follower": false, 
                "is_friend": false, 
                "is_premium": null, 
                "profile_image_urls": {
                    "px_50x50": "http://i2.pixiv.net/img20/profile/stippie/3135085_s.png"
                }, 
                "stats": null, 
                "profile": null
            }, 
            "is_manga": true, 
            "is_liked": false, 
            "favorite_id": 0, 
            "page_count": 10, 
            "book_style": "none", 
            "type": "illustration", 
            "metadata": null, 
            "content_type": null
        }
    ], 
    "count": 30, 
    "pagination": {
        "previous": null, 
        "next": 2, 
        "current": 1, 
        "per_page": 30, 
        "total": 148, 
        "pages": 5
    }
}

GET /v1/search/works.json

GET https://public-api.secure.pixiv.net/v1/search/works.json?image_sizes=px_128x128%2Cpx_480mw%2Clarge&period=all&include_stats=true&page=1&order=desc&q=%E5%88%80%E5%89%A3%E4%B9%B1%E8%88%9E&sort=date&profile_image_sizes=px_170x170%2Cpx_50x50&mode=exact_tag&include_sanity_level=true&per_page=30 HTTP/1.1
Host: public-api.secure.pixiv.net
Referer: http://spapi.pixiv.net/
Authorization: Bearer vSc34eIxgTu14317lBBj3NoRc4vE11EMW0hiQszrpWY
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: zh-cn
Connection: keep-alive
Proxy-Connection: keep-alive
User-Agent: PixivIOSApp/5.6.0
HTTP/1.1 200 OK
Server: nginx
Date: Thu, 14 May 2015 14:40:53 GMT
Content-Type: application/json
Connection: keep-alive
X-Content-Type-Options: nosniff
Content-Length: 39209

{
    "status": "success", 
    "response": [
        {
            "id": 50375850, 
            "title": "おえかきまとめ", 
            "caption": "※5、6枚目はコスプレしてますのでご注意。

半分獅子王君です。
ワンドロとらくがきとツイッターのリプライしたキャラの格好させるやつ。", 
            "tags": [
                "刀剣乱舞", 
                "獅子王", 
                "蜻蛉切", 
                "御手杵", 
                "三日月宗近", 
                "加州清光"
            ], 
            "tools": [
                "Photoshop", 
                "FireAlpaca"
            ], 
            "image_urls": {
                "px_128x128": "http://i3.pixiv.net/c/128x128/img-master/img/2015/05/14/23/34/29/50375850_128x128.jpg", 
                "px_480mw": "http://i3.pixiv.net/c/480x960/img-master/img/2015/05/14/23/34/29/50375850_480mw.jpg", 
                "large": "http://i3.pixiv.net/img-original/img/2015/05/14/23/34/29/50375850_p0.jpg"
            }, 
            "width": 500, 
            "height": 708, 
            "stats": {
                "scored_count": 1, 
                "score": 10, 
                "views_count": 22, 
                "favorited_count": {
                    "public": 0, 
                    "private": 0
                }, 
                "commented_count": 0
            }, 
            "publicity": 0, 
            "age_limit": "all-age", 
            "created_time": "2015-05-14 23:34:29", 
            "reuploaded_time": "2015-05-14 23:34:29", 
            "user": {
                "id": 200657, 
                "account": "orangeleaf", 
                "name": "リモ", 
                "is_following": false, 
                "is_follower": false, 
                "is_friend": false, 
                "is_premium": null, 
                "profile_image_urls": {
                    "px_50x50": "http://i2.pixiv.net/img14/profile/orangeleaf/1234474_s.gif"
                }, 
                "stats": null, 
                "profile": null
            }, 
            "is_manga": true, 
            "is_liked": false, 
            "favorite_id": 0, 
            "page_count": 6, 
            "book_style": "none", 
            "type": "illustration", 
            "metadata": null, 
            "content_type": null, 
            "sanity_level": "white"
        }
    ], 
    "count": 30, 
    "pagination": {
        "previous": null, 
        "next": 2, 
        "current": 1, 
        "per_page": 30, 
        "total": 76502, 
        "pages": 666
    }
}

GET /v1/users/{UID}/favorite_works.json

GET https://public-api.secure.pixiv.net/v1/users/{UID}/favorite_works.json?image_sizes=px_128x128%2Cpx_480mw%2Clarge&include_stats=true&page=1&include_work=true&publicity=public&profile_image_sizes=px_170x170%2Cpx_50x50&include_sanity_level=true&per_page=30 HTTP/1.1
Host: public-api.secure.pixiv.net
Referer: http://spapi.pixiv.net/
Authorization: Bearer xoHaFSeHLgp46Dep15ghSOw7YZZn65i8QUH1stTMZCM
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: zh-cn
Connection: keep-alive
Proxy-Connection: keep-alive
User-Agent: PixivIOSApp/5.6.0
HTTP/1.1 200 OK
Server: nginx
Date: Sun, 17 May 2015 13:39:53 GMT
Content-Type: application/json
Connection: keep-alive
X-Content-Type-Options: nosniff
Content-Length: 41091

{
    "status": "success", 
    "response": [
        {
            "id": 1753024791, 
            "comment": "", 
            "tags": [ ], 
            "publicity": "public", 
            "work": {
                "id": 37532161, 
                "title": "リーゼリット姉 のNEET生活 ", 
                "caption": "リモコンが落ちたが··本当に徹底なNEETだろう!~  >ω<", 
                "tags": [
                    "Fate/kaleidliner", 
                    "プリズマ☆イリヤ", 
                    "リーゼリット", 
                    "Fate", 
                    "尻神様", 
                    "ジーンズ脱げた", 
                    "Fate1000users入り", 
                    "leysritt"
                ], 
                "tools": [
                    "Photoshop", 
                    "SAI"
                ], 
                "image_urls": {
                    "px_128x128": "http://i2.pixiv.net/img-inf/img/2013/08/04/00/02/17/37532161_128x128.jpg", 
                    "px_480mw": "http://i2.pixiv.net/img78/img/cry19931123/mobile/37532161_480mw.jpg", 
                    "large": "http://i2.pixiv.net/img78/img/cry19931123/37532161.jpg"
                }, 
                "width": 2915, 
                "height": 1805, 
                "stats": null, 
                "publicity": 0, 
                "age_limit": "all-age", 
                "created_time": "2013-08-04 00:02:17", 
                "reuploaded_time": "2013-08-04 00:02:17", 
                "user": {
                    "id": 3175442, 
                    "account": "cry19931123", 
                    "name": "蓬莱の半玄月", 
                    "is_following": false, 
                    "is_follower": false, 
                    "is_friend": false, 
                    "is_premium": null, 
                    "profile_image_urls": {
                        "px_50x50": "http://i2.pixiv.net/img78/profile/cry19931123/8737185_s.jpg"
                    }, 
                    "stats": null, 
                    "profile": null
                }, 
                "is_manga": false, 
                "is_liked": false, 
                "favorite_id": 1753024791, 
                "page_count": 1, 
                "book_style": "none", 
                "type": "illustration", 
                "metadata": null, 
                "content_type": null, 
                "sanity_level": "semi_black"
            }
        }
    ], 
    "count": 30, 
    "pagination": {
        "previous": null, 
        "next": 2, 
        "current": 1, 
        "per_page": 30, 
        "total": 97, 
        "pages": 4
    }
}

GET /v1/users/{UID}/works.json

GET https://public-api.secure.pixiv.net/v1/users/{UID}/works.json?image_sizes=px_128x128%2Cpx_480mw%2Clarge&include_stats=true&page=1&publicity=public&profile_image_sizes=px_170x170%2Cpx_50x50&per_page=30&include_sanity_level=true HTTP/1.1
Host: public-api.secure.pixiv.net
Referer: http://spapi.pixiv.net/
Authorization: Bearer cv-lMG5B08uDKDoAFlyw7oZ24UELzW971IRgbcZD2dk
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: zh-cn
Connection: keep-alive
Proxy-Connection: keep-alive
User-Agent: PixivIOSApp/5.6.0
HTTP/1.1 200 OK
Server: nginx
Date: Sun, 17 May 2015 13:48:56 GMT
Content-Type: application/json
Connection: keep-alive
X-Content-Type-Options: nosniff
Content-Length: 37528

{
    "status": "success", 
    "response": [
        {
            "id": 50392083, 
            "title": "❤結月ゆかり❤", 
            "caption": "r0yさんの新曲のイラストです❤

【結月ゆかり】トワイライト【オリジナル曲】http://www.nicovideo.jp/watch/sm26262677

みんなきいてくたさいねえええ〜", 
            "tags": [
                "VOCALOID", 
                "結月ゆかり", 
                "VOCALOID100users入り"
            ], 
            "tools": [
                "Photoshop", 
                "CLIP STUDIO PAINT"
            ], 
            "image_urls": {
                "px_128x128": "http://i4.pixiv.net/c/128x128/img-master/img/2015/05/16/00/12/56/50392083_128x128.jpg", 
                "px_480mw": "http://i4.pixiv.net/c/480x960/img-master/img/2015/05/16/00/12/56/50392083_480mw.jpg", 
                "large": "http://i4.pixiv.net/img-original/img/2015/05/16/00/12/56/50392083_p0.jpg"
            }, 
            "width": 1920, 
            "height": 1080, 
            "stats": {
                "scored_count": 324, 
                "score": 3228, 
                "views_count": 9463, 
                "favorited_count": {
                    "public": 388, 
                    "private": 19
                }, 
                "commented_count": 6
            }, 
            "publicity": 0, 
            "age_limit": "all-age", 
            "created_time": "2015-05-16 00:12:56", 
            "reuploaded_time": "2015-05-16 00:12:56", 
            "user": {
                "id": 1593279, 
                "account": "vidaliu00", 
                "name": "♡よつば♡", 
                "is_following": false, 
                "is_follower": false, 
                "is_friend": false, 
                "is_premium": null, 
                "profile_image_urls": {
                    "px_50x50": "http://i4.pixiv.net/img46/profile/vidaliu00/8782396_s.gif"
                }, 
                "stats": null, 
                "profile": null
            }, 
            "is_manga": false, 
            "is_liked": false, 
            "favorite_id": 0, 
            "page_count": 1, 
            "book_style": "none", 
            "type": "illustration", 
            "metadata": null, 
            "content_type": null, 
            "sanity_level": "white"
        }
    ], 
    "count": 28, 
    "pagination": {
        "previous": null, 
        "next": null, 
        "current": 1, 
        "per_page": 30, 
        "total": 28, 
        "pages": 1
    }
}