# CodePen oEmbed API

**Canonical:** https://apis.io/apis/codepen/oembed/  
**Provider:** CodePen — https://apis.io/providers/codepen/  
**Base URL:** https://codepen.io/api/oembed  
**Documentation:** https://blog.codepen.io/documentation/oembed/

CodePen oEmbed API is one of 4 APIs that [CodePen](https://apis.io/providers/codepen/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include oEmbed, Embeds, and Front-End Development. The published artifact set on APIs.io includes API documentation.

Standard oEmbed endpoint that returns a rich embed payload (iframe HTML, thumbnail URL, author metadata) for any public CodePen Pen URL. Supports JSON and JSONP response formats and an optional height parameter.

## Machine-readable artifacts (2)

- **Documentation** — https://blog.codepen.io/documentation/oembed/
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/codepen/refs/heads/main/apis.yml

## Other CodePen APIs (3)

- [CodePen Embed API](https://apis.io/apis/codepen/embed/)
- [CodePen POST to Prefill API](https://apis.io/apis/codepen/post-to-prefill/)
- [CodePen Prefill Embeds API](https://apis.io/apis/codepen/prefill-embeds/)

## Tags

oEmbed, Embeds, Front-End Development

---

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