api

API Reference

REST endpoints for extension risk data, with authentication, plans and examples

RiskyPlugins Team
Version v1
#api#reference#endpoints

API Reference

The REST API returns the same risk data the website shows, as JSON. Every endpoint below is live. If a call returns Endpoint not found, the path is wrong; if it returns Unauthorized, the key is missing or invalid.

Base URL

https://riskyplugins.com/api/v1

Authentication

Every data endpoint needs an API key. Create one under Profile -> API Keys and send it as a bearer token:

Authorization: Bearer YOUR_API_KEY

X-API-Key: YOUR_API_KEY works too. Without a key the API answers 401 Unauthorized.

Plans

The API is a paid product. The free plan covers the website and browser extension only: it cannot create API keys, and calls with a free key return 403.

Plan API calls per day API keys
Pro 10,000 10
Enterprise Unlimited Unlimited

REST and remote MCP calls count against the same daily quota per key. Calls beyond it return 429 Too Many Requests until midnight UTC; every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset. There are no overage charges. Enterprise also covers custom quotas, SLAs and deployment options. See Pricing, or contact us for Enterprise.

Quick start: score one extension

Two calls take a store URL to a risk verdict.

1. Resolve the store URL to our ID.

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://riskyplugins.com/api/v1/extension/lookup?url=https://chromewebstore.google.com/detail/kbfnbcaeplbcioakkpcpgfkobkghlhen"
{
	"store": "chrome",
	"extension_id": "kbfnbcaeplbcioakkpcpgfkobkghlhen",
	"uuid": "224caf9b-16b7-5218-ad1e-2a90bdbf29ee",
	"canonical_url": "https://chromewebstore.google.com/detail/kbfnbcaeplbcioakkpcpgfkobkghlhen"
}

2. Fetch the scorecard.

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://riskyplugins.com/api/v1/enhanced-scorecard/224caf9b-16b7-5218-ad1e-2a90bdbf29ee"
{
	"uuid": "224caf9b-16b7-5218-ad1e-2a90bdbf29ee",
	"extension_id": "kbfnbcaeplbcioakkpcpgfkobkghlhen",
	"extension_type": "chrome",
	"version": "14.1343.0",
	"risk_score": 0,
	"trust_score": 100,
	"confidence_score": 0.5,
	"risk_category": "MINIMAL",
	"last_scanned": "2026-10-31T04:06:36Z",
	"has_malware_indicators": false,
	"has_exposed_secrets": false,
	"has_critical_vulns": false,
	"external_threat_flag": false,
	"findings_summary": {
		"total_findings": "0",
		"by_category": {
			"malware": 0,
			"malware-signature": 0,
			"ioc": 0,
			"network": 0,
			"obfuscation": 0,
			"secret": 0,
			"dependency": 0,
			"manifest-analysis": 0,
			"tool-poisoning": 0,
			"code-smell": 0
		},
		"by_severity": { "critical": 0, "high": 0, "medium": 0, "low": 0, "info": 0 },
		"threat_indicators": { "malware": "0", "ioc": "0", "network": "0" },
		"metadata": {}
	}
}

risk_score runs 0 to 100, higher is riskier. risk_category is derived from it:

Category Score
CRITICAL 85 - 100
HIGH 65 - 84
MEDIUM 40 - 64
LOW 20 - 39
MINIMAL 0 - 19

For a procurement gate, risk_category, has_malware_indicators, has_exposed_secrets and external_threat_flag are the fields to decide on. Add ?include_raw=true to get every individual finding.

Identifiers

  • uuid: our stable ID for an extension, the same across versions. Use /extension/lookup to get it from a store URL, or read it from any extension page URL on the site.
  • store: one of chrome, edge, firefox, vscode, openvsx, jetbrains, notepadpp, mcp, n8n, skills, cursor.
  • extension_id: the marketplace's own ID (a 32-letter ID for Chrome and Edge, publisher.name for VS Code, and so on).

Endpoints

All paths are relative to the base URL and need the bearer header.

Resolve and submit

