---
title: "OHTTP gateway (send via the relay, not here)"
method: POST
path: "/api/ohttp/gateway"
tags: ["privacy"]
---

# OHTTP gateway (send via the relay, not here)

`POST /api/ohttp/gateway`

## Request

- Base URL: `https://api.anygas.xyz/svc`
- URL: `https://api.anygas.xyz/svc/api/ohttp/gateway`
- Auth: none declared

Accepts an encapsulated request: 32-byte HPKE enc || ciphertext, content-type application/octet-stream. Returns an encapsulated response. DENY BY DEFAULT — only /api/status, /api/route/compare, /api/route/quote, /api/privacy/*, /api/stealth/announcements and /api/netting/reserves are dispatchable; owner and capability surfaces are refused with OHTTP_PATH_DENIED. Posting here DIRECTLY works but gives you NO address protection: we see your IP exactly as on any other call. Send through https://relay.nightferry.net/relay instead, which sees your address and cannot read your request.

## Response `200`

Encapsulated response (opaque bytes)

## Other responses

- `400`: Could not decapsulate — deliberately uninformative to avoid a decapsulation oracle

---

[API](https://skmtc.dev/anygas/apis/robyn-anygas-api.md) · [All operations](https://skmtc.dev/anygas/apis/robyn-anygas-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anygas/apis/robyn-anygas-api/revisions/9b7498be8304?raw)
