Skip to content
Log in

API

Find copies of your Roblox UGC items with one HTTP call.

See it in 35 seconds

Quickstart

Base URL https://ipguard.tech/v1. Every call sends your key as Authorization: Bearer $IPG_KEY.

1. Get a key

Create a key in IP Guard > API keys. The key is shown once: keep it on your server, not in browser code.

Can't open that page? Email secretugcofficial@gmail.com from your account's address.

export IPG_KEY="ipg_live_…"

2. Check it

Free: shows your level and scans left today.

curl https://ipguard.tech/v1/me -H "Authorization: Bearer $IPG_KEY"

3. Scan an item

The body is just the item id or catalog link.

curl "https://ipguard.tech/v1/scans?view=compact&wait=110" \
  -H "Authorization: Bearer $IPG_KEY" \
  -d "127547582020813"

Answer (illustrative; &pretty indents it):

{
  "object": "scan",
  "id": "job_4be0c1d2a9f3e7b65c18",
  "status": "succeeded",
  "complete": true,
  "target": {
    "id": "127547582020813",
    "name": "Viscount of the Federation",
    "url": "https://www.roblox.com/catalog/127547582020813"
  },
  "copies": [
    {
      "id": "9876543210",
      "name": "Viscount Crown",
      "url": "https://www.roblox.com/catalog/9876543210",
      "creator": { "id": "551", "name": "example_seller" },
      "similarity": 98,
      "category": "exact"
    }
  ],
  "review": [
    { "id": "9876543211", "name": "Federation Crown", …, "similarity": 71, "category": "possible" }
  ],
  "warning": null,
  "error": null
}

Reading the answer

categoryListMeaning
exactcopiesYour item, uploaded again.
likelycopiesAlmost certainly copied from yours.
recolorcopiesYour item in different colors.
possiblereviewClose to yours. Check it.
remodelreviewLooks rebuilt from yours.
  • similarity: 0 to 100, higher is closer.
  • complete: false on a finished scan: it stopped before checking everything, so there may be more copies. (It is also false while running.)
  • 202 with "status": "running" is not an error: the scan outlasted wait. Call GET /v1/scans/{id}?view=compact&wait=110 until status is succeeded, failed or canceled. On failure, error says why.
  • Without view=compact you get the full job; each match there has a category too.

Examples

curl "https://ipguard.tech/v1/scans?view=compact&wait=110" \
  -H "Authorization: Bearer $IPG_KEY" \
  -d "https://www.roblox.com/catalog/127547582020813"

# Still "running"? Ask again with its id (waits up to 110 s):
curl "https://ipguard.tech/v1/scans/job_…?view=compact&wait=110" \
  -H "Authorization: Bearer $IPG_KEY"
// Node 18+ (built-in fetch)
const res = await fetch("https://ipguard.tech/v1/scans?view=compact&wait=110", {
  method: "POST",
  headers: { Authorization: `Bearer ${process.env.IPG_KEY}` },
  body: "127547582020813",
});
const scan = await res.json();
for (const c of scan.copies ?? []) console.log(c.category, c.similarity, c.url);
import os, requests

r = requests.post(
    "https://ipguard.tech/v1/scans",
    params={"view": "compact", "wait": 110},
    headers={"Authorization": f"Bearer {os.environ['IPG_KEY']}"},
    data="127547582020813",
    timeout=120,
)
scan = r.json()
for c in scan.get("copies", []):
    print(c["category"], c["similarity"], c["url"])
// Deep scans can take several minutes. Each call waits up to 110 s,
// so this loop makes about one request every two minutes.
const API = "https://ipguard.tech/v1";
const headers = { Authorization: `Bearer ${process.env.IPG_KEY}` };
const call = (path, init) => fetch(API + path, { headers, ...init }).then((r) => r.json());

