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
| category | List | Meaning |
|---|---|---|
exact | copies | Your item, uploaded again. |
likely | copies | Almost certainly copied from yours. |
recolor | copies | Your item in different colors. |
possible | review | Close to yours. Check it. |
remodel | review | Looks rebuilt from yours. |
similarity: 0 to 100, higher is closer.complete: falseon 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 outlastedwait. CallGET /v1/scans/{id}?view=compact&wait=110untilstatusissucceeded,failedorcanceled. On failure,errorsays why. - Without
view=compactyou get the full job; each match there has acategorytoo.
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
| Method | Path | What | Level |
|---|---|---|---|
| GET | /v1/me | Your key, level and scans left | Free |
| POST | /v1/scans | Start a scan | Free |
| GET | /v1/scans/{id} | Get a scan; ?wait=N waits for it | Free |
| GET | /v1/scans | Your recent scans | Free |
| DELETE | /v1/scans/{id} | Cancel a scan | Free |
| GET | /v1/items/{id} | Item details (also POST /v1/items/lookup) | Free |
| POST | /v1/compare | Compare two items | Free |
| POST | /v1/reports | Shareable proof report | Free |
| GET | /v1/history | Scan history | Pro |
| POST | /v1/groups/items | A group's or user's items | Creator |
| GET POST | /v1/watchlist | List or add watched items | Creator |
| PATCH DELETE | /v1/watchlist/{id} | Change frequency / enabled, or remove | Creator |
- Key:
Authorization: Bearer $IPG_KEY, the bare key inAuthorization, orX-API-Key. - Input:
input(oritem,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,1oryes. Add?prettyfor indented JSON.
Scan options
| Field | Values |
|---|---|
input | Required. Item or bundle link, or id. |
wait | true = 60 s, or seconds up to 110. Omit for an instant 202. |
view | compact: the short answer. |
search_level | low, medium (default), high, veryhigh, or custom with search_custom 50–2000. |
type | emote for emotes. |
reverse | true: find the original this copies. Pro. |
webhook_url | An 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.
| Method | Path | What |
|---|---|---|
| GET | /oauth/authorize | Send the user here to sign in and approve |
| POST | /oauth/token | Swap a code, or refresh a token |
| POST | /oauth/revoke | Sign out: revoke a token (always 200) |
| GET | /oauth/userinfo | sub, name, email, plan, picture |
| GET | /.well-known/oauth-authorization-server | Discovery 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_idand keep the new one. Reusing an old refresh token signs the user out of your app. - Expired: a 401 with
token_expiredmeans refresh and retry.invalid_keymeans the user disconnected your app (Settings → Connected apps): sign in again. - Scopes: space separated; omit
scopeto 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:readand the other API key scopes. - Errors from
/oauth/tokenfollow 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_secretwith the token calls. Never put it in browser or extension code.
Limits
| Level | Requests/min | Scans/day | Parallel |
|---|---|---|---|
| Free | 10 | 3 | 1 |
| Pro | 60 | 50 | 3 |
| Creator | 240 | 250 | 10 |
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 code | Fix |
|---|---|
401 missing_key malformed_key invalid_key | Send the whole key. |
403 key_disabled key_expired ip_blocked | Ask us to fix the key, or use an allowed IP. |
403 missing_scope | Ask us to add error.scope. |
402 tier_required | Needs error.required_tier. |
403 account_blocked | Suspended, or maintenance. |
429 rate_limited | Wait Retry-After seconds. |
429 too_many_jobs | Let a running scan finish. |
429 / 402 key_daily_limit plan_daily_limit quota_exhausted | Spent; see resets_in_seconds. |
429 too_many_reports | Max 20 an hour. |
400 missing_parameter invalid_item invalid_json | Send an item link or id. |
404 job_not_found item_not_found | Check the id. |
405 method_not_allowed | Use one in error.allowed. |
409 job_finished watchlist_full | Already done, or list full (200). |
500 internal_error | Retry; 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.