# Agent Security Gateway - Trust Check

> Agent Security Gateway - Trust Check is a paid API for AI agents from agent-security-gateway.onrender.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Performs a pre-payment security trust check on an API URL to validate safety before an AI agent calls it

## Facts

- Endpoint: POST https://agent-security-gateway.onrender.com/api/trust/check
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-security-gateway-trust-check-b40f8985
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_guc3nLZZIOvvg0jPhnlM_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent-security-gateway-trust-check-b40f8985 -d '<json body>'
```

Example prompt: Before my agent calls https://example-api.com/data, run a trust check on that URL to make sure it's safe and not a prompt injection risk.

## When to prefer this

Use this endpoint when an AI agent needs to validate the safety of an external API URL before calling it — especially in autonomous workflows where the agent may encounter unknown or user-supplied endpoints. Particularly valuable for detecting prompt injection attacks targeting agents, including Japanese-language injection vectors.

## Known failure modes

- Missing or invalid URL input returns a 400 validation error
- URL is unreachable or times out during scan
- Payment not received via x402 results in 402 Payment Required
- Malformed URL format causes parsing failure
- Internal scan service unavailable returns 503

## How this service works

Pay-per-request security APIs for autonomous AI agents using x402. Detect Japanese prompt injection, validate content, scan for threats, and perform pre-payment security checks. Built for USDC/Base payments.

## Output

Returns a security trust assessment for the provided API URL, including threat indicators, safety verdict, and any detected risks such as prompt injection signals or malicious content patterns.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "API URL to check (e.g. https://example.com)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-security-gateway-trust-check-b40f8985/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-security-gateway.onrender.com](https://www.zero.xyz/host/agent-security-gateway.onrender.com/llms.txt)
