Skip to content

Sniffer for iOS 6.x Search Tab

Zhou Hao edited this page Jun 6, 2020 · 6 revisions

Sniffer for iOS 6.x - Search Tab

标签趋势

GET https://app-api.pixiv.net/v1/trending-tags/illust?filter=for_ios HTTP/1.1
Host: app-api.pixiv.net
Accept: */*
Connection: keep-alive
Proxy-Connection: keep-alive
App-OS-Version: 9.3.3
App-OS: ios
User-Agent: PixivIOSApp/6.0.8 (iOS 9.3.3; iPhone6,1)
Accept-Language: zh-cn
App-Version: 6.0.8
Accept-Encoding: gzip, deflate

HTTP/1.1 200 OK
Server: nginx
Date: Mon, 11 Jul 2016 15:37:20 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 109819
Connection: keep-alive
X-Content-Type-Options: nosniff
Vary: Accept-Encoding

{
    "trend_tags": [
        {
            "tag": "少女", 
            "illust": {
                "id": 57808781, 
                "title": "芜!", 
                "type": "illust", 
                "image_urls": {
                    "square_medium": "https://i.pximg.net/c/360x360_70/img-master/img/2016/07/09/00/15/53/57808781_p0_square1200.jpg", 
                    "medium": "https://i.pximg.net/c/540x540_70/img-master/img/2016/07/09/00/15/53/57808781_p0_master1200.jpg", 
                    "large": "https://i.pximg.net/c/600x1200_90/img-master/img/2016/07/09/00/15/53/57808781_p0_master1200.jpg"
                }, 
                "caption": "!", 
                "restrict": 0, 
                "user": {
                    "id": 9580845, 
                    "name": "Magicians", 
                    "account": "zhkahogigzkh", 
                    "profile_image_urls": {
                        "medium": "https://i1.pixiv.net/user-profile/img/2016/04/08/23/55/16/10781688_5e77417c9e9871ef7edf10dc2cda76dc_170.png"
                    }, 
                    "is_followed": false
                }, 
                "tags": [
                    {
                        "name": "少女"
                    }, 
                    {
                        "name": "女子"
                    }, 
                    {
                        "name": "刀"
                    }, 
                    {
                        "name": "女の子"
                    }, 
                    {
                        "name": "オリジナル"
                    }
                ], 
                "tools": [
                    "Photoshop", 
                    "SAI"
                ], 
                "create_date": "2016-07-09T00:15:53+09:00", 
                "page_count": 1, 
                "width": 1311, 
                "height": 784, 
                "sanity_level": 2, 
                "meta_single_page": {
                    "original_image_url": "https://i2.pixiv.net/img-original/img/2016/07/09/00/15/53/57808781_p0.jpg"
                }, 
                "meta_pages": [ ], 
                "total_view": 11951, 
                "total_bookmarks": 904, 
                "is_bookmarked": false, 
                "visible": true
            }
        }
    ]
}

novel

GET https://app-api.pixiv.net/v1/trending-tags/novel?filter=for_ios HTTP/1.1
Host: app-api.pixiv.net
Authorization: Bearer CCMgJjuPye92JAMRyA3B89MZNGwnKzRR7LLKOvPIXJM
App-Version: 7.8.1
X-Client-Time: 2020-06-06T09:05:19+08:00
App-OS: ios
X-Client-Hash: 9f30b5874120bd3d9cdcf993a3023756
Accept-Encoding: br, gzip, deflate
Accept-Language: zh-cn
Accept: */*
User-Agent: PixivIOSApp/7.8.1 (iOS 12.2; iPhone7,1)
Connection: keep-alive
App-OS-Version: 12.2

搜索 - 少女

