Skip to main content
GET
/
plugins
/
{slug}
Get plugin details
curl --request GET \
  --url https://registry.wp-content.io/plugins/{slug} \
  --header 'X-API-KEY: <api-key>'
import requests

url = "https://registry.wp-content.io/plugins/{slug}"

headers = {"X-API-KEY": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};

fetch('https://registry.wp-content.io/plugins/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://registry.wp-content.io/plugins/{slug}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://registry.wp-content.io/plugins/{slug}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("X-API-KEY", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://registry.wp-content.io/plugins/{slug}")
.header("X-API-KEY", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://registry.wp-content.io/plugins/{slug}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "name": "My Plugin",
  "slug": "my-plugin",
  "version": "1.0.0",
  "author": "<a href=\"https://example.com\" target=\"_blank\">ACME</a>",
  "author_profile": "https://example.com",
  "short_description": "",
  "rating": 0,
  "num_ratings": 0,
  "active_installs": 0,
  "requires": "",
  "tested": null,
  "requires_php": "",
  "download_link": "https://wp-content-staging.s3.fr-par.scw.cloud/artifacts/plugins/my-plugin/my-plugin-1.0.0-81ae9121fde9f29c489c72dd3d8d9377.zip",
  "icons": {
    "default": "http://localhost:8080/images/icon-placeholder.png"
  },
  "added": "2025-06-11",
  "last_updated": "2025-06-11 9:07am UTC",
  "sections": {
    "description": "<p></p>",
    "changelog": "<h4>1.0.0</h4>\n<p>First release</p>\n<em>Release date : 2025-06-11 09:07:10</em>"
  },
  "versions": {
    "1.0.0": "https://wp-content-staging.s3.fr-par.scw.cloud/artifacts/plugins/my-plugin/my-plugin-1.0.0-81ae9121fde9f29c489c72dd3d8d9377.zip"
  }
}
{
"status": 404,
"error": 404,
"messages": {
"error": "Plugin not found."
}
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

slug
string
required

Slug of plugin

Response

OK

The response is of type object.