ShopSafe for agents
Check the URL.
Keep the evidence.
Give your agent a quick, structured view of a website before its next step. Dated observations, visible gaps and a cost you control.
REST and MCP · No browser or language model in quick checks
{
"risk_level": "unknown",
"risk_score": 0,
"coverage": "partial",
"score_is_probability": false,
"checks": [
{ "code": "public_dns",
"status": "observed" },
{ "code": "https_transport",
"status": "observed" },
{ "code": "url_reputation",
"status": "unavailable" }
]
}A zero score with missing evidence stays unknown.
Deterministic checks
Signals your agent can inspect.
Each result includes the exact URL, observation time, expiry, rule version and coverage. The same observations produce the same result.
See the scoring rules and examples, or read the machine-readable methodology. Missing coverage never becomes a safety finding.
- Connection and redirects
- Public DNS, observed HTTP response, verified HTTPS and any redirect from HTTPS to HTTP. Private network destinations are refused.
- Sensitive forms
- Static HTML checks for password or card fields submitted over HTTP. JavaScript is not executed, and external payment providers do not add risk on their own.
- URL reputation
- Google Web Risk Lookup evidence for the submitted URL and each responding destination, up to three HTTP redirects. Every result retains its exact URL. A provider outage, expired result or exhausted allowance is explicit.
- What it does not verify
- Business ownership, product authenticity, order fulfilment or the safety of a transaction. Ordinary hosting, missing email records and certificate age do not add quick-check risk points.
Usage pricing
Start free. Set your limit.
20 free quick-check attempts per account each UTC day. Fresh cached results and polling are free.
Prepaid access is available. Complete fresh checks use credit after the free allowance. Incomplete checks release their reservation.
2 AUD cents / quick check
Add A$10 at a time through Stripe.
No subscription or automatic top-ups.
The account starts with an A$1 daily spending cap. You can lower it to zero.
One contract, two interfaces
Make the next call predictable.
Use an expiring API key with the verify scope. Begin with get_account to read pricing, credit and the spending cap. Reuse the exact request and idempotency key if a connection drops.
Read the public service capabilities for current pricing, connection details and suite limits before issuing a key.
MCP clients can use OAuth: add the server URL, sign in and approve the connection. Prepaid spending is off until the owner allows it. Access tokens expire after an hour and refresh within the approved connection period. REST clients continue to use API keys.
Start with the Python or JavaScript example, import the agent OpenAPI definition, or discover both interfaces through the public API catalog.
MCP · Streamable HTTP
https://shopsafe.com.au/mcpQuick verification · REST
POST /api/v1/verifications
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"url": "https://example.com/",
"idempotency_key": "order-123-check-1",
"max_age_seconds": 300,
"max_cost_aud_cents": 0
}The example allows free checks only. Increase the maximum only within the account owner's authorised budget.
verify_site
Returns a quick verification. A repeated in-progress request returns its existing ID. Charges never exceed the submitted maximum.
get_verification
Reads the existing result and actual cost. Check freshness and coverage before applying your own transaction policy.
verify_sites
Checks up to ten URLs under one total spending ceiling. Duplicates share a receipt; each result includes its own coverage and freshness. Use batch checks.
get_verification_batch
Retrieves the saved batch, including skipped items and released credit. It never starts another check or increases the budget.
get_account
Reads the unit price, available credit, spending cap and link to fund the account. It cannot buy credit or change limits.
get_usage
Reads this credential's receipts and period totals for free. Separate charges, running reservations and returned credit. Owners can inspect all keys in usage and receipts.
Usage is also available at GET /api/v1/usage. It defaults to seven inclusive UTC dates. Set start_date and end_date for up to 31 days; follow next_cursor with the returned dates for more receipts, up to 100 per page. Cursors expire after 24 hours. Reads do not run checks or settle reservations. Credit purchases and credit-pack refunds are separate.
Runnable examples
Start with a working client.
Keep your key in the SHOPSAFE_API_KEY environment variable or your server's secret store. Both examples start with a zero-cent maximum and use the same REST contract as MCP.
Python 3.11+ with httpx · Server-side Node.js 20+ with no package dependencies
Save the request ID and all its parameters with your job before making the first call. A failed connection may have completed on the server, so retries must use that same request.
Python · Free allowance and cache only
python -m pip install httpx
python shopsafe_verify.py https://example.com --request-id order-123-url-check-1JavaScript · Import into your server
import {createShopSafe} from './shopsafe_verify.mjs';
const api = createShopSafe(process.env.SHOPSAFE_API_KEY);
const account = await api.account();
const result = await api.verify({
url: 'https://example.com',
requestId: 'order-123-url-check-1'
});Inspect status, freshness, coverage and risk evidence before applying your own policy. The examples do not make purchases, add credit or raise spending limits.
For a shortlist of sites
Ten URLs.
One total ceiling.
Use verify_sites over MCP or POST /api/v1/verification-batches over REST. Set max_total_cost_aud_cents once for the whole batch; its default is zero paid spend.
Exact normalised duplicates share one check. Results map back to the original list through zero-based input_indexes. Each address has its own status, risk, coverage, freshness and cost, with a verification ID for full evidence.
Items are admitted in input order within the free allowance, prepaid balance, daily cap and total ceiling. Refused items are not_started with no charge. An incomplete check releases its reservation; that money does not automatically start another item.
Persist the ordered URLs, request ID and options. After a transport timeout, repeat that identical request or read get_verification_batch. Reopening a batch never starts more checks. A finished batch can contain missing or expired evidence.
Up to ten URLs and A$1 authorised per batch, with up to six new batches per account per minute. Existing service limits still apply. Large batches can take longer than one check; the downloadable clients allow a 90-second response wait. A timeout does not establish that no work or charge occurred.
Review your batch activityPython · Free allowance and cache only
from shopsafe_verify import ShopSafe
import os
with ShopSafe(os.environ["SHOPSAFE_API_KEY"]) as api:
batch = api.verify_batch(
["https://example.com", "https://example.org"],
"shortlist-123-check-1",
max_total_cost_cents=0,
)
for item in batch["items"]:
print(item["target_url"], item["status"],
item["verdict"], item["cost_aud_cents"])
JavaScript · Same total ceiling
const batch = await api.verifyBatch({
urls: ['https://example.com', 'https://example.org'],
requestId: 'shortlist-123-check-1',
maxTotalCostCents: 0
});
// Inspect every item; batch.status is processing state.
const saved = await api.batch(batch.batch_id);
Use a paid total only after the owner authorises it. Polling may release an interrupted reservation; it never starts a new check or charges again.
Before you connect
What does complete coverage mean?
All checks in this small, defined suite returned a usable observation. It does not mean the whole website was audited. Reputation covers the submitted URL and responding destinations within the three-redirect limit. A missed destination lookup makes coverage partial and releases prepaid credit. Unvisited redirects, dynamic pages and business legitimacy remain outside this suite.
What happens when a source is unavailable?
The result reports partial or incomplete coverage. A zero score stays unknown when evidence is missing. Any prepaid reservation is released, and the request still counts towards service and free-attempt limits.
The coverage_guidance field explains the missing checks and next actions, including manual review, waiting for provider allowance or considering a later authorised request. It appears on single results and batch items. Reading a result cannot fill its gaps, and guidance never grants spending authority.
How do retries and cached results work?
Use the same idempotency key and identical parameters to retrieve the same verification without another charge. Change the key for a new request. Complete results within your requested maximum age, up to five minutes, can be reused free within your account.
How should an agent handle payment or limit errors?
REST and MCP errors include a stable error code, next action and retry guidance. insufficient_credit links to the owner's funding page. owner_payment_not_authorised means the connection was approved for free use only; reconnect with owner approval before spending. max_cost_too_low requires owner authority before changing the request's maximum. A daily spending-cap refusal includes the UTC reset wait. No error automatically raises a cap or charges a card.
After a connection failure, retry the same request and idempotency key. A recorded failed verification is terminal: repeating that key retrieves the same result. Start another attempt with a new key only within the owner's authorised budget.
Can any MCP client connect?
Clients need Streamable HTTP and OAuth with PKCE and dynamic registration, or a custom Authorization header. OAuth tokens are scoped to MCP; use API keys for REST. Client metadata URL documents are not currently supported. Individual host installation still needs to be tested. A discovery manifest is available at the server descriptor. ShopSafe is also listed as au.com.shopsafe/verify in the official MCP Registry. A listing does not install the server in your client.
What about the earlier browser-check tools?
lookup_site, check_site and get_check remain a separate private beta. They do not spend quick-check credits. New self-service keys grant cached lookup and optionally quick verification.
Google Web Risk provides URL reputation evidence. Some unsafe sites may be missed and some safe sites may be flagged in error. Neither this evidence nor ShopSafe guarantees the safety of a site or transaction. Read our methodology.