# PasteHTML API

**Canonical:** https://apis.io/apis/pastehtml-dev/pastehtml-dev-api/  
**Provider:** PasteHTML — https://apis.io/providers/pastehtml-dev/  
**Base URL:** https://pastehtml.dev  
**Documentation:** https://api.pastehtml.dev

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

PasteHTML API as documented publicly: 6 operations. Contract generated from the documentation by API Evangelist (2026-11-20); not the provider's own document.

## Operations (6)

| Method | Path | Summary |
|---|---|---|
| GET | `/` | GET / |
| GET | `/api/folders` | GET /api/folders |
| POST | `/api/folders` | POST /api/folders |
| GET | `/api/pastes` | GET /api/pastes |
| POST | `/api/pastes` | Publish |
| PATCH | `/api/pastes/{token}` | PATCH /api/pastes/{token} |

## Machine-readable artifacts (3)

- **OpenAPI** — https://artifacts.apis.io/pastehtml-dev/openapi/_ae-authored/pastehtml-dev-openapi-generated.yml
- **JSONSchema** — https://artifacts.apis.io/pastehtml-dev/json-schema/pastehtml-dev-post-api-pastes-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/pastehtml-dev/json-schema/pastehtml-dev-post-api-pastes-request-schema.json

## Other PasteHTML APIs (1)

- [PasteHTML API](https://apis.io/apis/pastehtml-dev/pastehtml-api/)

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/pastehtml-dev` 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/pastehtml-dev/pastehtml-dev-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/pastehtml-dev/.
