# httpay.xyz API Gateway: Optimism RPC (DELETE)

> httpay.xyz API Gateway: Optimism RPC (DELETE) is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Proxies DELETE requests to the Optimism (Layer 2 Ethereum) JSON-RPC endpoint via a pay-per-call x402 micropayment gateway

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/eth-optimism/%7B*path%7D
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-api-gateway-optimism-rpc-delete-50afae4a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sTYX0WFedFrznUh1tQkCg

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 httpay-xyz-api-gateway-optimism-rpc-delete-50afae4a -d '<json body>'
```

Example prompt: Send a DELETE request to the Optimism RPC gateway at path /v1/session/abc123 and charge the $0.001 USDC x402 micropayment automatically.

## When to prefer this

Choose this endpoint when you need to issue DELETE-method RPC calls to the Optimism Layer 2 Ethereum network without managing your own node infrastructure or API keys, and you want to pay per call using x402 USDC micropayments. It is particularly useful for agents that need lightweight, permissionless access to Optimism RPC without subscription commitments.

## Known failure modes

- 402 Payment Required if x402 payment header is missing or insufficient
- 404 Not Found if the RPC path does not exist on the Optimism node
- 401 Unauthorized if payment credentials are invalid
- 503 Service Unavailable if the upstream Optimism RPC node is down
- 400 Bad Request if the DELETE path or payload is malformed
- Timeout if the Optimism node is congested or unreachable

## How this service works

API Gateway: Optimism RPC

## Output

The agent receives the raw JSON-RPC response from the Optimism L2 node after the DELETE request is proxied through the httpay.xyz gateway, including any confirmation, error codes, or chain state returned by the Optimism endpoint.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-api-gateway-optimism-rpc-delete-50afae4a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
