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

Sniffer / Sniffer2

  1. POST /me/favorite_works
  2. DELETE /me/favorite_works
  3. POST /me/favorite-users
  4. DELETE /me/favorite-users
  5. POST /me/viewed_works
  6. GET /me/following/works
  7. GET /me/friends/works
  8. GET /works
  9. GET /me/feeds

POST /me/favorite_works

POST https://public-api.secure.pixiv.net/v1/me/favorite_works HTTP/1.1
Host: public-api.secure.pixiv.net
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Content-Length: 33
Connection: keep-alive
Proxy-Connection: keep-alive
Accept: */*
User-Agent: PixivIOSApp/5.8.3
Referer: http://spapi.pixiv-app.net/
Authorization: Bearer nGdPJ7Yc-F_rfxk2J5mY0rKgNEYlSFi_2LiBMR_pZXg
Accept-Language: en-us

work_id=47357645&publicity=public
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 02 Dec 2015 11:44:44 GMT
Content-Type: application/json
Content-Length: 128
Connection: keep-alive
X-Content-Type-Options: nosniff
Vary: Accept-Encoding

{"status":"success","response":[{"id":2027070301,"work":{"id":47357645},"comment":"","tags":[],"publicity":"public"}],"count":1}

DELETE /me/favorite_works

DELETE https://public-api.secure.pixiv.net/v1/me/favorite_works?ids=2027046425 HTTP/1.1
Host: public-api.secure.pixiv.net
Accept-Encoding: gzip, deflate
Content-Length: 0
Connection: keep-alive
Proxy-Connection: keep-alive
Accept: */*
User-Agent: PixivIOSApp/5.8.3
Authorization: Bearer nGdPJ7Yc-F_rfxk2J5mY0rKgNEYlSFi_2LiBMR_pZXg
Referer: http://spapi.pixiv-app.net/
Accept-Language: en-us
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 02 Dec 2015 11:38:28 GMT
Content-Type: application/json
Content-Length: 44
Connection: keep-alive
X-Content-Type-Options: nosniff
Vary: Accept-Encoding

{"status":"success","response":[],"count":0}

POST /me/favorite-users

POST https://public-api.secure.pixiv.net/v1/me/favorite-users HTTP/1.1
Host: public-api.secure.pixiv.net
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Content-Length: 40
Connection: keep-alive
Proxy-Connection: keep-alive
Accept: */*
User-Agent: PixivIOSApp/5.8.3
Referer: http://spapi.pixiv-app.net/
Authorization: Bearer nGdPJ7Yc-F_rfxk2J5mY0rKgNEYlSFi_2LiBMR_pZXg
Accept-Language: en-us

publicity=private&target_user_id=6996493
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 02 Dec 2015 11:46:52 GMT
Content-Type: application/json
Content-Length: 184
Connection: keep-alive
X-Content-Type-Options: nosniff
Vary: Accept-Encoding

{"msg":"ok","status":"success","response":[{"id":"0","target_user":{"id":6996493,"name":"Lpip","account":"hamasa00","status":"0"},"user_id":"7314824","publicity":"private"}],"count":1}

DELETE /me/favorite-users

DELETE https://public-api.secure.pixiv.net/v1/me/favorite-users?delete_ids=6996493 HTTP/1.1
Host: public-api.secure.pixiv.net
Accept-Encoding: gzip, deflate
Content-Length: 0
Connection: keep-alive
Proxy-Connection: keep-alive
Accept: */*
User-Agent: PixivIOSApp/5.8.3
Authorization: Bearer nGdPJ7Yc-F_rfxk2J5mY0rKgNEYlSFi_2LiBMR_pZXg
Referer: http://spapi.pixiv-app.net/
Accept-Language: en-us
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 02 Dec 2015 11:47:49 GMT
Content-Type: application/json
Content-Length: 55
Connection: keep-alive
X-Content-Type-Options: nosniff
Vary: Accept-Encoding

{"msg":"ok","status":"success","response":[],"count":0}

POST /me/viewed_works

POST https://public-api.secure.pixiv.net/v1/me/viewed_works HTTP/1.1
Host: public-api.secure.pixiv.net
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Content-Length: 12
Connection: keep-alive
Proxy-Connection: keep-alive
Accept: */*
User-Agent: PixivIOSApp/5.8.3
Referer: http://spapi.pixiv-app.net/
Authorization: Bearer nGdPJ7Yc-F_rfxk2J5mY0rKgNEYlSFi_2LiBMR_pZXg
Accept-Language: en-us

ids=53817837
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 02 Dec 2015 11:38:37 GMT
Content-Type: application/json
Content-Length: 44
Connection: keep-alive
X-Content-Type-Options: nosniff
Vary: Accept-Encoding

{"status":"success","response":[],"count":0}

GET /me/following/works (new -> Follow)

GET /me/friends/works (new -> My pixiv)

GET https://public-api.secure.pixiv.net/v1/me/friends/works.json?include_sanity_level=true&profile_image_sizes=px_170x170%2Cpx_50x50&per_page=30&include_stats=true&image_sizes=px_128x128%2Cpx_480mw%2Clarge&page=1 HTTP/1.1
Host: public-api.secure.pixiv.net
Accept-Encoding: gzip, deflate
Connection: keep-alive
Proxy-Connection: keep-alive
Accept: */*
User-Agent: PixivIOSApp/5.8.3
Authorization: Bearer nGdPJ7Yc-F_rfxk2J5mY0rKgNEYlSFi_2LiBMR_pZXg
Referer: http://spapi.pixiv-app.net/
Accept-Language: en-us

GET /works (new -> Everyone)

GET https://public-api.secure.pixiv.net/v1/works.json?include_sanity_level=true&profile_image_sizes=px_170x170%2Cpx_50x50&per_page=30&include_stats=true&image_sizes=px_128x128%2Cpx_480mw%2Clarge&page=1 HTTP/1.1
Host: public-api.secure.pixiv.net
Accept-Encoding: gzip, deflate
Connection: keep-alive
Proxy-Connection: keep-alive
Accept: */*
User-Agent: PixivIOSApp/5.8.3
Authorization: Bearer nGdPJ7Yc-F_rfxk2J5mY0rKgNEYlSFi_2LiBMR_pZXg
Referer: http://spapi.pixiv-app.net/
Accept-Language: en-us

GET /me/feeds (new -> Activity)

GET https://public-api.secure.pixiv.net/v1/me/feeds.json?type=touch_nottext&relation=all&show_r18=1 HTTP/1.1
Host: public-api.secure.pixiv.net
Accept-Encoding: gzip, deflate
Connection: keep-alive
Proxy-Connection: keep-alive
Accept: */*
User-Agent: PixivIOSApp/5.8.3
Authorization: Bearer nGdPJ7Yc-F_rfxk2J5mY0rKgNEYlSFi_2LiBMR_pZXg
Referer: http://spapi.pixiv-app.net/
Accept-Language: en-us