# toui API

**Canonical:** https://apis.io/apis/toui-io/toui-io-api/  
**Provider:** toui — https://apis.io/providers/toui-io/  
**Documentation:** https://toui.io/docs

toui API is one of 2 APIs that [toui](https://apis.io/providers/toui-io/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 4 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 4 JSON Schemas.

toui API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-27); not the provider's own document.

## Operations (4)

| Method | Path | Summary |
|---|---|---|
| GET | `/` | GET / |
| POST | `/api/v1/shorten` | POST /api/v1/shorten |
| GET | `/api/v1/urls/{code}` | Returns metadata and the lifetime click count for a short code you own. |
| GET | `/api/v1/urls/{code}/stats` | Returns daily clicks and a country breakdown. |

## Machine-readable artifacts (5)

- **OpenAPI** — https://artifacts.apis.io/toui-io/openapi/_ae-authored/toui-io-openapi-generated.yml
- **JSONSchema** — https://artifacts.apis.io/toui-io/json-schema/toui-io-get-api-v1-urls-code-stats-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/toui-io/json-schema/toui-io-get-api-v1-urls-code-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/toui-io/json-schema/toui-io-post-api-v1-shorten-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/toui-io/json-schema/toui-io-post-api-v1-shorten-request-schema.json

## Other toui APIs (1)

- [toui Short Link API](https://apis.io/apis/toui-io/toui-short-link-api/)

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/toui-io` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/toui-io/toui-io-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/toui-io/.