let scan = await call("/scans?view=compact&wait=110", { method: "POST", body: "127547582020813" });
if (!scan.id) throw new Error(scan.error.message);
while (scan.status === "queued" || scan.status === "running") {
  scan = await call(`/scans/${scan.id}?view=compact&wait=110`);
}
console.log(scan.status, scan.copies, scan.review);

Look up an item

Name, creator and thumbnail. Uses no scans.

curl https://ipguard.tech/v1/items/127547582020813 -H "Authorization: Bearer $IPG_KEY"
→ { "object": "item", "id": "127547582020813", "name": "Viscount of the Federation",
    "creator": { "id": "…", "name": "…" }, "asset_type_id": 8, "thumbnail_url": "…", … }

Compare two items

result.category is exact, likely, possible or null (no match).

curl https://ipguard.tech/v1/compare -H "Authorization: Bearer $IPG_KEY" \
  -d '{"a": "127547582020813", "b": "https://www.roblox.com/catalog/9876543210"}'

List a group's items

Returns data: [{ id, name, created }] to scan.

curl https://ipguard.tech/v1/groups/items -H "Authorization: Bearer $IPG_KEY" \
  -d '{"input": "https://www.roblox.com/groups/14116203", "limit": 50}'

Watch an item

Re-checked daily or weekly; new copies are emailed to you. Needs a Roblox session connected on your Watchlist page.

curl https://ipguard.tech/v1/watchlist -H "Authorization: Bearer $IPG_KEY" \
  -d '{"input": "127547582020813", "frequency": "weekly"}'

Make a proof report

A shareable page for disputes, built from a finished scan.

curl https://ipguard.tech/v1/reports -H "Authorization: Bearer $IPG_KEY" -d '{"job_id": "job_…"}'
→ { "object": "report", "id": "k3f9…", "url": "https://ipguard.tech/r/k3f9…" }

Endpoints

MethodPathWhatLevel
GET/v1/meYour key, level and scans leftFree
POST/v1/scansStart a scanFree
GET/v1/scans/{id}Get a scan; ?wait=N waits for itFree
GET/v1/scansYour recent scansFree
DELETE/v1/scans/{id}Cancel a scanFree
GET/v1/items/{id}Item details (also POST /v1/items/lookup)Free
POST/v1/compareCompare two itemsFree
POST/v1/reportsShareable proof reportFree
GET/v1/historyScan historyPro
POST/v1/groups/itemsA group's or user's itemsCreator
GET POST/v1/watchlistList or add watched itemsCreator
PATCH DELETE/v1/watchlist/{id}Change frequency / enabled, or removeCreator
  • Key: Authorization: Bearer $IPG_KEY, the bare key in Authorization, or X-API-Key.
  • Input: input (or item, url, link) is a catalog link or id. Send JSON, or just the link as the body; scans also read query parameters.
  • Yes/no fields accept true, 1 or yes. Add ?pretty for indented JSON.

Scan options

FieldValues
inputRequired. Item or bundle link, or id.
waittrue = 60 s, or seconds up to 110. Omit for an instant 202.
viewcompact: the short answer.
search_levellow, medium (default), high, veryhigh, or custom with search_custom 50–2000.
typeemote for emotes.
reversetrue: find the original this copies. Pro.
webhook_urlAn https:// URL we POST to when the scan ends. Pro.

Sign in with IP Guard (OAuth)

For apps that act for an IP Guard user, like our Chrome extension. Standard OAuth 2.0 authorization code flow; PKCE (S256) is required. Apps are registered by our team: email us your app name, redirect URIs and scopes.

MethodPathWhat
GET/oauth/authorizeSend the user here to sign in and approve
POST/oauth/tokenSwap a code, or refresh a token
POST/oauth/revokeSign out: revoke a token (always 200)
GET/oauth/userinfosub, name, email, plan, picture
GET/.well-known/oauth-authorization-serverDiscovery metadata
// 1. Send the user to IP Guard (PKCE S256)
const b64url = (b) => btoa(String.fromCharCode(...new Uint8Array(b)))
  .replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
