返回 pixiv.daily-ranking
PUBLISHED CONTRACT

Pixiv 日榜快照 v2

返回 Pixiv 综合(overall)、插画(illust)、漫画(manga)三类日榜中的一类当前快照。输入指定榜单类型与条数上限;输出为名次、作品标题、作者、作品链接与缩略图 artifact 摘要。快照不可变:同一快照内重复调用返回完全相同的结果;刷新失败时保留最后一份成功快照,不以空数据覆盖。缩略图经内容寻址缓存后由本服务分发,不转发站外图床地址。

不可变发布
pixiv.daily-rankingv2contract 57589d990e…51356510 pointsPUBLISHED
调用费用10 points
执行适配器vetted.http-json/v1
请求 / 响应上限64.0 KiB / 256.0 KiB
执行来源受审核 Provider
发布证据2026年9月4日 16:53
Service code
pixiv.daily-ranking
Exact version
v2
Contract digest
57589d990e…513565
调用费用
10 points
执行类型
受审核 Provider
请求契约只读
{
  "adapterContractDigest": "57589d990e41e1c48dd21213ec2e42cc67fba465e98d2b63ca6f6f8604513565",
  "adapterRef": "vetted.http-json/v1",
  "artifactContractDigest": "1faac1330be4aab8ae78c83ef37f9f2f5491c450fcc427e5b3fcadcedb277449",
  "artifactContractRef": "vetted.artifact-http/v1",
  "installationConfigSchema": {
    "type": "object",
    "properties": {
      "request": {
        "type": "object",
        "properties": {
          "content": {
            "type": "string",
            "enum": [
              "overall",
              "illust",
              "manga"
            ]
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50
          }
        },
        "required": [
          "content",
          "limit"
        ],
        "additionalProperties": false
      },
      "presentation": {
        "type": "object",
        "properties": {
          "theme": {
            "type": "string",
            "enum": [
              "paper",
              "ink",
              "clay"
            ]
          }
        },
        "required": [
          "theme"
        ],
        "additionalProperties": false
      }
    },
    "required": [
      "request",
      "presentation"
    ],
    "additionalProperties": false
  },
  "installationConfigSchemaDigest": "f145e77a4b6ac24d3175946aeafe841c571069c72cc415bb3699d20b9f3b3fb4",
  "presentationContractDigest": "d4560129c16ae70219e6db16e2a8522049aa8c4a10213a07e38921e97012c6b2",
  "presentationContractRef": "ranking-widget/v1",
  "providerOutcomes": [
    "SUCCEEDED",
    "DEFINED_FAILURE",
    "RETRYABLE_BEFORE_ACCEPT",
    "UNKNOWN_OUTCOME"
  ],
  "requestMaxBytes": 65536,
  "requestSchema": {
    "type": "object",
    "properties": {
      "content": {
        "type": "string",
        "enum": [
          "overall",
          "illust",
          "manga"
        ]
      },
      "limit": {
        "type": "integer",
        "minimum": 1,
        "maximum": 50
      }
    },
    "required": [
      "content",
      "limit"
    ],
    "additionalProperties": false
  },
  "requestSchemaDigest": "8224f7366d0ced1d1d4e3ab9776b3129b1dabea457ad6c3e537ee16c580b2f0d",
  "requestShape": {
    "additionalProperties": true,
    "type": "object"
  },
  "responseMaxBytes": 262144,
  "resultSchema": {
    "type": "object",
    "properties": {
      "snapshot": {
        "type": "object",
        "properties": {
          "content": {
            "type": "string",
            "enum": [
              "overall",
              "illust",
              "manga"
            ]
          },
          "rankingDate": {
            "type": "string",
            "minLength": 10,
            "maxLength": 10
          },
          "publishedAt": {
            "type": "string",
            "minLength": 20,
            "maxLength": 40
          },
          "digest": {
            "type": "string",
            "minLength": 64,
            "maxLength": 64
          }
        },
        "required": [
          "content",
          "rankingDate",
          "publishedAt",
          "digest"
        ],
        "additionalProperties": false
      },
      "items": {
        "type": "array",
        "minItems": 1,
        "maxItems": 50,
        "items": {
          "type": "object",
          "properties": {
            "position": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50
            },
            "artworkId": {
              "type": "integer",
              "minimum": 1
            },
            "artworkUrl": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2048
            },
            "title": {
              "type": "string",
              "maxLength": 512
            },
            "userName": {
              "type": "string",
              "maxLength": 256
            },
            "rank": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500
            },
            "yesterdayRank": {
              "type": "integer",
              "minimum": 0
            },
            "thumbnailArtifactId": {
              "type": "string",
              "minLength": 71,
              "maxLength": 71
            }
          },
          "required": [
            "position",
            "artworkId",
            "artworkUrl",
            "title",
            "userName",
            "rank",
            "yesterdayRank",
            "thumbnailArtifactId"
          ],
          "additionalProperties": false
        }
      },
      "artifacts": {
        "type": "array",
        "minItems": 1,
        "maxItems": 50,
        "items": {
          "type": "object",
          "properties": {
            "artifactId": {
              "type": "string",
              "minLength": 71,
              "maxLength": 71
            },
            "sha256": {
              "type": "string",
              "minLength": 64,
              "maxLength": 64
            },
            "contentType": {
              "type": "string",
              "enum": [
                "image/jpeg",
                "image/png"
              ]
            },
            "contentLength": {
              "type": "integer",
              "minimum": 1,
              "maximum": 2097152
            },
            "width": {
              "type": "integer",
              "minimum": 1,
              "maximum": 10000
            },
            "height": {
              "type": "integer",
              "minimum": 1,
              "maximum": 10000
            }
          },
          "required": [
            "artifactId",
            "sha256",
            "contentType",
            "contentLength",
            "width",
            "height"
          ],
          "additionalProperties": false
        }
      }
    },
    "required": [
      "snapshot",
      "items",
      "artifacts"
    ],
    "additionalProperties": false
  },
  "resultSchemaDigest": "87a62e3ce2d5f735375edf1ca3d1669a3e9a186e9e5ffe74e799b9298111d881",
  "serviceCode": "pixiv.daily-ranking",
  "version": "v2"
}
需要兼容 Consumer App Installation

此版本包含私有 artifact companion,不提供 HUMAN 直接调用。管理员应在受信 Consumer App 中选择这一 exact Publication。

ranking-widget/v1
正在连接 ZaunEkko Account…