# httpay.xyz API Gateway: Neon API

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

Proxies PUT requests to the Neon serverless Postgres API through a pay-per-call x402 micropayment gateway

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/neon/%7B*path%7D
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-api-gateway-neon-api-2ba27688
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jU0rE_7UO7XdaxjUUeczq

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-neon-api-2ba27688 -d '<json body>'
```

Example prompt: Update my Neon project's compute endpoint settings — specifically set the autoscaling max to 2 compute units for project 'proj_abc123' endpoint 'ep_xyz789'.

## When to prefer this

Use this endpoint when you need to make PUT (update/replace) calls to the Neon serverless Postgres API and want pay-per-call micropayment billing via x402 rather than managing a Neon API subscription. Ideal for agents that infrequently update Neon resources and want to avoid credential management overhead.

## Known failure modes

- 402 Payment Required if x402 payment header is missing or insufficient
- 404 if the specified Neon API path does not exist
- 401/403 if underlying Neon credentials are invalid or missing
- 400 Bad Request if the PUT body is malformed or missing required Neon fields
- 503 if Neon's upstream API is unavailable
- Timeout if Neon API response is slow

## How this service works

API Gateway: Neon API

## Output

The gateway forwards the PUT request to the corresponding Neon API path and returns the raw Neon API JSON response, including updated resource state, confirmation of changes, or error details from Neon's platform.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-api-gateway-neon-api-2ba27688/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)