const verifier = b64url(crypto.getRandomValues(new Uint8Array(32)));
const challenge = b64url(await crypto.subtle.digest("SHA-256", new TextEncoder().encode(verifier)));
const state = b64url(crypto.getRandomValues(new Uint8Array(16)));
location.href = "https://ipguard.tech/oauth/authorize?" + new URLSearchParams({
  response_type: "code", client_id: CLIENT_ID, redirect_uri: REDIRECT_URI,
  scope: "account:read scan:item scan:read", state,
  code_challenge: challenge, code_challenge_method: "S256",
});

// 2. Back on REDIRECT_URI?code=…&state=… (check state matches), swap the code
const tok = await fetch("https://ipguard.tech/oauth/token", {
  method: "POST",
  body: new URLSearchParams({ grant_type: "authorization_code", code, redirect_uri: REDIRECT_URI,
    client_id: CLIENT_ID, code_verifier: verifier }),
}).then((r) => r.json());
// → { access_token: "ipg_oat_…", token_type: "Bearer", expires_in: 3600,
//     refresh_token: "ipg_ort_…", scope: "account:read scan:item scan:read" }

// 3. Use it like an API key
await fetch("https://ipguard.tech/v1/me", { headers: { Authorization: `Bearer ${tok.access_token}` } });
  • Tokens: an ipg_oat_ access token works anywhere an API key does, with the scopes the user approved and the user's own plan and daily scans.
  • Lifetimes: codes 60 s, single use. Access tokens 1 hour. Refresh tokens 60 days, replaced on every use: send grant_type=refresh_token, refresh_token, client_id and keep the new one. Reusing an old refresh token signs the user out of your app.
  • Expired: a 401 with token_expired means refresh and retry. invalid_key means the user disconnected your app (Settings → Connected apps): sign in again.
  • Scopes: space separated; omit scope to ask for all your app's scopes. account:read, scan:item, scan:bundle, scan:read, scan:cancel, items:read, reports:write, watchlist:read, watchlist:write, history:read and the other API key scopes.
  • Errors from /oauth/token follow RFC 6749: { "error": "invalid_grant", "error_description": "…" }. A user who says no comes back with ?error=access_denied.
  • Server apps get a client secret too: send client_secret with the token calls. Never put it in browser or extension code.

Limits

LevelRequests/minScans/dayParallel
Free1031
Pro60503
Creator24025010

API and dashboard share one daily allowance, reset at 00:00 UTC; a key may have a lower cap. Lookups, compares and waiting cost no scans. GET /v1/me shows what's left.

Compares are counted per account, across all its keys: the level's requests a minute, and 300 (Free), 3,000 (Pro) or 12,000 (Creator) a day. Over that, POST /v1/compare answers 429 rate_limited with Retry-After.

Errors

Branch on error.code:

{
  "error": { "type": "permission_error", "code": "missing_scope",
             "message": "…", "scope": "scan:reverse" },
  "request_id": "req_8f2c1a…"
}
Status and codeFix
401 missing_key malformed_key invalid_keySend the whole key.
403 key_disabled key_expired ip_blockedAsk us to fix the key, or use an allowed IP.
403 missing_scopeAsk us to add error.scope.
402 tier_requiredNeeds error.required_tier.
403 account_blockedSuspended, or maintenance.
429 rate_limitedWait Retry-After seconds.
429 too_many_jobsLet a running scan finish.
429 / 402 key_daily_limit plan_daily_limit quota_exhaustedSpent; see resets_in_seconds.
429 too_many_reportsMax 20 an hour.
400 missing_parameter invalid_item invalid_jsonSend an item link or id.
404 job_not_found item_not_foundCheck the id.
405 method_not_allowedUse one in error.allowed.
409 job_finished watchlist_fullAlready done, or list full (200).
500 internal_errorRetry; if it persists, send us request_id.

OpenAPI & status

OpenAPI at /v1/openapi.json; status (no key) at /v1/health. Use is covered by the Terms.