Skip to main content
prompt protection API for AI agents

x402 Prompt Protection API

Agents can call Parse Agents without signup by using the HTTP 402 payment flow. The server returns payment requirements, the agent signs USDC on Base mainnet, then retries the same request.

Start Screening OpenAPI

When to call it

TriggerEndpointMCP tool
Untrusted user input, RAG content, browser output, email, documents, webhook bodies, or tool results before an agent acts POST /v1/parse screen_prompt
LLM output before showing it to a user, storing it, or sending it to another tool or agent POST /v1/screen-output screen_output
A peer agent, plugin, or service asks for delegation or requests sensitive work POST /v1/agent/trust/verify verify_agent_trust
An agent has no bearer API key but can pay per request POST billable endpoints with x402 get_pricing

Primary endpoint

POST /v1/parse, POST /v1/screen-output

Autonomous first call without signup
Metered workflows
Agent marketplaces
One-off screening from a wallet-enabled agent

Signals Parse Agents checks

The hosted detector checks 9 risk categories with 107 deterministic pattern rules, structural analysis, optional LLM semantic analysis, and optional sandbox execution.

  • $0.005 to screen a prompt
  • $0.003 to screen output
  • payment-signature header on paid retry

Agent integration

POST https://www.parsethis.ai/v1/parse
Authorization: Bearer <key>
Content-Type: application/json

{"prompt":"untrusted text here","metadata":{"source":"tool_output"}}

No key? For billable REST endpoints, call without Authorization, read the 402 payment requirements, sign USDC on Base mainnet, and retry with payment-signature.