Open Source CDNLookup Files on Open Source CDN

File Lookup on Public CDN

In addition to the Search Tool and API lookup methods, PageCDN allows you to lookup open source files using sha256 hashes. For example, you can use /lookup CDN endpoint that returns a JSON response containing URL of the public file you searched for. This endpoint searches for matching files on the entire Public CDN, including WordPress themes and Plugins, and open source libraries but excluding 'Easy Fonts'.

The benefit of this lookup method is that the responses are accelerated by CDN. However, you are recommended to create a local copy of responses to avoid latency.

Sample lookup request.

GET https://pagecdn.io/lookup/0925e8ad7bd971391a8b1e98be8e87a6971919eb5b60c196485941c3c1df089a

JSON response.

{
    "status": "200",
    "message": "Ok",
    "details": "Success",
    "response": {
        "file_url": "https:\/\/pagecdn.io\/lib\/jquery\/3.4.1\/jquery.min.js"
    }
}