[LIVE] [seedvector/httpcan] 3 endpoint(s)
ChatGPT
API Proxy/ChatGPT
2,141 characters
Status: [LIVE]
Endpoints found:
https://httpcan.org/llm
https://httpcan.org/llm/v1/messages
Source: https://github.com/seedvector/httpcan
# HTTPCan
An [httpbin.org](https://httpbin.org)-compatible HTTP test server that also mocks the OpenAI, Anthropic and OAuth 2.0 APIs, so you can test HTTP clients, proxies and AI agents without calling real providers.
**Status:** actively developed, pre-1.0 (4 releases since August 2026, see [tags](https://github.com/seedvector/httpcan/tags)). The httpbin-compatible endpoints are stable; the `/llm` mock options and the Rust library API may still change between minor versions. MIT licensed.
[](https://crates.io/crates/httpcan)
[](https://github.com/seedvector/httpcan/actions/workflows/ci.yml)
[](LICENSE)
## Try it without installing
Every endpoint is live at **<https://httpcan.org>**:
```bash
curl https://httpcan.org/get
```
Point an OpenAI SDK at it. Any API key works, and responses are deterministic:
```python
from openai import OpenAI
client = OpenAI(base_url="https://httpcan.org/llm/v1", api_key="not-needed")
reply = client.chat.completions.create(
model="httpcan-openai" # any model name works,
messages=[{"role": "user", "content": "Hello"}],
extra_body={"httpcan": {"content": "Custom reply text"}},
)
print(reply.choices[0].message.content) # Custom reply text
```
## Why httpcan
- **Drop-in for httpbin.org.** Every httpbin.org endpoint, same paths and response shapes, plus 33 endpoints httpbin.org doesn't have and 18 it has that httpcan fixes or extends (84 in total). Existing httpbin tests keep working when you change the base URL.
- **LLM API mock.** OpenAI Chat Completions, Responses and legacy completions, plus Anthropic Messages, with streaming. Each request can script its own response: tool calls in the right format for each provider, provider-shaped errors (429, 503/529, 401, …), fixed token usage, and multi-turn tool sequences.