GET https://app-api.pixiv.net/v1/search/illust?search_target=partial_match_for_tags&sort=date_desc&word=emt&filter=for_ios HTTP/1.1
Host: app-api.pixiv.net
Accept: */*
Connection: keep-alive
Proxy-Connection: keep-alive
App-OS-Version: 9.3.3
App-OS: ios
User-Agent: PixivIOSApp/6.0.8 (iOS 9.3.3; iPhone6,1)
Accept-Language: zh-cn
App-Version: 6.0.8
Accept-Encoding: gzip, deflate

HTTP/1.1 200 OK
Server: nginx
Date: Wed, 27 Jul 2016 14:38:11 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 45702
Connection: keep-alive
X-Content-Type-Options: nosniff
Vary: Accept-Encoding

{
    "illusts": [
        {
            "id": 57928968, 
            "title": "エミリア", 
            "type": "illust", 
            "image_urls": {
                "square_medium": "https://i.pximg.net/c/360x360_70/img-master/img/2016/07/16/12/13/10/57928968_p0_square1200.jpg", 
                "medium": "https://i.pximg.net/c/540x540_70/img-master/img/2016/07/16/12/13/10/57928968_p0_master1200.jpg", 
                "large": "https://i.pximg.net/c/600x1200_90/img-master/img/2016/07/16/12/13/10/57928968_p0_master1200.jpg"
            }, 
            "caption": "", 
            "restrict": 0, 
            "user": {
                "id": 305765, 
                "name": "Y.P", 
                "account": "fri721028", 
                "profile_image_urls": {
                    "medium": "https://i4.pixiv.net/user-profile/img/2016/03/04/03/36/52/10618279_185e2feb159567d1883e794433f53e05_170.jpg"
                }, 
                "is_followed": false
            }, 
            "tags": [
                {
                    "name": "Re:ゼロから始める異世界生活"
                }, 
                {
                    "name": "エミリア"
                }, 
                {
                    "name": "エミリア(リゼロ)"
                }, 
                {
                    "name": "EMT"
                }, 
                {
                    "name": "リゼロ1000users入り"
                }
            ], 
            "tools": [
                "CLIP STUDIO PAINT"
            ], 
            "create_date": "2016-07-16T12:13:10+09:00", 
            "page_count": 1, 
            "width": 781, 
            "height": 1100, 
            "sanity_level": 2, 
            "meta_single_page": {
                "original_image_url": "https://i1.pixiv.net/img-original/img/2016/07/16/12/13/10/57928968_p0.jpg"
            }, 
            "meta_pages": [ ], 
            "total_view": 13279, 
            "total_bookmarks": 1726, 
            "is_bookmarked": false, 
            "visible": true
        }, 
        {
            "id": 57913295, 
            "title": "エミリア", 
            "type": "illust", 
            "image_urls": {
                "square_medium": "https://i.pximg.net/c/360x360_70/img-master/img/2016/07/18/20/05/29/57913295_p0_square1200.jpg", 
                "medium": "https://i.pximg.net/c/540x540_70/img-master/img/2016/07/18/20/05/29/57913295_p0_master1200.jpg", 
                "large": "https://i.pximg.net/c/600x1200_90/img-master/img/2016/07/18/20/05/29/57913295_p0_master1200.jpg"
            }, 
            "caption": "练习", 
            "restrict": 0, 
            "user": {
                "id": 4831812, 
                "name": "LTT1989", 
                "account": "ltt_challenger", 
                "profile_image_urls": {
                    "medium": "https://i4.pixiv.net/user-profile/img/2015/03/02/00/11/21/9039211_f8e48724eae5ca31ea98af0833a4952e_170.jpg"
                }, 
                "is_followed": false
            }, 
            "tags": [
                {
                    "name": "Re:ゼロから始める異世界生活"
                }, 
                {
                    "name": "エミリア"
                }, 
                {
                    "name": "Emilia"
                }, 
                {
                    "name": "リゼロ100users入り"
                }, 
                {
                    "name": "EMT"
                }
            ], 
            "tools": [
                "Photoshop", 
                "SAI"
            ], 
            "create_date": "2016-07-15T12:10:53+09:00", 
            "page_count": 3, 
            "width": 2500, 
            "height": 3028, 
            "sanity_level": 2, 
            "meta_single_page": { }, 
            "meta_pages": [
                {
                    "image_urls": {
                        "square_medium": "https://i.pximg.net/c/360x360_70/img-master/img/2016/07/18/20/05/29/57913295_p0_square1200.jpg", 
                        "medium": "https://i.pximg.net/c/540x540_70/img-master/img/2016/07/18/20/05/29/57913295_p0_master1200.jpg", 
                        "large": "https://i.pximg.net/c/600x1200_90/img-master/img/2016/07/18/20/05/29/57913295_p0_master1200.jpg", 
                        "original": "https://i4.pixiv.net/img-original/img/2016/07/18/20/05/29/57913295_p0.jpg"
                    }
                }, 
                {
                    "image_urls": {
                        "square_medium": "https://i.pximg.net/c/360x360_70/img-master/img/2016/07/18/20/05/29/57913295_p1_square1200.jpg", 
                        "medium": "https://i.pximg.net/c/540x540_70/img-master/img/2016/07/18/20/05/29/57913295_p1_master1200.jpg", 
                        "large": "https://i.pximg.net/c/600x1200_90/img-master/img/2016/07/18/20/05/29/57913295_p1_master1200.jpg", 
                        "original": "https://i4.pixiv.net/img-original/img/2016/07/18/20/05/29/57913295_p1.jpg"
                    }
                }, 
                {
                    "image_urls": {
                        "square_medium": "https://i.pximg.net/c/360x360_70/img-master/img/2016/07/18/20/05/29/57913295_p2_square1200.jpg", 
                        "medium": "https://i.pximg.net/c/540x540_70/img-master/img/2016/07/18/20/05/29/57913295_p2_master1200.jpg", 
                        "large": "https://i.pximg.net/c/600x1200_90/img-master/img/2016/07/18/20/05/29/57913295_p2_master1200.jpg", 
                        "original": "https://i4.pixiv.net/img-original/img/2016/07/18/20/05/29/57913295_p2.jpg"
                    }
                }
            ], 
            "total_view": 3846, 
            "total_bookmarks": 367, 
            "is_bookmarked": false, 
            "visible": true
        }
    ], 
    "next_url": "https://app-api.pixiv.net/v1/search/illust?search_target=partial_match_for_tags&sort=date_desc&word=emt&filter=for_ios&offset=30"
}
  1. search_target: partial_match_for_tags标签部分一致; exact_match_for_tags标签完全一致; title_and_caption标题说明文
  2. sort: date_desc按更新顺序; date_asc按旧到新顺序
  3. duration: within_last_day最近1天; within_last_week最近一周; within_last_month最近1个月

搜索 - novel

GET /v1/search/novel?search_target=text&sort=date_desc&word=%E9%A2%A8%E6%99%AF&include_translated_tag_results=true&merge_plain_keyword_results=true HTTP/1.1
Host: app-api.pixiv.net
App-Version: 7.8.1
App-OS: ios
Accept-Encoding: br, gzip, deflate
Accept-Language: zh-cn
Accept: */*
User-Agent: PixivIOSApp/7.8.1 (iOS 12.2; iPhone7,1)
Connection: keep-alive
App-OS-Version: 12.2

