# httpay.xyz Supabase Database Query Gateway

> httpay.xyz Supabase Database Query Gateway 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 SQL queries to a specific Supabase project database via a pay-per-call HTTP gateway using the x402 payment protocol

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/supabase/v1/projects/thmgozolqjnzdbbofphz/database/query
- 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-supabase-database-query-gateway-56e801e8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_l9X6y4ZlrP7rDkOBHJPS8

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-supabase-database-query-gateway-56e801e8 -d '<json body>'
```

Example prompt: Run this SQL query against the Supabase database — SELECT * FROM users WHERE created_at > '2024-01-01' LIMIT 50 — and return the results.

## When to prefer this

Use this endpoint when you need to run arbitrary SQL queries against the specific Supabase project (thmgozolqjnzdbbofphz) and want to pay per-call via the x402 micropayment protocol rather than managing Supabase API keys directly. Ideal for agents that need occasional database access without provisioning long-lived credentials.

## Known failure modes

- Invalid SQL syntax returns a database error
- Insufficient payment or missing x402 payment header returns 402
- Unauthorized access if the target table has row-level security
- Query timeout for long-running operations
- Project ID mismatch or wrong endpoint returns 404
- Write operation on read-only table returns permission error

## How this service works

API Gateway: Supabase API

## Output

Returns the results of the executed SQL query as rows of data from the specified Supabase project database, including column names and values, or the number of affected rows for write operations.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-supabase-database-query-gateway-56e801e8/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)