Method Path Purpose
GET /extension/lookup ?url=<store url> -> { store, extension_id, uuid, canonical_url }. No lookup in our database, so it also resolves extensions we have not analyzed yet.
POST /extension/submit Body { "url": "<store url>" }. Queues a scan for an extension we have not seen. Returns { "status": "exists" | "queued", "uuid", "store" }. Chrome and VS Code only. Limited per client per day.
GET /extension/submit/status ?uuid=<uuid> from a submit. Returns { "status": "queued" | "fetched" | "failed" | "expired", "uuid", "store", "error" }. error is set on failed. expired means the request was not picked up within an hour; submit again.

Risk and analysis

Method Path Purpose
GET /enhanced-scorecard/{uuid} Current scorecard (see above). ?include_raw=true adds the findings.
GET /enhanced-scorecard/{uuid}/trend Score history. ?days=30 (default 30).
GET /enhanced-scorecard/{uuid}/comparison Score against the store's distribution and similar extensions.
POST /enhanced-scorecard/bulk Body { "uuids": [...] } or { "extension_ids": [...] }, up to 100 per call. Returns one scorecard per match.
GET /extension/{uuid}/{version}/analysis Full analysis of one version: findings, permissions, dependencies, secrets.
GET /extension/{uuid}/{version}/ai-review ?marketplace=<store>. The written security review for that version, when one exists.
GET /extension/{uuid}/similar Extensions with overlapping code or behaviour.

Extension metadata

Method Path Purpose
GET /extension/{uuid}/info Name, publisher, install count, rating, versions, store links. ?marketplace=<store> when the same UUID exists in several stores.
GET /extension/{uuid}/history Version history with the score at each version.
GET /extension/{uuid}/{marketplace}/versions Versions we hold an archived package for.
GET /extension/{uuid}/{marketplace}/artifact ?version=<version>. The archived package as a zip. 20 downloads per hour per caller.

Publishers

Method Path Purpose
GET /developer/search ?q=<name>. Find a publisher.
GET /developer/{developerId} Publisher profile and aggregate risk.
GET /developer/{developerId}/extensions Everything the publisher ships.
GET /developer/cluster/{developerId} Publisher identities we link to the same operator across stores.

Browse

Method Path Purpose
GET /risk/{level}/extensions Extensions in a tier. level is critical, high, medium, low or minimal.
GET /risk/recent Recently analyzed extensions.
GET /risk/feed Confirmed threats, newest first.
GET /store/{store}/overview Counts and score distribution for one store.
GET /search/extensions/ch ?q=<text>. Full-text search over the catalog.

Watchlist and webhooks

Keys need the matching scope (watchlist:read, watchlist:write, webhook:read, webhook:write), chosen when the key is created.

Method Path Purpose
GET /profile/watchlist Extensions you watch.
POST /profile/watchlist Add one. Body { "extension_uuid": "..." }.
DELETE /profile/watchlist/{uuid} Remove one.
GET /webhooks Your webhooks.
POST /webhooks Body { "url": "https://...", "events": [...] }. The response carries the signing secret once.
POST /webhooks/{id}/test Send a test event.
DELETE /webhooks/{id} Remove it.

Webhook events: risk_score_changed, new_finding, extension_updated. Each delivery is { "id", "type", "timestamp", "data" }; for risk_score_changed, data holds extension_uuid, store, old_score, new_score, old_category, new_category.

Remote MCP

GET  /api/v1/mcp
POST /api/v1/mcp

The same key, sent as a bearer token, drives a hosted MCP server for agent clients. Setup and client snippets are in Remote MCP Setup.

Response codes

Code Meaning
200 Success
400 Missing or malformed parameter
401 No key, or an invalid or revoked key
403 Free plan key, or key lacks the scope for this endpoint
404 Unknown path, or we have no data for that extension or version
429 Daily quota reached
500 Our side. Retry with backoff; persistent failures go to support.

Error bodies are either { "error": "<message>" } or a plain-text message. Branch on the status code, not the body.

SDKs

There is no official SDK. The API is plain JSON over HTTPS; every HTTP client works.

Support

Questions and Enterprise requests go through the contact form. Signed-in users see their exact quota and usage under Profile -> API Guide.