HTTP/1.1 200 OK
Server: nginx
Date: Sat, 06 Jun 2020 01:09:49 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 52931
Connection: keep-alive
X-UserId: 7314824
Vary: X-UserId,Accept-Encoding
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000

{
  "novels": [
    {
      "id": 8869229,
      "title": "長手袋を外す日",
      "caption": "いつかは来てしまうその日。<br /><br />Pawooにて、#pawoo_one_work という22時からの1時間で何かしようという企画と、<br />#500字以内ss という縛りの中で、<br />Pawooの企画、#ワンドロ にも参加して、 <br />#長手袋 というお題にて、書いたものです。",
      "restrict": 0,
      "x_restrict": 0,
      "is_original": true,
      "image_urls": {
        "square_medium": "https://s.pximg.net/common/images/novel_thumb/novel_thumb_8_128x128.jpg",
        "medium": "https://s.pximg.net/common/images/novel_thumb/novel_thumb_8_176mw.jpg",
        "large": "https://s.pximg.net/common/images/novel_thumb/novel_thumb_8_240mw.jpg"
      },
      "create_date": "2017-11-03T22:40:16+09:00",
      "tags": [
        {
          "name": "掌編",
          "translated_name": null,
          "added_by_uploaded_user": true
        },
        {
          "name": "オリジナル",
          "translated_name": "原创",
          "added_by_uploaded_user": true
        },
        {
          "name": "長手袋",
          "translated_name": "长手套",
          "added_by_uploaded_user": true
        },
        {
          "name": "メイド",
          "translated_name": "女仆",
          "added_by_uploaded_user": true
        }
      ],
      "page_count": 1,
      "text_length": 453,
      "user": {
        "id": 14347270,
        "name": "大場さやか",
        "account": "sayakaya",
        "profile_image_urls": {
          "medium": "https://i.pximg.net/user-profile/img/2015/05/27/20/41/45/9417457_39654c1d1247156e3e1a850ee08127ec_170.jpg"
        },
        "is_followed": false
      },
      "series": {},
      "is_bookmarked": false,
      "total_bookmarks": 2,
      "total_view": 537,
      "visible": true,
      "total_comments": 0,
      "is_muted": false,
      "is_mypixiv_only": false,
      "is_x_restricted": false
    }
  ],
  "next_url": null,
  "search_span_limit": 31536000
}

