{
  "x402Version": 2,
  "id": 72289,
  "slug": "saylorinnovations-api-dev-cdn-stats",
  "resource": "https://saylorinnovations.com/api/dev/cdn-stats",
  "description": "jsDelivr CDN usage for an npm package over 30 days - total and daily hits, peak day, rank among all packages and npm, bandwidth and daily series",
  "type": "http",
  "serviceName": "Saylor Innovations Data Desk",
  "mimeType": "application/json",
  "resourceType": "API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "So11111111111111111111111111111111111111112",
      "amount": "95877",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object",
    "properties": {
      "package": {
        "type": "string",
        "description": "npm package name the stats are for"
      },
      "period": {
        "type": "string",
        "description": "Period the figures cover"
      },
      "hits_total": {
        "type": "number",
        "description": "Hits total"
      },
      "hits_per_day_avg": {
        "type": [
          "number",
          "null"
        ],
        "description": "Hits per day avg"
      },
      "peak_day": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "hits": {
            "description": "Requests on the busiest day",
            "type": [
              "number",
              "null"
            ]
          },
          "date": {
            "type": [
              "string",
              "null"
            ],
            "description": "Date (YYYY-MM-DD)"
          }
        },
        "description": "Day with the highest value"
      },
      "rank_all_packages": {
        "type": [
          "number",
          "null"
        ],
        "description": "Rank all packages"
      },
      "rank_among_npm": {
        "type": [
          "number",
          "null"
        ],
        "description": "Rank among npm"
      },
      "daily": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "hits": {
              "description": "Requests on that day",
              "type": [
                "number",
                "null"
              ]
            },
            "date": {
              "description": "Date (YYYY-MM-DD)"
            }
          }
        },
        "description": "Daily values"
      },
      "note": {
        "type": "string",
        "description": "Caveat or context for reading the result"
      },
      "source": {
        "type": "string",
        "description": "Data source the values come from"
      },
      "bandwidth_gb": {
        "type": [
          "number",
          "null"
        ],
        "description": "Bandwidth gb"
      },
      "bandwidth_rank": {
        "type": [
          "number",
          "null"
        ],
        "description": "Bandwidth rank"
      }
    },
    "required": [
      "package",
      "hits_total",
      "daily"
    ]
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "package": "react"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "package": "react",
            "period": "last 30 days",
            "hits_total": 218667847,
            "hits_per_day_avg": 7288928,
            "peak_day": {
              "date": "2026-10-13",
              "hits": 8003800
            },
            "rank_all_packages": 171,
            "rank_among_npm": 138,
            "bandwidth_gb": 1204,
            "bandwidth_rank": 1178,
            "daily": [
              {
                "date": "2026-09-16",
                "hits": 7610494
              },
              {
                "date": "2026-09-17",
                "hits": 7722999
              },
              {
                "date": "2026-09-18",
                "hits": 7475997
              },
              {
                "date": "2026-09-19",
                "hits": 6207487
              },
              {
                "date": "2026-09-20",
                "hits": 5972298
              },
              {
                "date": "2026-09-21",
                "hits": 7340167
              },
              {
                "date": "2026-09-22",
                "hits": 7765306
              },
              {
                "date": "2026-09-23",
                "hits": 7971934
              },
              {
                "date": "2026-09-24",
                "hits": 7604684
              },
              {
                "date": "2026-09-25",
                "hits": 7351553
              },
              {
                "date": "2026-09-26",
                "hits": 6323134
              },
              {
                "date": "2026-09-27",
                "hits": 6402938
              },
              {
                "date": "2026-09-28",
                "hits": 7780875
              },
              {
                "date": "2026-09-29",
                "hits": 7939445
              },
              {
                "date": "2026-09-30",
                "hits": 7883498
              },
              {
                "date": "2026-10-01",
                "hits": 7770320
              },
              {
                "date": "2026-10-02",
                "hits": 7541672
              },
              {
                "date": "2026-10-03",
                "hits": 6920438
              },
              {
                "date": "2026-10-04",
                "hits": 5959046
              },
              {
                "date": "2026-10-05",
                "hits": 7466094
              },
              {
                "date": "2026-10-06",
                "hits": 7625274
              },
              {
                "date": "2026-10-07",
                "hits": 7512437
              },
              {
                "date": "2026-10-08",
                "hits": 7461532
              },
              {
                "date": "2026-10-09",
                "hits": 7643394
              },
              {
                "date": "2026-10-10",
                "hits": 6364003
              },
              {
                "date": "2026-10-11",
                "hits": 6330275
              },
              {
                "date": "2026-10-12",
                "hits": 7195062
              },
              {
                "date": "2026-10-13",
                "hits": 8003800
              },
              {
                "date": "2026-10-14",
                "hits": 7643098
              },
              {
                "date": "2026-10-15",
                "hits": 7878593
              }
            ],
            "note": "Requests served by the jsDelivr CDN only, so it measures browser and CDN usage, not npm installs.",
            "source": "jsDelivr"
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {
                  "package": {
                    "type": "string",
                    "description": "npm package name such as react or @scope/name"
                  }
                },
                "required": [
                  "package"
                ]
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "package": {
                    "type": "string",
                    "description": "npm package name the stats are for"
                  },
                  "period": {
                    "type": "string",
                    "description": "Period the figures cover"
                  },
                  "hits_total": {
                    "type": "number",
                    "description": "Hits total"
                  },
                  "hits_per_day_avg": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Hits per day avg"
                  },
                  "peak_day": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "hits": {
                        "description": "Requests on the busiest day",
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Date (YYYY-MM-DD)"
                      }
                    },
                    "description": "Day with the highest value"
                  },
                  "rank_all_packages": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Rank all packages"
                  },
                  "rank_among_npm": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Rank among npm"
                  },
                  "daily": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "hits": {
                          "description": "Requests on that day",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "date": {
                          "description": "Date (YYYY-MM-DD)"
                        }
                      }
                    },
                    "description": "Daily values"
                  },
                  "note": {
                    "type": "string",
                    "description": "Caveat or context for reading the result"
                  },
                  "source": {
                    "type": "string",
                    "description": "Data source the values come from"
                  },
                  "bandwidth_gb": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Bandwidth gb"
                  },
                  "bandwidth_rank": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Bandwidth rank"
                  }
                },
                "required": [
                  "package",
                  "hits_total",
                  "daily"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "how popular is this npm package",
    "jsdelivr hits for react",
    "cdn usage rank of a javascript",
    "package traffic last 30 days",
    "jsdelivr bandwidth stats"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:01.876Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations Data Desk",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "package": {
          "type": "string",
          "description": "npm package name such as react or @scope/name"
        }
      },
      "required": [
        "package"
      ]
    },
    "exampleResponse": {
      "package": "react",
      "period": "last 30 days",
      "hits_total": 218667847,
      "hits_per_day_avg": 7288928,
      "peak_day": {
        "date": "2026-10-13",
        "hits": 8003800
      },
      "rank_all_packages": 171,
      "rank_among_npm": 138,
      "bandwidth_gb": 1204,
      "bandwidth_rank": 1178,
      "daily": [
        {
          "date": "2026-09-16",
          "hits": 7610494
        },
        {
          "date": "2026-09-17",
          "hits": 7722999
        },
        {
          "date": "2026-09-18",
          "hits": 7475997
        },
        {
          "date": "2026-09-19",
          "hits": 6207487
        },
        {
          "date": "2026-09-20",
          "hits": 5972298
        },
        {
          "date": "2026-09-21",
          "hits": 7340167
        },
        {
          "date": "2026-09-22",
          "hits": 7765306
        },
        {
          "date": "2026-09-23",
          "hits": 7971934
        },
        {
          "date": "2026-09-24",
          "hits": 7604684
        },
        {
          "date": "2026-09-25",
          "hits": 7351553
        },
        {
          "date": "2026-09-26",
          "hits": 6323134
        },
        {
          "date": "2026-09-27",
          "hits": 6402938
        },
        {
          "date": "2026-09-28",
          "hits": 7780875
        },
        {
          "date": "2026-09-29",
          "hits": 7939445
        },
        {
          "date": "2026-09-30",
          "hits": 7883498
        },
        {
          "date": "2026-10-01",
          "hits": 7770320
        },
        {
          "date": "2026-10-02",
          "hits": 7541672
        },
        {
          "date": "2026-10-03",
          "hits": 6920438
        },
        {
          "date": "2026-10-04",
          "hits": 5959046
        },
        {
          "date": "2026-10-05",
          "hits": 7466094
        },
        {
          "date": "2026-10-06",
          "hits": 7625274
        },
        {
          "date": "2026-10-07",
          "hits": 7512437
        },
        {
          "date": "2026-10-08",
          "hits": 7461532
        },
        {
          "date": "2026-10-09",
          "hits": 7643394
        },
        {
          "date": "2026-10-10",
          "hits": 6364003
        },
        {
          "date": "2026-10-11",
          "hits": 6330275
        },
        {
          "date": "2026-10-12",
          "hits": 7195062
        },
        {
          "date": "2026-10-13",
          "hits": 8003800
        },
        {
          "date": "2026-10-14",
          "hits": 7643098
        },
        {
          "date": "2026-10-15",
          "hits": 7878593
        }
      ],
      "note": "Requests served by the jsDelivr CDN only, so it measures browser and CDN usage, not npm installs.",
      "source": "jsDelivr"
    },
    "parameterLocation": "query",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "package": "react"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "package": "react",
              "period": "last 30 days",
              "hits_total": 218667847,
              "hits_per_day_avg": 7288928,
              "peak_day": {
                "date": "2026-10-13",
                "hits": 8003800
              },
              "rank_all_packages": 171,
              "rank_among_npm": 138,
              "bandwidth_gb": 1204,
              "bandwidth_rank": 1178,
              "daily": [
                {
                  "date": "2026-09-16",
                  "hits": 7610494
                },
                {
                  "date": "2026-09-17",
                  "hits": 7722999
                },
                {
                  "date": "2026-09-18",
                  "hits": 7475997
                },
                {
                  "date": "2026-09-19",
                  "hits": 6207487
                },
                {
                  "date": "2026-09-20",
                  "hits": 5972298
                },
                {
                  "date": "2026-09-21",
                  "hits": 7340167
                },
                {
                  "date": "2026-09-22",
                  "hits": 7765306
                },
                {
                  "date": "2026-09-23",
                  "hits": 7971934
                },
                {
                  "date": "2026-09-24",
                  "hits": 7604684
                },
                {
                  "date": "2026-09-25",
                  "hits": 7351553
                },
                {
                  "date": "2026-09-26",
                  "hits": 6323134
                },
                {
                  "date": "2026-09-27",
                  "hits": 6402938
                },
                {
                  "date": "2026-09-28",
                  "hits": 7780875
                },
                {
                  "date": "2026-09-29",
                  "hits": 7939445
                },
                {
                  "date": "2026-09-30",
                  "hits": 7883498
                },
                {
                  "date": "2026-10-01",
                  "hits": 7770320
                },
                {
                  "date": "2026-10-02",
                  "hits": 7541672
                },
                {
                  "date": "2026-10-03",
                  "hits": 6920438
                },
                {
                  "date": "2026-10-04",
                  "hits": 5959046
                },
                {
                  "date": "2026-10-05",
                  "hits": 7466094
                },
                {
                  "date": "2026-10-06",
                  "hits": 7625274
                },
                {
                  "date": "2026-10-07",
                  "hits": 7512437
                },
                {
                  "date": "2026-10-08",
                  "hits": 7461532
                },
                {
                  "date": "2026-10-09",
                  "hits": 7643394
                },
                {
                  "date": "2026-10-10",
                  "hits": 6364003
                },
                {
                  "date": "2026-10-11",
                  "hits": 6330275
                },
                {
                  "date": "2026-10-12",
                  "hits": 7195062
                },
                {
                  "date": "2026-10-13",
                  "hits": 8003800
                },
                {
                  "date": "2026-10-14",
                  "hits": 7643098
                },
                {
                  "date": "2026-10-15",
                  "hits": 7878593
                }
              ],
              "note": "Requests served by the jsDelivr CDN only, so it measures browser and CDN usage, not npm installs.",
              "source": "jsDelivr"
            }
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "input": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "GET"
                  ]
                },
                "queryParams": {
                  "type": "object",
                  "properties": {
                    "package": {
                      "type": "string",
                      "description": "npm package name such as react or @scope/name"
                    }
                  },
                  "required": [
                    "package"
                  ]
                }
              },
              "required": [
                "type",
                "method"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "properties": {
                    "package": {
                      "type": "string",
                      "description": "npm package name the stats are for"
                    },
                    "period": {
                      "type": "string",
                      "description": "Period the figures cover"
                    },
                    "hits_total": {
                      "type": "number",
                      "description": "Hits total"
                    },
                    "hits_per_day_avg": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Hits per day avg"
                    },
                    "peak_day": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "hits": {
                          "description": "Requests on the busiest day",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "date": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Date (YYYY-MM-DD)"
                        }
                      },
                      "description": "Day with the highest value"
                    },
                    "rank_all_packages": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Rank all packages"
                    },
                    "rank_among_npm": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Rank among npm"
                    },
                    "daily": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "hits": {
                            "description": "Requests on that day",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "date": {
                            "description": "Date (YYYY-MM-DD)"
                          }
                        }
                      },
                      "description": "Daily values"
                    },
                    "note": {
                      "type": "string",
                      "description": "Caveat or context for reading the result"
                    },
                    "source": {
                      "type": "string",
                      "description": "Data source the values come from"
                    },
                    "bandwidth_gb": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Bandwidth gb"
                    },
                    "bandwidth_rank": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Bandwidth rank"
                    }
                  },
                  "required": [
                    "package",
                    "hits_total",
                    "daily"
                  ]
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/dev/cdn-stats?package=react",
        "expectedStatus": 402
      }
    ],
    "cacheTtlSeconds": 0,
    "capabilities": [],
    "noAccountRequired": true,
    "noApiKeyRequired": true,
    "sideEffects": "Paid calls settle the advertised payment; see the provider contract for execution behavior.",
    "payment": {
      "protocol": "x402",
      "settlement": "direct-to-provider"
    },
    "provider": {
      "name": "Saylor Innovations",
      "host": "saylorinnovations.com",
      "manifestUrl": "https://saylorinnovations.com/.well-known/x402.json"
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "saylorinnovations.com",
    "manifest_name": "Saylor Innovations Knowledge Base",
    "source": "submitted",
    "source_manifest_url": "https://saylorinnovations.com/.well-known/x402.json",
    "submitted_at": "2026-10-26T05:52:02.113Z"
  },
  "exampleResponse": {
    "package": "string",
    "period": "string",
    "hits_total": 0,
    "hits_per_day_avg": 0,
    "peak_day": {
      "hits": 0,
      "date": "string"
    },
    "rank_all_packages": 0,
    "rank_among_npm": 0,
    "daily": [
      {
        "hits": 0,
        "date": null
      }
    ],
    "note": "string",
    "source": "string",
    "bandwidth_gb": 0,
    "bandwidth_rank": 0
  }
}