Hentai API

The documentation to create your own hentai website or project using Hentai Ocean's API.

The API is still in development, more features to come.

Table of contents

Embed API

The Embed API allows you to put the video into an iframe. This allows you to play the videos on your website without hosting it yourself.

You can turn any episode on the website into an embed by changing the URL from /watch/ to /embed/. Optionally, you can click the "Embed" button on the page to obtain the iframe HTML code.

Endpoint: https://hentaiocean.com/embed/<hentai-slug>

Parameters Value type Required? Description
?logo Link No Add a custom logo image at the top right of the player.

Example code:

<div class="video" style="width:800px;">
    <iframe src="https://hentaiocean.com/embed/hametsu-no-yuuwaku-1?logo=https://amateursubs.com/wp-content/uploads/2025/04/logo_ico-removebg-preview.png" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" allowfullscreen="true"></iframe>
</div>

CSS to ensure a 16:9 ratio:

.video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: calc(56.25% + 40px);
}
.video iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

Websites using our Hentai API




Contact us on Discord if you are also using it and want your logo to be placed here.