# 24小时
GET /v1/search/novel?include_translated_tag_results=true&end_date=2020-06-05&start_date=2020-06-05&sort=date_desc&merge_plain_keyword_results=true&search_target=keyword&word=%E9%A2%A8%E6%99%AF HTTP/1.1
  1. search_target: partial_match_for_tags标签部分一致; exact_match_for_tags标签完全一致; text正文; keyword关键词
  2. 特殊的,所有请求都带上了:merge_plain_keyword_results=true&include_translated_tag_results=true
  3. sort: date_desc按更新顺序; date_asc按旧到新顺序
  4. start_dateend_date:设定筛选时间,最长1年

搜索(旧版)

  1. 按照新顺序: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%A5%B3%E3%81%AE%E5%AD%90&sort=date&profile_image_sizes=px_170x170%2Cpx_50x50&mode=exact_tag&include_sanity_level=true&per_page=30
  2. 旧顺序: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=asc&q=%E5%A5%B3%E3%81%AE%E5%AD%90&sort=date&profile_image_sizes=px_170x170%2Cpx_50x50&mode=exact_tag&include_sanity_level=true&per_page=30
  3. 人气顺序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%A5%B3%E3%81%AE%E5%AD%90&sort=popular&profile_image_sizes=px_170x170%2Cpx_50x50&mode=exact_tag&include_sanity_level=true&per_page=30

自动补全

GET https://app-api.pixiv.net/v1/search/autocomplete?word=emt HTTP/1.1
Host: app-api.pixiv.net
Accept: */*
Connection: keep-alive
Proxy-Connection: keep-alive
App-OS-Version: 9.3.3
App-OS: ios
User-Agent: PixivIOSApp/6.0.8 (iOS 9.3.3; iPhone6,1)
Accept-Language: zh-cn
App-Version: 6.0.8
Accept-Encoding: gzip, deflate

HTTP/1.1 200 OK
Server: nginx
Date: Wed, 27 Jul 2016 14:36:45 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 41
Connection: keep-alive
X-Content-Type-Options: nosniff
Vary: Accept-Encoding

{"search_auto_complete_keywords":["EMT"]}