Last updates endpoint

This API endpoint is only available with APIkey (for sponsors).

If you need a list of the last updates (in core, plugins, or themes) there are 3 API routes to check the newest data.

This API routes require an API key.

Last Updates JSON request

Although the query doesn’t require any specific parameters, filters can be applied using the following parameters:

  • since: In an UNIXTIME format, you can request only the information since that moment.

Last Updates JSON response

This will return a JSON with the following format:

Core

{
  "error": 0,
  "message": null,
  "data": [
      {
        "version": "3.9",
        "apiurl": "https://www.wpvulnerability.net/core/3.9/",
        "updated": 123456789
      },
      {
        "version": "4.0",
        "apiurl": "https://www.wpvulnerability.net/core/4.0/",
        "updated": 123456789
      }
  ]
  "updated": 123456789
}

Core last updates JSON description

  • error: If there is an error, the value will be 1. If there is no error, it will be 0.
  • message: In case of error, an information message will be displayed.
  • data: Data information group.
    • data -> version: WordPress version.
    • data -> apiurl: Public API URL.
    • data -> update: Last update (UNIXTIME).
  • update: Last information update (UNIXTIME).

Plugins

{
  "error": 0,
  "message": null,
  "data": [
      {
        "slug": "woocommerce",
        "apiurl": "https://www.wpvulnerability.net/plugin/woocommerce/",
        "updated": 123456789
      },
      {
        "slug": "akismet",
        "apiurl": "https://www.wpvulnerability.net/plugin/akismet/",
        "updated": 123456789
      }
  ]
  "updated": 123456789
}

Plugins last updates JSON description

  • error: If there is an error, the value will be 1. If there is no error, it will be 0.
  • message: In case of error, an information message will be displayed.
  • data: Data information group.
    • data -> slup: Plugin slug.
    • data -> apiurl: Public API URL.
    • data -> update: Last update (UNIXTIME).
  • update: Last information update (UNIXTIME).

Themes

{
  "error": 0,
  "message": null,
  "data": [
      {
        "slug": "astra",
        "apiurl": "https://www.wpvulnerability.net/theme/astra/",
        "updated": 123456789
      },
      {
        "slug": "elementor",
        "apiurl": "https://www.wpvulnerability.net/plugin/elementor/",
        "updated": 123456789
      }
  ]
  "updated": 123456789
}

Themes last updates JSON description

  • error: If there is an error, the value will be 1. If there is no error, it will be 0.
  • message: In case of error, an information message will be displayed.
  • data: Data information group.
    • data -> slup: Theme slug.
    • data -> apiurl: Public API URL.
    • data -> update: Last update (UNIXTIME).
  • update: Last information update (UNIXTIME).